byulparan / cl-collider

A SuperCollider client for CommonLisp
Other
224 stars 24 forks source link

Fix errors when calling `synth' with :pos or :to keywords. #123

Closed ntrocado closed 2 years ago

ntrocado commented 2 years ago

This fixes the following error:

SC-USER> (defsynth test ())
#<CL-COLLIDER::SYNTHDEF :name "test">
SC-USER> (synth 'test :pos :tail)
---> Can't floatify :TAIL

or

SC-USER> (defparameter *aux-group* (make-group))
*AUX-GROUP*
SC-USER> (synth 'test :to *aux-group*)
---> Can't floatify #<CL-COLLIDER::GROUP :server #<CL-COLLIDER::EXTERNAL-SERVER localhost-127.0.0.1:4444> :id 3>

This was a bug introduced here.