Midi ?

Just starting out? Need help? Post your questions and find answers here.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Yam.

Is There A way To Make A Midi Player
or Better Midi Sequencer With PureBasic?
:)
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Joseph.

i think you may check out some midi samples inside the snippet collection downloadable at the excellent pb resource site
I have found:

api_midi
basicmidi
midiinfo

as far as is midiplayer concerned you may consider the mci api too


as far as to write a complete sequencer (ie: with midi playing/recording capabilities) it is actually a bit more difficult, you have to read carefully the midi api documentation (especially the midiin/midiout callback mechanism) or 'get connected' to some midi dlls already available on the Internet (i suggest you to check out the harmonycentral.com midi development tools section, you may find for example the maximum midi toolkit dlls) or, last but not least, get interfaced to the Microsoft Direct X (DirectMusic) portion dedicated to sounds and music: as PB allows to use APIs all of the above possibilities are available in theory

hope this helps

best regards
Joseph

(PureBasic Registered User)
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by MrVainSCL.

Hi Yam
I think it should be possible... As you may know, you can use All WinApi and Inline ASM to get your needed stuff/routines...

Search on this forum for Midi related stuff and you will find code snips how to play midi with MCI and some examples how to send midi datas by MCI...


PIII450, 256MB Ram, 6GB HD, RivaTNT, DirectX8.1, SB AWE64, Win2000 + all Updates...

greetz
MrVainSCL! aka Thorsten
Post Reply