[LAD] Converting single-cycle wave to harmonic spectrum

Jeanette C. julien at mail.upb.de
Mon May 10 15:17:12 CEST 2021

May 10 2021, Fons Adriaensen has written:
> Maybe you could tell us what exactly you want to use this for, then a
> pragmatic solution could be found.
There are numerous audiofiles around containing one single cycle wave to
be used with multiple wavetable synthesizers, both in hard and software.
I can only assume that these are matched to the number of samples they
contain. Some of them CERTAINLY proclaimed this fact, AFAIK. I don't
have a wavetable synth that would directly accept waves, but I have
access to synthesizers with additive capabilities, including Yoshimi. So
converting such "prepared" waveforms to additive spectra is quite

I already have a more general solution in Csound, which works with a
generic FFT, to be used with real world samples. But it takes some time
and contains its own hazards. :) So a dedicated solution seemed

Many thanks for your clear description and the useful caveats so far!

Best wishes,


  * Website: http://juliencoder.de - for summer is a state of sound
  * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
  * Audiobombs: https://www.audiobombs.com/users/jeanette_c
  * GitHub: https://github.com/jeanette-c

She's so lucky,
she's a star
But she cry, cry, cries in her lonely heart... <3
(Britney Spears)

More information about the Linux-audio-dev mailing list