These are chat archives for brunchboy/afterglow

26th
May 2017
James Elliott
@brunchboy
May 26 2017 03:45
Yeah, @awwright, I speculated in the protocol analysis document that the 4/6 alternation may be at the same time as the flashing of the status light, but I haven’t brought my laptop into the same room as the CDJs to try to prove that, as it hasn’t been all that important for the kind of things I want to do with the protocol, and my big monitors are in a different room than my DJ setup. :grimacing:
I just added a bunch of detail about the dbserver packets to section 5 (and didn’t get nearly enough sleep last night). This weekend I am eager to start implementing this stuff in the beat-link library, so I can start generating real time code in beat-link-trigger (and saving cached metadata for whole playlists and memory sticks, so it can be used even when shows are running with a full set of four CDJs), and hopefully even figure out how to actually draw the waveforms.
@Busti that is great news, I would definitely love to have access to a library like that.
James Elliott
@brunchboy
May 26 2017 19:00
Yes, my waveforms are definitely in a different format than you describe, @awwright, and I suspect that is because they were saved as color waveforms. Here is what the 900 bytes of the waveform from one of my tracks look like when drawn using the algorithm you described, sitting above how rekordbox draws it: waveforms
That is the waveform summary, which for you is 300 bytes, right? So we need to figure out how to interpret the extra color information. Here are the actual bytes of the waveform blob:
blob: 02 05 02 05 02 05 02 05 02 05 02 05 02 04 02 04 02 05 02 05 02 04 03 04 04 05 02 05 04 04 05 04 03 04 02 04 04 04 02 04 03 04 02 04 03 04 03 04 03 04 04 04 04 04 02 04 04 04 03 04 02 05 03 05 02 04 04 04 03 04 04 04 05 04 04 04 04 04 06 04 06 04 09 04 06 04 06 04 09 04 06 04 05 04 05 04 09 04 0d 04 08 04 09 04 08 00 0c 00 0d 03 16 03 12 03 15 03 18 03 18 03 16 03 11 03 17 03 16 03 13 03 15 03 16 03 10 03 18 03 18 03 18 02 18 02 13 01 13 01 18 03 19 03 10 03 16 03 13 03 15 03 18 02 18 02 16 03 13 03 17 03 18 03 16 03 14 03 18 03 19 03 19 03 19 03 19 03 19 03 0d 05 0d 05 17 03 17 03 18 03 18 03 0f 05 02 05 16 03 17 03 18 03 13 03 14 03 11 03 16 03 18 03 19 03 19 03 15 05 16 05 17 03 18 03 09 05 0a 05 11 03 16 03 19 02 17 02 19 03 19 03 19 03 19 03 18 03 11 03 14 03 10 03 16 03 18 03 19 03 19 03 12 05 17 05 0c 05 0f 05 17 03 14 03 11 03 16 03 19 00 18 00 0c 05 05 05 16 03 16 03 17 03 17 03 13 03 12 03 0d 05 0c 05 19 03 19 03 12 05 17 05 0c 05 0f 05 17 03 13 03 12 03 16 03 19 03 16 03 19 03 19 03 17 03 16 03 08 03 17 03 13 03 11 03 16 03 18 03 17 03 17 03 18 03 19 03 0f 05 0c 05 17 03 16 03 11 03 14 03 19 00 18 00 19 02 15 02 16 03 18 03 19 02 16 02 18 02 19 02 13 02 18 02 16 03 18 03 18 03 18 03 18 03 17 03 19 03 18 03 19 03 17 03 17 03 17 03 0f 05 0c 05 18 03 15 03 17 03 17 03 0d 05 0f 05 17 03 17 03 19 03 17 03 17 03 17 03 0b 05 0f 05 19 03 19 03 19 00 19 00 19 03 19 03 0c 05 0f 05 17 03 15 03 17 03 17 03 0d 05 0f 05 19 03 18 03 19 03 17 03 18 03 18 03 18 03 11 03 19 02 19 02 19 00 19 00 19 03 19 03 08 05 09 05 0b 05 0a 05 0c 05 09 05 0b 05 09 05 15 05 0b 05 14 05 0f 05 0b 05 09 05 0e 05 0e 05 13 04 0e 04 12 04 14 04 0e 05 12 05 17 03 16 03 17 00 11 00 16 01 13 01 17 00 18 00 14 00 16 00 16 03 16 03 17 00 14 00 15 03 17 03 13 00 16 00 16 04 12 04 12 03 17 03 11 03 16 03 16 03 15 03 18 02 18 02 16 03 14 03 18 03 19 03 11 03 16 03 18 03 18 03 13 02 16 02 16 01 13 01 18 02 18 02 14 03 16 03 18 03 19 03 16 03 14 03 18 02 18 02 14 03 16 03 18 03 18 03 18 02 19 02 19 00 19 00 19 03 18 03 19 03 19 03 18 02 19 02 12 05 03 05 17 02 17 02 14 03 15 03 18 03 18 03 0f 05 0d 05 19 03 19 03 16 03 11 03 19 03 19 03 12 03 18 03 17 03 17 03 16 00 17 00 18 03 16 03 17 00 18 00 14 03 12 03 17 03 17 03 0c 05 0f 05 19 03 19 03 10 01 16 01 19 02 19 02 12 00 18 00 17 03 16 03 0f 04 0c 04 0e 05 0b 05 12 05 15 05 15 03 17 03 18 03 15 03 17 03 18 03 14 03 16 03 16 05 05 05 02 05 02 05 02 02 02 04 02 02 04 04 04 07 08 06 0b 0d 0e 0f 0d 0f 0e 0e 0f 0f 0f 0e 0d 0a 0d 0e 08 0d 0f 0e 0d 0e 0a 0f 0a 0d 0a 0c 0d 0f 0d 0a 0f 0a 0f 0f 0f 0f 0f 0f 0b 0d 0a 0e 0e 0f 0c 0a 0f 0e 0f 0f 02 06 07 08 09 0e 0d 0e 0c 0d 0c 0e 0c 0e 0e 0e 0e 0d 0f 0f 0f 0f 0d 0c 0e 0e 0c 0e 0a 0e 0f 0a 02 0d 0c 09 [waveform bytes]
James Elliott
@brunchboy
May 26 2017 19:08
And finally, here is what the same waveform summary looks like on the CDJ display, so evidently it does know how to interpret it, even though (as an original nexus player) it refuses to show the colors: waveform on CDJ
James Elliott
@brunchboy
May 26 2017 19:41
But strangely, I just tried with a track on an SD card that was still in the blue format, and that came back with 900 bytes of preview waveform, and the same kind of distortions, so it may be a difference in the firmware version of our players or something?