Wacom Tablet - Max Msp

Turo's icon

Hello to all!! I have a huge problem and I hope someone can help me! I have Mojave, I am doing a patch in Max Msp where the values ​​of XY and pressure should be detected. I found the object "2sm.wacom" and the DTH 1152 WACOM tablet, but it doesn't seem to work as it should: that is, as soon as I tell the object to read the trace of the pen, this only detects “pressure”, that goes from 0 to 1, while when I tell the object to read the trace of the "Mouse" this only detects the XY and not “pressure”. Is absurd!!!!! I need the ax only in the pen layout !! Plus I found patches that used the "wacom" object, which I can't find this object anywhere! I wonder if someone owns this object and if you perhaps have functionally patches to post to see how to work on that object.

Thanks to alla and I hope to have some answers about it

Here the example patch of objects “2sm.wacom”

Wacom max.maxpat
Max Patch

Roman Thilenius's icon


what happens if you use 2 objects, one for XY and one for Z?

the "wacom" object is 25 years old. actually the wacom was one of the first devices which people used to control music stuff, long before the first midi glove, wii controller and all this kind of stuff were available.

latest mac version should be somewhere here http://cnmat.berkeley.edu/downloads but i think it is long dead.

yesterday i was looking to buy one, but the object situation is not perfect.

Source Audio's icon

wacom.mxo.zip
application/zip 21.26 KB

That's latest external version I have archived, from 2008

wacom.maxhelp
maxhelp 99.71 KB

.
here is source code :

https://github.com/CNMAT/CNMAT-Externs/tree/master/externals/controllers/wacom

Turo's icon

Many thanks for your answers!

ROMANO: I had already tried to search on that site, but I didn't solve my problem. WHAT OBJECTS DO YOU SPEAK TO DETECT XY and Z? You say I can use "pressure" via tablet and xy-z via other objects?

SOURCE AUDIO : I really needed this object, thank you very much !! HOWEVER I HAVE A BIG PROBLEM: WHEN I CLICK ON THE wacom.xmo (external file), as I do with all other externals that I used, THE EXAMPLE PATCH CAN'T FIND "wacom" OBJECT WHEN I OPEN IT, and the console brings me this message: "wacom, 262): no suitable image found. Did find: /Users/federico/Desktop/WACOM MAX/Patch "Wacom" ricevute/WACOM 2008/wacom.mxo/Contents/MacOS/wacom: no matching architecture in universal wrapper"

CAN YOU SOLVE THIS PROBLEM ?? YOU WOULD BE MY SALVATION, I'M LOSING ALL MY HAIR FOR THIS :)

....sorry for my english :(...

Source Audio's icon

You should understand that this old external is 32 bit only.
So - no way it would run on max 8.
You have to use older max version, set to 32 bit.
You could also try to contact maker of that 2sm.wacom for help.
also check this :

https://cycling74.com/forums/to-s2m-wacom-users

P.S. I think Roman suggested that You set 1 instance of the s2m for xy, and another one for pressure or whatever.

Turo's icon

great! you are absolutely right, by downloading max 7.3.5. allows Max to read the object ..
But when I ask for information with the message "getinfo", the console detects this to me: Tablet 1 name: DTH-1152 X dimension: 22319 Y dimension: 12554 Resolution: 2540 Tilt levels: 0. ALRIGHT!.
however, when I push the "poll" message, all the output values ​​remain at 0. Nothing is happening.

Where can the problem of communication with the device be? (Sorry but I recently entered in Max / Msp world and IT in general)...

However, I thought if maybe there any incompatibility with recent drivers (or who knows what else to think) and talking about this directly with an engineer who followed the project, he tells me:
"The use of Wacom has always been a real problem, for as far as I remember. Wacom updates its drivers without any considerations for third party apps. They are just concerned with Adobe and stuff. So having Wacom data to flow in Max has always been tough to maintain and either CNMAT, the s2m guy and me have struggled all the way. I’m pretty sure that none of these objects work properly nowadays. Your best chance to grab Wacom data in Max would be to check the OSCulator app and root the data through OSC."

What do you think?

Source Audio's icon

If You are running mojave there could be problem with
wacom, max 7 or so not having rights to control the system,
I have read some reports about it.
https://www.reddit.com/r/wacom/comments/cbftaz/macos_mojave_wacom_pen_not_working/

I can't help You further, because I don't have any wacom.
Last one I used more than 15 years ago, and than it worked well.

Turo's icon

ok thank you very much for your availability .. now i am traveling, on my return i will take a look .. just in case i will write here and i will let you know..
thanks again!

Turo's icon

Hello!!!
I write to give the solution to the problem: the problem is in the encryption of the data of the coordinates and the xy inclination, from the moment in which the DTH (or DTU etc.) are all tablets specifically designed for the digital signature in a banks (and others) : this implies that the XY and tilt XY coordinates are encrypted and therefore impractical.
I understood it after sending the data via OSC with Osculator, because I had the same coordinate connection problem! In fact, I bought an Intuos with its drivers and it actually worked fine with the "2sm.wacom" object too; however the "wacom" object, although opening the patch with 32 bit Max, is detected but the parameters do not work! ... Experimentation to you ....
So, in summary, if you want to receive the XY coordinates, pay attention to the tablet you are using .. only Bamboo, Intuos and Graphire are fine ... (for what I have been able to experiment). No driver-operating system compatibility issues or other rumors as they say around, only encryption or not by the parent company!
Corrections and updates are welcome.
Enjoy!

Alexandre's icon

Hey There! There is no Wacom max external for max 8 ? EDIT: So i just found s2m.wacom object (there: https://metason.prism.cnrs.fr/Resultats/MaxMSP/) and it's loading in rosetta in max 8 ... but i didn't find any maxhelp file ... anyone have any idea for a maxhelp file?

(this s2m.wacom does not have the same number of outlets than the wacom.mxo object that is not loading "due to incorrect architecture")


Alexandre's icon

Damn, i just realised that there is not device-ID outlet on this s2m.wacom... and i use two pen at the same time (picture in my presentation alexbart.org) ...Nobody knows if there is a way to use the older wacom.mxo on Monterey on macbookpro-M1 ? 🙏

cahen's icon

s2m.wacom and wacomtouch still work perfectly on sonoma on a M1 mac, but only if running max in rosetta mode.

Here is the helpfile s2m.wacom.maxhelp

Max Patch
Copy patch and select New From Clipboard in Max.