Re: Apple DLS only audible on first few instruments
Re: Apple DLS only audible on first few instruments
- Subject: Re: Apple DLS only audible on first few instruments
- From: Christopher Corbell <email@hidden>
- Date: Mon, 2 Jun 2003 12:37:10 -0700
On Monday, June 2, 2003, at 12:21 PM, Daniel Jalkut wrote:
Does anybody have any suggestions as to why an Apple DLS synth hooked
up to the default audio output would work GREAT with "Piano1", "Piano
1d", "Piano 2", and "Piano 3", but remain silent at Honkytonk and
everything (I've tried) beyond? I am only passing instrument IDs that
I received from AudioUnitGetProperty on legal indices for the device.
I've traced it down to my call to MusicDeviceStartNote. Here, if I am
trying to play Honkytonk, the instrument ID is 0x80003, and no sound is
produced. If I change JUST the instrument ID to 0x80002 (Piano 3),
then the note is played as expected.
[....]
Thanks for any help!
Daniel
This is probably an invalid ID issue. If you post a little code it may
be easier
to determine. I do not see high-byte values for non-GS ID's in my code -
Honky Tonk is just 0x3.
GS instruments like Piano 1d have ID's with high bytes set, but they
look like
0x19999
0x100004
0x100005
(etc.).
Perhaps this is a simple signed/unsigned issue?
- Christopher
==============================
iPiano
Music software for Mac OS X
http://www.machotshot.com/iPiano
==============================
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.