You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As per http://opensoundcontrol.org/node/3/#timetags the TimeTag should be seconds since midnight on January 1, 1900, but OSCBundle is incorrectly sending seconds since Jan 1, 2001.
Quick fix:
NSDate* timestamp = [NSDate date];
NSDate *timeStampAdjusted = [timestamp dateByAddingTimeInterval:3187296000];//Add seconds between 1900 and 2001
[bundle setTimeTag:timeStampAdjusted];
The text was updated successfully, but these errors were encountered:
As per http://opensoundcontrol.org/node/3/#timetags the TimeTag should be seconds since midnight on January 1, 1900, but OSCBundle is incorrectly sending seconds since Jan 1, 2001.
Quick fix:
NSDate* timestamp = [NSDate date];
NSDate *timeStampAdjusted = [timestamp dateByAddingTimeInterval:3187296000];//Add seconds between 1900 and 2001
[bundle setTimeTag:timeStampAdjusted];
The text was updated successfully, but these errors were encountered: