Plays a sample at different MIDI pitches.
ta_pitchnotes [<sample file> [<duration>]]
This program loads and plays the AIFF sample file at several different pitches. It does this by selecting a MIDI note number, which the audio folio maps to a frequency.
Because this sample program uses SleepaudioTicks()
, the notes are not necessarily rhythmic. Use the juggler to play rhythmic scores.
ta_pitchnotes.c
examples/Audio