Code-It-Yourself! Sound Synthesizer #1 - Basic Noises

preview_player
Показать описание
This tutorial is a programmers entry point into sound synthesis. The code is available from my blog.

Рекомендации по теме
Комментарии
Автор

Ha, re-watching this 8 months later. I obviously had a sore throat... or my lapel mic (at the time) had no treble response!

javidx
Автор

i am eventually combining my two most beloved hobbies, music and programming. Good bye, social life

joseffus
Автор

If you started with a completely blank project and you're getting errors that look like: "exception thrown: write access violation." make sure you click the dropdown next to the run arrow at the top of Visual Studio and change the x64 to x86. I believe it's a result of your program using 64 bit addresses for variables when the sound api expects 32 bit addresses.

viper
Автор

I wish my school & uni teachers had been this good at explaining stuff.

TheJohnnybelfast
Автор

I don't even use C++ but I watch your videos anyway because you're comfy to listen to. Subbed x

SirCouchus
Автор

"He made him an 8-bit offer he couldn't refuse"

ghollisjr
Автор

Wow, I was literally searching for this exact info all over the place a few months ago, couldn't find anything of quality anywhere. Now I'm subbed to your channel, and you have a freaking 4 part series on it? Because of course you do, you somehow have a video on everything. You've made me very happy <3

GelidGanef
Автор

Javid, thank you so much for doing this! I love technology and music, and it's wonderful watching the two come together!!!

leerv.
Автор

I don't plan to dive deep into audio programming (or may change my mind in the future, who knows). But always a pure pleasure to watch your videos regardless of the topic. Your presentation style is so clear and unique. Thank you for these awesome videos!

SreyRc
Автор

It was like opening a treature chest when I entered your channel.

alexx
Автор

Thanks for the great video! Please note that at 27:58 or so when you add the second sine wave + 20 Hz, that the extra +20 Hz still plays when a key is not depressed because that extra frequency is leftover after dFrequencyOutput is set to 0.0.

pmgdrummer
Автор

Your channel is a miracle. I am honestly so hooked to your videos, they are so educational and also inspiring. I am so glad i discovered your channel and thank you for sharing your knowledge/ experience.

JimDragonBass
Автор

Work as a software engineer now, but my first degree was in music and second one on CS. I LOVE THIS VIDEO MAN <3

joshuadiaz
Автор

I've started learning how to code when I was 13 and I started with C++ (like a masochist XD). Now I'm 20, studying theoretical math and working part time as a back-end developer. After some time, I've switched from C++ to some more 'modern' languages, but I've always had some fondness for it, even tho I didn't understand it well. Now, I'm slowly getting back into it and your channel has been amazing for both refreshing some stuff I've forgotten and for learning the true potential of the language through very interesting, yet simple projects. I'm subbed and I can't wait to binge everything that you have here! Awesome stuff!

nickfulson
Автор

I've just stumbled across this video. I'm a programmer with knowledge of Java and C# but recently I've been trying to teach myself C++. I'll be honest - I really enjoyed this little tutorial - I'm often afraid to try things I've never done before but I thought "What the heck I'll give it a go!" I'm so glad I did, because it was very satisfying when the code actually worked (I decided not to look at your ready-made code and instead followed along with you in the video). I have subscribed to your channel and I will be trying a few of the other Code-It-Yourself exercises!

samuelholmes
Автор

Bro you're so smart and such a hard-worker, you better be getting paid those big bucks for all these skills. I can't stand the thought of you working past age 50.

jroseme
Автор

I FINALLY found a programming project that I was interested in doing myself! This video series is awesome!

BiggestMuscles
Автор

I can always count on you to have informative videos on everything

yeeteronipizza
Автор

In VS 17, I get a "C2664" error. I looked in the comments below and they gave me the hint.

If you get this error select Project-> Properties. Select 'General' tab. Select 'Character Set'. Change to Unicode Character Set.

Crazy Unicode lovers.... its like there is a whole world out there that does not use ASCII. :D

Oh, and I just upvoted this fab video.

marcstephens
Автор

Awesome tutorial!! Hearing that first beep made me happy. I had 2 very small problems but nothing google couldn't help with. I am using the Code::Blocks IDE which might have been the cause. 1) I had to include<algorithm> in the olcNoiseMaker due to the "std::find" function(error was "no matching function for call to 'find' ") and 2)I had to revert the "atomic<double> dFrequen..." back to just "double dFreq.." as i was getting "use of deleted function" error.

kingkodo