This release is a pre-release and may not be stable for production use.
pyssc
A Sennheiser Sound Control Protocol (SSC) Client Implementation for Python
Introduction
The Sennheiser Sound Control Protocol is a specific adaption of Open Sound Control. Pyssc is a simple client implementation that allows users to discover SSC Devices in their networks and subsequently communicate with those Devices via SSC.
Installation
Pyssc is published to pypi.org/pyssc.
pip install pyssc
Usage
Initially you will have to find out the IP Addresses of your SSC Devices. If you don't know them you can try and find them using zeroconf.
import pyssc as ssc
found_setup = ssc.scan()
When you know all the IPs you can store the setup as a JSON file.
found_setup.to_json('setup.json')
Here's an example setup JSON:
{
"Device 1": "fe80::2a36:38ff:fe60:7515",
"Device 2": "fe80::2a36:38ff:fe60:784f",
}
Once you have defined your setups as a JSON you don't need to scan anymore. Simply import your setup at the beginning of your session.
found_setup = ssc.Ssc_device_setup().from_json('setup.json')
Now you can send and receive SSC either to and from a single device
device_1 = found_setup.ssc_devices[0]
ssc_transaction = device_1.send_ssc('{"audio":{"out":{"mute":true}}}')
or the whole setup.
found_setup.send_all('{"audio":{"out":{"mute":true}}}')
To find out which commands work for your specific SSC Device please refer to the SSC Documentation.
Metadata
Release files for pyssc 0.0.2.dev7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pyssc-0.0.2.dev7.tar.gz | 4.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyssc-0.0.2.dev7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.1 kB
Release files / pyssc-0.0.2.dev7.tar.gz
| Download URL | pyssc-0.0.2.dev7.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
84dbdcbb8b7a02dccf019fa21eb8a6dea8ca95fdc73c3dc0ba4a7b07d8d18c1a
|
|
BLAKE2b-256 checksum How to use checksums |
eb1166e15588c54932dd942c6c45766cd5faa2ea5490af3167b0cd90afda8e62
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Release files / pyssc-0.0.2.dev7-py3-none-any.whl
| Download URL | pyssc-0.0.2.dev7-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3e901cbcf53bffc0c8a1c1cd56ec91cf3838c8c8301e6c978bb7b4a7b90727c7
|
|
BLAKE2b-256 checksum How to use checksums |
f6c86601f2f01b86f46b36d4ab968b64b57b481e7ae1c0ba256ee1398c1d6869
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Security for pyssc 0.0.2.dev7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.