Results 1 to 4 of 4

Thread: I need to know MIDI

  1. #1

    Thread Starter
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134

    Red face

    I have 2 or 3 questions about using MIDI (multiple instrument dynamic interface) in VB. Now, we shall move on to...

    QUESTION #1

    Q: How would I load a MIDI file, be able to do anything with it, and be able to select the synthesizer (eg. Creative S/W Synth, MIDI Mapper, SB512 Midi-Out (E400).

    A: YOUR ANSWER HERE. Which would probably have something to do with...

    QUESTION #2

    Q: How do you play single MIDI notes in VB? eg. Make them at run-time, if I was making a Composer for MIDI.

    A: YOUR ANSWER HERE. Now, onto the last question...

    QUESTION #3

    Q: How do you save MIDI-notes into a .MID/.RMI file format? What is the format? eg. A save function.

    A: YOUR ANSWER HERE!

    THE END

    Please reply or send an email to [email protected].

    BTW, please go to http://techmancam.tripod.com/ for the opening of my online technical magazine is in a month or two! (PS. I can only get it started when I have 5-10 forms filled out and emailed to me.)

    Thank you!
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169

    Exclamation Musical Instrument Digital Interface, actually...

    1. Look at http://www.whatsit.org/com/net/whatever for the file format of an SMF (standard MIDI file).

    2. See http://www.parksie.uklinux.net/midi.zip

    3. See 1

    In order to play a MIDI file you'd need to write a full timing/scheduling system...you have been warned - you'd also need a multimedia timer, since the Timer is poor.

    Did I mention it needs to be 16bit to work properly?
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  3. #3

    Thread Starter
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    Wouldn't I just be able to play it with something called MMcontrol or MciSendMessage API or something of that sort?
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  4. #4
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Yes, but only if it's a separate file. If you were going to load and process it, you'd need a scheduler.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width