Skip to content

gasman/midibeep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

midibeep.rb: Convert a Standard MIDI (.mid) file into Spectrum BEEP statements
http://github.com/gasman/midibeep/

Installation / requirements
---------------------------
You will need Ruby, and midilib:
    gem install midilib

You probably also need something to translate BASIC text files into something
that can be loaded into a Spectrum; I use zmakebas
    http://www.svgalib.org/rus/zmakebas.html
but for Windows, BASin probably works well:
    http://www.worldofspectrum.org/forums/showthread.php?t=20950

Usage
-----
    ruby midibeep.rb my_midi_file.mid
will dump the BEEPs to standard output;
    ruby midibeep.rb my_midi_file.mid > my_program.txt
will send the output to somewhere more useful. Or, for command-line-fu fans:
    ruby midibeep.rb my_midi_file.mid | zmakebas -o my_program.tap

Limitations
-----------
- The algorithm for condensing down to one channel is pretty crude. Don't
  expect good results if you feed it a full orchestral score.
- The output format is a memory hog. Expect to get about 1500 lines into 48K.

Matt Westcott <matt@west.co.tt> - http://matt.west.co.tt/

About

Convert Standard MIDI (.mid) files into Spectrum BEEP statements

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages