Skip to content

New version in line with the Wavetable Editor #6

@nygma2004

Description

@nygma2004

Hi bitluni,

Thanks a lot for this driver. I tried using it and I noticed that your Wavetable editor creates the .h file in a different format as what is in the Mono.ino. It also creates a structure which probably is defined elsewhere in the newer version of your program.
Do you have an updated example which works with the current Wavetable version?
I would like to use it like the way you are probably using it, so the ESP plays very short clips when something happens, and not continuously.
If I comment out these lines in the fillSamples method, I can disable the loop playback, right?

    if(lastFilledWord == totalSampleWords)
      lastFilledWord = 0;

Also, can you advice on how I can modify this to only play different sounds on request?

  • Use same sample rate, so the RFC timing stays the same
  • Keep fillSamples in the loop
  • Modify nextSample, so in return line it picks samples from the array that I want to be played back?
  • Create a dummy silence sample with 128-s which will be "played" when nothing needs to be played?

Thanks a lot,
Csongor

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions