Metadata-Version: 2.0
Name: pysine
Version: 0.9.1
Summary: Allows to play single tones on the PyAudio sound output in real time
Home-page: http://www.github.com/lneuhaus/pysine
Author: Leonhard Neuhaus
Author-email: leonhard.neuhaus@gmail.com
License: GPLv3
Keywords: sound PyAudio sine wave output play
Platform: any
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Natural Language :: English
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Topic :: Scientific/Engineering :: Human Machine Interfaces
Requires-Dist: mock
Requires-Dist: nose (>=1.0)
Requires-Dist: numpy
Requires-Dist: pyaudio

pysine
======

|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 <https://github.com/lneuhaus/pysine/issues>`__, 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 <https://github.com/lneuhaus/pysine/blob/master/LICENSE>`__ for
more information.

.. |travis status| image:: https://travis-ci.org/lneuhaus/pysine.svg?branch=master
   :target: https://travis-ci.org/lneuhaus/pysine
.. |code coverage| image:: https://codecov.io/github/lneuhaus/pysine/coverage.svg?branch=master
   :target: https://codecov.io/gh/lneuhaus/pysine
.. |PySine python versions on PyPI| image:: https://img.shields.io/pypi/pyversions/pysine.svg
   :target: https://pypi.python.org/pypi/pysine/
.. |PySine version on PyPI| image:: https://img.shields.io/pypi/v/pysine.svg
   :target: https://pypi.python.org/pypi/pysine/
.. |License| image:: https://img.shields.io/pypi/l/pysine.svg
   :target: https://github.com/lneuhaus/pysine/blob/master/LICENSE


