How to change chords?

Status
Not open for further replies.

androadi

Member
I am using a Teensy 3.2 to generate Electronic Piano / Keyboard music. I used the Soundfont decoder to extract an Electronic Piano sound. But how do I change between chords?
 
Maybe look at File > Examples > Audio > Synthesis > Guitar. It plays chords.

If that doesn't answer your question (it probably won't), maybe explain in more detail and give us some context to hopefully understand what you're trying to accomplish.
 
I went through that example, and I understand that you are using a separate file to set the frequency of each chord. But I know the frequency of the chords are the same irrespective of the instrument. I think what differentiates the sound produced a guitar for the same chord from the sound produced by an electronic piano is shape of the wave. So, I would like to know how to produce the sound produced by an electronic piano. I know this may not be a question specific to PJRC but I couldn't find the answer anywhere online.
 
Status
Not open for further replies.
Back
Top