''' This is a voice file library that is used by other programs so that hblink can "talk" and provide voice feedback for users. It does nothing on it's own, but is called by programs that need to create their own voice feedback for users -- like to notify of system events, etc. The format is already HIGHLY processed to make assembly of DMR packets quick and easy on the fly. DMR voice packets each contain 3 AMBE frames. They are 72bit FEC encoded and they are combined so that 1.5 of the frames fit on each side of the control information in the center of the packet. ''' from bitarray import bitarray words = { 'n0mjs': [ [bitarray('100011101000010011100100000000000111011100111100100110111001010001000011111101011001100011000101000100100000'), bitarray('011101100001010011001011100100001111110101101010100111100111001100000010010001000111010010011000101100111101')], [bitarray('111111001101011110100001001101010111000001110010000010101101000111001001111011001101010010000001000100110001'), bitarray('000001110001001110011101001111101110110011101100011110000001000101010011001000110110010010011111010110011111')], [bitarray('110001101001100011100100010000010111010000100001000111101010111100101101110111001101010010100001000100110011'), bitarray('001000000111011110011110000111111110111011011110011110100011010100010101000101010000000011001111010110001111')], [bitarray('110111101111011110000011010101110101010101000100011010011000011010111010110011111110010010100010001101110101'), bitarray('011101000010000110101100001111001100111101011010100111000101001000110111000000010100000111011010111000001001')], [bitarray('111101111000100111000111010000010001011001100010010010101011110101001000111101111000101011000110010001110101'), bitarray('011000000110001111011001100000111011110001001001100011100101001000010111010001010001000010111001110000101011')], [bitarray('111101001000101111100111011000010101000000000001010111001111111101011001111001011011100011100111001001110011'), bitarray('010100010111010011101000111100001101111001001000101011100100000000110101000100010100001011011010100001111010')], [bitarray('110101111011100011000111011001010011000000010101010011001110101100101111111001001010101011100101011001010011'), bitarray('010101000011010110001011111100101101111001011000101111100111000000010001010001110001011111011011100101001011')], [bitarray('111001101011101011000100000000110101001000000111000111101100110100001111110010100010100110100011011100010000'), bitarray('001100100001101011011101011101010101111111111110010010000011011101110111001100100111000111101010010010001101')], [bitarray('111011001111010010100000011100010001011101010000011010011010011011111001110111001101011010000011010100110101'), bitarray('001001100010000011001110000010001110111111111101011010100011011100110001000000110101010011101100010011111010')], [bitarray('111011001101010110000010001101110111001001110010001010011110001010011100111110110010101010000011001100010000'), bitarray('010101010011110111011000001001110110111000011011111110100010001000010001110001000110100110000011100010001100')], [bitarray('100100011101111010100111001001010011000111000100111110001111011001011110111001000001110011000010010100001111'), bitarray('000000101110100110010101110101000111111100111001101001011001110011011010000010110011110001110010001101101010')], [bitarray('111101101010111101100011010011011111010110000101010000111100110000010010101100101100100100100010000111101101'), bitarray('001101110101111000001100001101100111111000101001110001100100011111110001101111100010010011110001001000001110')], [bitarray('110001111011100100100011000111000011010111100100110011101101000110101101110001001011100100100101100100110101'), bitarray('011011111010001001011111100010000101111100101001110100011110010100010110001111011001110001000110011110011111')], [bitarray('111100001010111000101111011100110000001110001011100101110000010110011110100001111011110000101010111100110101'), bitarray('111111100110110111000111010001001101111000101010111001101000110111010011100101111010100010111010010010111110')], [bitarray('110001001011101101001110111110110010111110010101110011011011110001010011101001111110101000101111011001010000'), bitarray('101110110110101000111100000111000001101001101010010001011111001101101000011111111100001101111001011010010000')], [bitarray('110101010010110000000100000110111111010010001011001011110101001111110111110101110100101000100111011100111110'), bitarray('011010100010110111111101100101000111101100000011101001100100001100110101100011101110011100000111001011110111')], [bitarray('111001000110111000000110000100110101101100011111100000010010111011110111101100000011111101100110010100101110'), bitarray('011101110011001011111000010000000001100000000001110101000110010001111100010100000000001111001111000001110000')], [bitarray('111000000010101100100011011011111010011101000000011011110001101101011001111100100001101000100000010010111011'), bitarray('010101010101011111010100101001111000100001000100110001000010010110001110000111110101100010110100000100111011')], [bitarray('111001000100101100000100010101101000001111110001110111111100101100100000111000100100111000100000001101011100'), bitarray('011000001010100010111001011011011000101100010001101001100110010100010001110011001001011000000110010010010011')], [bitarray('101000110011110001000101000101011101000101000000000010001010000001100111110001101000000100100010001000001000'), bitarray('011101101101010111001011011001000100100000111100010101000011011000101000011111111011100011001111100101100000')], [bitarray('101000101100011100000010011000001100110101100001000010000110010101101010101000001101010001100001000001101000'), bitarray('010110011110100011001110100101010101101001001111000001000101011000011010000100100101100111001110000111111001')], [bitarray('101000111011011000000100101001110111010110101100001010000011001101100100101000111011011001110101100100000100'), bitarray('110000100000111011001100110001111111101100001000010101010100101101000101111100000001101011001010101101111111')], [bitarray('101101001010010001000000110100111101001000100011100100000011011100010110100100111100100100000110101001101010'), bitarray('000100011110000110111010100001001111110001111110010100011001001101011100001010010000101000001111011101101011')], [bitarray('101001011010010001110111001111101100001000101000001111110001101001111011110000101001011101000100000100101010'), bitarray('101101011001111110110010001010110110100000011100010100100001011100011010100000010000010110110101011101111011')], [bitarray('110101111110101000100000001001001101110101100100001000111100111011111111100101111010100100000111000001011111'), bitarray('011011010101010000110000001001101111111101011110101101000010011101001001011110001000101101110000001011110011')], [bitarray('110111100000010001000000001000001000011011110101101010111000011011100111110010010000000101000100000001011001'), bitarray('000100011100100111111101111101101011110011000000011001000000011101011110000111100100100111001101011010110110')], [bitarray('111011000011111000110110100001110100110110011010010001010001010101001011111010001111000000001011011001010100'), bitarray('101100110111010001011010010101000000110010101110001000001000001100010101110101000111010000011010010001100011')], [bitarray('111110101011011001101100101100010111011111011100110011111000100011110100101101101011001111100001001100010011'), bitarray('001111111101000101000110111000110001101000100011010111111010011010000010100100010100100001111011110111011111')], [bitarray('110100101011110010000001010101110010100001110111100010100011100110101110111000101011111111000010000100010000'), bitarray('001010101101001111011011001010100111100110110011000110100101000000110100010111001110100101000000010101111101')], [bitarray('110001110110001111100011001100110010010111101000100010011101001001111111110101000110000010000001011100110010'), bitarray('100101010001001110110000101100010101111001000111001011000011010101010000001111001110100011111010010001001011')], [bitarray('101010010001001010100100000000100101011110111110101100010101001101011000100110110110100111100100010001110110'), bitarray('000100011101000111011010001111111100100100111110000011100111010111000001010101011010110100011000110001111110')], [bitarray('110011001101011110100011011100110111001000010100010110111110011011011001100011111010011011000100000100110001'), bitarray('000000011110100110101000000100100111110110001001001110100000111100111000111001000101011010001011111100011101')], [bitarray('111111110010110110001011111000110000000000010010000110110111100001011111111110110001101010000011000000000001'), bitarray('010001100101110111111101010101010001111001111011101011000111001100100101000101000011011111001101111100001001')], [bitarray('111100111101011010100010000000100101010001011011100001000011010001110010101001100101101111000111000000100110'), bitarray('011100110100110101000000011001010100101111011001010011100110000101110011011001001000101110001011000000110111')], [bitarray('110011001100010110000001011101110111001001000000001011111001011010001101100101011111100010000000000001010001'), bitarray('010100111011111110011100101111100010100001101110101110100000010001110001001101101000100110111111110010100110')], [bitarray('111011100110100010000000110101100010000010101111111001110001101101100100100100011110111110001000101100000010'), bitarray('011000101000011110010111000110011000101000110001111010101011010000101011010101010011110001110000001001001010')] ] }