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
| ## Transmission - Origin Unknown -Tuned Resonators in C minor | |
| ## Random Seed Version: 746742 | |
| ## Coded by Nanomancer - Distributed under Creative Commons Non-Commercial Attribution license - :) | |
| ## 26.03.2016 | |
| ## Watch a video produced with screen grabs of the code and Nebulae: | |
| ## https://www.youtube.com/watch?v=5fwGHAdoaXA&feature=youtu.be | |
| ####################### | |
| max_t = 8 # Adjust the run time of the piece |
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
| # Alexandre rANGEL | |
| # "raining rage" (v11) | |
| # www.quasecinema.org | |
| # 10-Mar-2016 | |
| # Sonic Pi 2.9 | |
| arrangement = true | |
| mybpmbase = 160 | |
| mybpm = mybpmbase | |
| use_bpm mybpm |
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
| set itermRunning to (application "iTerm" is running) | |
| set scriptPath to quoted form of POSIX path of ((path to me as text) & "::" & "start.sh") | |
| set user_shell to do shell script "dscl /Search -read /Users/$USER UserShell | awk '{print $2}'" | |
| tell application "iTerm" | |
| activate | |
| if not (exists window 1) or (itermRunning = false) then | |
| reopen | |
| end if |
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
| #Rotating binary rhythms by Robin Newman, January 2016 | |
| #This piece was inspired by an article I read at http://bernhardwagner.net/musings/RPABN.html | |
| #I played with the idea and extended it to give the current piece. | |
| #set_sched_ahead_time! 4 #I set this when recording on a Pi2 to prevent errors | |
| use_debug false | |
| ######### three user settings below ########### | |
| rvol=0.6 #balance these two vol settings to taste (0-1) | |
| lvol=1 | |
| numpasses=4 #set for number of passes required (pattern repeats after 4 passes) |
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
| // install with: | |
| // npm i -g devtool | |
| // npm i img javascript-natural-sort electron-canvas-to-buffer | |
| // | |
| // run: | |
| // devtool tile-folder.js -qch | |
| var fs = require('fs') | |
| var path = require('path') | |
| var loadImage = require('img') |
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
| PROG_DURATION = 2.0 | |
| chords = [ | |
| c1 = chord(:c, :major7), | |
| c2 = chord(:f, :major7), | |
| c3 = chord(:d, :minor7), | |
| c4 = c1, | |
| ] | |
| live_loop :main do |
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
| # ------------------------------------------- | |
| # CRASH INTO SONIC PI! | |
| # Learn to code music in less than 30 minutes | |
| # ------------------------------------------- | |
| # - download Sonic Pi from sonic-pi.net | |
| # - copy and paste these code snippets | |
| # - change and experiment with the snippets | |
| # - go! | |
| # ------------------------------------------- | |
| # These snippets were made for a workshop to |
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
| ############################################## | |
| ## Example 1 - play a note | |
| play 60 | |
| ############################################## | |
| ## Example 2 - play 4 random notes | |
| 4.times do | |
| play rrand_i(60, 90) | |
| sleep 0.5 |
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
| ######################################### | |
| ## Sonic Pi Drum Machine | |
| ## coded by Darin Wilson | |
| ## | |
| use_bpm 95 | |
| in_thread(name: :drum_machine) do | |
| # choose your kit here (can be :acoustic, :acoustic_soft, :electro, :toy) |
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
| # Super simple drum and bass | |
| # Coded by Sam Aaron w/ Sonic Pi | |
| # To play: download Sonic Pi from the link below, paste the code in and hit Run | |
| # http://sonic-pi.net | |
| use_bpm 100 | |
| live_loop :amen_break do |