-
altreality
Hello all,
So I am working with some midi patching, and I noticed my version of pd-extended was terribly out of date (0.39.3). I download and installed the current stable release (0.40.3) and none of my midi out objects work anymore. I have set my audio device, and midi port (using midi-yoke) and I'm monitoring the port using midi-ox. I have uninstalled .40.3 and installed the current test (0.42.0test5) release, and midi works fine, but I can't get the OSC controls working (using the oscx dlls from the extended package).Ideally I would like to get 0.40.3 working with midi, but another option would be getting the OSC controls working in 0.42.0test5. I know could downgrade back to .39.3, but I would like to do that only as a last resort.
Anyone have any thoughts?
Thanks,
AltReality -
altreality
Hi All,
So I have a joystick hooked up and working....when I press a button, it sends a bang...and when I release the button, it sends another one.How can I route these events to seperate objects?
For every press, there is a release...so they are ALWAYS in pairs..I was thinking of using the first bang to set a counter, and the second one to unset it...but that doesn't really work.
There is another number object that is 1 when a button is pressed, and 0 when not pressed...I think this would be useful, but not sure how.
Any thoughts?
Thanks,
AltReality -
altreality
Hi all..
I'm trying to read joystick data into puredata, (on a windows system)...
The first method I've seen to do this is using gripd, but it seems kinda klunky since I really don't need the visual interface portion of it.So I have a PS2 controller hooked up through USB...and I'm reading all buttons properly...even converting the 65535 range of the sticks down to 127 for midi....
Problem is...I can't get GripD to read the hat movement. (the directional control pad)It looks like gripd only reads axis and buttons...but the documentation isn't great.
Anyone have any info on how to get it to read the d-pad? or better yet, a better joystick option that works in Windows?Thanks,
AltReality -
altreality
Hi All,
PD Noob here, but really enjoying playing with it so far.
The overall goal for my first project is to be able to convert playstation 2 controller signals into midi..to control Ableton Live. I have the controller hooked up...receiving signals using gripd, and I will look into outputting midi afterwhile...but something I'm trying to do now is learn the array/graph functions.I have the joystick axis' going to number objects, and I would like to display them real time in a box...array seems to only be for linear data and not point data. I can't figure out how to send an X and Y coordinate to a graph or something.
example....
[; array1 X 50] [; array1 Y 50]
array1
_____________
| |
| |
| |
| X |
| |
| |
|_____________|Any thoughts?
Any thoughts on where I can get some more thorough instruction on the graph, canvas, and array objects? (the reference help objects don't seem complete)...Thanks in advance!
AltReality -
altreality
I appreciate your answer
I'll give that a shot....someone said something about MrPeach OSC objects.
I wonder why the oscx objects are still packaged in pd-extended though.
Thanks for your response.
-AltReality
-
altreality
20 views and no guesses?
Not much help other than "downgrade" on the IRC channel either -
altreality
I have almost the same problem...upgraded to 0.40.3-extended-20080721 and now it won't send out midi. It seems to be sending data to the [ctlout] objects, but nothing flows through to the midi app (through midi yoke)
Any thoughts?
-AltReality
-
altreality
Does anyone know why an object that sends keystrokes isn't possible?
I would think it would be pretty easy to code a [keyout] object...for someone with a little skill. (ie..not myself..I'm new at this whole pd thing)-AltReality
-
altreality
aahh..I was forgetting the [== 0] outputting a 1..that's what I couldn't get.
Thanks for the explanation...
So any thoughts on the second part though? I really really think there's a more elegant way to do it....I'm just not well-versed enough in the program to figure it outThanks,
AltReality -
altreality
Thanks for the quick responses all!...
So Domien, yours works perfectly...but I wonder if you could explain the center part to me..I'm having trouble wrapping my brain around it.[F 0]X[==0]
|
[sel 0 1] (It works, but I don't understand why)Secondly...
How can I adapt this to this scenerio..
[0\ (This is hooked to a button...it sets a number, and bangs twice..once for pressed, once for released)
|
[route 1 2 3 4 5] (actually there are 12 potential routes)Each route needs a [pd easyflipflop] but the second bang on each one I want to do the exact same thing....
It seems wrong to put 12 subpatches in here...Does that make sense?
Do any of you ever visit the IRC channel? I think live chat might be an easier way to explain it.
Here's my patch if you are interested...it should work with any joystick in Windows.
Thankshttp://www.pdpatchrepo.info/hurleur/joystickmapmidicontrol.pd
-
altreality
Hi Again..
Thanks Shankar for the patch....it works much better than filtering it through gripd....however it still doesn't read the "hat".
I am attaching the flatspace pd file I was talking about earlier....maybe it will trigger a memory or something.Let me know if you know where I can get the joystick file to match this patch..
Thanks!
-AltReality -
altreality
@petal said:
There is a [joystick]-object out there that I use to tap data from a Logiteck Gampad Rumblepack2 (USB) and it works flawlessly.
I'm not home at the moment, so I can't help you more than telling you that there is an object out there that does what you need (I think).
Cheers
ThomasAnd you do this on Windows?
I've installed PD extended, and it even has a help file on the joystick object ( in section 5.Reference/Flatspace/joystick-help.pd ) but even in the reference page the joystick object isn't complete...like the object doesn't actually exist.I can see on that help page that the joystick object even registers the hat control!
I would love to get it working on Windows if it's compatible.godinpants: ...I actually thought about that..but would really like to do it in PD if I can. Thanks for the reply though..I really appreciate it!
Thanks guys!
-AltReality -
altreality
Noone knows anything about using a Joystick with Windows?
Anyone have any recommendations of other software that allows you to map a joystick to different midi controllers?-AltReality
-
altreality
Thanks for the explanations guys!
ok..so then what message do I use to change the vert numbering from -1 through 1 to something more like 0 through 500 ?
Is there something I should be using other than a table? I mean..I'm not trying to view a waveform with this, I need a simple X/Y coordinate system. ?
Thanks for helping everyone!
AltReality -
altreality
I don't quite understand...
What do you mean y-value? why are you not saying y-position?When I set an array...I get a bunch of options that I don't see documented anywhere..
Save Contents
draw as points
polygon
bezier curve
in new graph
in last graphsecondly I don't really understand the canvas properties...
why is 0 running down the middle? how can I make 0 run along the bottom?so many questions
Thanks for your help!
AltReality -
altreality
I have looked at both of those options, but they don't seem complete...is that all there is to the array objects?
Is there any way to do what I was talking about with plotting a single point on the array? (or graph?)
Where is the information regarding graphs?