|
|
@ -91,9 +91,25 @@ There is technically only one operator that directly generates a bang. Its the o |
|
|
|
* `D` - Delay, bang periodically (count / frame-modulo) |
|
|
|
|
|
|
|
```orca |
|
|
|
|
|
|
|
# tutorials/1_first_bleeps/2_first_bleeps.orca |
|
|
|
|
|
|
|
................................................................. |
|
|
|
..######.....#....#.....#..#####...####.......................... |
|
|
|
..#.....#...#.#...##....#.##....#.#.....#........................ |
|
|
|
..#.....#..#...#..#.#...#.#.......##............................. |
|
|
|
..######..##....#.#..#..#.#..####..#####......................... |
|
|
|
..#.....#.#######.#...#.#.#.....#.......##....................... |
|
|
|
..#.....#.#.....#.#....##.#.....#.#.....##....................... |
|
|
|
..######..#.....#.#.....#..#####...#####......................... |
|
|
|
................................................................. |
|
|
|
................................................................. |
|
|
|
...#.uppercase...#...#.lowercase......#.......................... |
|
|
|
...#.executes....#...#.needs.a.bang...#.......................... |
|
|
|
...#.evey.frame..#...#.to.execute.....#.......................... |
|
|
|
................................................................. |
|
|
|
.............................D....#.D.bangs.periodically.#....... |
|
|
|
..................................#.*.is.a.bang.#................ |
|
|
|
.........I.........i.........i................................... |
|
|
|
.........i...................0................................... |
|
|
|
................................................................. |
|
|
|
``` |
|
|
|
|
|
|
|
### 2. First Bleeps |
|
|
@ -119,6 +135,39 @@ Where: |
|
|
|
Example: |
|
|
|
`;13C` - Pilot plays note 'C' of octave 3 (default volume and length) |
|
|
|
|
|
|
|
```orca |
|
|
|
................................................................................................. |
|
|
|
................................................................................................. |
|
|
|
..#######.###.######...#####..#######.......######..#.......#######.#######.######...#####....... |
|
|
|
..#........#..#.....#.#.....#....#..........#.....#.#.......#.......#.......#.....#.#.....#...... |
|
|
|
..#........#..#.....#.#..........#..........#.....#.#.......#.......#.......#.....#.#............ |
|
|
|
..#####....#..######...#####.....#..........######..#.......#####...#####...######...#####....... |
|
|
|
..#........#..#...#.........#....#..........#.....#.#.......#.......#.......#.............##..... |
|
|
|
..#........#..#....#..#.....#....#..........#.....#.#.......#.......#.......#.......#.....##..... |
|
|
|
..#.......###.#.....#..#####.....#..........######..#######.#######.#######.#........######...... |
|
|
|
................................................................................................. |
|
|
|
................................................................................................. |
|
|
|
............................................D2................................................... |
|
|
|
......#.;.operator.send.UDP.#..........#....*;15C................................................ |
|
|
|
......#.to.pilot............#.................................................................... |
|
|
|
................................................................................................. |
|
|
|
................................................................................................. |
|
|
|
............................................D3................................................... |
|
|
|
.......................................#.....;24E................................................ |
|
|
|
................................................................................................. |
|
|
|
................................................................................................. |
|
|
|
................................................................................................. |
|
|
|
............................................D5................................................... |
|
|
|
.......................................#.....;54G................................................ |
|
|
|
................................................................................................. |
|
|
|
................................................................................................. |
|
|
|
................................................................................................. |
|
|
|
............................................D7................................................... |
|
|
|
.......................................#.....;33G................................................ |
|
|
|
................................................................................................. |
|
|
|
................................................................................................. |
|
|
|
``` |
|
|
|
|
|
|
|
### Congrats |
|
|
|
|
|
|
|
Congratulations you have witnessed the easiest programming language to make a sound. 2 operators are all you need. |
|
|
|