[Q] - QuickTime Music Synthesizer
[Q] - QuickTime Music Synthesizer
- Subject: [Q] - QuickTime Music Synthesizer
- From: "Roni Music" <email@hidden>
- Date: Fri, 25 Oct 2002 11:34:42 +0200
Hi,
I've made a simple MIDI file player that uses the QuickTime Music Synth.
Works fine both on OS 8/9 and OS X except for a couple of issues.
( it's here if someone want's to have a look:
http://www.ronimusic.com/swmiplmac.htm )
1. PitchBend do not work OK (I've noticed the same problem with other MIDI players
although iTunes and QuickTime Player semms to work OK).
I use the NASetController() when receiving pitch bend and convert the 0-127 range
to suite QT (1 semitone is a value 0x100). Everything works as it should but if I send
a NASetController() very close to but before a note on - NAPlayNote() - the new pitch bend setting
don't take effect immediately. If it's a very short note it will be played with the previous
pitch bend setting.
It seems QT reacts slow to pitch bend changes - is this a known issue?
Is there a solution?
2. How do I add support for General MIDI SoundFont banks that are available and set as default
in the Music Tab in QuickTime preferences under OS X.
OpenDefaultComponent(kNoteAllocatorComponentType,0) defaults to the QT MIDI Synth
3. Is there a way to "talk" to the QT MIDI Synth with regular MIDI data or must one use
the NAPlayNote(), NASetController() etc functions?
Under OS X maybe it would be better to use the newer CoreAudio API?
(My OSX version is a Mach-O app and already uses CoreMIDI so it wouldn't be too much work to change to this?)
Thanks for any help
Rolf Nilsson / Roni Music
Roni Music <email@hidden>
http://www.ronimusic.com
_______________________________________________
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.