Re: [time-nuts] NTP/PTP to SMPTE

2018-07-05 Thread Magnus Danielson
Hi Ryan,

On 07/05/2018 05:22 AM, Ryan Stasel wrote:
> 
> 
>> On Jul 3, 2018, at 9:40 PM, Magnus Danielson  
>> wrote:
>>
>> Hi,
>>
>> On 07/04/2018 05:19 AM, Ryan Stasel wrote:
>>> Hi All,
>>>
>>> I see a couple hits in google for this being discussed before, but they’re 
>>> being shown as not found on febo.com. =/
>>>
>>> I’m curious if anyone has done work on getting something like a raspberry 
>>> pi, Arduino, etc running ntp or ptp (possibly sync’d with a 1PPS signal) 
>>> and outputting SMTPE over audio, or some GPIO pins. I have a studio clock 
>>> (Leitch 5225) that can be sync’d over SMPTE (or EBU). I will admit I’m 
>>> still trying to digest all of this, but this seems like it should be 
>>> possible.
>>>
>>> Basically, I’m trying to make build a DIY master clock similar to one of 
>>> these: https://www.masterclock.com/products/time-code-generators/gps500
>>>
>>> Thanks!
>>
>> OK, it is not too hard to code it up. I did it for IRIG-B, and it's
>> possible to do for SMPTE 12M LTC code too. Validating it is however
>> something that needs care.
> 
> Hi Magnus, 
> 
> Cool. Do you have any example code for IRIG-B you could share? I’m not 
> looking for extremely high level precision since the clock only displays to 
> the second. Just enough to keep from having to reset the clock as it drifts 
> (right now it’s referenced off line frequency, which is “okay” but will drift 
> over the days/weeks/months… not to mention it’s only as accurate as I could 
> set it in the first place. =)
> 
> Thanks! 

I have an unfinished project aimed at Linux here:
https://github.com/sa0mad/irigb

Cheers,
Magnus

___
time-nuts mailing list -- time-nuts@lists.febo.com
To unsubscribe, go to 
http://lists.febo.com/mailman/listinfo/time-nuts_lists.febo.com
and follow the instructions there.


Re: [time-nuts] NTP/PTP to SMPTE

2018-07-04 Thread Ryan Stasel


> On Jul 4, 2018, at 7:19 AM, Chris Caudle  wrote:
> 
> On Tue, July 3, 2018 11:40 pm, Magnus Danielson wrote:
>> OK, it is not too hard to code it up. I did it for IRIG-B, and it's
>> possible to do for SMPTE 12M LTC code too. Validating it is however
>> something that needs care.
> 
> I have used these libraries for generating and synchronizing with SMPTE
> time code stored in video files.  Currently does not have a tool that
> generates timecode continuously based on current time, but if you don't
> mind GPL the basics are known working.
> 
> https://github.com/x42/libltc
> https://github.com/x42/ltc-tools
> 
> The ltcgen tool in ltc-tools might be interesting as an example if nothing
> else.

Hi Chris,

Yes, I did get those working (at least on an ubuntu VM with X11 running). 
Seemed to work pretty well, but as you said, not realtime and not contiguous. 
Obviously directing the output to the audio jack wouldn’t be hard, but seems 
overly brutish (but I should give it a shot). Maybe just a 1s burst every 
minute would be plenty to keep the unit sync’d. Again, it only displays to the 
second, so I’m not looking for high precision from minute to minute, just 
enough to keep it in some form of “lock step” with reality. =)

Thanks! 

-Ryan Stasel
___
time-nuts mailing list -- time-nuts@lists.febo.com
To unsubscribe, go to 
http://lists.febo.com/mailman/listinfo/time-nuts_lists.febo.com
and follow the instructions there.


Re: [time-nuts] NTP/PTP to SMPTE

2018-07-04 Thread Pete Lancashire
I look at all these little projects from two little boards beaglebone black
or the onion 2. I know the beaglebone black is not as cheap but me and how
much is your time worth ? Anyways the clean design one good day. As a home
project easy but as someone else said validation for this guy  200 hours.
With another hundred hours of documentation

On Tue, Jul 3, 2018, 9:41 PM Magnus Danielson 
wrote:

> Hi,
>
> On 07/04/2018 05:19 AM, Ryan Stasel wrote:
> > Hi All,
> >
> > I see a couple hits in google for this being discussed before, but
> they’re being shown as not found on febo.com. =/
> >
> > I’m curious if anyone has done work on getting something like a
> raspberry pi, Arduino, etc running ntp or ptp (possibly sync’d with a 1PPS
> signal) and outputting SMTPE over audio, or some GPIO pins. I have a studio
> clock (Leitch 5225) that can be sync’d over SMPTE (or EBU). I will admit
> I’m still trying to digest all of this, but this seems like it should be
> possible.
> >
> > Basically, I’m trying to make build a DIY master clock similar to one of
> these: https://www.masterclock.com/products/time-code-generators/gps500
> >
> > Thanks!
>
> OK, it is not too hard to code it up. I did it for IRIG-B, and it's
> possible to do for SMPTE 12M LTC code too. Validating it is however
> something that needs care.
>
> Cheers,
> Magnus
>
> ___
> time-nuts mailing list -- time-nuts@lists.febo.com
> To unsubscribe, go to
> http://lists.febo.com/mailman/listinfo/time-nuts_lists.febo.com
> and follow the instructions there.
>
___
time-nuts mailing list -- time-nuts@lists.febo.com
To unsubscribe, go to 
http://lists.febo.com/mailman/listinfo/time-nuts_lists.febo.com
and follow the instructions there.


Re: [time-nuts] NTP/PTP to SMPTE

2018-07-04 Thread Chris Caudle
On Tue, July 3, 2018 11:40 pm, Magnus Danielson wrote:
> OK, it is not too hard to code it up. I did it for IRIG-B, and it's
> possible to do for SMPTE 12M LTC code too. Validating it is however
> something that needs care.

I have used these libraries for generating and synchronizing with SMPTE
time code stored in video files.  Currently does not have a tool that
generates timecode continuously based on current time, but if you don't
mind GPL the basics are known working.

https://github.com/x42/libltc
https://github.com/x42/ltc-tools

The ltcgen tool in ltc-tools might be interesting as an example if nothing
else.

-- 
Chris Caudle



___
time-nuts mailing list -- time-nuts@lists.febo.com
To unsubscribe, go to 
http://lists.febo.com/mailman/listinfo/time-nuts_lists.febo.com
and follow the instructions there.


Re: [time-nuts] NTP/PTP to SMPTE

2018-07-03 Thread Magnus Danielson
Hi,

On 07/04/2018 05:19 AM, Ryan Stasel wrote:
> Hi All,
> 
> I see a couple hits in google for this being discussed before, but they’re 
> being shown as not found on febo.com. =/
> 
> I’m curious if anyone has done work on getting something like a raspberry pi, 
> Arduino, etc running ntp or ptp (possibly sync’d with a 1PPS signal) and 
> outputting SMTPE over audio, or some GPIO pins. I have a studio clock (Leitch 
> 5225) that can be sync’d over SMPTE (or EBU). I will admit I’m still trying 
> to digest all of this, but this seems like it should be possible.
> 
> Basically, I’m trying to make build a DIY master clock similar to one of 
> these: https://www.masterclock.com/products/time-code-generators/gps500
> 
> Thanks!

OK, it is not too hard to code it up. I did it for IRIG-B, and it's
possible to do for SMPTE 12M LTC code too. Validating it is however
something that needs care.

Cheers,
Magnus

___
time-nuts mailing list -- time-nuts@lists.febo.com
To unsubscribe, go to 
http://lists.febo.com/mailman/listinfo/time-nuts_lists.febo.com
and follow the instructions there.


[time-nuts] NTP/PTP to SMPTE

2018-07-03 Thread Ryan Stasel
Hi All,

I see a couple hits in google for this being discussed before, but they’re 
being shown as not found on febo.com. =/

I’m curious if anyone has done work on getting something like a raspberry pi, 
Arduino, etc running ntp or ptp (possibly sync’d with a 1PPS signal) and 
outputting SMTPE over audio, or some GPIO pins. I have a studio clock (Leitch 
5225) that can be sync’d over SMPTE (or EBU). I will admit I’m still trying to 
digest all of this, but this seems like it should be possible.

Basically, I’m trying to make build a DIY master clock similar to one of these: 
https://www.masterclock.com/products/time-code-generators/gps500

Thanks!

-Ryan Stasel
___
time-nuts mailing list -- time-nuts@lists.febo.com
To unsubscribe, go to 
http://lists.febo.com/mailman/listinfo/time-nuts_lists.febo.com
and follow the instructions there.