cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
sound in DEV C++
sound in DEV C++
Mar 20, 2018 at 2:32am UTC
samtheman
(29)
Is it very hard to code a wav sound file in DEV C++?
Thanks,
Chester
Mar 20, 2018 at 9:19am UTC
coder777
(8443)
You need to find the appropriate library. You may see:
https://stackoverflow.com/questions/994161/what-are-the-best-affordable-c-audio-libraries
Mar 20, 2018 at 4:17pm UTC
Ganado
(6806)
PCM WAV file is uncompressed and therefore
relatively
easy to write/read, although still hard for a beginner. I do suggest using a library, as coder777 said, unless you want to understand file formats like WAV as a learning experience.
Disch's tutorial to good binary files:
http://www.cplusplus.com/articles/DzywvCM9/
WAV format webpages:
http://www.topherlee.com/software/pcm-tut-wavformat.html
http://www-mmsp.ece.mcgill.ca/Documents/AudioFormats/WAVE/WAVE.html
If you're interesting in sound processing, check out the fftw library for Fourier Transforms (not directly related to wav files)
http://www.fftw.org/
Mar 20, 2018 at 6:35pm UTC
Thomas1965
(4571)
code a wav sound file
What do you want to do? Create one, play one, modify or analyze one ?
Mar 20, 2018 at 7:36pm UTC
samtheman
(29)
I just want to create a beep sound (or) wave sound after an event.
Mar 20, 2018 at 8:54pm UTC
Thomas1965
(4571)
Maybe like this:
https://stackoverflow.com/questions/4060601/make-sounds-beep-with-c
Topic archived. No new replies allowed.