2021-02-01 (M) Electronic Wind Chimes EWC_OST

I reinstalled the bottom cover so I could work in a different room. For weeks, this has been sitting on its side on my desk with components spilling out. I decided to make some experimental moods to test my changes by isolating variables. One example was a single instrument, but it played at 1/8th velocity. The first problem I encountered was that I named them things like "Just Inst 1," but using a numeral confused the code. For now, I renamed things. My octave modifier didn't work, but I found a solution to a different problem where notes wouldn't stop if I switched to a silent mood.

Many of my experimental moods didn't work at all. First, I assumed this was a problem with my probability check, but that was fine, so I hunted all over. Finally, I realized the issue was in my spreadsheet where I, once again, used 128 as a velocity instead of 127. I added a print statement to alert me if I send unusable values. The change fixed a lot of moods, and I confirmed that my probability worked correctly.

Another problem arose where my program would stop reading the spreadsheet after a point. I added a line to restart the card in case of an error, and that fixed the problem, plus I could eject the card, edit the spreadsheet and reinsert with no issues.
Screenshot of new code

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

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 in 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.

2021-02-01

Comments