How've you been?
I'm old bones, trapped beneath a circus cage,
letovers from a tiger's meal.
Hallelujah, amen.
Days go by, like cartwheels
Sun shine's bright, but hail's falling down from the sky..
When you go back to sleep
you can get off on dreams
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
t = Time.now.to_i | |
use_random_seed t | |
kick_sleep_time = sample_duration(:loop_breakbeat, rate: 0.7) | |
puts kick_sleep_time | |
live_loop :hiss_loop do | |
sample :vinyl_hiss, amp: 2 | |
sleep sample_duration :vinyl_hiss | |
end |
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
use_bpm 160 | |
pattern = [ | |
:Ds3, :E3, :Gs3, :B3, :Ds4, :Fs4 | |
].ring | |
pattern2 = [ | |
:Gs2, :E3, :Gs3, :B3, :Ds4, :Gs4 | |
].ring |
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
use_bpm 112 | |
NOTE_TIME = 0.25 | |
live_loop :kick do | |
loop do | |
sample :bd_haus, rate: 0.5 | |
sleep NOTE_TIME * 4 | |
end | |
end |
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
private void testIsWifiConnect() { | |
ConnectivityManager manager = (ConnectivityManager) | |
getApplicationContext().getSystemService(Context.CONNECTIVITY_SERVICE); | |
if (manager != null) { | |
Network network = manager.getActiveNetwork(); | |
if (network != null) { | |
NetworkCapabilities capabilities = manager.getNetworkCapabilities(network); | |
if (capabilities.hasTransport(NetworkCapabilities.TRANSPORT_WIFI)) { | |
Toast toast = Toast.makeText(getApplicationContext(), "WiFi Connect", LENGTH_LONG); | |
toast.show(); |
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
use_bpm 120 | |
live_loop :guitar do | |
with_fx :pan, pan: 0.6 do | |
with_fx :slicer, seed: 345, _slide: 2.0 do | |
with_fx :echo, amp: 1.0, phase: 1.0, mix: 0.5 do | |
sample :guit_harmonics, rate: -3.0 | |
end | |
end | |
end |
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
// Thanks to snappizz, http://sccode.org/1-522 thanks to hint and help by Alexandre Enkerli | |
// At least you can specify frequency as a midi note | |
( | |
SynthDef(\rhodes, { | |
| | |
// standard meanings | |
out_bus = 0, note = 60, amp = 1, out = 0, gate = 1, pan = 0, | |
// all of these range from 0 to 1 | |
vel = 0.8, modIndex = 0.2, mix = 0.2, lfoSpeed = 0.4, lfoDepth = 0.1 |
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
# spartacus_loop | |
## 実行時は、Sonic Piを立ち上げて | |
## Prefs⇛Studio⇛Enable external synths and FXにチェックを入れる必要があります。 | |
## Synth定義を読み込む(作成したSynthDefの格納されてるフォルダの場所を指定) | |
load_synthdefs "your_own_path" | |
## intro counter | |
@@num = 0 |
NewerOlder