Skip to main content

Analog Unicast Data Protocol (AUDP)

Project description

Analog Unicast Data Protocol (AUDP)

AUDP transfers analog data in a unicast manner between two TCP/IP-compliant machines.

Modems

PCM/AUDP

Encodes each bit using PCM. This results in larger, longer packets, but has practically no chance of data loss. There can be up to ~0.98 kHz of interference, and PCM/AUDP will still be able to get a clean signal.

DAC/AUDP

Encodes each byte using DAC. This results in much smaller (about 8x smaller than PCM/AUDP) packets, but the chance of data loss is slightly higher. Not to be used in highly noisy areas, where sonic data may be lost. The tolerance for DAC/AUDP is ~35 Hz.

Specifications

Each unique frame of data should be 20 ms, or 882 Hz (samples) long at the AUDP-compliant sample rate (44.1 kHz).

AUDP sonic data may be transfered in any medium, as long as the frequencies remain. For mediums that may endure compression, noise, or other forms of potential data loss, PCM/AUDP-based modems are recommended.

For PCM/AUDP-based modems:

The LOW (0) signal is represented by a frequency of 6 kHz.

The HIGH (1) signal is represented by a frequency of 4 kHz.

The END CHUNK signal is represented by a frequency of 2 kHz.

Acceptable tolerance is ± 975 Hz for any signal.

For DAC/AUDP-based modems:

The factor to mulitply the byte by is 70 Hz.

Example: byte 'A' (65, 0x41, 0b01000001)

Mulitply the decimal value of the byte (65) by the DAC factor (70 Hz) to get the frequency of 4.55 kHz.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

audp-0.9.tar.gz (17.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

audp-0.9-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

Details for the file audp-0.9.tar.gz.

File metadata

  • Download URL: audp-0.9.tar.gz
  • Upload date:
  • Size: 17.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for audp-0.9.tar.gz
Algorithm Hash digest
SHA256 79f672f6e25b895113ec2d48bcf53ad0b4fb0efbf6c530a6cb81b713b1c973c1
MD5 8197ebdf231db8c57f7cb6d7ab78fbbe
BLAKE2b-256 7c4078972d4f03a1e54e4e9e097d8db46698d58df009938fe6f4548755358aad

See more details on using hashes here.

File details

Details for the file audp-0.9-py3-none-any.whl.

File metadata

  • Download URL: audp-0.9-py3-none-any.whl
  • Upload date:
  • Size: 17.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for audp-0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 63e69a2b5b43995c4e6faef3ffbb68b32f3f72ce47d72474e177bd2d1e42b535
MD5 3f5f5a0487454ee32060bfa4f7479e6f
BLAKE2b-256 eff313dbca096cc3e8f3f400774f4b07dc142a651424277f1cbee17de9fe7e25

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page