Author Topic: MIDI file creation (Make your own soundtrack :-)  (Read 2613 times)

Offline Moru

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1779
    • View Profile
    • Homepage
Everyone wants to create their own sound-effects and music themselves, right? Well this is the perfect library for creating everything yourself. At least it's a ground for creating midi files, with enough documentation to get you started.

Download on my homepage, Midi library - Click "Code" and "Midi library". (url is updated 2013...)

Complete source code and documentation on where to find the different sounds. (not super pretty sourcecode since I didn't have much time)

TIP: Watch out for the main synthesizer volume jumping to 0 now and then after playing a midi track. No matter what you set the volume in GLBasic, it still won't make any sounds so you need to set volume in the "Volume Control" thing.
« Last Edit: 2013-May-21 by Moru »

Offline Schranz0r

  • Premium User :)
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 5024
  • O Rly?
    • View Profile
Thats awesome!
I <3 DGArray's :D

PC:
AMD Ryzen 7 1700 @3.9GHz, 16GB HyperX Fury 3000MHz Ram, ASUS ROG GTX 1060 STRIX 6GB, Windows 10 Pro 64Bit, MSi Tomahawk B350 Mainboard

Offline Hemlos

  • To boldy go where no pixel has gone before!
  • Global Moderator
  • Prof. Inline
  • *******
  • Posts: 1635
  • Particle Hawk
    • View Profile
Nice work

can you use that code to find the total playtime? if so how?

btw here is what i was working on:
http://www.glbasic.com/showroom.php?game=GLMidiSoundMachine&site=games&lang=en
« Last Edit: 2008-Oct-27 by Hemlos »
Volume_of_Earth(km^3) = 4/3*3.14*POW(6371.392896,3)

Offline Hemlos

  • To boldy go where no pixel has gone before!
  • Global Moderator
  • Prof. Inline
  • *******
  • Posts: 1635
  • Particle Hawk
    • View Profile
What happened to your webpage moru?

Can you post a copy of the midi project here again?
Volume_of_Earth(km^3) = 4/3*3.14*POW(6371.392896,3)