Each "instrument"/module is an object filled with already-connected and setup audioNodes.
A very simple instrument might look like this:
{
oscillator: OscillatorNode,
filter: BiquadFilterNode,
gain: GainNode
}
| https://github.com/maxogden/cool-ascii-faces | |
| https://github.com/melaniecebula/cat-ascii-faces | |
| https://github.com/coleww/cat-me | |
| https://www.npmjs.com/package/figlet |
| var Twit = require('twit') | |
| var T = new Twit({ | |
| consumer_key: 'blaahhh' | |
| , consumer_secret: 'monsters' | |
| , access_token: 'tyrannosaurus' | |
| , access_token_secret: 'awful' | |
| }) | |
| var shuffle = require('shuffle-array') | |
| var options = { screen_name: 'botgle', |
| Goodnight | |
| back | |
| CRISH | |
| BOOFED | |
| Hungry | |
| affss | |
| test294 | |
| yonkers | |
| Squadd | |
| Honestly |
| (def mpk (midi-find-connected-device "MPK")) | |
| (on-event (conj (midi-mk-full-device-key mpk) :control-change) | |
| (fn [e] | |
| (let [note (:note e) | |
| vel (:velocity e)] | |
| ;; the pads! bank/#. | |
| ;; pads 1/5-1/8 overlap with the default piano octave. awesome. | |
| (cond |
| // `npm install --save request cheerio` | |
| var request = require("request") | |
| var cheerio = require("cheerio") | |
| function getSampleIDs(query, min, max){ | |
| var url = "https://www.freesound.org/search/?q="+query+"&f=duration%3A%5B"+(min || 0)+"+TO+"+(max || 1)+"%5D&s=duration+asc&advanced=1&a_tag=1&a_filename=1&a_description=1&g=" | |
| request(url, function (error, response, html) { | |
| if (!error && response.statusCode == 200) { | |
| var $ = cheerio.load(html); |
| CUZ I DONE THIS 2x ALREADY | |
| http://clojure-doc.org/articles/tutorials/emacs.html just the install not the config | |
| https://github.com/overtone/emacs-live#easy-install install emacs-live instead | |
| http://stackoverflow.com/a/25900375 do this to fix paredit slurping in iterm2 | |
| ... ? |
| $('#top-nav').remove() |
Each "instrument"/module is an object filled with already-connected and setup audioNodes.
A very simple instrument might look like this:
{
oscillator: OscillatorNode,
filter: BiquadFilterNode,
gain: GainNode
}
| // people who promote tweets tend to be the absolute worst. | |
| $('.js-action-profile-promoted').each(function(i, val){ | |
| $(this).click() | |
| $('.user-dropdown-icon').click() | |
| $('.block-text.not-blocked').click() | |
| $($('.block-button')[0]).click() | |
| }); |
| var request = require('request') | |
| var cheerio = require('cheerio') | |
| var fs = require('fs') | |
| var pages = [] | |
| request('http://lyrics.wikia.com/LyricWiki:Top_100', function (error, response, html) { | |
| if (!error && response.statusCode == 200) { | |
| var $ = cheerio.load(html); | |
| //handle the 'page not found' page? |