0
0

Hi I am new to the forum and have been looking at the examples.

I am looking at developing an iphone app that plays tones. What I need to do is dirct the tone to a either left or right speaker. I have looked at the examples i.e. the tone example with panning but this still plays the tone faintly in the opposite ear.

I have tried the other examples but they all dont mute the speaker as it can be faintly heard.

I am running this on a mac with the iphone simulator with a set of headphones plugged into the mac.

Is this a simulaator issue or mac issue or is there a way to totally mute the speaker

thanks for your help

  • You must to post comments
0
0

Did you also test your device (headphones) with a simple sound file. I had similar problems with a headphone (on PC) that would have each channel bleed on to the other, causing to never have a completely silent left or right. I simply went on youtube and got a test video to realise my headset was wacked

  • You must to post comments
0
0

Tried different headsets even now loaded this onto an iphone, signal still does not mute in either ear. My app cannot go ahead if I cant completely mute either ear.

Any other thoughts

  • You must to post comments
0
0

Which functions are involved?

Ways to pan/mute speakers

Channel::setPan
Channel::setSpeakerLevels
Channel::setSpeakerMix

  • You must to post comments
0
0

I am using the generate tone example

this uses setPan I believe

But this still leaves a sound on the Other channel

  • You must to post comments
0
0

I’m with you one this. to me, it’s a bug. It’s worst with the square wave generator.

The demo shows panning on oscilators simply dont work. Over here it’s not just "faintly heard". it’s pretty darn loud.

I also tried forcing the hand with set speaker mix right before the demo grabs info for display
int playing = FALSE;

        if (channel)
        {
            FMOD_Channel_SetSpeakerMix(

channel,
(float) 1,
(float) 0,
(float) 0,
(float) 0,
(float) 1,
(float) 0,
(float) 1,
(float) 0
);

But the code has no effect either.

Nothing more I can do

  • You must to post comments
0
0

Is this something that can be fixed if it is a bug or is there another way using the oscillator.

Anyone from Fmod ?

  • You must to post comments
0
0

Are people using the latest versions of FMOD?
From revision.txt:

24/08/10 4.30.09 – Stable branch update
24/08/10 4.32.01 – Stable branch update

24/08/10 4.33.01 – development branch update

  • Fixed Channel::setPan/setSpeakerMix not working if using System::playDSP
  • You must to post comments
0
0

I havent updated fmod in quite a while… 6 months ago I think.

  • You must to post comments
0
0

I have verified that channel1->setPan(-1.0f); in the generateton example is not bleeding to the right speaker. Check sound card driver effects are not turned on as well as amplifier settings (reverb etc)

  • You must to post comments
Showing 9 results
Your Answer

Please first to submit.