ipad osc qc controller

dust's picture

here is an app... i think people might want to use with their ipad. at least i have been making some use with it. its just a simple multi-touch accelerometer osc controller. there doesn't seem to be one available for download yet. so i made one... i'm thinking about going open source with it. i would love to publish it just like it is so i can use it and or download it.

it just sucks that you pay for a developer account you build a bunch of apps for personal use and once your provisioning profile dies a year later you can't run any of the apps that you made and payed to be able to build. so now knowing this i want to deploy my iPad apps so i can use them myself. the problem is that most of my apps are only useful to my projects. anybody have any thoughts on this subject.

http://pelican.asap.um.maine.edu/~oconnordw/vid/padQC.mov

here is an app running on the table.

http://pelican.asap.um.maine.edu/~oconnordw/vid/cardFlip.mov

i have some other ipad apps that work with qc but can't really show at the moment... but if you will be at the mapping festival in geneva next week you can see an early beta of a native ipad vj app i made the other day.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

dust's picture
Re: ipad osc qc controller

here is a link to src...

you should try this in the ipad simulator. it feels like the simulator is velocity sensitive. you can track the teapot around but if you push harder you can throw it around with inertia.

http://kineme.net/composition/dust/iPad2QCOSCMultiTouchAccelerometer

dust's picture
Re: ipad osc qc controller

here is a link to the multi-touch card deck in the video above. you can play with the mouse if you don't have a TUIO table. triple touch flip if using mouse is option command and rotate zoom card is option mouse move.

PreviewAttachmentSize
UNICard.zip9.17 MB
dex.qtz3.77 MB
cards.zip417.94 KB

usefuldesign.au's picture
Re: ipad osc qc controller

The app store controversy will never go away as long as it is the exclusive way to deliver content to these devices. Is it possible to sell an application on the appStore for say $10 and then unlock the (multimedia) content via a key mechanism which is sold to customers through some other means to avoid Apple taking 30% (or whatever it is) on the content, which they play no part in developing at all so why they should be able to restrict it's deployment to a method which they profit from I don't understand.

Or some kind of automatic application upgrade going only to clients who have subscribed elsewhere for the content then getting a big download of media assets. I'm not thinking of mass market type content here... would this conflict with Apples T&C?

Can't wait to get my hands on an iPad btw, we don't have them until end of the month at earliest, :)

usefuldesign.au's picture
Re: ipad osc qc controller

I guess Keynote for iPad can open a .keynote file from an email so perhaps it is possible to implement this process for a developers app on iPad.

dust's picture
Re: ipad osc qc controller

thats an interesting idea to have some sort of alternate delivery mechanism for content outside the realm of apple but still keeping your app legal.

i'm not gripping to much as it seems apple has created lots of opportunities for developers with its app store. and obviously has been a great business move for them. i just think it should be free to be a build on a your device if you want to sell then you have to pay.

i know with my ipod i was able to hack and self sign so maybe with the ipad soon i can do this to build personal stuff.

the ipad really is an amazing device though its still not a laptop. if i wasn't interested in developing and was just a regular computer user i think that device is all you need to surf the web check email watch movies etc..

yeah i guess there is world wide shortage or they didn't make enough devices as the store's are sold out in my area as well...

dust's picture
Re: ipad osc qc controller

actually keynote is pretty cool on the pad. i have been using the UIScreen methods that keynote uses to project which works really cool has some neat transitions etc... still the device doesn't or isn't really ready to screen mirror and do those kind of effects with video although i have found some temporary workarounds.

usefuldesign.au's picture
Re: ipad osc qc controller

Yeah tooling up is expensive so you only tool up to handle projected demand — not handle peak demand with ease, especially on a very new device. I guess I sounded like I was gripping about the app store, in general I've been ambivalent to developers criticisms but I'm starting to see the point, if a device become ubiquitous (or even if it isn't) how much can the maker prohibit fair use of said tech.

Apple deserves all the success it has had with iPhone and iPad, obviously, but there are some subtle fair-use issues to work through. I guess at first everybody was screaming that developers weren't allowed to develop apps for iPhone, even though it was sooo gonna happen eventually. Hopefully being able to deploy to individual devices will be allow one day without paying the Apple Tax. Hard to see how it can be done without leaving a big internet exploitable loop-hole thru the app Store. Any how I just wanna play with one in my hands.

SteveElbows's picture
Re: ipad osc qc controller

Thanks very much for sharing this - iPad is out in the UK now and I got one a couple of days ago, what a great device it is.

I managed to get your program working on the device today, yay it works, but perhaps there are some bugs. When looking at the example composition, it seems like the x & y values for the 2nd->5th touches are resetting to zero if I stop moving the finger that is the first touch? And it seems like data is being sent continually from the app?

Im not much good with C so I havent tried to fix these issues yet, currently got distracted by someones attempt to do the same sort of thing for the iphone but just using the safari browser on the device and python on a local web server!

http://www.pillowsopher.com/blog/?p=79

Putting aside the various iphone osc apps that dont do multi-finger tracking within one area, I suspect both MSA remote and OSCemote would be suitable for doing the same sort of thing as you are doing with your app, if they bring out ipad-optimised versions.

dust's picture
Re: ipad osc qc controller

hey steve check out the repository. i uploaded a new version that should work out better for you. the touch structure is a bit more simplified.

/touch/1,2,3,4,5....etc/ "0" x1 local "1" y1 local "2" x1 previous local "3" y1 previous local

you can uncomment the particle emitters. if you want to visualize the touches on the ipad. they look like [self addChild:emitter z:0]; and are inside the touches moved events method... i commented them out so everything works smoother.

im glad you got to test the last one...

so with this when the touch ends i reset the values to 0,0; now tuio does this as well. and i have mixed feelings as to what would be the best solution. for now i reset but have included the previous touch data that you can just queue up to store the last position.

if your wanting to just have the last location without queueing up the last location in qc. i can make a build special. its not that hard just take out all the touches ended osc stuff.

so yeah i had been using msa remote. i have another controller built in open frameworks based on memo' examples. ofx builds fine to the ipad. here i will attach an OF touch example. you can look at if you prefer the way MSA stuff is done. just put this zip inside your /of/apps/ anywhere.....

so i have ben testing some work flows thats why i have so many osc controllers. i use an osc controller to test frameworks. so far i have found unity3d and cocos2d to be my favorite.

so yeah i guess there was lots of controversy on an ipad osc controller. not sure why memo was given a hard time ? his remote does more than the others. from what i herd apple said that they didn't see a market for an osc multi-touch controller. so he had to market as a dj controller. it doesn't make any since as my daughter loves the splatter paint program, and it seemed gold dust went through which is nifty but if you ask me a splatter paint or osc remote seems more marketable.

just so i don't run into the same problems later this week when i try and upload my osc app.

i made it do this is as well.

http://pelican.asap.um.maine.edu/~oconnordw/vid/mtable.mov

there isn't a midi controller in the app store like this yet...

PreviewAttachmentSize
docutouchXML.zip790.83 KB

SteveElbows's picture
Re: ipad osc qc controller

Ta very much - will give it a try later. The bug I thought I saw was not so much a case of sending 0 when touch had ended - none of the touches had actually ended, I had just stopped moving the position of the first touch, but that touch was still active (I hadnt removed my finger from the screen). And even if I had removed the first finger, the other fingers touch data should still be active, not reset to 0.

As for the problems memo had getting MSA remote approved, I think it was mostly a case of whoever reviewed it at Apple being rather unclear as to what it actually did. Hopefully it wont be an issue anymore but to be sure devs probably do need to go an extra mile to demonstrate functionality.

dust's picture
Re: ipad osc qc controller

yeah the new version won't have any of that touch id switching like the first iteration did. eventually i will get to making it a tuio controller so you can kill all touches inside an iterator instead of hard coding.