kottke.org
Car engine simulation
Running in Max. Uses OBD-II automobile diagnostic port.
download
https://github.com/tkzic/automax
Uses ELM 327 OBD-II bluetooth module and a car
issues
There have been connection problems with some ODB sensors. For example, the sensor may pair with the computer, but not send any data. I have found 2 sensors that work – and will be testing a 3rd one.
Algorithmic composition in Max
ep-4xx13 DSP – week 6
Topics: Soundbytes, Prototyping, Ideas
links
- The sound of nothing: David Tinapple: http://vimeo.com/1962465#
- Reactive Music: RJDJ http://youtu.be/_Ss52PH0oEM – quite possibly the worst video ever – or this one: http://youtu.be/vWsc2bwRkI0
- Pd (PureData) http://puredata.info
- rjlib: https://github.com/rjdj/rjlib
- PdParty https://github.com/danomatika/PdParty
- sample scenes? http://puredata.info/docs/workshops/MobileArtAndCodePdOnTheIPhone
- try echelon, eargasm, diving
- makezine artlcle (links are outdated) http://makezine.com/2008/11/03/howto-hacking-rjdj-with-p/
- libpd http://libpd.cc/about/ community http://createdigitalnoise.com/categories/pd-everywhere
- I’m thinking of something http://imthinkingofsomething.com
- AI vs. AI http://youtu.be/WnzlbyTZsQY
Examples
Assignment
Continue working on this assignment from last week.
Extra Credit: Compose an RJDJ scene.
Sound-byte
- The sound-byte is a short audio clip of speech
- Everything in the piece is derived from the sound-byte
- The sound-byte in its original form should occur somewhere in the piece
- Duration: roughly 2-3 minutes?
- Submit a ‘draft’ version for next week – then we will revise over next 2 weeks.
pdlib, csoundapi, openframeworks, coreAudio, Cinder, and Leap Motion
Notes on developing an architecture for Leap Motion ‘Muse’.
- pdlib is the vehicle for the Pd sound engine in RJDJ. It runs Pd patches in iOS and Android – but also has potential in MacOS, Windows, and Linux
- After many frustrating attempts I was able to get only as far as getting a simple pdlib example from Rich Eakin to run in Xcode. Couldn’t get it running under Cinder. The code is a hodgepodge of c, c++, and obj-c so these projects can easily get bogged down in compiler and linker errors.
- I was able to get Chris Adamson’s chapter 8 input/output example running in Mac OS by using updated files from his blog.
- By merging some of Adamson’s and Eakin’s code we got audio output but not input – although I see no reason it couldn’t be done.
- At some point I decided to try openframeworks instead of Cinder. Within about 10 minutes I had ofxPd (Dan Wilcox) addon running input and output in Pd.
- Next I got a leapMotion example running from an ofxLeap archive.
- Today after much confusion, I got the csoundapi~ source code link (its in Csound archive, not in Pd) And then using the Csound.Framework and a few include files, along with great instructions from oxfPd author – got csoundapi~ running in pdlib.
- Next I duplicated the ofxLeap example and tried to add in the ofxPd code. This worked – but the instructions aren’t complete. You need to add the lib folder and the extras folder (which doesn’t add folders ending with tilde when you drag and drop the parent folder) But I have a working example now – The most important thing to remember with the ofx projects is NOT TO LET XCODE UPDATE VALID PROJECT SETTINGS. I’m not sure which setting that ofx doesn’t like – but once you update the settings you are screwed and not even a snapshot restore will fix it.
- The final result is an app which uses leap hand movement to change the pitch of an oscillator in a Pd patch by sending messages via pdlib. The app also uses csoundapi~ external.
- Next project should be to clean up and document the pdlib ofx process and try the whole thing on windows and linux.
Tempest for Chrome
Leap Motion touch emulation document
translating FOV cone to screen
https://developer.leapmotion.com/documentation/Languages/C++/Guides/Leap_Touch_Emulation.html
rjdj Tokyo user group
Dextype for Leap Motion
Gesture based typewriter
http://youtu.be/t5Fg8xrzbvY
Leap Motion hand data
notes
When using the sphere vector, if you make a fist – the sphere Y value goes straight up (as radius decreases) also, x value decreases slightly and z value increases significantly
So its probably better to use palm position as a vector – if you want to detect sphere radius