Skip to main content

travis status code coverage PySine python versions on PyPI PySine version on PyPI License

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.

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)

Source distribution for pysine 0.9.2
File Size Uploaded
pysine-0.9.2.tar.gz 4.6 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for pysine 0.9.2
File Interpreter ABI Platform
pysine-0.9.2-py2.py3-none-any.whl Python 2, Python 3 none any Details
pysine-0.9.2-py2.7.egg Legacy Egg format - - Details

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

Release history Release notifications | RSS feed

This release

0.9.2 This release

3 release files

0.9.1

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page