Re: [Q] - QuickTime Music Synthesizer
Re: [Q] - QuickTime Music Synthesizer
- Subject: Re: [Q] - QuickTime Music Synthesizer
- From: Chris Rogers <email@hidden>
- Date: Fri, 25 Oct 2002 11:53:46 -0700
Are you noticing the slow pitch bend on all platforms, or just with OS 9
with VM turned on? On OSX, I wouldn't expect such a behavior, but am
curious to know.
If at all possible, I would recommend moving over to the
AudioUnit/MusicDevice and MusicPlayer APIs to access the DLS synth
directly. You have more
precise control this way. If this still has to work on OS 9, then you'll
have to stick with QTMA.
Chris Rogers
Core Audio
Apple Computer
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.
_______________________________________________
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.