Hi 4tH-ers!
Now - don't get overexcited. If you expect to make polyphone tracks with this thing - not quite. But you can enter notes and duration - and even select your instrument.
So the sample files give you an impression of what it can do. For the ZX Spectrum fans - it you still got ZX BASIC programs lying around with lots of BEEPs, you can easily convert those to Midi:
ZX Spectum:
BEEP 0.75, 7
BEEP 0.25, 8
BEEP 0.5, 7
BEEP 0.5, 5
BEEP 0.5, 3
BEEP 0.5, 2
BEEP 1, 0
4tH:
75 7 m.beep
25 8 m.beep
50 7 m.beep
50 5 m.beep
50 3 m.beep
50 2 m.beep
100 0 m.beep
Yeah, no floating point but 1/100s. That's it. You can also select an octave or the attack by changing the mOctave and mAttack values.
A full list of instruments is also available (see source code) and you select them with the m.use command. Just open a file using MIDopen and beep away!
Have phun! Code in SVN.
Hans Bezemer