Wavetable Synthesis Algorithm Explained [Synth

  Рет қаралды 12,088

WolfSound

WolfSound

Күн бұрын

✅ Check out the full article on TheWolfSound.com: www.thewolfsound.com/sound-sy...
✅ Sign up for WolfSound's newsletter: thewolfsound.com/newsletter/
✅ Please subscribe to WolfSound to let the little Wolf 🐺 grow:
/ @wolfsoundaudio
🎧 Listen to my music: thewolfofficial.com/
Hi, my name is Jan Wilczek and I am an audio programmer and a researcher. Welcome to WolfSound!
WolfSound's mission is to provide high-quality, informative, and entertaining videos, articles, and courses on how to process sound by exploring mathematics, applying algorithms, and creating code in various programming languages.
WolfSound enables everybody to learn about audio programming!
In this video, we are discussing what is wavetable synthesis, its advantages, disadvantages, and how it relates to other synthesis methods. It should serve as an introduction to the world of sound synthesis.
In case of any doubt in understanding, please, refer to the article above or ask a question in the comments 🙂
BIBLIOGRAPHY
These are the references I used for this article. If you are interested in the topic of sound synthesis, each of them is a valuable source of information.
[1] Taylor series expansion of the sine function on MIT Open CourseWare: ocw.mit.edu/courses/mathemati...
[2] F. Richard Moore, Elements of Computer Music, Prentice Hall 1990: www.amazon.com/gp/product/013...
[3] Curtis Roads, Computer Music Tutorial, MIT Press 1996: www.amazon.com/gp/product/026...
[4] Marek Pluta, Sound Synthesis for Music Reproduction and Performance, monograph, AGH University of Science and Technology Press 2019.
[5] Vesa Välimäki and Antti Huovilainen, Oscillator and Filter Algorithms for Virtual Analog Synthesis, Computer Music Journal 30(2):19-31, June 2006: www.researchgate.net/publicat...
[6] Martin Russ, Sound Synthesis and Sampling, 3rd Edition, Focal Press, 2009: www.amazon.com/gp/product/024...
[7] Giovanni De Poli, A Tutorial on Digital Sound Synthesis Techniques, Computer Music Journal, January 1992: www.researchgate.net/publicat...
Links above may be affiliate links. That means that I may earn a commission, if you decide to make a purchase. This does not incur any cost for you. Thank you.
TIME CODES
00:00 Introduction
00:41 Agenda
01:04 Sound synthesis definition
01:31 Sound generation pipeline
02:06 A need for a fast and memory-inexpensive synthesis method
02:59 Building a sine generator
04:58 How do computers calculate sine values?
06:12 What is a wave table?
06:36 Wave table index from phase
07:06 Phase wrapping
07:51 fmod function explanation
08:05 Final formula for wave table index
08:19 Interpolation methods for wavetable lookup
09:08 Graphical example of interpolation methods
11:16 Phase increment
12:23 Index increment
13:28 Phase increment vs index increment
13:53 Wavetable synthesis DSP diagram
15:49 An oscillator
16:37 What is VCO?
17:00 Sound examples of wavetable synthesis
17:20 Sine 440 Hz example
17:37 Sawtooth 440 Hz example
18:09 Aliasing in wavetable synthesis
18:51 Sawtooth 880 Hz example
19:37 Antialiasing oscillators
20:09 The main advantage of wavetable synthesis
20:23 Gaussians mixture 110 Hz example
20:54 How wavetable synthesis relates to other synthesis methods?
21:15 What is sampling?
22:28 Wavetable synthesis vs sampling
23:03 Single-cycle wavetable synthesis
23:16 Multi-cycle wavetable synthesis
24:29 Multiple wavetable synthesis
25:16 Summary
26:37 Complete tutorial on wavetable synthesis
26:54 Further reading
DISCLAIMER
The video contains a clip from "Skyfall" (2012) produced by Eon Productions, Metro-Goldwyn-Mayer Pictures, and Columbia Pictures and distributed by Sony Pictures Releasing.
All the copyrights belong to their respective owners. Copyright Disclaimer under Section 107 of the Copyright Act 1976, allowance is made for "fair use" for purposes such as criticism, comment, news reporting, teaching, scholarship, and research. Fair use is a use permitted by copyright statute that might otherwise be infringing. Non-profit, educational or personal use tips the balance in favor of fair use.
#sound #synthesis

Пікірлер: 34
@WolfSoundAudio
@WolfSoundAudio 2 жыл бұрын
Have I helped you with this video? If yes, please, consider buying me a ☕ coffee at www.buymeacoffee.com/janwilczek Thanks! 🙂
@stulora3172
@stulora3172 2 ай бұрын
Finally someone who explains it the way I understand! Thank you!
@andycordy5190
@andycordy5190 2 жыл бұрын
I will never make time for the programming but thank you for helping me to understand the underlying principles.
@WolfSoundAudio
@WolfSoundAudio 2 жыл бұрын
Thank you for the feedback! Yes, we need to be strategic about our time ;)
@JeSuisNerd
@JeSuisNerd Жыл бұрын
Massively underrated channel, dude. This has helped me so much in understanding wavetable synthesis enough to implement it in a lightsaber project. Insta-subscribed!
@robertobaldizon6010
@robertobaldizon6010 6 ай бұрын
Thank you very much. Very clear.
@DawlessHouseMusic
@DawlessHouseMusic Жыл бұрын
Love this series of videos. Thank you.
@BrianMendoza93
@BrianMendoza93 2 жыл бұрын
Great video! I followed the JUCE tutorial (from JUCE page) and I didn't quite get it until I watched your video. Thank you!
@WolfSoundAudio
@WolfSoundAudio 2 жыл бұрын
Thanks a lot for the feedback!
@roseproctor3177
@roseproctor3177 4 ай бұрын
thank you so much for this! I really want to build my own synthesizer
@cemolcay
@cemolcay Жыл бұрын
the old analog days :D great video, subscribed!
@WolfSoundAudio
@WolfSoundAudio Жыл бұрын
Thanks! 🙏
@izo6523
@izo6523 2 жыл бұрын
Great vid Wolf learnt a lot !!
@WolfSoundAudio
@WolfSoundAudio 2 жыл бұрын
Great to hear that, thanks!
@EricCRO
@EricCRO 2 жыл бұрын
great vid
@WolfSoundAudio
@WolfSoundAudio 2 жыл бұрын
Thank you!
@mishasinitcyn5383
@mishasinitcyn5383 2 жыл бұрын
Easily the best video on the subject
@WolfSoundAudio
@WolfSoundAudio 2 жыл бұрын
Thank you so much, Misha! Such comments keep me going :)
@bonaoenchelcha
@bonaoenchelcha Жыл бұрын
Yes
@flyingsquirrel3271
@flyingsquirrel3271 2 жыл бұрын
Hey super awesome video, thanks a lot! I'm glad YT recommended your channel to me :) One question: You said, the only way to overcome aliasing in wavetable synthesis would be to increase the sampling rate. Wouldn't it also help to use sinc interpolation instead of linear?
@WolfSoundAudio
@WolfSoundAudio 2 жыл бұрын
Hi Flying Squirrel, thanks for the feedback! Yes, of course, sinc interpolation would also help, probably even better than the linear interpolation. The question is: would we actually hear the difference? I guess not. Therefore, in practice, linear interpolation suffices.
@jacobpenn2266
@jacobpenn2266 2 жыл бұрын
@@WolfSoundAudio not quite true… you may not hear it at your step in the chain, but if you look at a simple sine osc wave table using linear vs 4 point you’ll see a bunch of low db noise in your signal, this could be heard later in the chain!
@petruccigp
@petruccigp 2 жыл бұрын
Hey Wolf! Keep it up, cool videos! BTW your mom is rad :)
@WolfSoundAudio
@WolfSoundAudio 2 жыл бұрын
Hey, Jesus, thanks a lot! If you mean @czarnowidzka, she's not my mom :D But yeah, she's rad ;]
@WolfSoundAudio
@WolfSoundAudio 2 жыл бұрын
Espero que te gusten siguientes videos ;]
@tommymcpheemusic7745
@tommymcpheemusic7745 28 күн бұрын
What math could one use to calculate the minimum wavetable size to make a completely lossless sine wave at a given bit depth?
@YippeePlopFork
@YippeePlopFork Жыл бұрын
Great video! Thank you for taking the time to make this and share the information. I come from an analogue synth background and I’m struggling to understand something: If I implement the algorithm on a microcontroller, surely the frequency of the output will vary depending on the speed (clock) of the microcontroller? If the microcontroller reads through the wave table at 1 MHz, that will produce an output that is beyond the range of human hearing. So, should I somehow set a timer or interrupt to read the wave table at a rate relating to the desired frequency or is there a way to read the wave table at a constant rate but still produce the desired output frequency? Sorry if this is confusing…I’m struggling to wrap my head around the speed at which a microcontroller operates vs the read speed of the wave table vs the desired frequency vs the output frequency. To me, it seems that the output frequency depends on the speed at which the wavetable is read; so reading through the wave table quicker would produce a higher pitched output…wouldn’t it? 🤦‍♂️
@whyareyoulookingatthislol
@whyareyoulookingatthislol 7 ай бұрын
basically you will be reading thru a lookup table at a certain frequency and at a certain interval. of course the step size won't be accurate unless you calculate a non integer increment size, then round it after for the LUT... but like you have to use some method (like adding dithering) so that there aren't any undesired side tones due to the uneven sampling. I'm not qualified to say this stuff. i was just doing research and stumbled into a video (that i cannot link because of KZfaq. its called "The Basics of Direct Digital Synthesis (DDS)"
@Yedkhula
@Yedkhula 2 жыл бұрын
👍☆☆☆☆☆👍
@WolfSoundAudio
@WolfSoundAudio 2 жыл бұрын
Thanks :)
@frankbaron1608
@frankbaron1608 Жыл бұрын
did you know that 2 pi is the mathematical equivilent of a circle in radians?
@robbiedozier2840
@robbiedozier2840 2 ай бұрын
yes
@przekladanki
@przekladanki 2 жыл бұрын
Coraz bardziej się rozwijasz w robieniu filmików.
@WolfSoundAudio
@WolfSoundAudio 2 жыл бұрын
Thanks, mom :)
Wavetable Synthesis Explained | Reverb
15:36
Reverb
Рет қаралды 114 М.
How Many Balloons Does It Take To Fly?
00:18
MrBeast
Рет қаралды 176 МЛН
A little girl was shy at her first ballet lesson #shorts
00:35
Fabiosa Animated
Рет қаралды 7 МЛН
The 3rd Wave: Wavetable Shenanigans!
16:58
Alex Ball
Рет қаралды 42 М.
What Is a Wavetable? - Daniel Fisher
3:50
Sweetwater
Рет қаралды 16 М.
Digital Dreams - The PPG Wave Story
12:52
Johnny Morgan Synth Dreams
Рет қаралды 52 М.
Making WAVs: Understanding, Parsing, and Creating WAV Files in JavaScript
23:37
Wavetable Synthesis: Upgrade Your Sound Design
10:49
EDMProd
Рет қаралды 5 М.
How Additive Synthesis Works
12:27
Benn Jordan
Рет қаралды 71 М.
How to make (and PERFORM) a Neurobass
18:40
You Suck at Producing
Рет қаралды 218 М.