Leap Motion example using Cinder and c++ audio

This is a prototype from October – just getting around to posting it.

The hand position (x,y,z) is sensed by LeapMotion to control parameters of an FM synth with feedback delay written in Cinder audio (c++). The graphics were adapted from a Cinder LeapMotion demo.

Local source is in: cinder/cinder_dev/blocks/Cinder-LeapSdk/samples/LeapApp/xcode/LeapAppTZ2.xcodeproj

Uses cinder Leap demo code combined with simple audio synthesis using callbacks in c++

 

 

RTTY encoding and decoding in Max

notes

Today I was able to get an AFSK (audio frequency shift keying) system running in Max – sort of – It encodes text into ASCII bits and decodes the signal back into text – with a clock set at around 30ms (32 bits/second) – but there is no clock synchronization yet. Or stop bits, etc., The patch just uses the transmitter clock to sync the receiver (cheating)

Listen to an example of the word ‘hello’ at 32 bits/sec

local file is in max teaching examples/rtty-sim5.maxpat

Next step will be to get receiver sync happening – then make it conform to RTTY standard – probably a few days effort for this, but at least this is a proof of concept.

The synchronization may need to happen at the sample level (gen~) because it requires finding the beginning and end of bits – in order to set the clock pulses accurately.

 

Crash report

How to find a Mac OS crash report for Max

By Sam at Cycling 74

“You just need to open Console, disclose ~/Library/Logs, disclose DiagnosticReports, right click on the crash report from Max and click Reveal in Finder.”

Screen Shot 2014-06-22 at 12.31.47 PM

Osc-ruby wildcard matching

notes

The method for wildcard matching of address patterns in the osc-ruby gem has changed with upgrades to ruby 2.x

This broke the Web Audio Playground project where OSC messages get passed from Max  via Ruby via web sockets to the Web Browser.

You can use nil now for wildcard address pattern matching:

@osc_server.add_method nil do | message |

This matches every OSC message.

For more information the Web Audio Playground project, see this post: https://reactivemusic.net/?p=6193

 

 

 

The Desert project

Underwater network protocols.

By Nautilus at The Italian Institute of Technology

DESERT Underwater is an NS-Miracle extension to DEsign, Simulate, Emulate and Realize Test-beds for Underwater network protocols

http://nautilus.dei.unipd.it/desert-underwater

(update) Have installed Desert and underling ns2, ns-miracle, and WOSS – into a VirtualBox instance in MacOS – Was able to install and run basic simulation tests but I haven’t a clue what the data actually means.