Tutorial - Changing sample pitch in real time
Submitted by mario on Tue, 03/01/2017 - 23:32Implementing New Voice Type for Melody - Sampled Instrument
Objective: Demonstrate how to expand the functionality using the framework, showing examples of how to:
- add a new type of voice, played by a real instrument
- use this voice for melody, by changing pitch in real time
Prerequisities
If you haven't done so, please start with the first tutorial in the series to make sure you have all equipment and software ready.
Get Started
Let's assume you got the IDE installed, board connected to SWD and you tried the flashing utility to see that it communicates well.
Find a sample you want to use for the new instrument, it should be a WAV file, mono, 16bit. The sampling rate is not too important here.