mirror of
https://gitea.heck.live/heck/Orca-Workshop.git
synced 2024-11-21 15:29:14 +01:00
README - inline orca source
This commit is contained in:
parent
84409459de
commit
3e9212447b
1 changed files with 52 additions and 3 deletions
55
README.md
55
README.md
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue