Hello list - and Cyrille,
I'm trying to use [pmpd] to produce an audio rate output, but am having
some unexpected results.
To test it, I'm adapting the patch 69_pmpd_for_audio, by replacing the
pmpd content with the one from the patch 50_string~ (I think the
adaptation is correct).
The reaction of the circuit seems to be ok, in that it produces a
pizzicato-like sound. The difference is that there is a noise in the
500-1KHz area which isn't in the original [pmpd~] example. Is this noise
from some bad patch adaptation, or is it a problem from using [pmpd]?
This patch attached uses some abstractions from the jmmmp library, you can
download it through deken.
Best,
Joao
hello Joao,
The pmpd* object initial link length is the creation length. this is diferent from the link object where length is manually specified. The good things about this is that the created structure is mostly stable after it's creation. The bad thing is that link length can be different of what you want. in your example, all masses are in position 1, except the fixed mass (0). so the link from 0 to 1 and 0 to 20 have a length of 1. This cause unexpected problem in boundaries.
If you set masses position to 0, or send a message to set link length to 0, everything should be fine.
cheers c
Le 16/06/2016 00:27, João Pais a écrit :
Hello list - and Cyrille,
I'm trying to use [pmpd] to produce an audio rate output, but am having some unexpected results.
To test it, I'm adapting the patch 69_pmpd_for_audio, by replacing the pmpd content with the one from the patch 50_string~ (I think the adaptation is correct). The reaction of the circuit seems to be ok, in that it produces a pizzicato-like sound. The difference is that there is a noise in the 500-1KHz area which isn't in the original [pmpd~] example. Is this noise from some bad patch adaptation, or is it a problem from using [pmpd]?
This patch attached uses some abstractions from the jmmmp library, you can download it through deken.
Best,
Joao
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Hi, Cyrille,
The pmpd* object initial link length is the creation length. this is diferent from the link object where length is manually specified. The good things about this is that the created structure is mostly
stable after it's creation. The bad thing is that link length can be
different of what you want. in your example, all masses are in position 1, except the fixed mass (0). so the link from 0 to 1 and 0 to 20 have a length of 1. This cause unexpected problem in boundaries.If you set masses position to 0, or send a message to set link length to
0, everything should be fine.
I see, it works now with mass position = 0. Then there is still one thing
I don't understand, all the masses are actually fixed, and created with
"mass sound 1 ...". But they still move to make sound?
I'll try to do a visualisation of the data, maybe I'll understand it
better.
One thing, there is still a high resonance, just like in the original
[pmpd~] example. I imagine this is a limit of the synthesis method?
Best,
Joao
Le 16/06/2016 19:49, João Pais a écrit :
Hi, Cyrille,
The pmpd* object initial link length is the creation length. this is diferent from the link object where length is manually specified. The good things about this is that the created structure is mostly stable after it's creation. The bad thing is that link length can be different of what you want. in your example, all masses are in position 1, except the fixed mass (0). so the link from 0 to 1 and 0 to 20 have a length of 1. This cause unexpected problem in boundaries.
If you set masses position to 0, or send a message to set link length to 0, everything should be fine.
I see, it works now with mass position = 0. Then there is still one thing I don't understand, all the masses are actually fixed, and created with "mass sound 1 ...". But they still move to make sound?
I'll try to do a visualisation of the data, maybe I'll understand it better.
your patch made me realize a bug with negative length links in 1d simulation. I just fixed it in svn.
cheers c
One thing, there is still a high resonance, just like in the original [pmpd~] example. I imagine this is a limit of the synthesis method?
Best,
Joao
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list