Playing A Midi File With Custom Dls/sf2 |
Wed 8 Jan 2003, 15:20
Post
#1
|
|
Newbie Group: Members Posts: 3 Joined: 08-Jan 03 From: Nyon - CH Member No.: 10,590 |
Hi,
I am looking for the easiest way of programmatically playing a MIDI file, using custom instruments, on OSX. From the information I could gather, it seems I have the choice between using either QuickTime for Java or the DLSMusicDevice Audio Unit. Do you have any suggestion? I could use either Java or C/C++. As per the instruments soundbanks, I have them in both DLS and SF2 formats. From what I can see, QT for Java contains all the required instructions, but I am not sure which engine (soft-synth) it will be using to synthesize the sounds. Thanks for any assistance you may offer. Mariano Etchepareborda Swar Systems |
|
|
Wed 8 Jan 2003, 15:25
Post
#2
|
|
Advanced Member Group: Members Posts: 351 Joined: 12-Aug 02 From: London - UK Member No.: 6,795 |
Quicktime ultimately uses DLSMusicDevice. The old "QTMA" layer is now converted to DLS. So IMO, it would be easier to attack DLSMusicDevice directly. You can get your hands on the source for "SimpleSynth" to know how to use the various bits needed.
-------------------- |
|
|
Wed 8 Jan 2003, 15:30
Post
#3
|
|
Newbie Group: Members Posts: 3 Joined: 08-Jan 03 From: Nyon - CH Member No.: 10,590 |
Thanks a lot!
Where can I get that code (I am a kind of an outsider!;-)? Mariano |
|
|
Wed 8 Jan 2003, 15:35
Post
#4
|
|
Advanced Member Group: Members Posts: 351 Joined: 12-Aug 02 From: London - UK Member No.: 6,795 |
SimpleSynth
Note that the code probably won't run on jaguar correctly (download the current binary to try it out) however it contains all you need to take some MIDI on one side and dump it into the DSL, as well as specifying the soundfont etc. Have fun -------------------- |
|
|
Wed 8 Jan 2003, 16:24
Post
#5
|
|
Newbie Group: Members Posts: 3 Joined: 08-Jan 03 From: Nyon - CH Member No.: 10,590 |
Great! Will check that.
Thanks again. Mariano |
|
|
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: