Tutorial - Changing sample pitch in real timeSubmitted by mario on Tue, 01/03/2017 - 23:32
Implementing 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
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.
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.