From ae80da5c80b51ba64ec3384a14180cc1db904d7e Mon Sep 17 00:00:00 2001 From: Devine Lu Linvega Date: Fri, 21 Dec 2018 10:52:38 +1200 Subject: [PATCH] Updated examples --- examples/_keys.orca | 13 ------------- examples/_midi.orca | 2 +- examples/_udp.orca | 8 ++++---- examples/add.orca | 14 +++++++++----- examples/bang.orca | 12 ++++++++---- examples/cycle.orca | 10 +++++++--- examples/delay.orca | 10 +++++++--- examples/filter.orca | 12 ++++++++---- examples/if+else.orca | 16 ++++++++++------ examples/{random.orca => octave.orca} | 12 ++++++++---- examples/pendulum.orca | 14 +++++++++----- examples/read+write.orca | 16 ++++++++++------ examples/subtraction.orca | 17 +++++++++++++++++ examples/variable.orca | 4 ++++ 14 files changed, 102 insertions(+), 58 deletions(-) delete mode 100644 examples/_keys.orca rename examples/{random.orca => octave.orca} (53%) create mode 100644 examples/subtraction.orca diff --git a/examples/_keys.orca b/examples/_keys.orca deleted file mode 100644 index 568b28a..0000000 --- a/examples/_keys.orca +++ /dev/null @@ -1,13 +0,0 @@ -......................................... -.#.KEYS.#................................ -......................................... -.#.TOGGLE.KEYS.MODE.WITH.SLASH.#......... -.#.PRESS.a.b.OR.c.#...................... -......................................... -......................................... -........!a......!a......!a............... -......................................... -......................................... -......................................... -......................................... -......................................... \ No newline at end of file diff --git a/examples/_midi.orca b/examples/_midi.orca index 6dfc927..e951903 100644 --- a/examples/_midi.orca +++ b/examples/_midi.orca @@ -1,5 +1,5 @@ ......................................... -.# MIDI #................................ +.#.MIDI.#................................ ......................................... ................################......... ................#..............#......... diff --git a/examples/_udp.orca b/examples/_udp.orca index fb75a09..501ae18 100644 --- a/examples/_udp.orca +++ b/examples/_udp.orca @@ -1,11 +1,11 @@ ......................................... -.# UDP #................................. +.#.UDP.#................................. ......................................... ......................................... .........Cf..............Cf.............. -........F80.............F82.............. -.......B0H.............B0H............... -........gS..............gS............... +........Fe0.............Fe2.............. +.......B.H.............B.H............... +........xS..............xS............... ......................................... ......................................... .......5;HELLO.........4;ORCA............ diff --git a/examples/add.orca b/examples/add.orca index 3404d46..1cc8e7a 100644 --- a/examples/add.orca +++ b/examples/add.orca @@ -3,11 +3,15 @@ ......................................... .#.CHANGE.VALUES.#.aV3.bV4............... ......................................... -...Va.Vb................................. -...3Y34.................................. -.....JJ.................................. -....A34.................................. -....7.................................... +......................................... +......................................... +..............Va.Vb...................... +..............3Y34....................... +................JJ....................... +...............A34....................... +...............7......................... +......................................... +......................................... ......................................... ......................................... ......................................... \ No newline at end of file diff --git a/examples/bang.orca b/examples/bang.orca index 30a8077..83b7f5c 100644 --- a/examples/bang.orca +++ b/examples/bang.orca @@ -1,12 +1,16 @@ ......................................... -.# BANG #................................ +.#.BANG.#................................ ......................................... ......................................... ......................................... ......................................... -.....8D4H................................ -.......gE................................ -........................0................ +......................................... +..............8D.H....................... +................xE....................... +..................E.....0................ +......................................... +......................................... +......................................... ......................................... ......................................... ......................................... diff --git a/examples/cycle.orca b/examples/cycle.orca index cecd6f1..116e691 100644 --- a/examples/cycle.orca +++ b/examples/cycle.orca @@ -1,13 +1,17 @@ ......................................... -.# CYCLE #............................... +.#.CYCLE.#............................... +......................................... ......................................... -......................U.................. -...............U.W....................... ......................................... +......................U.................. +...............U......................... +................N........................ ......................................... ......................................... .......................U................. ................U........................ ......................................... ......................................... +......................................... +......................................... ......................................... \ No newline at end of file diff --git a/examples/delay.orca b/examples/delay.orca index 18f14c1..a04f6b1 100644 --- a/examples/delay.orca +++ b/examples/delay.orca @@ -1,13 +1,17 @@ ......................................... -.# DELAY #............................... +.#.DELAY.#............................... +......................................... +......................................... ......................................... ......................................... .......2C4.....4C4.....8C4.....gC4....... -........2.......3.......3.......3........ +........1.......0.......2.......3........ ......................................... ......................................... .......2D......4D......8D......gD........ -........*.......*........................ +........*................................ +......................................... ......................................... ......................................... ......................................... +......................................... \ No newline at end of file diff --git a/examples/filter.orca b/examples/filter.orca index 0366a1e..e6efd6f 100644 --- a/examples/filter.orca +++ b/examples/filter.orca @@ -1,11 +1,15 @@ ......................................... -.# FILTER.#.............................. +.#.FILTER.#.............................. ......................................... ......................................... ......................................... -...............gD........................ -......8D.H............................... -........gE......u........................ +......................................... +.......................3D................ +..............8D.H....................... +................xE......u................ +.......................E.......E.......E. +......................................... +......................................... ......................................... ......................................... ......................................... diff --git a/examples/if+else.orca b/examples/if+else.orca index 74ccc19..a9557c2 100644 --- a/examples/if+else.orca +++ b/examples/if+else.orca @@ -1,13 +1,17 @@ ......................................... .#.IF.ELSE.#............................. ......................................... -.#.TARGET.#.tV3.......................... ......................................... -.4C4.Vt......V0.V1....................... -..2Y23.......t........................... -....JJ................................... -...F23................................... -...0Vt................................... +......................................... +......................................... +.................4C42C8.................. +..................1Y12................... +....................JJ................... +...................F12................... +......................................... +......................................... +......................................... +......................................... ......................................... ......................................... ......................................... \ No newline at end of file diff --git a/examples/random.orca b/examples/octave.orca similarity index 53% rename from examples/random.orca rename to examples/octave.orca index a27f0af..e120852 100644 --- a/examples/random.orca +++ b/examples/octave.orca @@ -1,13 +1,17 @@ ......................................... -.# RANDOM #.............................. +.#.OCTAVE.#.............................. ......................................... ......................................... ......................................... -..............R.7........................ -..............67TCDEFGAB................. -..............8LFCDDEEFB................. ......................................... +.............4Cc......................... +.............33cTCcDdEFfGgAaB............ +..............aVd........................ ......................................... +.............4D...Va..................... +...............:03D...................... ......................................... ......................................... ......................................... +......................................... +......................................... \ No newline at end of file diff --git a/examples/pendulum.orca b/examples/pendulum.orca index a400b01..352616b 100644 --- a/examples/pendulum.orca +++ b/examples/pendulum.orca @@ -1,10 +1,14 @@ ......................................... -.# PENDULUM #............................ +.#.PENDULUM.#............................ +......................................... +......................................... +......................................... +............U........W.....U............. +....................J.................... +...................B.H................... +....................xS................... +......................................... ......................................... -........U.......E......U................. -................J........................ -...............B.H....................... -................gS....................... ......................................... ......................................... ......................................... diff --git a/examples/read+write.orca b/examples/read+write.orca index c60f47e..95ac2f3 100644 --- a/examples/read+write.orca +++ b/examples/read+write.orca @@ -1,13 +1,17 @@ ......................................... -.# READ WRITE.#.......................... +.#.READ.WRITE.#.......................... ......................................... -.........C4..........C4.................. -.........30O1230.....34T1230............. -...........0...........0................. ......................................... ......................................... -.........C4.C4.......C4.C4............... -.........30X3........34P7................ +......C4.........C2..........C4.......... +......10O1230...013Q1234.....13T1230..... +........1.......12345678.......1......... ......................................... ......................................... +......C4.C4......C2..........C4.C4....... +......10X1......013G1234.....13P1........ +........1230.......1234........1230...... +...................1234.................. ......................................... +......................................... +......................................... \ No newline at end of file diff --git a/examples/subtraction.orca b/examples/subtraction.orca new file mode 100644 index 0000000..6c1351c --- /dev/null +++ b/examples/subtraction.orca @@ -0,0 +1,17 @@ +................................................. +.#.SUBTRACTION.#................................. +................................................. +.14X9.#.A.#...................................... +.21X4.#.B.#...................................... +................................................. +...A14........................................... +...50O#0zyxwvutsrqponmlkjihgfedcba987654321#..... +...A9w........................................... +.rV5............................................. +............Vr................................... +.#.RESULT.#.5.................................... +................................................. +................................................. +................................................. +................................................. +................................................. \ No newline at end of file diff --git a/examples/variable.orca b/examples/variable.orca index c2479b9..d13ba31 100644 --- a/examples/variable.orca +++ b/examples/variable.orca @@ -10,4 +10,8 @@ ..Va..Vb..Vc............................. ..1...2...3.............................. ......................................... +......................................... +......................................... +......................................... +......................................... ......................................... \ No newline at end of file