-
Yan
You bet. thanks for posting that it was super helpful
I had forgotten about throw~/catch~ that makes it a whole lot easier.
Looks like I can use threshold~ to trigger a throw when a signal is non-zero.
-
Yan
Howdy.
I have a very simple mixer in my app that mixes two signals at a time and takes the sum and mixes with another signal and then once again for a fourth signal.
This approach worked well before for just two signals but now with four signals to combine it seems like there are some audio quality issues when some of the voices are nil.
I'm no pd expert and I'm stumped on how to do this better.
should I toss this approach or is there a way to preserve audio fidelity when either or both of Voice 2 and Voice 3 have no signal.
It looks like I need a moses~ to conditionally bypass a mixing stage but I have no idea how to pull this off. If anyone can point me to an example that would be awesome.
I can only use vanilla objects.
Thanks!
-
Yan
My patch has a standard VU meter and I'm sending VU meter Float values to an IOS app.
Everything works perfectly except that my app receives 4-5 messages per millisecond... which bogs down resources.
How do I force Pd to send one messages at a fixed time interval like 10ms?
Do I use pack for that?
Thanks!
-
Yan
Thanks for the tips guys! - this worked perfectly.
@coloscope said:
Yan, this is not how [metro] works, the right inlet is used to set the time between two bangs. Try something like this :
[loadbang]
\
[metro 10] [VU METER]
| _________|
| |
[f ]
|
[send VU]So the output of the VU meter is stored in the float atom, each bang from [metro] will send it to your app.
-
Yan
oops I should have specified I can only use Pd Vanilla objects for IOS apps
I have lots to learn about Pd...is it possible to use a [metro] object to control the timing of messages?
I stuck a metro object in there but it didn't work - I didn't get any messages through at all - am I missing something or [metro] can't be used this way?
now I've got this:
[r~ VU Input]
|
[env~]
|
[-100]
|
[VU METER]
\
[loadbang] \
\ \
[metro 10]
|
[send VU]