0
0

Hello All!
I have a problem with SUBJ!

When I set setPan(-1.0) – play sound in Left
When I set setPan(0.0) – play sound in center
When I set setPan(1.0) – play sound in CENTER!!! not RIGHT!

My code:
FMOD::System_Create(&fmodSystem);
fmodSystem->init(32, FMOD_INIT_NORMAL, 0);
fmodSystem->setStreamBufferSize(64*1024, FMOD_TIMEUNIT_RAWBYTES);
fmodSystem->createSound(“http://radio_station_url”, (FMOD_MODE)(FMOD_SOFTWARE | FMOD_CREATESTREAM | FMOD_MPEGSEARCH | FMOD_NONBLOCKING), 0, &fmodSound);
fmodSystem->playSound(FMOD_CHANNEL_FREE, fmodSound, false, &fmodChannel);
fmodChannel->setPan(1.0); – Why play stream in CENTER ???

Radio play in STERIO, 128kbit, 44 kHz!
WinAmp play fine!

  • You must to post comments
0
0

Make sure that you haven’t panned your speakers in the Windows volume mixer.

  • You must to post comments
0
0

I added the following lines to both the 3d example and the generatetone example.

result = system->setOutput (FMOD_OUTPUTTYPE_WAVWRITER);
ERRCHECK(result);

When I did this, and then played back the fmodoutput.wav files, the examples worked as expected. The sounds pan back and forth.

When I comment out the lines above, the results are as before. In the “3d” example, the sounds do not pan (it is as if the listener doesn’t move). In the generatetone example, the sounds only seem to pan between left and center.

In both examples I am listening to the output on headphones. I only tried this on one machine.

I will try these executables on each machine I can get access to here that has audio. I will let you know how it turns out.

  • You must to post comments
0
0

Hello All!

I’m download 4.00.31 and ….
Direct sound play bad… pan change between left and center, but WavWriter save wave fine! left and right!

I think this problem in output module in fmod. (or in my program) but, WinAmp play fine, MediaPlayer play fine, QuickTime play fine!
But my program save wave fine and play bad…

I’m test my program on two computers with internal sound AC’97.

  • You must to post comments
0
0

In my program set loop timer on 50ms…

Callback timer function…

if (fmodSound && !fmodChannel)
{
Result = fmodSystem->playSound(FMOD_CHANNEL_FREE, fmodSound, false, &fmodChannel);
if (Result != FMOD_OK && Result != FMOD_ERR_NOTREADY) ::MessageBox(NULL, (LPTSTR)FMOD_ErrorString(Result), _T(“Radio Error”), MB_ICONERROR);
}

Result = fmodSystem->update();
if (Result != FMOD_OK) ::MessageBox(NULL, (LPTSTR)FMOD_ErrorString(Result), _T(“Radio Error”), MB_ICONERROR);

No error found! Play stream fine! But, don’t change PAN, volume change ok!

  • You must to post comments
0
0

I tried the 3d.exe and generatetone.exe examples from the win40031 beta on a number of machines here in the office. All machines were either running American or Japanese WinXP. I listened to each on headphones. The last 3 machines I tested had both examples working; these machines are used by artists and are older (as you can see by the driver dates).

The realtek hardware failed to have any 3d panning, while the 2d panning varied between left & center. The soundmax hardware has the correct 3d panning, but also has 2d panning varying between left & center.

(4 machines)
hardware – realtek 3/19/2004, 5.10.0.5530
3dpan – fails
generatetone – fails

hardware – soundmax 3/19/2003 5.12.1.3630
3dpan – works
generatetone – fails

hardware – soundmax 2003/06/02 5.12.1.3630
3dpan – works
generatetone – fails

hardware – soundmax 3/19/2003 5.12.1.3580
3dpan – works
generatetone – fails

hardware – Advance Ac97 3/25/2002 5.10.0.3840
3dpan – works
generatetone – works

hardware – Ac’97 AMD 9/27/2001 1.0.0.0
3dpan – works
generatetone – works

hardware – Avance Ac97 6/12/2002 5.10.0.3910
3dpan – works
generatetone – works

  • You must to post comments
0
0

Hmmm :(

I’m rebuild sample netstream.cpp with:
result = channel->setPan(1.0f);
ERRCHECK(result);
But, stream play in ALL speakers (left+right)
Ok, I set channel->setPan([b:oklvlg8j]-1.0f[/b:oklvlg8j]); – stream play in LEFT speaker ONLY!

What do I do not so? Where my problem?

  • You must to post comments
0
0

FMOD don’t work with Realtek AC’97 codecs? :(

  • You must to post comments
0
0

Have you checked to see if panning works properly in other applications

  • You must to post comments
0
0

I just downloaded and installed the latest Realtek AC’97 driver which was release in May:

http://www.realtek.com.tw/downloads/dla … tware=True

Now the 3d panning works, while the 2d panning is still broken but is slightly different. Now when panning to the right speaker, the left speaker does not drop in volume, but the right channel becomes increasingly distorted. This is not really an improvement IMO.

  • You must to post comments
0
0

In WinAmp, WindowsMediaPlayer, Cool Edit Pro – Pan was work correct!

In my program Pan was correct working with value set between -1.0 – 0.0 (Left – Center) and not react when value set between 0.0 – 1.0 (Center – right)

Please, send me mail with sample program (bin+sources) where I change Pan.

My e-mail: leoncrew @ tut.by

  • You must to post comments
0
0

I’m install new driver for audio and recompile my program with new version fmod v31.

Now pan change between left and right channels, but when pan in left channel – right mute, when pan in right channel – left NOT mute.

Pan center – left: 70%, right: 70%
Pan left – left: 100%, right: 0%
Pan right – left: 70%, right: 100%

View levels on professional oscillograph.

  • You must to post comments
0
0

Please see my post under “FMOD Designer 1.00.05 (sound designer tool)” with the subject: “pan filter example broken?”.

I have found that panning works only between left and center channels, even in the 3d sound examples. The machines I have tested this on all have sound hardware on the motherboard (which are all made by ASUS).

Likely it is just this particular hardware, or drivers? But by using the DirectSound API I am able to pan a sound between left & right channels.

  • You must to post comments
0
0

I downloaded the latest 31win version and now panning is working great for me with the updated realtek ac’97 drivers.

However, on the other machines that have “soundMAX” drivers, the audio now seems to be rougly center panned when the pan setting is at 0.9 (left). The right speaker seems to be much louder than the left when panned to the center.

I will try to find a soundMAX driver update and see if that fixes it.

Thanks.

  • You must to post comments
0
0

I don’t know, pan is broken.
Sound change between Left and Center!

My hardware:
Motherboard – Gigabyte 8IPE-1000 – Intel 865PE + int. sound on realtek AC’97 ALC655
CPU – Intel Pentium 4 3.0GHz
MEM – DDR 512Mb
Video – nVidia FX5700
and etc.

  • You must to post comments
0
0

Interesting. My machine has the Realtek AC’97 integrated audio too, but with “ALC850 codec”. The other 2 machines I tested both had “SoundMAX integrated digital audio”. Both of these are integrated audio chipsets on ASUS motherboards, e.g.,

http://www.analog.com/en/press/0,2890,3 … 97,00.html

  • You must to post comments
0
0

Sorry, it seems to be the same with the panning problem with 40031. I tried a couple of the programs in the bin directory.

When playing the “3d.exe” file in bin, there is no change in the relative levels of the 2 sounds when changing the listener’s position. It is as if the listener never moves from the center. However, the 2 sounds are panned left and right.

With the virtualvoices.exe program, you can never get a voice to sound as if it is in the right speaker. It always sounds as if it the voices are between the left speaker or center.

I am curious to know if LeonCrew has the same issues.

  • You must to post comments
Showing 16 results
Your Answer

Please first to submit.