MacMusic.org  |  PcMusic.org  |  440Software  |  440Forums.com  |  440Tv  |  Zicos.com  |  AudioLexic.org
Loading... visiteurs connectés
 
Reply to this topicStart new topic
> Playing A Midi File With Custom Dls/sf2
swarsystems
posté mer. 8 janv. 2003, 15:20
Message #1


Newbie


Groupe : Members
Messages : 3
Inscrit : 08 janv. 03
Lieu : Nyon - CH
Membre 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
Go to the top of the page
 
+Quote Post
BusError
posté mer. 8 janv. 2003, 15:25
Message #2


Advanced Member
*****

Groupe : Members
Messages : 351
Inscrit : 12 août 02
Lieu : London - UK
Membre 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.


--------------------
Go to the top of the page
 
+Quote Post
swarsystems
posté mer. 8 janv. 2003, 15:30
Message #3


Newbie


Groupe : Members
Messages : 3
Inscrit : 08 janv. 03
Lieu : Nyon - CH
Membre no 10,590




Thanks a lot!

Where can I get that code (I am a kind of an outsider!;-)?

Mariano
Go to the top of the page
 
+Quote Post
BusError
posté mer. 8 janv. 2003, 15:35
Message #4


Advanced Member
*****

Groupe : Members
Messages : 351
Inscrit : 12 août 02
Lieu : London - UK
Membre 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 wink.gif


--------------------
Go to the top of the page
 
+Quote Post
swarsystems
posté mer. 8 janv. 2003, 16:24
Message #5


Newbie


Groupe : Members
Messages : 3
Inscrit : 08 janv. 03
Lieu : Nyon - CH
Membre no 10,590




Great! Will check that.

Thanks again.

Mariano
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 utilisateur(s) sur ce sujet (1 invité(s) et 0 utilisateur(s) anonyme(s))
0 membre(s) :

 

Version bas débit - mercredi 12 juin 2024, 10:08
- © 440 Forums 2011