pysine
PySine allows to play single tones on the PyAudio sound output in real time.
This is always useful when no text output is available, for example for debugging multi-thread programs or calls to object destructors by Python’s garbage collector.
Installation
Either
pip install pysine
or
cd DESIRED_SOUCE_CODE_DIRECTORY git clone https://www.github.com/lneuhaus/pysine python setup.py develop
Quick start / usage example:
>From the command line:
python -m pysine frequency duration
A sine sound with the desired properties should be heard.
Within a python code block:
from pysine import sine sine(frequency=440.0, duration=1.0) # plays a 1s sine wave at 440 Hz
Issues
Please report all problems or wishes as new issues on this page, so we can fix it and improve the future user experience.
Unit test
Use nosetests for unit tests:
cd package_code_directory nosetests
All tests should take about 3 minutes and finish without failures or errors. If there are errors, please report the console output as an issue (see the section “Issues” below for detailed explanations).
License
Please read our license file LICENSE for more information.
Metadata
Release files for pysine 0.9.2
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 | Actions |
|---|---|---|---|---|
| pysine-0.9.2.tar.gz | 4.6 kB | Without provenance | Details for pysine-0.9.2.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pysine-0.9.2-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for pysine-0.9.2-py2.py3-none-any.whl |
| pysine-0.9.2-py2.7.egg | Legacy Egg format | - | - | Details for pysine-0.9.2-py2.7.egg |
Total release size: 17.4 kB
Release files / pysine-0.9.2.tar.gz
| Download URL | pysine-0.9.2.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
574853e257d05482d2396422f28a4723903d35d195df09d0e400d7cd6c6fb23f
|
|
BLAKE2b-256 checksum How to use checksums |
92b50c071ddc6fa982f58aa4e3167b423a29cd27e99d992bf2c17c33e83682b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pysine-0.9.2-py2.py3-none-any.whl
| Download URL | pysine-0.9.2-py2.py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
9ec0264bcc8acdf6e95f08dd2fbdc2c2fe8af263b0e4983f121bd677eb61f536
|
|
BLAKE2b-256 checksum How to use checksums |
c40132bc126eef61060eb2cf6f7c6247a376d1bd5f2cb986f90df0c98ee01544
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pysine-0.9.2-py2.7.egg
| Download URL | pysine-0.9.2-py2.7.egg |
|---|---|
| Size | 6.8 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
990cecf8f5fcf45a1b22c73989902988f314ea97a1ebe68febfc9e7f9d7d38a0
|
|
BLAKE2b-256 checksum How to use checksums |
680e3f67d9584eff7e15aa525717fb0edb2c1c324f65da6ebf0fb4b307eeba6d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pysine 0.9.2
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.