I hereby claim:
- I am abramhindle on github.
- I am abramhindle (https://keybase.io/abramhindle) on keybase.
- I have a public key ASAbUYfBptriHrf5ZUjstzOsSR5vbpEir7q9MokyXjavUAo
To claim this, I am signing this object:
| <CsoundSynthesizer> | |
| <CsOptions> | |
| -L stdin -odac -iadc ;;;RT audio I/O | |
| ;-L stdin -odac -iadc -dm6 -+rtaudio=jack -+jack_client=csoundNN -b 1024 -B 2048 ;;;RT audio I/O | |
| </CsOptions> | |
| <CsInstruments> | |
| ;; Bug report:a | |
| ;; Goal: save state in memory of FLTK widgets | |
| ;; |
| <CsoundSynthesizer> | |
| <CsOptions> | |
| -L stdin -odac -iadc ;;;RT audio I/O | |
| ;-L stdin -odac -iadc -dm6 -+rtaudio=jack -+jack_client=csoundNN -b 1024 -B 2048 ;;;RT audio I/O | |
| </CsOptions> | |
| <CsInstruments> | |
| ;; Bug report: | |
| ;; Goal: save state in memory of FLTK widgets | |
| ;; |
I hereby claim:
To claim this, I am signing this object:
| // You should see 3 "Ending" followed by segmentation fault instead of 4 | |
| // | |
| // hindle1@st-francis:~/projects/BEAMS-2017-WORKS$ chuck midi-crash.ck | |
| // "Ending" : (string) | |
| // "Ending" : (string) | |
| // "Ending" : (string) | |
| // Segmentation fault (core dumped) | |
| // | |
| // | |
| // hindle1@st-francis:~/projects/BEAMS-2017-WORKS$ chuck --version |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| '''Example using the theanets package for learning the XOR relation.''' | |
| import climate | |
| import logging | |
| import numpy as np | |
| import theanets |
| Step s => dac; | |
| 100 => int maxsamps; | |
| 1000 => int reps; | |
| while(true) { | |
| for( 0 => int samps; samps < maxsamps; samps++ ) { | |
| Std.rand2(-16,16) * 1000.0 => s.next; | |
| samps::samp => now; | |
| } | |
| } |
| MakeScalarKR { | |
| var last; | |
| var mbus; | |
| var pf; | |
| var f; | |
| *new { arg sbase,f; | |
| ^super.new.init(sbase,f) | |
| } | |
| init { |
| ~mkscalarfun = { | |
| arg f={ 0 }; | |
| var last = 0.0; | |
| var mbus = Bus.control(s, 1); | |
| var pf = f.play(s,mbus); | |
| var scalarf = { | |
| mbus.get({|v| last = v;}); | |
| last; | |
| }; | |
| scalarf; |