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

Показать описание
✅ Please subscribe to WolfSound to let the little Wolf 🐺 grow:
Hi, my name is Jan Wilczek and I am an audio programmer and a researcher. Welcome to WolfSound!
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
Hi, my name is Jan Wilczek and I am an audio programmer and a researcher. Welcome to WolfSound!
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
Комментарии