Skip to content
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
Comment thread
EmmaKnijn marked this conversation as resolved.
Outdated
```md
*Author: Emma Beurskens <@emmaknijn>*
*Version: v1.0.0*
*Last updated: YYYY-MM-DD*
```
Comment thread
EmmaKnijn marked this conversation as resolved.
Outdated

## 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
Comment thread
EmmaKnijn marked this conversation as resolved.

## Packet
A packet consists of the following fields in a table:
- buffer: A table that contains Signed 8-bit PCM @ 48kHz audio
Comment thread
EmmaKnijn marked this conversation as resolved.
Outdated
- station: A string that contains the name of the radio station
Comment thread
EmmaKnijn marked this conversation as resolved.
Outdated
- title: A string that contains the song that is currently being played
Comment thread
EmmaKnijn marked this conversation as resolved.
Outdated
- 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
Comment thread
EmmaKnijn marked this conversation as resolved.
Outdated
Comment thread
EmmaKnijn marked this conversation as resolved.
Outdated