What the bloody hell is OSC? (Open Sound Control)


OSC – Open Sound Control.

What the hell is this I hear you cry? OSC is becoming used more and more. VJ’s DJ’s and AV interactive peoples (and everything in between!) are starting to use it. It’s not very clear what it is and how it all works. I found it complicated when I first discovered it. So, this is NOT a how to get OSC working with software A or B just a general overview of what it is and how it works – hopefully in a friendly delivery.

Screen Shot 2015-05-28 at 09.49.28

OSC BASICS.

In it’s simplest form, is a protocol which sends numbers from one location to another.

OSC uses an IP address (Internet Protocol address) which means it has to know the address of the computer it is sending to. So, You can think of an IP address as a street name.

So let’s take a theoretical IP address:

90.44.129.91

We can think of 90.44.129.91 as a street name such as “Victoria Lane”. But Victoria Lane could have thousands of houses on it or a big block of flats, etc. So we need a house number.

After an IP address you generally have a port. A common one is:

9001

Therefore now the address is 90.44.129.91:9001 (note the : its not a . after the 91)

So now we have Victoria Lane, house number 9001.

But perhaps you want to know what room in the house you need? In OSC this is called a channel. Channels range from 1-999

So lets say we want OSC channel 4. Now our address is: Victoria Lane, house number 9001, room 4. Or in OSC talk 90.44.129.91:9001 channel 4.

However…

Computer’s change the IP address every time they start a new network, shut down and re-open, etc. This is a way of safe guarding your machine from attacks and hacks.

How do you find your IP address?

Google: “how to find your mac IP address” it will show you at the top. This is the same for Mac and Windows.

Screen Shot 2015-05-28 at 09.26.10

Static IP
You can however create a static IP address. This is fixed and will never change.

Static IP is generally better for performances as the numbers never change and you are in control. Downside is when you create a static IP you can not connect to the Internet like normal. You are basically creating a Local Area Network. (there are ways but I don’t want to complicate things).

How do you create a static IP?

http://www.macinstruct.com/node/550

Localhost

This can be confusing. Local host is always 99% of the time 127.0.0.1 think of this as a home/default IP.

It’s almost like a feedback loop. It’s hard to explain but you can find out more here:

http://www.tech-faq.com/127-0-0-1.html

In’s and Out’s.

The ‘house number’ that we chose earlier is an IN; we chose 9001. But if we want data to be sent back we need and OUT and we can’t go IN an OUT door. They have to be different.

So the OUT port would need to be a number close to 9001. Maybe 9002 or 9005 (anything really).

WHY DO WE NEED AND IN AND OUT?

Say we press a button a TouchOSC app on your iPad. The signal is as follows:

Press button: sends value OUT to 90.44.129.91:9001 on channel 4. Software receives this Value and ch 4 is mapped to a button : the button turns on an effect.

Most apps like OSC will automatically light up and change depending on if the toggle is momentary or toggle.

But if you changed the button on the software using your mouse or QWERTY keyboard you want the iPad app to update so it says in sync. So you can tell 90.44.129.91:9001 on channel 4 to send a message ‘light on’ (or change state – basically replicate a button press)…. but it has to be on a different port.

This is often the case with VJ/DJ’s who have multiple controllers and wanting all the hardware and software to change and keep updated. Such as Touch OSC.

Packets and Strings.

OSC can send either a long string of numbers constantly. Like water pouring down a stream. It has no start and stop and everything travels in one long line.

OSC packets are small chunks of data bundled up in packets/parcels. This is like collecting water from a pond up stream in a big glass, carrying it downstream and then pouring it back out. [excuse the really random story telling – I don’t know where I get these ideas from! lol].

This is only a very simple explanation and the advanced users reading this will be laughing but in a VERY basic format this is all you need to know for now.

Summary.

Without confusing you, or incase you don’t know it OSC is similar to MIDI/DMX. The values range from 0.0-1.0 and send the data very quickly over WIFI or down cables.

You can read more here:

https://www.wikiwand.com/en/Open_Sound_Control 

http://opensoundcontrol.org/introduction-osc 

http://troikatronix.com/support/kb/using-touchosc-with-isadora/

I hope this helps some of you.

Thanks,

skulpture 

How to: Send virtual MIDI from Isadora to Ableton Live.


A short tutorial about how to send Virtual MIDI from Isadora to Ableton. I have used Live 9 but it will work the same in 8 and 7 i’m sure.

You may need to pause the video as it’s pretty short but I believe it will help.

Please note: If you wanted to add a second control then you need to change ONLY the controller number in the Send Control actor.

You can also replace the Send Control actor with a Send Note if that’s any easier.

Any questions then comments below 🙂

Enjoy.

Leap Motion


I like my gadgets. I am admittedly a bit of a gadget freak… but I don’t often actually buy them. Normally because they are expensive and I know deep down I won’t use them as much as my mind believes I will. But the Leap Motion is different.

The Leap Motion is a USB powered hand/finger tracking device. Think of it as an xbox kinect for the hands perhaps? It’s made for Mac and Windows too which is great.

The into video explains the basics very well…

I have bought one (second hand off eBay for £40 I might add) to use at work and at home. I have a few ideas for it and if nothing else will be a handy (pun-intended) gadget on my office desk – it’s already plugged in actually. It’s small sleak and sits flush to my MacBook Pro. It’s a shame it’s not wireless as it takes up a USB plug but I have a powered hub on my desk.

How am I going to use it? To be honest I have no concrete ideas. There are a few Isadora users who have made a few OSC/MIDI related actors to control Isadora scenes which I am going to look at and I am sure I can find a few uses in that area. I also like the idea of using it for generate/live painting in a VJ context. Will I look an idiot waving my hand around at a gig to make stuff appear on the screen? – probably! Do I care?…. probably! But we shall see.

I also want to see if it can be used in a commercial sense. At the museum and art gallery where I work we have interactives for visitors but people, for some reason, LOVE to hack, break, pull, snap, spill drinks, etc, etc on keyboards, mouses, touch screens, etc. Now this can’t be helped all the time of course, but there is a tiny percentage who do it on purpose, I’ve seen them! Maybe a Leap Motion placed under some perspex (military grade?) could replace the keyboard and mouse idea? Problem is the learning curve! How will people know how to move their hands or even to put their hands above the device? Similar to the Kinect sensor it’s not a recognised Human Input Device (HID)

So – I will keep you posted. Minority report… Yeah! Let’s do it!

Do you own one? Let me know how you are using it. I wanna know… Let’s talk!

Z Vector by Delicode.


The guys at Delicode have teased us with a brand new software called Z Vector.

It was code named “The V” for a month or two but now it has a fancy new website and demo video from a band called Phantom and their official music video Scars.

 

Delicode are the driving force behind NI Mate and Kinect Stories. This third product is sure to blow the socks off any artist, VJ or individual who has the taste for live visuals and kinect style motion sensing trickery. With an already heavy hitting feature list I am sure this will be lots of fun!

I was lucky enough to see a demo of this when I met up with CEO of Delicode Julius Tuomisto in Helisnki for the LUX festival. Being able to single someone out in a crowd and then create visuas from them is awsome; podium dancers will be a brilliant addition to this software let me tell you!

I think people are going to love playing around with the editable GLSL shader editor; I seen it very briefly in january and it was a pop up window that looked a bit like processing.

I need to learn some GLSL coding I imagine. I also like the idea of Syphoning (is that even a word?) the results out into another software to add more layers, mix, map and play around with. Wow… can’t wait.

Features include:

  • real-time depth camera based 3D scanning and mixing
  • multiple virtual camera and tracking modes
  • multiple drawing modes (vectors, polygons, etc.)
  • full sound and MIDI clock synchronization
  • animatable GLSL shaders with editor
  • full support for Windows / Mac OS X
  • fully scalable output resolution
  • stereo rendering (side-by-side, anaglyphic)
  • GPU acceleration
  • MIDI/OSC control
  • Syphon support (Mac OS X)

Isadora & Ableton Live Virtual MIDI [part 2]


This is very similar to my previous video about Isadora and Ableton Live (part 1). But rather than using MIDI notes (triggers) I have used MIDI automation data.

Needless to say you can have multiple clips sending out multiple data feeds. Possibilities are endless really.

The above method is really good for syncing effects with Abelton and Isadora in a VJ or AV performance.

Any questions or comments… post below.

 

Thanks,

Graham

Isadora & Ableton with Virtual MIDI [part 1]


As the title says. How to send note values from Ableton to Isadora (works both ways actually)

Video quality isn’t amazing but hopefully its clear enough to see the work flow.

You can also send controller values not just notes.

Any questions ask away….

MIDI Show Control & Isadora (Mac&Win)


It’s something I have never had to use BUT I know this is going to please a lot of people.

MIDI Show Control communication in Isadora for Mac and Windows machines.

It’s a special little extra made by Mark Coniglio, it’s a quick little manual install and then you’re away! (They go in /Library/Application Support/TroikaTronix/Isadora Plugins or c:\program files (x86)\isadora\isadora plugins)

Please Note: These are experimental and very much a beta item. It is not a full exclusive list and there may be problems. Back up your files and don’t install them an hour before a big performance!

Control’s (so far) include:

01 GO
02 STOP
03 RESUME
04 TIMED_GO
05 LOAD
06 SET
07 FIRE
08 ALL_OFF
09 RESTORE
0A RESET
0B GO_OFF
10 GO/JAM_CLOCK
11 STANDBY_+
12 STANDBY_- 
13 SEQUENCE_+
14 SEQUENCE_-
15 START_CLOCK
16 STOP_CLOCK
17 ZERO_CLOCK
18 SET_CLOCK
19 MTC_CHASE_ON
1A MTC_CHASE_OFF
1B OPEN_CUE_LIST
1C CLOSE_CUE_LIST
1D OPEN_CUE_PATH

Why not head over to the forum, join in the conversation and download them now.