0
0

Hey, this is my first forum post . .

I am the definition of a noob. I just wrote a long-winded post that I managed to delete (my session expired).. So, here’s the short version.

I would like to build a "simple" sequencer using the FMOD libraries and Xcode. I have already built a little soundplayer app that loads a directory of sounds, plays them at varying frequencies, gets spectrum info, etc..

If I wanted to a: load a sound, b: play it back at varying frequencies and an optional number of instances (like switching from monosynth to polysynth), c: have those sounds sub-mixable <— how should I design the channel hierarchy?

Should I create a multitude of channels with fixed frequencies (representative of notes), then group those channels into an FMOD ChannelGroup, parented by a Master ChannelGroup?

and if I want to play a sound like an instrument, what’s the best way to do that? (i.e. sound->setDefaults() or channel->setFrequency()?)

If this is not the appropriate place to be posting this, my apologies.
Any and all responses greatly appreciated!
Any links to good C/C++/Obj C/FMOD sites for the Noob, please send!
and FMOD rules my f’n world!
Thanks.

  • You must to post comments
0
0

Hi bee,

[quote:1xg9jray]Should I create a multitude of channels with fixed frequencies (representative of notes), then group those channels into an FMOD ChannelGroup, parented by a Master ChannelGroup?[/quote:1xg9jray]
I would not reccomend doing it this way, FMOD has it’s own internal channel management system. You should just create channels on the fly when they are needed, rather than trying to allocate them up front.

[quote:1xg9jray]If I wanted to a: load a sound, [/quote:1xg9jray]
System::createSound

[quote:1xg9jray]b: play it back at varying frequencies and an optional number of instances (like switching from monosynth to polysynth), [/quote:1xg9jray]
System::playSound
Channel::setFrequency

(You could use SoundGroups to manage the max polyphony)

[quote:1xg9jray]c: have those sounds sub-mixable <— how should I design the channel hierarchy?[/quote:1xg9jray]
You can use ChannelGroups to create sub mixes.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.