
Spinning vinyl ipod app
6 months ago
A quick app I put together this morning as a response to Todd Vanderlin's AR scratching ( vimeo.com/4312616 ). The app uses the accelerometer of the ipod touch to control the speed of a 'vinyl record' on the ipod screen. Slowing down the record and speeding it up is just a matter of controlling how fast you spin the device.
Next up scratching!
Track is Full Clip by Gang Starr.
Project page: fffff.at/spinning-vinyl-ipod-app/
Note:
It only really works on the ipod touch 2nd gen as the case design is perfect for spinning on smooth surfaces. Might have to make a little spinning attachment for all the other ipod/iphone djs :)
Thanks to Zach Gage's excellent ofxALSoundPlayer class! And also Memo of MSA Visuals for the accelerometer addon which I am using quite heavily!
Next up scratching!
Track is Full Clip by Gang Starr.
Project page: fffff.at/spinning-vinyl-ipod-app/
Note:
It only really works on the ipod touch 2nd gen as the case design is perfect for spinning on smooth surfaces. Might have to make a little spinning attachment for all the other ipod/iphone djs :)
Thanks to Zach Gage's excellent ofxALSoundPlayer class! And also Memo of MSA Visuals for the accelerometer addon which I am using quite heavily!
-
Vimeo: About / Blog / Developers / Jobs / Community Guidelines / Community Forums / Help Center / Site Map / Merchandise
/ Get Vimeo

Previous Week
detecting clockwise v anti-clockwise could be quite tricky without any other help, cos the point about which the device is spinning is probably gonna vary randomly. What might work, is if you pivot one end of the device before spinning (i.e. hold it down with your finger) and then swing the other end around. Then you can check the x component of acceleration to determine the direction. I.e. if you're pivoting the top of the iphone, and swing the tail round (i.e. if accel.y < 0), then you can check x component: if (accel.x > 0) its clockwise; else ccw;
if you're pivoting the bottom of the iphone and swing the top around (i.e. if accel.y>0) then you can check if (accel.x < 0) its ccw; else cw.
once the iphone has started spinning you can save the direction until accel.y drops below a threshold (i.e. stops or changes direction) so it's safe to let go of the pivot (I think).
The pivot method might work quite well when scratching.
I have no idea if this will work btw, just thought of it and haven't tried it. If it does work, and you can scratch, I want a copy! :P
I will try your method out though.
The other option is just to fake it and make a forward / reverse double tap option.
yea try the end pivot thing. i wrote that just before I went to bed, and ended up having dr-dr-waka-waka-reams about it! \m/
if you slow it down, your fingers move a little across the screen, an by that way, the phone/itouch can determinewhat way the thing is spinning.
but it would require a little more practice to operate the app, because you have to think of the touchscreen input, that it doesnt do anything you dont want it to do
though the above app is all legit :)
amazing how fast ideas evolve.
would love to have this app on my iphone.
Can you use any song on your ipod?
This reminds me of WarioWare Twisted, which used the accelerometer in the same way (except the gameboy didn't spin nearly as well as the smooth ipod back.)
Scratching the back case? probably... It's bound to happen anyway.
Well done, anyway.
big l rest in peace
Theo did you manage to hack in setting track position? or did you figure out some other crazy way to do make it work?
no not yet - I think I will need to though to do proper scratching. I tried doing it just with pitch but it didn't sound right. Don't know how I posted to the wrong thread btw - I was wondering where my post went.
Is this app up on App Store yet?