The scrambler is also referenced in wikipedia https://en.wikipedia.org/wiki/Scrambler
One thing I was thinking, was that it would give you 72 more symbols to use, as that's how many your docs list as bit stuff symbols. Course, then you would have to find an use for those bits, ha. I've been playing around with the numbers, and came up with 18 bytes for Voice and 90 bytes for data: #define M6000_RATE 48000 #define M6000_SYMBOLRATE 6000 #define M6000_SYMBOLCYCLES 8 #define M6000_FRAMESIZE ((M6000_RATE * 1245)/10000)// 5976 = 747 #define M6000_FRAMESIZEMAX (M6000_FRAMESIZE + 8) // 5984 #define M6000_FRAMESIZEMIN (M6000_FRAMESIZE - 8) // 5968 #define M6000_FRAMEBUF (M6000_SYMBOLCYCLES * 2) // 16 #define M6000_FRAMESYMBOLS (M6000_FRAMESIZE/M6000_SYMBOLCYCLES) // 747 /* Slow Data + Voice Bits (155+576) = 731 */ #define M6000_VOICESIZE 576 #define M6000_VOICEBYTES (M6000_VOICESIZE/8) // 72 /* Slow Data + Voice Bits + Sync Bits = 747 Bits = 5976 Symbols */ /* Full Data + Sync Bits = 747 Bits = 5976 Symbols */ #define M6000_SYNCSIZE 16 /* Slow data: 155 bits * 18 databytes ->144 * 8 end_bits * 1 from_bit * 1 bcast_bit * 1 crc_bit */ #define M6000_SLOWDATABYTES 18 #define M6000_SLOWDATAENDBITS 8 #define M6000_SLOWDATASIZE (1+1+1+8+144) /* full data: 731 bits * 90 databytes ->720 * 8 endbits * 1 from_bit * 1 bcast_bit * 1 crc_bit */ #define M6000_FULLDATABYTES 90 #define M6000_FULLDATAENDBITS 8 #define M6000_FULLDATASIZE (1+1+1+8+720) On Sat, Apr 11, 2020 at 1:15 PM Steve <[email protected]> wrote: > Yes, I closed it because it was probably incomplete, so left it there for > reference. > > https://github.com/JeroenVreeken/codec2/pull/1 > > >
_______________________________________________ Freetel-codec2 mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freetel-codec2
