Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CCSMB-5: PCM Audio Transmissions over modem #18

Open
wants to merge 20 commits into
base: master
Choose a base branch
from
Open
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions Standards/CCSMB-5.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# CCSMB-5: Radio Transmissions
EmmaKnijn marked this conversation as resolved.
Show resolved Hide resolved
```md
*Author: Emma Beurskens <@emmaknijn>*
*Version: v1.0.0*
*Last updated: YYYY-MM-DD*
```
EmmaKnijn marked this conversation as resolved.
Show resolved Hide resolved

## Design
A client will only listen to packets while the audio is being transmitted from a server
The server will communicate to the client over modem
EmmaKnijn marked this conversation as resolved.
Show resolved Hide resolved

## Packet
A packet consists of the following fields in a table:
- buffer: A table that contains Signed 8-bit PCM @ 48kHz audio
EmmaKnijn marked this conversation as resolved.
Show resolved Hide resolved
- station: A string that contains the name of the radio station
EmmaKnijn marked this conversation as resolved.
Show resolved Hide resolved
- title: A string that contains the song that is currently being played
EmmaKnijn marked this conversation as resolved.
Show resolved Hide resolved
- protocol: A string that contains the protocol used

The protocol field must be "CCSMB-5" in order to be compliant
A client must be able to accept the buffer field in order to be compliant
A server must be able to transmit all of the fields in order to be compliant
A server must time the packets appropriately in a way that the client is just able to play back the buffer in order to be compliant
A client must be able to deal with crosstalk
EmmaKnijn marked this conversation as resolved.
Show resolved Hide resolved
EmmaKnijn marked this conversation as resolved.
Show resolved Hide resolved