Lab 6 Check
sh
machinelab test audio
machinelab run --headless --audio-wav build/tone.wav -- build/examples/audio_toneDiscussion Prompts
- What changes if you generate sine waves instead of square waves?
- How would a tracker represent notes, tempo, and instruments?
- Why do audio APIs often use ring buffers?
External Reading
- OSDev Sound overview: https://wiki.osdev.org/Sound
- PCM audio overview: https://en.wikipedia.org/wiki/Pulse-code_modulation
- AC97 overview: https://wiki.osdev.org/AC97