Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 3 of 3

Thread: How to change chords?

  1. #1
    Junior Member
    Join Date
    May 2019
    Posts
    5

    How to change chords?

    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?

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    20,305
    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.

  3. #3
    Junior Member
    Join Date
    May 2019
    Posts
    5
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •