Skip to content

Codebase for our "Melobottle" an interactive musical instrument made from repurposed plastic bottles! Desgined for use within schools to teach students about synthesis but to also bring awareness to sustainability.

Notifications You must be signed in to change notification settings

ivan3002/TheMelobottle

Repository files navigation

TheMelobottle

image


  1. Input Processing Functions:

    • Ultrasonic Sensor:

      • Function to read data from the ultrasonic sensor.
      • Function to convert the sensor data into a usable format (e.g., map the distance to a range of harmonics).
    • Accelerometer:

      • Function to read rotational data from the accelerometer.
      • Function to convert rotational data into pitch information.
  2. Signal Generation Functions:

    • Waveform Generation:
      • Functions to generate different waveforms (sawtooth wave, sine wave, Karplus-Strong).
      • Parameters for controlling the characteristics of the generated waveforms (frequency, amplitude, etc.).
  3. System Initialization and Control:

    • Initialization Function:
      • Initialize all necessary hardware and software components.
    • Main Control Loop:
      • The main loop that coordinates the system's operation.

The above is the priority at the moment


Remember to modularize the code, keeping related functions together in separate files. This approach makes it easier to manage, debug, and extend your software. Additionally, it's beneficial to add comments to your code to explain the purpose and functionality of each function.

About

Codebase for our "Melobottle" an interactive musical instrument made from repurposed plastic bottles! Desgined for use within schools to teach students about synthesis but to also bring awareness to sustainability.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published