README - inline orca source

This commit is contained in:
heck 2023-04-08 19:54:21 +02:00
parent 84409459de
commit 3e9212447b

View file

@ -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) * `D` - Delay, bang periodically (count / frame-modulo)
```orca ```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 ### 2. First Bleeps
@ -119,6 +135,39 @@ Where:
Example: Example:
`;13C` - Pilot plays note 'C' of octave 3 (default volume and length) `;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 ### Congrats
Congratulations you have witnessed the easiest programming language to make a sound. 2 operators are all you need. Congratulations you have witnessed the easiest programming language to make a sound. 2 operators are all you need.