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

Thread: Idea for Audio Tool page enhancement

  1. #1

    Idea for Audio Tool page enhancement

    In order to more easily manipulate multiple channels in my synthesizer project, I coded this:
    Code:
    AudioSynthWaveformModulated *WaveformMod[MAX_CHANNELS]={&waveformMod1, &waveformMod2, &waveformMod3, &waveformMod4};
    used by indexing to address a particular channel like this:
    Code:
    WaveformMod[0]->begin(WAVEFORM_SINE);
    This also works well with faders and mixers.

    Perhaps there could be an (optional?) automated way to generate these object arrays from the Audio Tool?
    It takes some time to copy/paste and edit them manually... I am thankful for the tool as-is, but I love automation replacing drudgery.

    - Wes, W5ZZO

  2. #2
    Senior Member
    Join Date
    Apr 2020
    Location
    DFW area in Texas
    Posts
    512
    Wes: take a look at the work that manicksan has done <(start here - but make sure to read thru the entire thread for his latest work)> which might help with what you are after . . . I have not used it myself, but he did use an earlier version of my TeensyMIDIPolySynth to build one of his examples, so it should simplify things greatly.

    Mark J Culross
    KD5RXT

  3. #3
    Thanks, Mark. That looks promising.
    Maybe I'll get a lot of work done on this today, because the bands are (relatively) lousy.

    - Wes, W5ZZO

Posting Permissions

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