aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDevine Lu Linvega <[email protected]>2019-02-21 15:13:44 +0900
committerDevine Lu Linvega <[email protected]>2019-02-21 15:13:44 +0900
commit07bb0b3018452ff58dda2fd7e192e3baf16931e6 (patch)
tree87a1f71313354ef09d463b6da9b695bf3b295039
parent93efe33a649b20a18878d08a06695b7f7b07c08d (diff)
downloadOrca-07bb0b3018452ff58dda2fd7e192e3baf16931e6.tar.gz
Orca-07bb0b3018452ff58dda2fd7e192e3baf16931e6.zip
Improved examples
-rw-r--r--desktop/main.js2
-rw-r--r--examples/_osc.orca7
-rw-r--r--examples/boolean.orca9
-rw-r--r--examples/cycle.orca17
-rw-r--r--examples/delay.orca17
-rw-r--r--examples/increment.orca13
-rw-r--r--examples/kombine.orca17
-rw-r--r--examples/octave.orca13
-rw-r--r--examples/popcorn.orca13
-rw-r--r--examples/projects/midi-step-sequencer.orca25
-rw-r--r--examples/read+write.orca15
-rw-r--r--examples/timing.orca24
-rw-r--r--examples/triage.orca17
-rw-r--r--examples/variable.orca17
-rw-r--r--examples/wave.orca31
15 files changed, 68 insertions, 169 deletions
diff --git a/desktop/main.js b/desktop/main.js
index 2917ae9..a0abfcc 100644
--- a/desktop/main.js
+++ b/desktop/main.js
@@ -14,8 +14,8 @@ app.on('ready', () => {
minWidth: 320,
minHeight: 320,
backgroundColor: '#000',
- resizable: true,
icon: __dirname + '/' + { darwin: 'icon.icns', linux: 'icon.png', win32: 'icon.ico' }[process.platform] || 'icon.ico',
+ resizable: true,
frame: process.platform !== 'darwin',
skipTaskbar: process.platform === 'darwin',
autoHideMenuBar: process.platform === 'darwin'
diff --git a/examples/_osc.orca b/examples/_osc.orca
index 6ba27af..de6e99d 100644
--- a/examples/_osc.orca
+++ b/examples/_osc.orca
@@ -4,13 +4,12 @@
.#.VALUES.#..............................
.........................................
.D8......................................
-.*=a123..................................
+..=a123..................................
.........................................
.#.EMPTY.#...............................
.........................................
-.D8......................................
-.*=b.....................................
-.........................................
+.D6......................................
+..=b.....................................
.........................................
.........................................
.........................................
diff --git a/examples/boolean.orca b/examples/boolean.orca
index ae7c8ef..3dc4736 100644
--- a/examples/boolean.orca
+++ b/examples/boolean.orca
@@ -4,12 +4,11 @@
..#.OR.#..#.NOR.#..#AND.#..#.XOR.#.......
.........................................
....R01......R01....6C2.......R01........
-..A11......A01.....1X1......1X0..........
-..23T011...13T100...4C2......4C2.........
-....1........0.....A10......A00..........
+..A10......A00.....1X1......1X0..........
+..13T011...03T100...4C2......4C2.........
+....1........1.....A10......A00..........
...................13T001...03T010.......
-.....................0......F10..........
-..#.NOT.#................................
+..#.NOT.#............0......F10..........
.........................................
..4C2....................................
...02T10.................................
diff --git a/examples/cycle.orca b/examples/cycle.orca
deleted file mode 100644
index 116e691..0000000
--- a/examples/cycle.orca
+++ /dev/null
@@ -1,17 +0,0 @@
-.........................................
-.#.CYCLE.#...............................
-.........................................
-.........................................
-.........................................
-......................U..................
-...............U.........................
-................N........................
-.........................................
-.........................................
-.......................U.................
-................U........................
-.........................................
-.........................................
-.........................................
-.........................................
-......................................... \ No newline at end of file
diff --git a/examples/delay.orca b/examples/delay.orca
deleted file mode 100644
index bf70d5b..0000000
--- a/examples/delay.orca
+++ /dev/null
@@ -1,17 +0,0 @@
-.........................................
-.#.DELAY.#...............................
-.........................................
-.........................................
-.........................................
-.........................................
-........C4.....4C4.....4C4.....4C8.......
-........1.......1.......1.......5........
-.........................................
-.........................................
-........D2......D4.....4D4.....4D8.......
-.........................................
-.........................................
-.........................................
-.........................................
-.........................................
-......................................... \ No newline at end of file
diff --git a/examples/increment.orca b/examples/increment.orca
index 1984cec..6b9c281 100644
--- a/examples/increment.orca
+++ b/examples/increment.orca
@@ -2,15 +2,14 @@
.#.INCREMENT.#...........................
.........................................
..03O....................................
-.30Xc....................................
-.....Ac2...Va............................
-...aV0...8Ly02468ac......................
+.30Xy....................................
+.....Ay2...Va.......#.BY.2.#.............
+...aV0...8Lacy02468......................
.........................................
..03O....................................
-.30Xi....................................
-.....Ai3...Vb............................
-...bV0...8Lx0369cfi......................
-.........................................
+.30Xf....................................
+.....Af3...Vb.......#.BY.3.#.............
+...bVi...8Lfix0369c......................
.........................................
.........................................
.........................................
diff --git a/examples/kombine.orca b/examples/kombine.orca
index 43604e0..8a26ea0 100644
--- a/examples/kombine.orca
+++ b/examples/kombine.orca
@@ -1,17 +1,16 @@
.........................................
.#.KOMBINE.#.............................
.........................................
-.4C4.....................................
-..04T3454................................
-..oV3.#.OCTAVE.#.........................
+.4C4.#OCTA#.2C4.#NOTE#..1C4.#VELO#.......
+..34T3454....24TCDEF.....04T0123.........
+..oV5........nVD.........vV3.............
.........................................
-.2C4.....................................
-..04TCDEF...............3Konv............
-..nVC.#.NOTE.#............4F3............
.........................................
-.1C4.....................................
-..14T0123................................
-..vV0.#.VELOCITY.#.......................
+.#.KONKAT.#..............................
+.........................................
+.3Konv...................................
+...5D3...................................
+.........................................
.........................................
.........................................
......................................... \ No newline at end of file
diff --git a/examples/octave.orca b/examples/octave.orca
index 2566dd7..6c89d17 100644
--- a/examples/octave.orca
+++ b/examples/octave.orca
@@ -1,15 +1,14 @@
.........................................
.#.OCTAVE.#..............................
.........................................
+.2Cc.....................................
+.38cTCcDdEFfGgAaB........................
+..aVg....................................
.........................................
+.#.PLAY.#................................
.........................................
-.........................................
-.............4Cc.........................
-.............34cTCcDdEFfGgAaB............
-..............aVE........................
-.........................................
-..............D4..Va.....................
-...............:03E......................
+.D2..Va..................................
+.*:03g...................................
.........................................
.........................................
.........................................
diff --git a/examples/popcorn.orca b/examples/popcorn.orca
index 660e601..5e17e74 100644
--- a/examples/popcorn.orca
+++ b/examples/popcorn.orca
@@ -2,16 +2,15 @@
.#.POPCORN.#.............................
.........................................
...C8.........8C4........................
-.2H18T13579bdf.16T2345...................
-...xV1.........yV3.......................
+.2H68T13579bdf.16T2345...................
+...xVb.........yV3.......................
.........................................
-..Vx.Vy..................................
-..fYf2...................................
-....JJ...................................
-...Hf22Q.................................
-...*:04C.................................
+..2Kxy...................................
+...Hb32Q.................................
+...*:04d.................................
........#5C4a5C4G4d4G4C..#...............
........#5C4a5C4G4d4G4C..#...............
........#5C5D5d5D5d5C5D5C#...............
........#5D4a5C4a5C4g5C..#...............
+.........................................
......................................... \ No newline at end of file
diff --git a/examples/projects/midi-step-sequencer.orca b/examples/projects/midi-step-sequencer.orca
deleted file mode 100644
index 7a9aec4..0000000
--- a/examples/projects/midi-step-sequencer.orca
+++ /dev/null
@@ -1,25 +0,0 @@
-.........................................
-.#.note.sequencer.#......................
-.........................................
-.........................................
-..U......................................
-.....W.U.................................
-.........................................
-..S......................................
-.........................................
-.........................................
-..S...NYNYNYN11G0........................
-.......Y.Y.Y.01G1....................V1..
-..........J....0....................A21..
-.......15X.........................M34...
-.................................1V3.....
-...........V1.#.notes.#..................
-.U.........24TABCE.......................
-......U...:03CCF.........................
-..........N..............................
-.........................................
-.........................................
-.........................................
-.........................................
-.........................................
-......................................... \ No newline at end of file
diff --git a/examples/read+write.orca b/examples/read+write.orca
index 90d7951..daa2504 100644
--- a/examples/read+write.orca
+++ b/examples/read+write.orca
@@ -2,16 +2,15 @@
.#.READ.WRITE.#..........................
.........................................
.........................................
+.C4.........C2..........C4...............
+.10O1230...014Q1234.....14T1230..........
+...1.......12345678.......1..............
.........................................
-......C4.........C2..........C4..........
-......10O1230...014Q1234.....14T1230.....
-........1.......12345678.......1.........
.........................................
-.........................................
-......C4.C4......C2..........C4.C4.......
-......10X1......014G1234.....14P1........
-........1230.......1234........1230......
-...................1234..................
+.C4.C4......C2..........C4.C4............
+.10X1......014G1234.....14P1.............
+...1230.......1234........1230...........
+..............1234.......................
.........................................
.........................................
......................................... \ No newline at end of file
diff --git a/examples/timing.orca b/examples/timing.orca
index 9e61974..6f1cfb2 100644
--- a/examples/timing.orca
+++ b/examples/timing.orca
@@ -1,15 +1,15 @@
.........................................
.#.TIMING.#..............................
.........................................
-..C8.C2...............C8.D2..............
-..6.X0................6.X................
-...#10101010#..........#*.*.*.*.#........
-..C9.C3...............C9.D3..............
-..4.X1................4.X*...............
-...#120120120#.........#*..*..*..#.......
-..Cc.C3...............Cc.D4..............
-..a.X1................a.X................
-...#120120120120#......#*...*...*...#....
-..Cf.C4...............Cf.D5..............
-..1.X2................1.X*...............
-...#201230123012301#...#*....*....*....#. \ No newline at end of file
+.C8.C2...............C8.D2...............
+.3.X1................3.X*................
+..#10101010#..........#*.*.*.*.#.........
+.C9.C3...............C9.D3...............
+.6.X0................6.X.................
+..#120120120#.........#*..*..*..#........
+.Cc.C4...............Cc.D4...............
+.3.X3................3.X.................
+..#123012301230#......#*...*...*...#.....
+.Cf.C5...............Cf.D5...............
+.0.X0................0.X.................
+..#123401234012340#...#*....*....*....#.. \ No newline at end of file
diff --git a/examples/triage.orca b/examples/triage.orca
deleted file mode 100644
index 64e836d..0000000
--- a/examples/triage.orca
+++ /dev/null
@@ -1,17 +0,0 @@
-.........................................
-..#.TRIAGE.#.............................
-.........................................
-..D2....D6......D6......D6...............
-...H.....................................
-..xE....u.......u.......u................
-...E.E.E.E.E...E.E.....E.................
-............................U............
-.......U...E.....E.....E.................
-............................S.U..........
-...............U.E.....E.....E...........
-........................S.......U........
-.......................U.....E...........
-.........................................
-............................*.*.*........
-............................0.0.0........
-......................................... \ No newline at end of file
diff --git a/examples/variable.orca b/examples/variable.orca
deleted file mode 100644
index d13ba31..0000000
--- a/examples/variable.orca
+++ /dev/null
@@ -1,17 +0,0 @@
-.........................................
-.#.VARIABLES.#...........................
-.........................................
-.#.WRITE.#...............................
-.........................................
-.aV1.bV2.cV3.............................
-.........................................
-.#.READ.#................................
-.........................................
-..Va..Vb..Vc.............................
-..1...2...3..............................
-.........................................
-.........................................
-.........................................
-.........................................
-.........................................
-......................................... \ No newline at end of file
diff --git a/examples/wave.orca b/examples/wave.orca
index ba0b691..f1831c4 100644
--- a/examples/wave.orca
+++ b/examples/wave.orca
@@ -1,16 +1,15 @@
-...........8C8..C4.......................
-.#.WAVE.#.aV2.bV2..2Kab..................
-....................A22..................
-....................4XE..................
-................................:04F.....
-................................:04E.....
-................................:04D.....
-................................:04C.....
-................................:03B.....
-................................:03A.....
-................................:03G.....
-................................:03F.....
-................................:03E.....
-................................:03D.....
-................................:03C.....
-......................................... \ No newline at end of file
+.........................................
+.#.WAVE.#...8C6...C4.....................
+...........aV1..bV2......................
+.2Kab....................................
+..A12...........................:04F.....
+..3XE...........................:04E.....
+........E...E...................:04D.....
+....E..E...E....................:04C.....
+...E..E...E.....................:03B.....
+.....E...E.....................*:03A.....
+........................E...E..E:03G.....
+................E...E..E...E..E.:03F.....
+...............E...E..E...E..E..:03E.....
+..............E...E..E...E......:03D.....
+.............E...E..............:03C..... \ No newline at end of file