-
Gaspar
Thanks everybody,
finally I opted for mod's proposal, and it works very nicely (I had to modify it slightly, not sure why it did not work right away).
So this is how it looks like.in
|
[expr~ $v1;
if($v1>0,55, 0, 1];]
|
out -
Gaspar
Hi everybody,
zexy allows comparisons as in the example below
[phasor 500]
|
[>~ 0.55] ... this is zexy
|
[bp~ 5000 12]Is there any way to that in Vanilla (or use zexy in vanilla without loading the whole zexy)?
I'm trying to do this in pd 0.48 (running directly from the directory; not installed)
[zexy/>~ 0.55] does not work (other zexy objects work that way... the zexy directory is under "extra")
I've also tried the following...
[phasor 500]
|
| [metro 2]
|/
[snapshot~]
|
[>~ 0.55]
|
[sig~]
|
[bp~ 5000 12]it kind of works, but it does not perform the way it does in pd extended.
Any help would be appreciated.
Cheers
-
Gaspar
Thanks for the quick answer,
Removing the forward slashes was the solution. However with your example I still was getting:
"oscformat: no method for '1fader'"
So what seems to work is having the OSC messages written together with [oscformat] and message the values to that box (actually as shown in the oscformat help).
You can't write the values together with the messages, since in that case it will separate them with forward slashes as well.So this seems to work.
[1 0( or whatever and as many values you want to send with the OSC message
|
[oscformat oscadress1 oscadress2 ...]
|
[listprepend]
|
[list trim]
|
[netsend -u -b] -
Gaspar
Hi I used to send OSC messages from PD to VPT using PD extended & MrPeach
in this fashion:[send /1layer/fade 0.5(
[pack OSC]
[udpsend]Is there anyway I can do this in Vanilla 46.7+?
I'm trying to get this done using
[osc format]
[netsend -u]
But I can't get it to work.
Any hint would be very welcome. If I need to use MrPeach I would do that, but I thought it should be possible in Vanilla.
Thank you
-
Gaspar
@musiproject Actually audacity does the job. If you don't need to calculate everytime you open a file in PD and you can do it beforehand.
Just open or drag and drop your file on audacity. Then at the bottom you can choose to display time or samples. You can also place the cursor anywhere or select a given amount of samples. Then you get the starting sample and the amount of samples selected. I use this often when I want to play just a portion of a file using [tabplay~].Good luck.
-
Gaspar
Hi everybody,
although I'm far from being a PD expert, I brought together a small bunch of people to "initiate them in using their smartphones as sensors and PD as the effector".
My (limited) experience with PD is on windows, but two of the people use Mac OSx and we're struggling with MIDI.- Once we've realised that on OSx we need an external software to "play" the PD messages (I guess we're right up to here). We're using the "IAC driver" and we've tried a few of trial versions of midi players: "FM8", "Chirp" (and another one I can't remember right now). We're able to play back notes, change velocity and duration but NOT the instrument: [pgmout] seems to have no effect.
Two questions: - Is this just a software limitation or do we need to to something else in PD?
- Is there a free player we could use for this? None of us is really into digital music. Just playing around with interactivity, and that's the "only" use we would give it (at least for now).
Any hint is appreciated,
Gaspar
- Once we've realised that on OSx we need an external software to "play" the PD messages (I guess we're right up to here). We're using the "IAC driver" and we've tried a few of trial versions of midi players: "FM8", "Chirp" (and another one I can't remember right now). We're able to play back notes, change velocity and duration but NOT the instrument: [pgmout] seems to have no effect.
-
Gaspar
Thank you,
I've red it, but not yet tested. Hope to try it soon. -
Gaspar
@whale-av Thank you for the help.
The thing is that I'm unable to get an interface layout different from the intial one ( the basic "multitouch" screen). In one of the videos I found () it looks as if the interface layout with faders is created/activated using a patch running on the computer rather than the application on the phone.
This is actually more a question on Kontrolleur than on PD itself, but it requires both parts. -
Gaspar
Hi, I'm playing around with OSC and am testing different Apps.
When it comes to "Kontrolleur" (intended for vvvv) I can easily get the data into PD, but in order to get sliders, etc. on the app, it seems as if expects me to send the instructions to the app. I've got the port, but have no idea about the instructions I should/can send.I like the application since it gives acces to many sensors: Touch (also multiple), Acceleration, Magnetic Field and Orientation... But would love to be able to interact with it a bit more.
-
Gaspar
@LiamG Thank you for the explanation. I'm familiar with ASCII, but actually at the first time I just had a quick glance at your [Vanilla_symbol_to_float] patch. Now, with your explanation, I've gone through it again and it is quite understandable.
Somehow and at least in lack of a better solution it seems elegant to me - Thank you again.