This file contains hidden or 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... |
This file contains hidden or 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. |
This file contains hidden or 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 |
This file contains hidden or 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." |
This file contains hidden or 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 |
This file contains hidden or 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); | |
| ) | |
This file contains hidden or 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' |
This file contains hidden or 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++) { |
This file contains hidden or 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; |
This file contains hidden or 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
| -- custom osc send to unity | |
| module UnityOsc where | |
| import Sound.Tidal.Stream | |
| import Sound.Tidal.Pattern | |
| import Sound.Tidal.Parse | |
| import Sound.Tidal.OscStream | |
| port = 5000 |