iMovie for the iPod Touch (and iPad and iPhone, etc.) is a truly wonderful product. It doesn’t come pre-installed on these devices — it’s a cheap $4.99 purchase from the App Store — so it’s an app that a lot of iOS device owners may have yet to learn the joys of.
Suffice to say, it’s an elegant, simple app for doing basic video editing: you shoot video on your device (and the iPod Touch has an HD video camera in it that can shoot pretty good video) and then load it into iMovie on the device where you can combine or split clips, add titles and transitions, and upload to any or all of YouTube, Vimeo, Facebook or even CNN.
I shot, edited and uploaded this video of Tim Hortons and this one of the UPEI book scanner entirely on my 4th generation iPod Touch (the book scanner video I shot at UPEI, edited on the bus ride back, and uploaded to YouTube once I got back to the office).
Editing video on a laptop or desktop Mac is still pretty great (and you can do things with the Mac OS iMovie that you can’t do in the iOS version), but to avoid the rigamarole of transferring the video from the device to the desktop, to say nothing of the intuitiveness-bump that being able to touch the video provides, makes iMovie for iOS devices a must-have if you’re going to shoot video on your device.
(All of which makes me wonder: why are Brian Higgins and the other video-journalists carrying around heavy Sony cameras when they could shoot, edit and upload to Compass all from a device they could fit in their pocket?)
Thanks to Adam Ramsay, [[Oliver]] and I learned that Tim Hortons on St. Peters Road was falling to the wrecking ball tonight, so we rished right over with iPod Touch in hand and shot some video. When I got home I bought iMovie for iOS from the App Store ($4.99) and edited together a clip and uploaded it to Vimeo.
The iPod Touch might have a dreadful still camera, but it certainly shoots beautiful video.
Remember that Subversion to Git Cheat Sheet I was setting up on my letterpress last month? Well I finally got around to fine-tuning the printing so it’s nice and even, and I’ve made up packs of various versions that you can buy now as Letterpress Git vs. Subversion Cheat Sheet Variety Packs. Obviously I specialize in the far reaches of the long-tail, in the “people who like analog aids to their digital lifestyle” market. Perhaps that’s you?
I’ve made some updates to the SoundCloud Energy Web App (that’s the actual app to the right; if you’re using Safari or Google Chrome you can press the “play” button to stream music right here).
From the original somewhat primitive version I’ve made the following updates:
- In the original app I wrongly assumed you could treat multiple source elements for an HTML5 audio element as a “playlist.” This isn’t the intended use of multiple sources – it is intended to allow for multiple formats for a single track. To allow for a “playlist”-like functionality of multiple tracks I’ve loaded the SoundCloud tracks into a JavaScript array and written some simply JavaScript code to loop through them.
- I got rid of the default HTML5 audio controls and replaced them with JavaScript-bound “play” and “pause” graphical buttons.
- I removed the wordy explanation of what this actually is and replaced it with a Pachube-generated graph of the last 24 hours of energy interchange.
The updated code is in the github repository for your enjoyment.
Here’s the SoundCloud Energy App, but as a Mobile Safari-optimized web app.
Get it from http://l.ruk.ca/pei-energy on your iPhone or iPod touch (it will also work on an browser capable of player MP3 streams via HTML5 audio element, i.e. Safari but not Firefox).
Right now it’s loading 50 tracks into the <audio> element, but only playing the first one; JavaScript magic coming to make it play onwards.
Source code is here for the checkout on github.
In theory, as these two graphs – wind speed at East Point and North Cape – go up, meaning it’s getting windier:
This graph – the amount of energy that Prince Edward Island is importing over the cable from New Brunswick – should go down:
If you want to try out my New Brunswick to Prince Edward Island energy flow Pachube + SoundCloud mashup and don’t want to fuss around with code, and you have a relatively modern Mac, grab soundcloud-energy, unzip and double-click: a few seconds later your iTunes should open and start playing music reflecting the current energy flow.
It’s all very well and good to be able to visualize the energy flow from New Brunswick to Prince Edward Island, but what if we want more “ambient” feedback? What if we want to feel the energy flow?
Enter Pachube, SoundCloud, and a bit of PHP code to stitch them together. The result: iTunes plays songs with a beats-per-minute reflecting the current energy flow. Watch it in action:
What’s happening here is this:
- The New Brunswick System Operator page is being scraped and converted into a Pachube feed which exposes the data in XML (code here).
- The XML data is grabbed from Pachube and the figure, in megawatts, representing energy flowing from New Brunswick to Prince Edward Island is use to search SoundCloud via its API (code here).
- The tracks returned from SoundCloud are played in iTunes.
The result: you can hear how much energy is flowing over the cable from New Brunswick to Prince Edward Island.
Update: I’ve packaged up the code as a Mac OS X app that you can download and install without the need to fuss with code.
Yesterday I pointed you at the New Brunswick System Operator page that shows real-time information about how much energy Prince Edward Island is pulling from (or sending to) New Brunswick.
While it’s great that this information is made available to the public, when information is locked inside a static web page like this it makes it hard to use it elsewhere, like to make graphs and other visualizations, or to see historical data. Things like this:
To work around this, I wrote some code (available here for you to look at and build upon) that would take that data and make it available in formats that are suitable for reuse elsewhere. Using my code you can get the NBSO data as XML, JSON, or in a format suitable for feeding to Pachube.
Pachube is a sort of clearinghouse for digital data like this, and when you send data to Pachube you have the benefit of being able to use tools that others have built to visualize the data. Like the graph above, which comes, live, from Pachube, so it’s always up to date. Or through widgets like this, also from Pachube:
What this data tells us is how much energy is coming over the cable from New Brunswick to Prince Edward Island. Or, when the wind is blowing and demand here on the Island is low, how much energy we’re sending to New Brunswick.
The “peak demand” for electricity on Prince Edward Island, we learn here from the province, is 220 megawatts. That’s the theoretical maximum amount of energy we’ll all use at any given time. So you can consider the number on the graph and widget above as being, in a sense, “out of 220.” Although obviously it’s not really that, because the peak demand only happens rarely.
Although it doesn’t tell us everything we need to know to built a “smart grid,” this data is likely enough to use as a good starting point. Let’s say you want to do some energy-intensive activity, and you want to have a greater chance that it’s powered by wind energy: just watch the number on Pachube until it turns “negative” – a sign that we’re sending energy to New Brunswick because we have a surplus and are meeting all of PEI’s energy needs from wind – and use that as a trigger.