This document explain how to setup and compile MidiToy.

Author: Pawel Dubin 2002-08-09

1. Introduction

This program has been written using Kdevelop 2.1 so to compile it you should have KDE-3 up and running with QT, heders and libraries
To run it do the following:
download file
open terminal
unpack tarball "tar zxvf miditoy-0.4.tar.gz
cd miditoy-0.4

its not ready for install yet but can be run from subdirectory you unpack archive. Any help greatly appreciated
Just say:
again "cd miditoy"

2. Hardware

on the terminal screen you will see debug messages. especially devices which program detects on your system
To play with miditoy you should have at least 1 midi or synth device. Now it works with oss drivers and alsa in oss emulation mode.

To set up joystick read Kernel Documentation/input/joystick.txt which comes with 2.4 kernels. I do it this way: etc/modules.conf or conf.modules: add

alias char-major-13 analog
above analog joydev ns558
options analog js=2btn

IMPORTANT: Dont forget to connect joystick first.
driver is loaded when any program request to use it
I build a pedal (usualy sustain) connected to one of joystick button switches.

3. Sequencer

Sequencer is similar to other midi editors
It has 16 tracks and one (first) special track for sequencer control commands. one cell is 1/32 of full note. You can enter max 10 notes per cell on a track. Operations on cells can be done by right clicking on them.
To enter note select cell in upper tabele and then click on column in lower table. On the left of it you can tune note parameters like length, velocity, value.
Last entered value is repeated next time.
To delete right click.

Control track can contain sequencer commands:
- times with this (loop with this tick)
- times without this (loop without this tick)
- stop (stop sequencer)
- is suitable for setting melodical scale and intro jump. If You set scale sequencer can transpose your melodical tracks in this scale. Transposition is controled by lowest note played in first part of keyboard. To do it sequence notes should be entered in base note of the scale.
To do sequence not so mechanical you can arrange jumps to intros placed usualy on the end of sequence and starting with command INTRO. Inros ends with any sequencer command other than intro.
Sequencer returns from intro if this is intro end (may be next intro) or base sequence loop end.

The best way to learn is try. I thing its not so complicated

Chanel 9 is a drum chanell ??? (sorry, channels are numbered from 0)

Good Luck

PS. Sorry there is no other documentation as for now.