< Back to IRCAM Forum

Syntax of reed-connection

Dear All,

I have a question with syntax of the reed connection.

In the Modalisp Tutorial ex3 (see attachment), the code is
(make-connection 'reed my-tube-top my-reed-tip 0.001 (make-controller 'arithmetic 1 '* (list (const 6) breath-env2)) (const 0.000276))
and it works very well, but I don’t know which argument means what… (ex. where is air-density, or reed-area, or reed-pos etc.)

In the Modalys Documentation, the syntax-model is :
(make-connection 'reed reed_acc reed_pos tube_acc air-pressure air-density reed-area aperture-length weight)

I have tried to reorganized the code under the new syntax-model in Documentation like this:
(make-connection 'reed my-reed-tip 0.001 my-tube-top (make-controller 'arithmetic 1 '* (list (const 6) breath-env2)) (const 1.2) (const 0.0276) (const 0.01) 1)
but it doesn’t work.

Could you please tell me, what is the current syntax of the Reed-Connection?
And which mistake I have made in the reorganisation?

Thanks a lot!

Best regard,
Jialin Liu

ex3-tube-reed-and-hole-connection.lisp (8.54 KB)