Jump to content


Photo

Visualizer


  • Please log in to reply
3 replies to this topic

#1 Whirligig

Whirligig

    GMC Member

  • New Member
  • 28 posts

Posted 31 January 2010 - 07:56 PM

Visualizer
By Whirligig
Extensions by npc3232 and M. Rijks

Posted Image


Download: EXE (7.2 MB) GMK (4.6 MB) (GM8 Pro only)

This is a music visualization program I made in Game Maker 8 using the Midi Notes and GM Bassmod extensions. It works with any MIDI or Bassmod-supported file. There are four effects: a rain-type effect, an expanding "beat" circle, a whirlwind-like effect, and an effect that looks like a vibrating band (all four are visible in the screenshot). When the program starts, choose a file and watch the effects. Press F6 to choose another file.

Note that for best results, you should edit any files you wish to view. In a MIDI file, the effect used depends on the channel number mod 5 (0 = rain, 1 = circle, 2 = whirlwind, 3 = band, 4 = nothing). Note that for MIDIs, only one effect can be created per step max; tracks that appear later in the file have higher precedence. Thus, you would probably want the melody to appear last, so its effect always appears. In Bassmod files, multiple notes can be shown at a time, and the effect depends on the instrument number mod 5; if you want more than one instrument with the same effect, there have to be five in between, so you have to include blank instrument tracks (not sure if that works).

Post here if you have any comments or questions.
  • 0

#2 softhunterdevil

softhunterdevil

    LazyBoy

  • GMC Member
  • 276 posts

Posted 02 February 2010 - 08:55 PM

Very nice! Lt me understand the coding. For the time being, you can throw some light on details.
  • 0

#3 Whirligig

Whirligig

    GMC Member

  • New Member
  • 28 posts

Posted 02 February 2010 - 11:10 PM

You mean tell you about how it works? Basically, for MIDIs, it uses the midi_return_cmd() function to get the last returned MIDI command. If this is a Note On, it makes an effect according to the channel number. For Bassmod, it checks each instrument to see if a note was played.
  • 0

#4 Terrified Virus

Terrified Virus

    Moderators Plaything

  • GMC Member
  • 721 posts
  • Version:GM:Studio

Posted 10 August 2012 - 11:32 PM

This is cool, and works:)

Sorry for bumping an almost 3-year topic, but so what?
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users