Convert midi note number to clock
#CONVERT MIDI NOTE NUMBER TO CLOCK SOFTWARE#
# You should have received a copy of the GNU General Public License # along with this program if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # - MIDI file conversion script for hydrogen () # => Read the usage message below for more info # (Note: was created on ubuntu 7.x using perl 5.8, with the additional CPAN # packages XML-Simple and MIDI-Perl) # -=- # Ideas/TODOs: # - some quantization would probably be useful # - detect identical patterns (that's tricky) # - load instruments from multiple kits # - ~home/.midi2hydrogen.cfg config file instead of options # - find a way to implement some midi controls (volume, pan.) # use strict use Data :: Dumper use Getopt :: Long use MIDI my ( $ME ) = "midi2hydrogen.
See the # GNU General Public License for more details. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # _ # / \ # | _ _ _ _ / _ _ | # | _ / \/ \ ' / \ / / /_ / \ / \ | # | / _ \ / / / / / / _/ \_ / /_/ / / | # | / |_ / / / / / / / / / \ / / /_/ | # | \_/ / / \/_/ / \_/ _/ \_/ \_/ / | # | / | # | | # | Copyright (c) 2007 Herve Masson, MindStep SARL | # | | # \_/ # This program is free software you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation either version 2 of the License, or # (at your option) any later version. (You can read about the Set Tempo meta event message in the file format description document.) The tempo is expressed as a 24-bit number that designates microseconds per quarter-note.
That can be changed, however, by a meta event that specifies a different tempo. Convert midi drums to *.h2song hydrogen drum sequencer format By default, the time signature is 4/4 and the tempo is 120 beats per minute.