[PD] Re: [PD-dev] We've got to undo the MIDI revolution! - Where isOSC?!

Martin Peach martinrp at vax2.concordia.ca
Fri Mar 17 17:43:34 CET 2006


cdr wrote:

> imagine for a second you are writing OSC data to a file on disk instead of a UDP socket - when you are reading back later on..timetags would be quite useful. the most basic step of implementing an OSC sequencer (without converting a limited subset of the OSC types to say, pd types, and incurring further precision penalties when writing to disk via [textfile]) would be to store and load OSC from a file, do any apps do this yet?

MIDI files do this using "delta times" which are the number of "ticks" 
since the start of the file. OSC timetags are absolute times in the 
style of the NTP protocol ("The first 32 bits specify the number of 
seconds since midnight on January 1, 1900, and the last 32 bits specify 
fractional parts of a second to a precision of about 200 picoseconds.") 
so you could only ever play your sequence once ;)
Something like a python script could save delta time in milliseconds 
along with each OSC message.

Martin




More information about the Pd-list mailing list