2019-04-22 (M) Electronic Wind Chimes EWC

Up to now, notes were started and stopped in simple order:
  1. Play a note
  2. Wait
  3. Stop the note
  4. Generate a new prandom note
  5. Start over
This process did not scale well when it became necessary to play the same note from different channels and especially not when playing a one with a sustain longer than the time between two. A multi-dimension array was created which would hold the notes along with its velocity, activation time, duration, and channel. Each cycle, the array would be scanned for anything that should be activated. At that point, the velocity would be written to zero and the new activation time would have the duration added to it. The next time it came around, the zero velocity would tell the synth to turn off the note. It might not be the most elegant solution, but it was a place to start.

For this array to work, some of the variables from the first module had to be collected from both analog inputs and the two-way switches. Only one module was being considered, and once it is usable, the code will extend to the rest of the modules and for this reason, was written to be transplanted.
Module 1 displaying



The electrical connections were already tested, and input recognition had been done a few times before in this project. It became possible to change instruments, pitch offset, time offset, and velocity. Each module would have a dedicated channel, so that did not need to be adjustable.

Typically, it is best to work off the problems one at a time, but implementing the multidimensional array meant that a lot of work had to be done before any testing could take place. New issues came up such as notes that would get cut off, and some notes would stick when changing instruments. There was not enough time to fix them before stopping for the night.


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.

2019-04-08

Comments