Re: [music-dsp] Build waveform sample array from array of harmonic strengths?

2018-04-15 Thread robert bristow-johnson
Original Message Subject: [music-dsp] Build waveform sample array from array of harmonic strengths? From: "Frank Sheeran" Date: Sun, April 15, 2018 2:55 pm To: music-dsp@music.columbia.edu

Re: [music-dsp] Build waveform sample array from array of harmonic strengths?

2018-04-15 Thread Phil Burk
If you are looking for a way to generate band-limited oscillators using octave based tables then here is an implementation in Java for JSyn: https://github.com/philburk/jsyn/blob/master/src/com/jsyn/engine/MultiTable.java

[music-dsp] Build waveform sample array from array of harmonic strengths?

2018-04-15 Thread Frank Sheeran
I'm currently just looping and calling sin() a lot. I use trivial 4-way symmetry of sin() and build a "mipmap" of progressively octave-higher versions of a wave, to play for higher notes, by copying samples off the lowest-frequency waveform. That still is only 8x faster than the naive way to do