e6125486d110 joekarl/chip8soundmarkdown-proofread-1482644403889
chip8-sound.markdown proofread
| author | joekarl <karlkrch@gmail.com> |
|---|---|
| date | Sun, 25 Dec 2016 05:40:08 +0000 |
| parents | f0833ca00887 |
| children | 9e1018f1abb3 f0224e60465c |
| branches/tags | joekarl/chip8soundmarkdown-proofread-1482644403889 |
| files | content/blog/2016/12/chip8-sound.markdown |
Changes
--- a/content/blog/2016/12/chip8-sound.markdown Fri Dec 23 21:23:43 2016 -0500 +++ b/content/blog/2016/12/chip8-sound.markdown Sun Dec 25 05:40:08 2016 +0000 @@ -160,7 +160,7 @@ Now that we've got the timers all set up, all that's left is to play a sound whenever `sound-timer` is positive. We could do this in a number of ways, for -example: loading a `WAV` file and looping it. But that's boring and almost +example: loading a `WAV` file and looping it. But that's boring and almost (???? sjl finish sentence...) [Sound][] is a pretty complicated beast. For this CHIP-8 emulator we'll only dip our toes into the water and work with the very basics. I'll explain some @@ -416,7 +416,7 @@ A 512-sample buffer with a sample rate of 44100 samples per second means that each buffer will represent about 11.6 milliseconds of sound. -We've going to need a way to fill an audio buffer with sample values, so let's +We're going to need a way to fill an audio buffer with sample values, so let's make a `fill-buffer` function: ```lisp