bassline - Generates a random jazz-bassline, for improvisation practice.
bassline -c 3 # output on MIDI Channel 3 (default=1) bassline -m # generates output in muscript format bassline -n 500 # 500 beats (default = 5 minutes) bassline -p 33 # use Patch 33, Electric Bass. (default=32) bassline -t 120 # sets 120 beats per minute (default=144) bassline -v 80 # sets MIDI Volume = 80 (default=100,max=127) 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.
The output will be generated in Muscript format. This could be useful if you want to add by hand in some other instruments; like a tenor saxpohone is General-MIDI Patch 66, for example.
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.
This example sets the MIDI Volume to 110. The default is 100, the minimum 0, the maximum 127.
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.3, 20090309, MIDI-Perl module not required if -m option is used
1.2, 20090308, added -m option for muscript output
1.1, 20071006, -v option now sets the volume
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/muscript/gm.html
http://www.pjb.com.au/midi