Skip to content

Instantly share code, notes, and snippets.

@pseeth
Created July 21, 2015 06:21
Show Gist options
  • Save pseeth/25b7741040a70f0ca9fc to your computer and use it in GitHub Desktop.
Save pseeth/25b7741040a70f0ca9fc to your computer and use it in GitHub Desktop.
reverb_words = keys(wordDict['reverb'])
word_parameters = {}
function get_parameters() {return {'g': rev.g, 'd': rev.d, 'm': rev.m, 'f': rev.f, 'E': rev.E, 'wetdry': rev.wetdry}}
function save_word(index) {console.log(reverb_words[index]); changetoword(reverb_words[index], 'reverb', -1); word_parameters[reverb_words[index]] = get_parameters();}
current_index = 0;
function increment_word() {save_word(current_index); current_index++};
interval_thing = setInterval(increment_word, 1000);
eq_words = keys(wordDict['eq'])
function save_word_eq(index) {console.log(eq_words[index]); changetoword(eq_words[index], 'eq', -1);}
current_index_eq = 0;
function increment_word_eq() {save_word_eq(current_index_eq); current_index_eq++};
interval_thing_2 = setInterval(increment_word_eq, 100);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment