Thread overview | |||||
---|---|---|---|---|---|
|
January 24, 2006 MIDI in D? | ||||
---|---|---|---|---|
| ||||
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? |
January 24, 2006 Re: MIDI in D? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Adma | 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 |
January 24, 2006 Re: MIDI in D? | ||||
---|---|---|---|---|
| ||||
Posted in reply to pragma | pragma wrote:
> 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
Or better yet, use Derelict for SDL support.
Lars Ivar Igesund
|
Copyright © 1999-2021 by the D Language Foundation