-
Notifications
You must be signed in to change notification settings - Fork 0
07 Single notes, basslines, and "melody"

Please refer to the examples 1, 2, and 3 on the Selecting pitches page.
- With Music::VoiceGen
- With Music::Voss
Exhibit A
For example, check out the SYNOPSIS of Music::RhythmSet::Voice
For a bass-line we should make sure it does not conflict in an ugly way with other parts. To achieve this we can have it only play notes in say, a pentatonic scale, as is done in the #3 example above. Also, bass notes tend to be held longer, say for a whole or half-note. Too many quick notes for a long time, and it sounds like a solo!
Exhibit B
(And even though its name doesn't give it way, you can use the above Bassline generator module to produce notes in a higher octave. These can then be rhythmically phrased with Music::Duration::Partition to make a melodic line based on named chords!)
This bit requires creativity! That being said, phrases can be generated with the previously covered partitioning module combined with logical pitch generation...
-
With Music::Canon
Exhibit C
Exhibit D
If we are to write a piece for the oboe patch, we should code such that the range of notes is within the possibilities for an oboe. "The commonly accepted range for the oboe extends from B♭3 to about G6", according to wikipedia. Same goes for the all other instruments.