Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 22612

Audio (heard) output of a game.

17 votes

Is there a sound library for C to generate sound samples from code?

Notice that so far I've only been using sine waves, but old synthesizers also support square, triangular and saw waves as well, each with its own interesting sound properties. … When experimenting with sound like this, it may be really useful to save your data to WAV files, and then visualizing them in some software like Audacity. …
Panda Pajama's user avatar
  • 13.5k
3 votes
Accepted

Continuous / speed affected sound effects. What is the industries de-facto solution?

By doing this, you will effectively be changing the sound pitch, so you can use this for example, to make car engines sound higher programmatically as they move faster. … Also, many libraries support more advanced sound effects. …
Panda Pajama's user avatar
  • 13.5k