Closed linzuzeng closed 4 years ago
We should allow users to set their own SYNC rate.
aligning the syncs would be a great feature anyways. One file needs to be the master, other files internal time needs to be streched to match the master-sync. This becomes useful when the hardware has no external clock input to do it in internally (qutag and swabian have external clock input).
The current implementation in master is that if multiple T3 mode file are used, they will both starts at time 0. If the SYNC rates are the same , they are synced without extra efforts. If the SYNC are different, the find Last-sync will find SYNC from the first defined rfile (master).
If T3 and T2 are mixed, it should work similarly without extra configurations. Things get a little bit complicated if T2 doesn't start at 0 while T3 does. In order to mix them properly, you will need to manually modify the Clip object and add a negative value to global time shift (global means apply to all chns within the same source)
We need to put this in the documentation.
tested working. reopen if we find other issues.
Maybe it should take the SYNC from the first timetag file as reference.