| @ -0,0 +1,11 @@ | |||||
| root = true | |||||
| [*] | |||||
| end_of_line = lf | |||||
| charset = utf-8 | |||||
| trim_trailing_whitespace = true | |||||
| insert_final_newline = true | |||||
| [*.rs] | |||||
| indent_style = space | |||||
| indent_size = 4 | |||||
| @ -0,0 +1,11 @@ | |||||
| ### Rust ### | |||||
| # Generated by Cargo | |||||
| # will have compiled files and executables | |||||
| /target/ | |||||
| # Remove Cargo.lock from gitignore if creating an executable, leave it for libraries | |||||
| # More information here http://doc.crates.io/guide.html#cargotoml-vs-cargolock | |||||
| Cargo.lock | |||||
| # These are backup files generated by rustfmt | |||||
| **/*.rs.bk | |||||
| @ -0,0 +1,17 @@ | |||||
| # * | |||||
| ## 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` | |||||