Is there a way to save to a (text) file while running?
For example, if I’m running code controlled by midi.
sample :bd_boom, amp: var-gets-it-from-midi-1, rate, var-gets-it-from-midi-2
And after trying different midi-input for a while, I might find that amp: 2, rate: 0.7 is exactly the sound i was looking for.
Is there a way to say “save content of variable X to file” or make a string and “save string to file”, while running. For future reference of 'sounds i liked", easy usage in other code, …?
puts, but to a file in stead of to the log window.