Administrateur

  • Profile picture of Robert P.

Modalys

Groupe Public active 1 week et 2 days ago

Modalys physical modeling sound synthesis user group

syntax of reed-connection

Auteur 1 Utilisateurs souscrits |
Profile photo of JialinLiu
JialinLiu

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

Juillet 29, 2017 à 07:10 #23263

Vous devez être connecté pour répondre à ce sujet.

Log in now