|
|
- # *
-
- ## music
- ### engine
- * custom-designed, 2a03 APU-like sound architecture
- * event, not register based
- #### channels
- * 3 pulse
- * 3 saw|tri
- * 1 noise
- * 2 wave
- * sample: [i8]
-
- Every channel can have the following parameters set:
- * `panning: i8`. 0 is centered, -127 is full left, and 127 is full right.
- * `volume: u8`. Given `f32` samples, a volume of 255 corresponds to an amplitude of 1.0, and a volume of 0 to an amplitude of 0.
- * `note: u8`
|