Loading ...
Sorry, an error occurred while loading the content.

15160Re: [cosmacelf] Re: Binary to WAV converter

Expand Messages
  • joshbensadon
    Jun 24, 2014
      Hi Egan,

      The format is very simple....

      Logic 0 is 1 cycle of 2Khz
      Logic 1 is 1 cycle of 800hz.

      The leader is about 4 seconds of 0's  (kind of over kill)
      Then the data bytes are sent one after another, no address information.
      A data byte starts with a "1" then the 8 bits (lsb first) followed by a parity bit.
      10 bits per byte, each byte frame is consecutive..
      The parity bit is such that the number of data bits will be even. example.
      0x0F = 1 1 1 1 1 0 0 0 0 0
      0x10 = 1 0 0 0 0 1 0 0 0 1
      0xFF = 1 1 1 1 1 1 1 1 1 0
      0x00 =  1 0 0 0 0 0 0 0 0 0

      Cheers,
      Josh
    • Show all 10 messages in this topic