09-25-2023, 02:22 PM
(This post was last modified: 09-25-2023, 03:08 PM by pietropicerno.)
Hi Jens,
sorry to bother you again. I tried to use the "if" module like shown in the attached picture and I succeeded to play the sound when the signal crosses the value of "10". The problem is that it doesn't quit when the signal goes below 10. Honestly, I'm having some troubles in fully understanding how the "if" module works (not a general "if" statement I mean, as I usually program in Matlab, but PhyPhox's "if" module specifically.
In PhyPhox wiki on the analysis modules, about the "if" module, I read: " For example if you set the true input to empty, do not connect the false input and set the output to clear, it will only clear the output if the condition is true, but leaves it alone otherwise. This can be used as a reset condition." This looks like a possible solution to stop quit the tone and I tried to implement it but I couldn't make it work.
Any ideas? Thanks for you patience,
Pietro
sorry to bother you again. I tried to use the "if" module like shown in the attached picture and I succeeded to play the sound when the signal crosses the value of "10". The problem is that it doesn't quit when the signal goes below 10. Honestly, I'm having some troubles in fully understanding how the "if" module works (not a general "if" statement I mean, as I usually program in Matlab, but PhyPhox's "if" module specifically.
In PhyPhox wiki on the analysis modules, about the "if" module, I read: " For example if you set the true input to empty, do not connect the false input and set the output to clear, it will only clear the output if the condition is true, but leaves it alone otherwise. This can be used as a reset condition." This looks like a possible solution to stop quit the tone and I tried to implement it but I couldn't make it work.
Any ideas? Thanks for you patience,
Pietro