generalelectrix

Results 17 comments of generalelectrix

I've also refactored to make the render command more efficient, using a generator expression instead of a list, and creating the packet start and end lists only once to avoid...

I've decided to just port my existing enttec implemention for Rust to Python, which exposes more of the underlying port options (truncated universes, setting the hardware DMX framerate, etc). Should...

I decided a re-write and a fresh codebase was the way to go. My re-write is full of breaking changes compared to this codebase: DMX indexing from 0, no clamping...

It's up. I may also post a generic multiprocessing tool that you can call which spins up the port in its own process to enforce timely rendering, with queue-based communication....

Oh, also, the source of your address-off-by-one bug is that the packet length should actually be len(dmx_frame)+1, and requires a pad byte between the two length bytes and the start...

There are really two things being conflated in this patch - using numpy for the backing array which allows taking slices by-reference, and storing the frame padding data in the...

Heh, my apologies, I should have read the changeset a bit more closely. I still think I'd prefer to refactor this to entirely eliminate the need for the port object...