Metadata-Version: 2.4
Name: nspfile
Version: 0.2.0
Summary: KayPENTAX CSL NSP Audio File Format Reader
License-Expression: GPL-2.0
Project-URL: Repository, https://github.com/tikuma-lsuhsc/python-nspfile
Project-URL: Issues, https://github.com/tikuma-lsuhsc/python-nspfile/issues
Project-URL: Pull_Requests, https://github.com/tikuma-lsuhsc/python-nspfile/pulls
Keywords: multimedia
Classifier: Development Status :: 4 - Beta
Classifier: Topic :: Multimedia :: Sound/Audio
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.10
Description-Content-Type: text/x-rst
License-File: LICENSE
Requires-Dist: numpy
Dynamic: license-file

`nspfile`: NSP Audio File Reader in Python
===================================================

|pypi| |status| |pyver| |license| |test_status|

.. |pypi| image:: https://img.shields.io/pypi/v/nspfile
  :alt: PyPI
.. |status| image:: https://img.shields.io/pypi/status/nspfile
  :alt: PyPI - Status
.. |pyver| image:: https://img.shields.io/pypi/pyversions/nspfile
  :alt: PyPI - Python Version
.. |license| image:: https://img.shields.io/github/license/tikuma-lsuhsc/python-nspfile
  :alt: GitHub
.. |test_status| image:: https://img.shields.io/github/workflow/status/tikuma-lsuhsc/python-nspfile/Run%20Tests
  :alt: GitHub Workflow Status

NSP audio file format is primarily used for KayPENTAX Computerized Speech Lab (CSL).

Python `nspfile` package implements `scipy.io.wavfile` compatible functions for .nsp sound file format.

Install
-------

.. code-block:: bash

   pip install nspfile

Use
---

.. code-block:: python

   import nspfile

   fs, x = nspfile.read('myvoice.nsp')

TODOs
-----

- Test multichannel read
- Add a writer function

Reference
---------

http://www-mmsp.ece.mcgill.ca/Documents/AudioFormats/CSL/CSL.html
