Тёмный

Realtime Sound on Windows in C with WinMM 

Nick Walton
Подписаться 6 тыс.
Просмотров 2,9 тыс.
50% 1

Наука

Опубликовано:

 

25 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 19   
@maxdenning3991
@maxdenning3991 2 года назад
I really appreciate these videos. It is a really great resource for making C applications! You summarize each of these concepts very succinctly.
@UltimaN3rd
@UltimaN3rd 2 года назад
Cheers mate! That's exactly my goal :)
@user-tf6kj2xf8g
@user-tf6kj2xf8g 7 месяцев назад
I worked exactly the same subject and I have been working on it for several weeks. When the chunk size is a number that is divisible by the sample rate, there is no problem, but a number like 2093 that I put makes the sound noisy. But this code that you posted does not have my problem and it is a great help for me. Great. Thankful.
@UltimaN3rd
@UltimaN3rd 7 месяцев назад
Glad I could help mate :)
@UltimaN3rd
@UltimaN3rd 2 года назад
ERRATA: 1:50 waveOutSetVolume should use 0xFFFFFFFF, not 0xFFFF. Each word defines the volume of each channel, so 0xFFFF only sets the left channel to full volume and right channel to muted. Apologies for this error; I use laptop speakers most of the time and didn't notice. Some audio aficionados have pointed out that in the audio world, "realtime" means extremely low latency, like
@stevenunderwood9935
@stevenunderwood9935 Год назад
Wow. I was literally just starting to think of all the things I need to learn in c, and when I checked, it was already there! This is a truly amazing tutorial series, I don't think I could find a better series for my use case.
@UltimaN3rd
@UltimaN3rd Год назад
I'm doing my best to fill in the gap I see with my tutorials 😊👍 Let me know what else you think I ought to cover
@joeconnerson9773
@joeconnerson9773 2 года назад
Im new to this channel... saw you notemon project, and noticed you still upload! I hope you finish notemon.
@UltimaN3rd
@UltimaN3rd 2 года назад
Thanks for the interest 😊 I'm not working on Notemon right now but it's definitely on my mind. The two parts of Notemon were the intention to make my own monster taming rpg that fixes everything I see wrong with the genre, and then all the specific details that I put into that PICO8 version of the game. I would say that first part will definitely materialize when I make that type of game, but I can't say whether I'll make all the same design, world building and such decisions when I do.
@Schnief
@Schnief Год назад
Wonderful tutorials, short but good, can‘t find those anywhere else
@UltimaN3rd
@UltimaN3rd Год назад
Cheers mate, that's my goal 😊
@CNLohr
@CNLohr 2 года назад
It's not glorious, it's not newfandangled, but I'll be dang if WinMM isn't the most stable, reliable, and simple sound interface there is. Also, I encourage you to use stb_vorbis because of the effectiveness of header-only libraries.
@UltimaN3rd
@UltimaN3rd 2 года назад
I'll gladly echo any recommendation for Sean Barrett's libraries! For my "loading X" tutorials I'll be covering the simplest practical file format; for sound that'll be .wav
@banlukas_
@banlukas_ 2 года назад
Hi, is there a way to learn more about this library? Microsoft has documentations but they do not provide any samples or tutorials. Any tips how to dive deep into this stuff? Thanks :)
@UltimaN3rd
@UltimaN3rd 2 года назад
Everything I know about WinMM sound is from reading the documentation and experimenting. I wish there were more examples... What are you specifically trying to do? I'm just using it to output a real-time stream of sound samples, and I'm going to do all sound mixing and such in software. Tutorial for that will come along as part of my current series, Making a Game in C 👍
@banlukas_
@banlukas_ 2 года назад
@@UltimaN3rd I am trying to make audio library from scratch so I need pretty much everything. Well I am excited for your tutorial! In the meantime I will cut my way through the docs :D
@nguyenloc180
@nguyenloc180 7 месяцев назад
cannot link it to winmm :((
@UltimaN3rd
@UltimaN3rd 7 месяцев назад
What compiler are you using, and what command are you using to build?
@syfenx
@syfenx Год назад
I'm gonna need you to say _getche() again lol
Далее
Load .BMP Images in C
4:12
Просмотров 9 тыс.
16. C++ Windows Audio XAudio2 - Celeste Clone
30:17
Просмотров 1,6 тыс.
I Built a WATERPARK In My House!
26:28
Просмотров 13 млн
Code-It-Yourself! Sound Synthesizer #1 - Basic Noises
28:50
Switching to C - One Year Later
4:43
Просмотров 58 тыс.
Premature Optimization
12:39
Просмотров 794 тыс.
Lessons Learned from a Decade of Audio Programming
26:14
Display Audio Frequency Data in C++
31:53
Просмотров 2 тыс.
How to DEBUG C++ in VISUAL STUDIO
19:20
Просмотров 471 тыс.
Random Walks with Raylib
23:13
Просмотров 3,4 тыс.
Слетела прошивка на LiXiang L7
1:01
24 часа с GOOGLE PIXEL 9
20:58
Просмотров 40 тыс.
📱магазин техники в 2014 vs 2024
0:41
Проблемный ноутбук за 300к
0:57
Просмотров 167 тыс.
Проблемный ноутбук за 300к
0:57
Просмотров 167 тыс.