Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 4 of 4

Thread: Make a multitimbral syntheizer

  1. #1
    Junior Member
    Join Date
    Oct 2020
    Posts
    2

    Make a multitimbral syntheizer

    Hi, I was wondering if there is a way to make a multitimbral synthesizer?
    This question arises due to the fact that I don't see how using the Audio System Design Tool would permit the duplication of the midi note input signal for a second layer of synthesis.

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    22,712
    The design tool is only for audio streams, not for control messages.

    You could draw a design with many oscillators, wavetables or other ways of synthesizing sound. Separately, you'll write code in Arduino to respond to the MIDI messages. The most popular way is to set up a function which runs when the message arrives. Then in that function, if you want 4 oscillators to all work together to play the note, you'd just write 4 lines (or more) of code to start those oscillators. Or maybe you'd have the oscillators running all the time and control ADSR envelopes. Or the gain of mixer channels, or anything else you like.

    The important point is the design tool is just about the audio flow. You almost always pair it with some code you write in Arduino which changes the audio components as events occur. As you use the design tool, the documentation of the functions Arduino can use to control each thing appears in the right side panel as you click.

  3. #3
    Junior Member
    Join Date
    Oct 2020
    Posts
    2

    Cool

    Quote Originally Posted by PaulStoffregen View Post
    The design tool is only for audio streams, not for control messages.

    You could draw a design with many oscillators, wavetables or other ways of synthesizing sound. Separately, you'll write code in Arduino to respond to the MIDI messages. The most popular way is to set up a function which runs when the message arrives. Then in that function, if you want 4 oscillators to all work together to play the note, you'd just write 4 lines (or more) of code to start those oscillators. Or maybe you'd have the oscillators running all the time and control ADSR envelopes. Or the gain of mixer channels, or anything else you like.

    The important point is the design tool is just about the audio flow. You almost always pair it with some code you write in Arduino which changes the audio components as events occur. As you use the design tool, the documentation of the functions Arduino can use to control each thing appears in the right side panel as you click.
    Thanks, Paul! that kinda resolves it . Sorry if the question was too basic, it's just im recently starting in this world of programming. Glad to have the answer from the bass-man itself.
    cheers

  4. #4
    Senior Member
    Join Date
    Apr 2020
    Location
    Tucson
    Posts
    128

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •