View chord_prog.orca
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
....wC4....... | |
dC4.114Q#ABCD# | |
.14T2341#ADBC# | |
.1V3A2..#ACDB# | |
..2V5A1.#CABD# | |
...3V6A2...... | |
....4V8A1..... | |
.....5V9...... |
View lineup.orca
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
...2C6....... | |
..2Z0........ | |
...1..Q.abcde | |
.3.C4.a...... | |
4C51A.J...... | |
.1Y11Xa...... | |
.....dcdcb... | |
.....dadab... | |
.....eceac... | |
.....eceac... |
View grid.orca
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1C4C1C2C | |
A1A0A1A6 | |
1A1A1A7A | |
A2A2A8A7 | |
2A4AaAfA | |
A6AeApAf | |
6.k.3.4. |
View CustomTypes.elm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type UserStatus | |
= Regular | |
| Visitor | |
type alias User = | |
{ status : UserStatus | |
, name : String | |
} | |
-- other declaration of User |
View ErrorReporting.elm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
isReasonableAge : String -> Result String Int | |
isReasonableAge input = | |
case String.toInt input of | |
Nothing -> | |
Err "That is not a number!" | |
Just age -> | |
if age < 0 then | |
Err "Please try again after you are born." |
View test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test snipet code |
View gist:89ff0122598ac520a77e518c7ecedcdc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
( | |
OSCdef(\orca_osc, {|msg| | |
var note; | |
msg.postln; | |
// note = msg[1]; | |
// s.sendMsg("/s_new", \your_synth, s.nextNodeID, 0, 1, \note, note); | |
}, \p); | |
) | |
View Tidal.ghci
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:show paths | |
:set prompt "" | |
:module Sound.Tidal.Context | |
:load your/path/to/UnityOsc.hs -- <- maybe ~/UnityOsc | |
(cps, nudger, getNow) <- cpsUtils' |
View triangle stripe
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void ofApp::triangleMesh(ofMesh && mesh, float radius) { | |
ofPoint capturedPoint, capturedPoint2; | |
for (int i = 0; i < 25; i+=2) { | |
mesh.addIndex(i); | |
mesh.addIndex(i + 1); | |
} | |
for (int i = 0; i < 25; i++) { |
View OSCController.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
#if UNITY_EDITOR | |
using UnityEditor; | |
#endif | |
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Text; | |
using UnityOSC; |