Archive for the ‘Source Code’ Category

For a couple of audio projects, I needed some nice musical scales, in midi note format (0-127). I couldn’t find a good list online, so had to knock together a quick script to trace some out. Here’s some that I’m using in a current project, and also the AS source to find any other ones [...]

Let me file this post under boring but useful. Recently I worked on a project where I had to validate UK postcodes in flash. The method I used in the end was a regular expression I found, with a bit of formatting logic added. This should work for all UK postcodes. ?View Code ACTIONSCRIPTvar validPostcode:String [...]

This week I saw Flight 404′s “Swarm Behavior” on vimeo – Swarm behavior from flight404 on Vimeo. Yet another awesome video from Robert, using his Cinder framework. Cool! In the description, he mentions the particle’s behavioral rules – 1) If I am far away from my neighbors, move towards them. 2) If I am too [...]

Following on from my first post about my new generative audio project, I’ve been delving deeper into some of the libraries avaliable for Processing. One that sounded really interesting and powerful was OpenCV (Computer Vision). Peter Kirn over at Create Digtal Motion had this to say about it – It’s a relatively easy thing for [...]

The title says it all really. I’ve updated the project page, but I’ll add the info here too incase you’re reading this through an RSS reader. Flash Midi Server v0.1 Lawrie Cape 2010 Download from the Google Projects Page. WHAT IS IT? Flash Midi Server is method for sending MIDI data out of Flash. Using [...]


About this blog

This is the blog of Lawrie Cape, an interactive developer from Leeds, England.

Photostream

  • COne
  • CTwo
  • CThree
  • CFour
  • Lawrie: Hi Dinaz, I'm not sure what's happening on your system I'm afraid. When you run the FlashMidiServer [...]
  • Dinaz Kardooni: Hi, I am having trouble with the Flash Midi Server. I downloaded it and it says it is connected, but [...]
  • It’s Movember again! - The Lawrie Cape Blog: [...] was a great project to work on and I wrote a blog post about it here. We had a nice surprise t [...]
  • Lawrie: Glad you got it working :) [...]
  • Anonymous: Yeah, had to do this first: var mc:MovieClip = MovieClip(this.parent); trace(map(mc.mouseY, 0, s [...]

Donate

Found any helpful code? Why not donate a quid or two. Cheers!