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
// before calling self.phaseEngine.start(); | |
self.phaseListener = PHASEListener(engine: self.phaseEngine) | |
try! self.engine.rootObject.addChild(self.phaseListener) |
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
// ARViewController.swift | |
class ViewController : UIViewController : { | |
override func viewWillDisappear(_ animated: Bool) { | |
super.viewWillDisappear(animated) | |
self.phaseEngine.stop() | |
} | |
} |
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
// ARViewController.swift | |
import PHASE | |
// [ other imports elided ] | |
class ViewController : UIViewController { | |
var phaseEngine : PHASEEngine! | |
override func viewDidLoad() { |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
import ddf.minim.*; | |
import ddf.minim.analysis.*; | |
Minim minim; | |
AudioPlayer song; | |
BeatDetect beat; | |
float bottomSpeed = random(1.0); | |
float topSpeed = random(1.0); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
int t = 0; | |
float r = 50.0; | |
float r2 = 400.0; | |
float k1 = 10 * exp(1); | |
float k2 = 0.1 * PI; | |
float x; | |
float y; | |
float offsetX = 500; | |
float offsetY = 500; | |
color from; |
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
/** | |
Arduino Real-Time Slack Bot | |
Copyright (C) 2016, Uri Shaked. | |
Licensed under the MIT License | |
https://github.com/urish/arduino-slack-bot | |
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
Right folks, I'm getting rid of a bunch of the noise-making gear i've acumulated over the years, plus one decent computer monitor. Grab yourself a bargain! Looking to shift the below. Couple more pedals and eurorack bits to come too. | |
--- PEDALS --- | |
Behringer Ultra Feedback / Distortion pedal: £10 | |
Mooer Pitch Box pitch-shifter pedal: £20 | |
Behringer Ultra Octaver pedal: £10 |
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
#!/bin/bash | |
TEXT=`curl https://www.lcdf.org/indeterminacy/s/ | pup 'table tbody tr td table tbody tr td p text{}'` | |
COUNT=`echo $TEXT | wc -w` | |
echo $TEXT | say -r $COUNT |