Complex waveforms: calculated or samples
- KVRist
- 93 posts since 26 May, 2025
Most soft-synths nowadays have, apart from the basic waveforms saw / pulse / triangle (which are easy to compute), more complex waveforms. I wonder if those complex waveforms are computed or if it are just samples.
- KVRAF
- 9600 posts since 17 Sep, 2002 from Gothenburg Sweden
Mostly samples but i'd say that's a distinction without a difference. It's what you can do with the waveforms that matters.
-
- KVRist
- 158 posts since 18 Jun, 2014
Likely wrong forum as there is one for development.Essent wrote: Tue Mar 10, 2026 10:46 am Most soft-synths nowadays have, apart from the basic waveforms saw / pulse / triangle (which are easy to compute), more complex waveforms. I wonder if those complex waveforms are computed or if it are just samples.
Short answer: anything can be used. It can range from samples to epicycles/formulae, with in between some sort of combination of it (interpolation and so on). Not to mention some attempt to model electrical circuit (as code)...
Everything is possible, each results got tradeoff to accept, so it's a matter of what you want to achieve.
- KVRist
- Topic Starter
- 93 posts since 26 May, 2025
Interesting stuff. So when a company like Arturia claims they recreated a Juno / Jupiter, did they filled their synth with samples? Cause one sample probably won't do. Or would they have some algorithm to stretch a sample?
- KVRAF
- 9600 posts since 17 Sep, 2002 from Gothenburg Sweden
While it's certainly possible i seriously doubt that. The thing is you need extra algorithms for pitch shifting and anti aliasing and what nots. In the end it doesn't really matter as long as the result is good. The way you store the information is such a minor part of the whole it really doesn't matter. That's why i said it's a distinction without a difference.Essent wrote: Wed Mar 11, 2026 8:02 am Interesting stuff. So when a company like Arturia claims they recreated a Juno / Jupiter, did they filled their synth with samples?
- KVRist
- Topic Starter
- 93 posts since 26 May, 2025
OK, so when are they calculated, when are it samples? Say a Moog saw (which is not my definition of a saw), is it calculated or a sample?jupiter8 wrote: Wed Mar 11, 2026 11:09 amWhile it's certainly possible i seriously doubt that. The thing is you need extra algorithms for pitch shifting and anti aliasing and what nots. In the end it doesn't really matter as long as the result is good. The way you store the information is such a minor part of the whole it really doesn't matter. That's why i said it's a distinction without a difference.Essent wrote: Wed Mar 11, 2026 8:02 am Interesting stuff. So when a company like Arturia claims they recreated a Juno / Jupiter, did they filled their synth with samples?
- KVRAF
- 9600 posts since 17 Sep, 2002 from Gothenburg Sweden
A real Moog saw is analog so it's neither. Though i'd say closer to calculates than sampled.Essent wrote: Wed Mar 11, 2026 11:21 am Say a Moog saw (which is not my definition of a saw), is it calculated or a sample?
Something like:
Code: Select all
phase=-1.0;
phaseIncrement= frequency * something/samplerate;
phase += phaseIncrement;
if (phase > 1.0) phase -= 2.0;
sawOut = phase;
pulseOut = -1.0;
if (phase > threshold) pulseOut = 1.0;
That's probably how i would start, so calculated. But if i can get the exact same result doing it another way, does it matter?
- KVRAF
- 9600 posts since 17 Sep, 2002 from Gothenburg Sweden
When you said complex waveforms i was thinking more U-He Zebra, Vital and the like.
Zebra2 is based on "samples" but converts it to the frequency domain (FFT) "does stuff" and converts it back to "samples" so you can do all kinds of weird stuff. I'm pretty sure Vital does that too. Zebra3 otoh is all formulas as i understand it.
So you can manipulate the data in all kinds of ways before the final result.
Zebra2 is based on "samples" but converts it to the frequency domain (FFT) "does stuff" and converts it back to "samples" so you can do all kinds of weird stuff. I'm pretty sure Vital does that too. Zebra3 otoh is all formulas as i understand it.
So you can manipulate the data in all kinds of ways before the final result.
- KVRAF
- 9600 posts since 17 Sep, 2002 from Gothenburg Sweden
There's also component modelling in which you have digital models of the components and connect them together. That would be calculated waveforms, no samples.
- KVRAF
- 9600 posts since 17 Sep, 2002 from Gothenburg Sweden
Which one? He does all of them.Essent wrote: Wed Mar 11, 2026 12:04 pm thx, as said, I find this al very interesting. I am not a big fan of U-He's approach, but that is just my personal opinion.
- KVRist
- Topic Starter
- 93 posts since 26 May, 2025
When a synth starts with samples and converts it to the freq domain, you can just store the values of your sinussen and do not need the sample at all when distributing the synth.
- KVRist
- Topic Starter
- 93 posts since 26 May, 2025
