Friday, 6 September 2013

Skeleton Music - Music with the Kinect

I have started messing about with the Kinect again. Finally! Mr Randall, our head honcho at North 51 kindly supplied us with a company unit so we can begin messing about with it.

I am hoping that once the holiday period dies down we can begin to really start thinking about genuine applications.

At the moment it's just a case of reminding myself of the mechanics of how it works. I thought I would once again take one of the examples that comes with the SDK and just toy with it.

I fancied a little peek at NAudio (I have been watching an Audio course on Pluralsight) so I got NAudio back out again.

The project is to create a music generator based on the location of the hands according to the kinect sensor. It also changes amplitude depending on your distance from the device.

I reallly like the way you can get a hold of the location points of the skeleton with the Kinect SDK. Once you have the skeleton getting the hands is as simple as             

var leftHand = skel.Joints[JointType.HandLeft];
var rightHand = skel.Joints[JointType.HandRight];

Anyway, take a look at the code, it's in GitHub

The code is far from fantastic but it's just a scratchpad of fiendery (as are all my Github projects, my nice projects are private on BitBucket... I don't do things for free, I have a family to feed!).

Google Checkout being decommissioned

I have an email to let me know Google Checkout will be closing on the 20th of November.

I thought they had a good service and it was certainly nicer to deal with then the complete jokes that are World Pay and Sage Pay.

Then again, can you imagine if you had just forked out to develop Google Checkout integration. You could be losing several thousand pounds.

It really makes me think that you shouldn't rely on any Google Service. You would probably better dealing with a company that provides the service you want as their bread and butter. Its also a nice reminder yo make sure that code you write to access a service should abstract the implementation away nicely as you can't be guaranteed a service will last forever.

Mind control technology

Written on Sat but posted a week later

A quick note that has just really annoyed me. You can't use the bloggfer app offline. It see,ms a pity considering you could stack up some posts whilst waiting for a train and then post when you have a connection again. Never mind. I suppose that's where ever note comes in.

I have just been reading engadgets latest emagazine on my nexus whilst waiting to go to karate in Loughborough. I spotted a wirite up about the news in the week about the experiment in remote mind control.

Two people where able to share muscle movements over the internet. I can't believe we have finally got there. At the moment as far as I can tell its using some type of advanced eeg device that not only reads but outputs as well using electrical signals a long the scalp.

This is an exciting time. With further advancements so much is possible. Is this the start of cybernetic telepathy. With a small plugin or hat perhaps or perhaps surgical implants on the scalp people could be communicating with each other wirelessly without using a specific device. The new craze, instead of the latest phone could be cool new implants or learning apps that stimulated muscle memory to learn new skills. Imagine buying a pro footballer app or a black belt in karate app, you run the programme and it creates the muscle memory in order to fight. Very matrix like.

Physiotherapists could assist in patient recovery by guiding people in exercise, in fact a single physio could create a group execricse with their signals being broadcast to multiple patients at the same time. Patients could wear heart rate monitors and other remote diagnosis devices that feed their condition back to a display so their health could be monitored during gentle exercise.

Perhaps in the future we will be able to transfer learning to each other or store documents and information directly in our brains.

Obviously there's a darker side to everything as well, a black market could appear of illegal programs with illicit content, data theft could involve hacking peoples brains and government surveillance could be taken to new levels. The other worry that is a little more closer to the research is someone intercepting the packages for human motor control and modifying them. What if a pilot was hooked up in case flight assistance was needed and these signals were intercepted. What if we came to rely on these signals and the signal was suddenly turned off.

Exciting and scary at the same time. As always, its a brave new world!

Tuesday, 3 September 2013

The science of sample rates

I am watching a pluralsight cause at the moment by Mark Heath called Digital Audio Fundamentals. An interesting course. He linked to the above article when talking about sample rates and it made for an interesting read.

Comments System

Disqus Shortname