Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LTC SMPTE: NTP Client: Status LOCKED is not shown #296

Closed
vanvught opened this issue Dec 28, 2024 · 22 comments
Closed

LTC SMPTE: NTP Client: Status LOCKED is not shown #296

vanvught opened this issue Dec 28, 2024 · 22 comments

Comments

@vanvught
Copy link
Owner

Follow-up for #292

I do not see if and when the locked state is reached.

Also #294

With this new version, I see the message 'No NTP Client' on the display. Previously, I could see the IP address, which was much more useful.

@vanvught
Copy link
Owner Author

vanvught commented Dec 30, 2024

All, are we close to the perfect firmware?

Groeten, Arjan

orangepi_zero.uImage.gz - see #296 (comment)

@rbarreiros @hippyau @dirkdamerau @kyleawayan @joakyhsf69

IMG_0617
IMG_0618

@joakyhsf69
Copy link

I'm sorry to say this, but with this new firmware, both source=systime and source=internal are still jittery; in fact, it's now more noticeable, and the jumps can clearly be seen on the MA3 clock. What's worse is that source=ltc doesn't output via MIDI, RTP, or DIN at all—only through Artnet.

@vanvught
Copy link
Owner Author

@joakyhsf69

both source=systime and source=internal are still jittery; in fact, it's now more noticeable, and the jumps can clearly be seen on the MA3 clock.

Please check a new Wireshark capture; there is perfect RTP MIDI output.

What's worse is that source=ltc doesn't output via MIDI, RTP, or DIN at all—only through Artnet.

It's working fine for me. There is output, perfect output.

@rbarreiros @hippyau @dirkdamerau @kyleawayan

@vanvught
Copy link
Owner Author

See Wireshark below. Perfect RTP in sync with Art-Net

Scherm­afbeelding 2024-12-30 om 17 48 34

@rbarreiros @hippyau @dirkdamerau @kyleawayan @joakyhsf69

@vanvught
Copy link
Owner Author

It's working fine for me. There is output, perfect output.

Perfect output but 00:00:00:00 only. Fixed in attached firmware.

See also attached a screen capture for MIDI-OX. It's a perfect clock.

Naamloos.mov

@rbarreiros @hippyau @dirkdamerau @kyleawayan @joakyhsf69

orangepi_zero.uImage.gz

@joakyhsf69
Copy link

joakyhsf69 commented Dec 30, 2024

I'm sorry, but something must have changed because, with my hardware, it doesn't send timecode through MIDI if the source is LTC or rtpMIDI. It receives packets, but the clock doesn't run. This happens to me with MIDI-OX, MA2, and MA3.

Midiox.mp4

Edit: Sorry, I hadn't seen the latest firmware. With that, the LTC input does work, but the rtpMIDI still sends 0.
Edit 2: In fact, with this latest firmware, when the source is set to LTC, the MA3 no longer throws an error, not even every 60 seconds, so that issue has been resolved. However, now with the source set to rtpMIDI or Artnet, it only sends zero through MIDI.
Edit3: Now, with this new firmware, the source=internal and source=systime both have jumps in MA3, although not in MIDI-OX. Previously, there were no jumps with source=systime.

@vanvught
Copy link
Owner Author

vanvught commented Dec 30, 2024

grandMA3 onPC is looking good -> input is LTC

Scherm­afbeelding 2024-12-30 om 20 35 01

@vanvught
Copy link
Owner Author

However, now with the source set to rtpMIDI or Artnet, it only sends zero through MIDI.

Will investigate now @joakyhsf69

@vanvught
Copy link
Owner Author

when the source is set to LTC, the MA3 no longer throws an error, not even every 60 seconds, so that issue has been resolved.

Cool! @rbarreiros @hippyau @dirkdamerau @kyleawayan

@joakyhsf69
Copy link

grandMA3 onPC is looking good -> input is LTC

Scherm­afbeelding 2024-12-30 om 20 35 01

Indeed, now with source=LTC it works great.

@vanvught
Copy link
Owner Author

However, now with the source set to rtpMIDI or Artnet, it only sends zero through MIDI.

Will investigate now @joakyhsf69

Fixed.

orangepi_zero.uImage.gz

Next

Now, with this new firmware, the source=internal and source=systime both have jumps in MA3, although not in MIDI-OX. Previously, there were no jumps with source=systime.

That's a challenge; working with MIDI-OX and not working with MA3. It's evening in NL. I will take a coffee break and give it some thoughts for what could happen here.

@rbarreiros @hippyau @dirkdamerau @kyleawayan

@joakyhsf69
Copy link

Ok, there’s no rush. In fact, what I use the most is source=LTC, but I’m running tests because I like the project and want it to be as good as possible. Thanks again!

@vanvught
Copy link
Owner Author

@joakyhsf69 Thank you for doing all the testing!

@joakyhsf69
Copy link

However, now with the source set to rtpMIDI or Artnet, it only sends zero through MIDI.

Will investigate now @joakyhsf69

Fixed.

Yes, now source=rtpMIDI and source=Artnet are sending the code correctly, and it seems there are no jumps in MA3, great. However, source=MIDI is still sending zeros through rtpMIDI. In MIDI-OX, I can see the messages, but the clock doesn't run. Through Artnet, it works fine.

@vanvught
Copy link
Owner Author

@joakyhsf69

That's a challenge; working with MIDI-OX and not working with MA3.

Please give source=systime a test with 24 FPS and 30 FPS. That is working. MA3 does not like the 25 FPS 🤔

It is 01:47 local time. Time for some sleep.

@vanvught
Copy link
Owner Author

vanvught commented Dec 31, 2024

However, source=MIDI is still sending zeros through rtpMIDI

Fixed. Not able to test it.

that's a challenge; working with MIDI-OX and not working with MA3.

Fixed. And successfully tested.

orangepi_zero.uImage.gz -> #296 (comment)

@joakyhsf69 @rbarreiros @hippyau @dirkdamerau @kyleawayan
Happy New Year!

vanvught added a commit that referenced this issue Dec 31, 2024
@joakyhsf69
Copy link

However, source=MIDI is still sending zeros through rtpMIDI

Fixed. Not able to test it.

that's a challenge; working with MIDI-OX and not working with MA3.

Fixed. And successfully tested.

orangepi_zero.uImage.gz

@joakyhsf69 @rbarreiros @hippyau @dirkdamerau @kyleawayan Happy New Year!

Happy New Year to everyone! I'm sorry, but is it possible that you haven't uploaded the firmware version that fixes these last two things? With source=midi, I’m still getting zeros in the RTP-MIDI output, and I only receive the first frame. Additionally, with source=midi and source=systime, it works in MA3 at 24/29.97/30 frames, but not at 25 — it’s still the same there. Or is it something I haven't done correctly? Thanks Again

@vanvught
Copy link
Owner Author

vanvught commented Jan 2, 2025

is it possible that you haven't uploaded the firmware version that fixes these last two things?

It would be an unfortunate mistake on my part. I will give it a check tomorrow. Hopefully then I can also fix the 25FPS issue with source=internal.

@vanvught
Copy link
Owner Author

vanvught commented Jan 3, 2025

@joakyhsf69 I've checked the previous attached firmware and it has the fixes.

I have attached the latest build. I did some major refactoring. This helps managing the source code easier.

Still the issue with source=internal. At my side, grandMA3 onPC does not like the RTP-MIDI at all 🤷‍♂️. After some more coffee, I will continue work on this issue.

orangepi_zero.uImage.gz

@rbarreiros @hippyau @dirkdamerau @kyleawayan

@kyleawayan
Copy link

kyleawayan commented Jan 5, 2025

Hi all,

I have some time tonight and tomorrow with my setup. I tried out the latest firmware in the above message but actually cannot get MA3 to understand the timecode at all with an Art-Net input.

I am currently using the setup:

Depence R3 -> (30fps Art-Net Timecode) -> Orange Pi -> (rtp-MIDI) -> grandMA3 onPC on Windows

I see the timecode reflecting correctly on the Orange Pi, but not in MA3. Using the Protokol app, I see that quarter frames are being successfully received on my Windows machine. Some weird observation: I was able to see the MA3 clock viewer jump to a certain time. It sometimes happens when I change the MIDI settings to "None" then back to my rtpMIDI session. Overall, the timecode isn't lighting green nor counting up.

However testing with source=internal, it is reflected in MA3... and it also jumps a lot (tested with all FPSs/rates)

@kyleawayan
Copy link

Also one more thing I noticed with using source=internal with MA3 via rtpMIDI...

In the firmware above in this thread, stopping the internal timecode does not stop it in MA3. Compared to the production firmware, stopping the internal timecode also stops it in MA3 (the clock goes from green to grey).

@vanvught
Copy link
Owner Author

vanvught commented Jan 5, 2025

Continue in #297

@vanvught vanvught closed this as completed Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants