bassline - Generates a random jazz-bassline, for improvisation practice.
bassline -c 3 # output on MIDI Channel 3 (default=1) bassline -n 500 # 500 beats (default = 5 minutes) bassline -p 33 # use Patch 33, Electric Bass. (default=32) bassline -t 120 # 120 beats per minute (default=144) bassline -v # prints version number bassline | aplaymidi - # do your jazz piano practice :-)
This program generates randomly wandering jazz-like basslines. It mostly plays one note per beat, but sometimes throws in a pair of swung quavers. It tends to keep moving either up or down, but sometimes it turns round and starts going the other way. It prefers intervals of one and two semitones, but from time to time it throws in larger intervals.
This example will cause output to be generated on midi Channel 3. The default is channel 1.
This example will cause 300 beats of output to be generated. The default is to generate five minute's worth.
This example will cause output to be generated with midi Patch 33. The default is patch 32, which is the General-MIDI pizzicato acoustic bass.
This example sets the Tempo to 160 beats per minute. The default is 144 beats per minute.
Prints the Version number.
The current version of bassline is available by http at
www.pjb.com.au/midi/free/bassline
(make it executable, and move it into your $PATH),
or as part of
www.pjb.com.au/midi/free/midiscripts.tar.gz
(unpack the tar archive somewhere in your $PATH).
If necessary, edit the first lines to reflect
where perl is installed on your system.
You'll also need to install the MIDI-Perl module written by Sean Burke.
1.0, 20061103, first working version
Peter J Billam www.pjb.com.au/comp/contact.html
Based on Sean Burke's MIDI::Perl CPAN module.
http://search.cpan.org/~sburke
http://www.pjb.com.au/muscript
http://www.pjb.com.au/midi