Search found 4 matches

by Babzouille
Thu Jun 04, 2015 8:11 am
Forum: Developer's Section
Topic: Read .mid file in C
Replies: 6
Views: 5251

Re: Read .mid file in C

Ok too bad :(
Thanks !!! :)
by Babzouille
Tue Jun 02, 2015 11:42 am
Forum: Developer's Section
Topic: Read .mid file in C
Replies: 6
Views: 5251

Re: Read .mid file in C

At first, sorry for the double post :mrgreen: I tried to compile a simple code on Ubuntu and after some researches I manage to do so. I installed libsmf with sudo apt-get install libsmf-dev. Here is the code: #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <smf.h> #include <time....
by Babzouille
Tue Jun 02, 2015 8:08 am
Forum: Developer's Section
Topic: Read .mid file in C
Replies: 6
Views: 5251

Re: Read .mid file in C

:D

Thank you very much for your replies.

I feel so stupid, i didn't even think about a midifile library... And I've never heard of libsmf library while i was searching for examples. :P

I'll see what I can do with libsmf or MidiFileIO !

Thanks guys !
by Babzouille
Mon Jun 01, 2015 4:44 pm
Forum: Developer's Section
Topic: Read .mid file in C
Replies: 6
Views: 5251

Read .mid file in C

Hello everyone! I'd like to be able to write a program which reads .mid files and do something at the right time for each note on and note off (for example printf the note when it has to be played or stopped). I don't need all other information like pitch, sysEx or whatever :P I thought it would be ...