2025-03-23 (Su) EWC_Soother Playing chords automatically

I was ready to start automating chords. There was already an array called currentChord[], but I forgot to rewrite it when I changed it, so I started there. I got the sketch to play the desired notes when I pressed a key, but getting them to turn off was more work. The function failed when I played prandomized notes that were selected by a scale. I overcame this by storing the true serial message in a temporary integer, calling the chord function to turn off the notes, and restoring the original serial message. When I press any key in this mode, the system will automatically play the selected chord based on any note.
The chord plays as soon as I press a key

The rest of the posts for this project have been arranged by date.
First time here?

Completed projects from year 1
Completed projects from year 2
Completed projects from year 3
Completed projects from year 4
Completed projects from year 5
Completed projects from year 6
Completed projects from year 7
Completed projects from year 8
Completed projects from year 9
Completed projects from year 10
Completed projects from year 11

Disclaimer for http://24hourengineer.blogspot.com and 24HourEngineer.com

This disclaimer must be intact and whole. This disclaimer must be included if a project is distributed.

All information on this blog, or linked by this blog, is not to be taken as advice or solicitation. Anyone attempting to replicate, in whole or in part, is responsible for the outcome and procedure. Any loss of functionality, money, property, or similar, is the responsibility of those involved in the replication.

All digital communication regarding the email address 24hourengineer@gmail.com becomes the intellectual property of Brian McEvoy. Any information contained within these messages may be distributed or retained at the discretion of Brian McEvoy. Any email sent to this address, or any email account owned by  Brian McEvoy, cannot be used to claim property or assets.

Comments to the blog may be utilized or erased at the discretion of the owner. No one posting may claim property or assets based on their post.

This blog, including pictures and text, is copyright to Brian McEvoy.
2025-03-22

Comments