Code a Wavetable Synth with Python in 6 Minutes Tutorial [Synth #002]

WolfSound
WolfSound
18.6 هزار بار بازدید - 3 سال پیش - ✅ Check out the full
✅ Check out the full article & code on TheWolfSound.com: https://www.thewolfsound.com/sound-sy...
➡️ Wavetable Synthesis theory video: Wavetable Synthesis Algorithm Explain...
✅ Check out Aalto Acoustics Lab: https://www.aalto.fi/en/aalto-acousti...
✅ Sign up for WolfSound's newsletter: https://thewolfsound.com/newsletter/
✅ Please subscribe to WolfSound to let the little Wolf 🐺 grow:
https://www.seevid.ir/c/WolfSoundAu...
🎧 Listen to my music: https://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. Topics include sound synthesis, digital signal processing, programming languages for audio (C, C++, Python, Rust), and audio effects. I am also sharing tips on how to learn fast and effectively. Make sure to visit https://www.thewolfsound.com/.

WolfSound enables everybody to learn about audio programming!

In this video, we are implementing the wavetable synthesis algorithm (a wavetable synthesizer) in Python. We deal with wave table generation, wave table looping, linear interpolation of samples, gain application, fade-in, and fade-out. Ultimately, we obtain a sine generator and a sawtooth generator. To implement the code in this video, you need just Python, a text editor (IDE), and SciPy and NumPy Python packages.

In case of any doubt in understanding, please, refer to the article above or ask a question in the comments 🙂

Note: The gains of the generated sines are not 0 dB and -20 dB respectively. I have adjusted them during editing so that the video is more pleasant to listen to. However, if you generate them with the presented code, you will get the described effect.

ABOUT ME

My name is Jan Wilczek. I am an audio programmer, a researcher, a musician and currently a student of the Elite Master's Study Programme Advanced Signal Processing and Communications Engineering at University of Erlangen-Nürnberg. Additionally, I am a visitng student at Aalto University in Finland, where I put finishing touches on my master thesis under the supervision of prof. Emanuël Habets, prof. Vesa Välimäki, and Alec Wright.

TIME CODES

00:00 Introduction
00:33 Packages import
01:06 Processing parameters
01:34 Wave table generation
02:53 Looping over the wave table
05:38 Storing the output in a .wav file with SciPy's wavfile
06:26 Sine generated with 0th-order interpolation
06:54 Adjusting the gain of the generated signal
07:59 How to reduce noise in wavetable synthesis?
08:34 Linear interpolation implementation
12:43 Sine generated using linear interpolation
13:10 Fade-in and fade-out implementation
15:52 Sawtooth generation
17:48 Summary

#python #synthesis #sound
3 سال پیش در تاریخ 1400/07/09 منتشر شده است.
18,652 بـار بازدید شده
... بیشتر