digitalmars.D - MIDI in D?
- Adma (3/3) Jan 24 2006 Currently I program in C++ and use the Midi functions like midioutshortm...
- pragma (8/11) Jan 24 2006 Unfortunately, D has no built-in support for multimedia. Things that th...
- Lars Ivar Igesund (3/22) Jan 24 2006 Or better yet, use Derelict for SDL support.
Currently I program in C++ and use the Midi functions like midioutshortmsg and the like. does D have any Midi or other sound capabilities that allow for variable sound frequency or note output?
Jan 24 2006
In article <dr5kir$27lq$1 digitaldaemon.com>, Adma says...Currently I program in C++ and use the Midi functions like midioutshortmsg and the like. does D have any Midi or other sound capabilities that allow for variable sound frequency or note output?Unfortunately, D has no built-in support for multimedia. Things that the Windows Multimedia SDK or SDL handles, are simply left to those API's. Since you're working under Windows, your best bet is to simply take the .lib file from the Multimedia SDK, convert it to an OMF implib and interface with it from D. Aside: I find it quite dissapointing that SDL doesn't do midi in/out. There are messageboard posts going back 5 years on the topic, yet nothing was ever done. - EricAnderton at yahoo
Jan 24 2006
pragma wrote:In article <dr5kir$27lq$1 digitaldaemon.com>, Adma says...Or better yet, use Derelict for SDL support. Lars Ivar IgesundCurrently I program in C++ and use the Midi functions like midioutshortmsg and the like. does D have any Midi or other sound capabilities that allow for variable sound frequency or note output?Unfortunately, D has no built-in support for multimedia. Things that the Windows Multimedia SDK or SDL handles, are simply left to those API's. Since you're working under Windows, your best bet is to simply take the .lib file from the Multimedia SDK, convert it to an OMF implib and interface with it from D. Aside: I find it quite dissapointing that SDL doesn't do midi in/out. There are messageboard posts going back 5 years on the topic, yet nothing was ever done. - EricAnderton at yahoo
Jan 24 2006