Bug squashed

To see the latest version of the project:  http://tinyurl.com/collaborativesoundscape

News: Corrected the problem with the first beat not playing. As a workaround for the “0” in the array of the beats I was using step = step – 1, to turn off the sound, but arrays cannot have a negative value. As a solution I told the program to turn off the sound if step != currentStep.

Next Steps: 1) Clean up the code, eliminate extra lines that are inefficient, and add missing comments as needed.

2) With what I learned on creating the basic “drum machine”, it will not be difficult to build in other sounds. As such, I think it is time to focus on building in the Photon Unity Network so multiple people can use the current drum machine at once.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s