2023-03-24 (F) Weekly Summary

I programmed the fifth mode to talk to my drum sampler but had to restrict the instruments to the eight I programmed. Once I get this working, I should be able to place any number of sound effects on any number of SD cards, and the EWC_Box can play them.
Drum sampler played by EWC_Box

I repurposed a garage door opener remote to operate the PRandomize button at a distance. I had a big red button mounted in a decorative tin can, and I connected the transmitter, and the receiver went inside the enclosure so that I could trigger notes from the next room. I think this makes the project more approachable.
Wireless button controlling the PRandomize button

I produced a draft of mode5() which combined melody and percussion for the first time. I succeeded in rattling off a prandom set of notes while a drum loop cycled in the background, but I need to improve it.
(0:23) Simultaneous Melody and Percussion

I listened to mode5() for a long time and took notes on what I did not like. I had hung notes, empty melody channels, and too many simultaneous melodies playing. I fixed those first ones, then got distracted because I wanted to change modes quickly instead of mashing the Mode button five times after each restart. I added a feature to the serial communication that lets me switch by sending a single digit.
Changing modes and help menu

I finished mode5() by making the volume controls "live." I can generate any number of percussion and melody instruments, but now I can adjust the balance between them while playing to get the best sound, whether I want to accentuate a solid beat or focus on some delicate instruments.
(1:27) Live Controls on mode5()

I wanted a mode that automatically changes parameters to give the music a dynamic sound. I created mode6() with only percussion. Most of the functions came from other functions, but I had to implement a timer system that periodically changed the sound. The result was some background music that never got stale.
mode6() code

The rest of the summary posts 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

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.