Re: iPhone AU best practices
Re: iPhone AU best practices
- Subject: Re: iPhone AU best practices
- From: Richard Dobson <email@hidden>
- Date: Thu, 17 Jun 2010 10:12:18 +0100
On 17/06/2010 00:55, Admiral Quality wrote:
..
Any links for voice assigners? My app right now will play one instrument at a time. In the future, I will allow recording of each instrument separately, and then playback all instruments at the same time.
Just google "voice assigner". And if you need a demo, try my product
(it runs in a free demo mode). At the top of Poly-Ana's interface is a
display showing which voice numbers are currently active. It can help
you visually get an idea of what's going on. Also, Poly-Ana offers all
kinds of control over the voice assigner, so you can duplicate
virtually any of the common behaviors.
One example on the net of a simple but effective voice assignment
manager is the "voicer" class in the STK:
https://ccrma.stanford.edu/software/stk/
Is has adsr classes as well, among many other things. You need the
latest version v4.4.2.
See the documentation and example projects for more information on how
it is used. It is all plain vanilla C++, so will just build, e.g. as a
static library, and can easily cohabit with objective-C. It runs at
single-sample precision (using the paradigm of a "tick function"), so
may not be as efficient as processes that update parameters every 64
samples or so, but it is recorded as being used by the Smule people (of
"Ocarina" fame), and they seem to be able to get a fair amount of
mileage out of it. As you will see, a basic voice manager is not at all
complex code, especially with a percussion-oriented adsr+voice engine
that knows how to turn itself off at the end of the release stage, thus
automatically becoming available for a new note.
Richard Dobson
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden