public AudioFloatLSBFilter(AudioFloatConverter converter, AudioFormat format)
        {
            int bits = format.getSampleSizeInBits();
            boolean bigEndian = format.isBigEndian();
            this.converter = converter;
            stepsize = (bits + 7) / 8;
            offset = bigEndian ? stepsize - 1 : 0;
            int lsb_bits = bits % 8;
            if(lsb_bits == 0)
                mask = 0;
            else
            if(lsb_bits == 1)
                mask = -128;
            else
            if(lsb_bits == 2)
                mask = -64;
            else
            if(lsb_bits == 3)
                mask = -32;
            else
            if(lsb_bits == 4)
                mask = -16;
            else
            if(lsb_bits == 5)
                mask = -8;
            else
            if(lsb_bits == 6)
                mask = -4;
            else
            if(lsb_bits == 7)
                mask = -2;
            else
                mask = -1;
        }