09-04-2022, 12:44 AM
Hi
@MadSciJr
don't matter about DECLARE that are needed for QBasic and not for QB64!
@ for all interested friends
Now I have had time to look into code of QMIDI.BAS....
it is clear that :
1 it had been used ASM in QBasic by Call Absolute!
2 it is clear that the authors claim some OS drivers that managed the MIDI files for playing them
-- so the most interesting part of code is a long list of Hex(ASM) code valid for the OS that supports Interrupt at 16/32 bits.
Nothing to use today at 64 bits.
Well
the first question is
DOS had MIDIDrivers, and so Windows? Linux? MacOs?.... Is the program, that we must build to read MIDI, translate it to NMN of Jean Jacques Rousseau or SMN (classical pentagram) for a CSV file to edit or to pass to an editing program, translate back text file (both NMN both SMN) to MIDI playable, OS indipendent? Or must it call a library that is different for different OSes?
this article tells about MIDI drivers but I think that those drivers are about an hardware MIDI tool that let you play your musical instrument and record it as MIDI file.
https://docs.microsoft.com/en-us/windows...components
the second question is
if it is so (we need drivers to play MIDI files), was it useful to get from freebasic program the way to convert MIDI to PLAY instructions and viceversa?
but taking a look into it, it seems not so helpful than I was hoping.
So it remains the VB6 project of Utah that gives us sufficient informations to build our MIDI2txt translator for file MIDI with 1 track.
And we need informations about multitrack MIDI file's structure.
Let's go to collect more informations from your sources and from web!
@MadSciJr
don't matter about DECLARE that are needed for QBasic and not for QB64!
@ for all interested friends
Now I have had time to look into code of QMIDI.BAS....
it is clear that :
1 it had been used ASM in QBasic by Call Absolute!
2 it is clear that the authors claim some OS drivers that managed the MIDI files for playing them
-- so the most interesting part of code is a long list of Hex(ASM) code valid for the OS that supports Interrupt at 16/32 bits.
Nothing to use today at 64 bits.
Well
the first question is
DOS had MIDIDrivers, and so Windows? Linux? MacOs?.... Is the program, that we must build to read MIDI, translate it to NMN of Jean Jacques Rousseau or SMN (classical pentagram) for a CSV file to edit or to pass to an editing program, translate back text file (both NMN both SMN) to MIDI playable, OS indipendent? Or must it call a library that is different for different OSes?
this article tells about MIDI drivers but I think that those drivers are about an hardware MIDI tool that let you play your musical instrument and record it as MIDI file.
https://docs.microsoft.com/en-us/windows...components
the second question is
if it is so (we need drivers to play MIDI files), was it useful to get from freebasic program the way to convert MIDI to PLAY instructions and viceversa?
but taking a look into it, it seems not so helpful than I was hoping.
So it remains the VB6 project of Utah that gives us sufficient informations to build our MIDI2txt translator for file MIDI with 1 track.
And we need informations about multitrack MIDI file's structure.
Let's go to collect more informations from your sources and from web!