[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Date Index][Thread Index][Author Index]

RE: delayed meetings (was: OT: ethernet guitars)



Thank you Tim!

>  > But how do you detect the correct delay correction
>>  since the delay over the net is not constant?
>
>It's not delay correction as much as re-sychronization.
>The information sent across the wire is time-tagged data
>in the time-frame of the sender.  The receiver takes this,
>adds an amount of time that is (in normal situations)
>greater than the greatest possible network delay, and then
>re-synchronizes the start time of the phrase to the
>clock of the receiver.  One key to making this work with a minimum
>of total delay is to process the data in small chunks (say, one or
>two beats).  You need to be reading MIDI input, playing MIDI output,
>reading TCP/IP input, and writing TCP/IP output, all in parallel.
>Some languages make that easier than others :-).

so this could not be easily adapted to a continuous audio stream, could it?

-- 


          ---> http://Matthias.Grob.org