fix bug where everything is a rest; extract OSC to its own wrapper project