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

2018-04-17 Thread Frank Sheeran
Hi Paula, My soft synth is a programming language (interpreted or compiled) used to route audio and control signals between C++ modules. (See http://moselle-synth.com for details.) It is currently a stand-alone PC application, while I develop the language and modules. Naturally my goal is to

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

2018-04-17 Thread paula
Hi, Have you considered moving to an FPGA? this way you could potentially do a large portion of the processing in parallel. Paula On 2018-04-16 16:46, Frank Sheeran wrote: > RBJ says: > >> are you making wavetables, Frank?? is that what you're doing? > > Well yes. > > More specifically,

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

2018-04-16 Thread Nigel Redmon
Hi Frank, Just a minor point, but yes, you want the inverse FFT. (Um, it’s the same thing, pretty much, the main issue being scaling, depending on implementation. Just highlighting that specifying frequency and converting to time domain is “inverse”, the other is plain or “forward”.) My

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

2018-04-16 Thread Frank Sheeran
RBJ says: > are you making wavetables, Frank?? is that what you're doing? Well yes. More specifically, I'm adding Wavetable SYNTHESIS to my long-standing software synthesizer. It's been generating waveforms the patch-writer specifies by formula, and/or by setting individual harmonics, and the

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

2018-04-16 Thread Ethan Fenn
On Sun, Apr 15, 2018 at 5:07 PM, robert bristow-johnson < r...@audioimagination.com> wrote: > > > Original Message ---- > Subject: [music-dsp] Build waveform sample array from array of harmonic > strengths? > From: "Frank

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" <fshee...@gmail.com> Date: Sun, April 15, 2018 2:55 pm To: music-dsp@mu

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