MIDI files management

Developed or developing a new product in PureBasic? Tell the world about it.
Dr. Dri
Enthusiast
Enthusiast
Posts: 243
Joined: Sat Aug 23, 2003 6:45 pm

MIDI files management

Post by Dr. Dri »

I made a midi file parser starting from Zapman' s code.

I got a bit further in this project and now it also play notes.

The "Midi lib" contains one general purpose libs

Endian (100% asm)

And the four midi libs

VarLen (specific midi integers, 100% PB)
MidiParser (100% PB)
MidiPlayer (only for windows, using midiOut)
MidiWriter (not started yet, might be 100% PB)
MidiStream (not started yet, might using windows' midiStream)

unavailable

No help file, only one small example

Dri :)
Last edited by Dr. Dri on Wed Oct 03, 2007 6:10 pm, edited 1 time in total.
Dr. Dri
Enthusiast
Enthusiast
Posts: 243
Joined: Sat Aug 23, 2003 6:45 pm

Post by Dr. Dri »

The first release is out, i hope you'll like it

Dri :)
Criss
New User
New User
Posts: 9
Joined: Mon Dec 04, 2006 9:41 am

Post by Criss »

Look's nice! But, what can i do all, with them? Can i change the instruments or the volume per instrument or the key of midi?
Dr. Dri
Enthusiast
Enthusiast
Posts: 243
Joined: Sat Aug 23, 2003 6:45 pm

Post by Dr. Dri »

Right now you can parse a file and play notes (for example the file's notes =)
I aim to make a MidiWriter lib to i don't have enough time for that now

Dri
Dr. Dri
Enthusiast
Enthusiast
Posts: 243
Joined: Sat Aug 23, 2003 6:45 pm

Post by Dr. Dri »

It's been a while since the last time i wrote some midi code but i've fixed some bugs and improved some features. Now i would like to handle asynchronous midi files but i can't find any clear documentation and i don't even have asynchronous files to even make some tests. So i have made a small program searching such files. It scans every active drive (except floppy disks) and put asynchronous filenames in a listview gadget. A simple message box tells you when it's over. Please send me the files if you have asynchronous midi files.

Search.zip

Dri
Post Reply