lib/xi/supercollider/stream.rb in xi-lang-0.2.1 vs lib/xi/supercollider/stream.rb in xi-lang-0.2.2
- old
+ new
@@ -20,13 +20,9 @@
@base_node_id = base_node_id
@playing_synths = [].to_set
at_exit { free_playing_synths }
end
- def set(params)
- super(gate: params[:gate] || :freq, **params)
- end
-
def stop
@mutex.synchronize do
@playing_synths.each do |so_id|
n_set(node_id(so_id), gate: 0)
end