Anonymous user
Sine wave: Difference between revisions
→{{header|Emacs Lisp}}
(add AmigaBASIC) |
|||
Line 141:
(play-sine 440 5)</lang>
While the generated AU sound file is 16 bit, the samples themselves are 8 bit because only their high byte is set by the sine function. Therefore you will hear some faint hiss in the background due to the higher noise floor of 8-bit audio.
=={{header|Go}}==
|