{ "info": { "author": "Ronny Andersson", "author_email": "ronny@andersson.tk", "bugtrack_url": null, "classifiers": [], "description": "Copyright (c) 2013 Ronny Andersson\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n\nDownload-URL: https://pypi.python.org/pypi/zignal\nDescription: # zignal\n \n This is a python audio signal processing library.\n \n Python 2 is no longer supported, the last version to support python 2 is 0.2.0\n \n ## Example usage\n \n >>> import zignal\n >>>\n >>> x = zignal.Sinetone(fs=44100, f0=997, duration=0.1, gaindb=-20)\n >>> print(x)\n =======================================\n classname : Sinetone\n sample rate : 44100.0 [Hz]\n channels : 1\n duration : 0.100 [s]\n datatype : float64\n samples per ch : 4410\n data size : 0.034 [Mb]\n has comment : no\n peak : [ 0.1]\n RMS : [ 0.0707]\n crestfactor : [ 1.4147]\n -----------------:---------------------\n frequency : 997.0 [Hz]\n phase : 0.0 [deg]\n -----------------:---------------------\n \n >>> x.fade_out(millisec=10)\n >>> x.convert_to_float(targetbits=32)\n >>> x.write_wav_file(\"sinetone.wav\")\n >>> x.plot()\n >>> x.plot_fft()\n >>>\n >>> f = zignal.filters.biquads.RBJ(filtertype=\"peak\", gaindb=-6, f0=997, Q=0.707, fs=96000)\n >>> print(f)\n =======================================\n classname : RBJ\n sample rate : 96000.0 [Hz]\n feedforward (B) : [ 0.96949457 -1.87369167 0.90819329]\n feedback (A) : [ 1. -1.87369167 0.87768787]\n number of zeros : 2\n number of poles : 2\n minimum phase? : Yes\n -----------------:---------------------\n stable? : Yes\n type : peak\n gain : -6.00 [dB]\n f0 : 997.0 [Hz]\n Q : 0.7070\n \n >>> f.plot_mag_phase()\n >>> f.plot_pole_zero()\n >>>\n \n See the examples folder for more examples.\n \n ## Requirements\n \n This library relies on numpy, scipy, matplotlib and optionally pyaudio (and nose for unit testing). It is recommended to create a virtual environment and let pip install the dependencies automatically.\n \n python3 -m venv \n . /bin/activate\n pip install zignal\n \n Optionally, to be able to use a soundcard, first install the python development headers and the portaudio development files. On debian/ubuntu,\n \n sudo apt install python3-dev portaudio19-dev\n \n then run\n \n pip install zignal[sndcard]\n \n which will automatically build the portaudio library and then pyaudio.\n \n ## Local development\n \n Create a python3 virtualenv and install from the requirements.txt file to make the zignal library editable. Note that the python development headers (python3-dev) and portaudio19-dev must be installed first.\n \n python3 -m venv zignaldev\n . zignaldev/bin/activate\n pip install -r requirements.txt\n \n ## Design goals\n \n 1. Readability over efficiency. This is a python library for development and understanding of audio signal processing.\n 2. The initial goal is to write the functionality in pure python, with the use of numpy, scipy and matplotlib. See rule 1. If efficiency becomes an issue a c/c++ library might be implemented but the pure python code must remain the default choice.\n 3. Design for non real-time processing. Functionality to do real-time processing can be added if it does not break rule 1.\n 4. Self documentation. The code should aim to be well documented, in the source code itself.\n \nKeywords: audio,sound,card,soundcard,pyaudio,portaudio,playback,recording,digital,signal,processing,DSP,signalprocessing,fourier,FFT,filter,filtering,parametric,eq,equaliser,equalizer,biquad,cookbook,sine,generator,mls,mlssa,maximum,length,sequence,maximumlengthsequence,pseudo,random,pseudorandom,measure,measurement,impulse,response,impulseresponse,frequency,frequencyresponse,magnitude,magnituderesponse,piano,midi,tuning,scale,pitch,notation,equal,temperament,12TET,spn\nPlatform: any\nClassifier: Development Status :: 3 - Alpha\nClassifier: Environment :: Console\nClassifier: Intended Audience :: Developers\nClassifier: Intended Audience :: Education\nClassifier: Intended Audience :: Science/Research\nClassifier: License :: OSI Approved :: MIT License\nClassifier: Operating System :: OS Independent\nClassifier: Programming Language :: Python\nClassifier: Programming Language :: Python :: 3.6\nClassifier: Topic :: Education\nClassifier: Topic :: Multimedia :: Sound/Audio :: Analysis\nClassifier: Topic :: Multimedia :: Sound/Audio :: Capture/Recording\nClassifier: Topic :: Multimedia :: Sound/Audio :: Editors\nClassifier: Topic :: Multimedia :: Sound/Audio :: MIDI\nClassifier: Topic :: Multimedia :: Sound/Audio :: Mixers\nClassifier: Topic :: Multimedia :: Sound/Audio :: Players\nClassifier: Topic :: Multimedia :: Sound/Audio :: Sound Synthesis\nClassifier: Topic :: Scientific/Engineering :: Mathematics\nClassifier: Topic :: Software Development :: Quality Assurance\nClassifier: Topic :: Software Development :: Testing\nProvides-Extra: sndcard\nProvides-Extra: testing\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ronnyandersson/zignal", "keywords": "", "license": "The MIT License (MIT)", "maintainer": "", "maintainer_email": "", "name": "zignal", "package_url": "https://pypi.org/project/zignal/", "platform": "", "project_url": "https://pypi.org/project/zignal/", "project_urls": { "Homepage": "https://github.com/ronnyandersson/zignal" }, "release_url": "https://pypi.org/project/zignal/0.5.0/", "requires_dist": [ "numpy", "scipy", "matplotlib", "samplerate", "pyaudio ; extra == 'sndcard'", "nose ; extra == 'testing'" ], "requires_python": "", "summary": "Audio signal processing library", "version": "0.5.0" }, "last_serial": 5876283, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "958590ee6ec7d29142f5440e0e5c5927", "sha256": "e2836338201da96b09685eb4aa4c027a4d74d78549146dd025217db17979ee77" }, "downloads": -1, "filename": "zignal-0.1.0-py2-none-any.whl", "has_sig": false, "md5_digest": "958590ee6ec7d29142f5440e0e5c5927", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 36965, "upload_time": "2016-02-14T23:36:00", "url": "https://files.pythonhosted.org/packages/a7/74/20d3b2e0ad22fd59adaa42205f9eb8e0691805658b19710469f062e9b9c1/zignal-0.1.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2c4c69581aec0ff58c9b3b2b216c35ca", "sha256": "b7757e9fbc5e36dab4de63ab1b49730014c876d27deb8642c3f64c268a2c0215" }, "downloads": -1, "filename": "zignal-0.1.0.tar.gz", "has_sig": false, "md5_digest": "2c4c69581aec0ff58c9b3b2b216c35ca", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 31618, "upload_time": "2016-02-14T23:36:10", "url": "https://files.pythonhosted.org/packages/67/94/b27f6d26c48bbed96386408d693a38f334f8aefd1be359c3f4ba9ed1e711/zignal-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "ae3d11ecc81f67a543c03db4fd297bfd", "sha256": "82706f328ac31e2620c7ede81c85e02040e365f723902685aa066de9ff0d8454" }, "downloads": -1, "filename": "zignal-0.2.0-py2-none-any.whl", "has_sig": false, "md5_digest": "ae3d11ecc81f67a543c03db4fd297bfd", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 43072, "upload_time": "2017-12-06T00:36:55", "url": "https://files.pythonhosted.org/packages/0d/0d/6a7c1833045e0a02e2490f248dd859cfd8af394e3d1389f0e60061c6602d/zignal-0.2.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ea70c1908425d3ef66a6acdb92548aa0", "sha256": "ab79e346d130dca59371bd0373615f30fbeb1d6420e14090423b68903bd8ffcf" }, "downloads": -1, "filename": "zignal-0.2.0.tar.gz", "has_sig": false, "md5_digest": "ea70c1908425d3ef66a6acdb92548aa0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36450, "upload_time": "2017-12-06T00:36:56", "url": "https://files.pythonhosted.org/packages/7f/86/12d44b6db1c477ebb0acf5a9d6a5c79d901dbab297c7c89c4599ba3f3a2c/zignal-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "cfacd68f89cd9055a75c3476d94943b8", "sha256": "3031149d978e7082190ac1160b118e9dd11d437b87f5ff839b60bb48ee171876" }, "downloads": -1, "filename": "zignal-0.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "cfacd68f89cd9055a75c3476d94943b8", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 40543, "upload_time": "2019-08-06T22:35:53", "url": "https://files.pythonhosted.org/packages/c9/fd/4c701a91af8d6c5f2b7ab5c423492d66391e73eb86ce80308bb5a78523b1/zignal-0.3.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "50f5a1a16b2b33fdfcd40efb48a3fdd2", "sha256": "efe8dad6098ac143ff1932a336e9cc272ca67eb1ddac4278b2b855327bf207ae" }, "downloads": -1, "filename": "zignal-0.3.0.tar.gz", "has_sig": false, "md5_digest": "50f5a1a16b2b33fdfcd40efb48a3fdd2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36570, "upload_time": "2019-08-06T22:35:54", "url": "https://files.pythonhosted.org/packages/cf/09/e3fdabe32824d1a4a2dd8950cf04768e1677dd86c3972394228dd5f03e39/zignal-0.3.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "ea8eb558d629af86f9f8f06b65b062d2", "sha256": "b2d92a77cc838028588efc78e561aeeba3ddbf8194dbca3d7792a6efd160c4b1" }, "downloads": -1, "filename": "zignal-0.4.0-py3-none-any.whl", "has_sig": false, "md5_digest": "ea8eb558d629af86f9f8f06b65b062d2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 41145, "upload_time": "2019-08-20T20:55:43", "url": "https://files.pythonhosted.org/packages/86/3c/e2196e15e447c041dfe952b4469ae34e47ace19ffd41ad281a1d7ba4b000/zignal-0.4.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "06ac41111d530263c9b42bfb8bb61c13", "sha256": "f9f0424efb9c610584908658d8b26a71af2525970ea9a36b5eed2d5b7be6beb4" }, "downloads": -1, "filename": "zignal-0.4.0.tar.gz", "has_sig": false, "md5_digest": "06ac41111d530263c9b42bfb8bb61c13", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 37174, "upload_time": "2019-08-20T20:55:45", "url": "https://files.pythonhosted.org/packages/da/a8/1fbe35df7b8362e4b3a2d565bd9e8804fae1c23616effa6eef0df904f63f/zignal-0.4.0.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "f1e5185ce411b3976a87568489288a6d", "sha256": "079eef58b69c9a90ac2114d9e32f07f5fc083dd1854b5e6f7d61a67ae5b10019" }, "downloads": -1, "filename": "zignal-0.5.0-py3-none-any.whl", "has_sig": false, "md5_digest": "f1e5185ce411b3976a87568489288a6d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 41533, "upload_time": "2019-09-23T21:57:53", "url": "https://files.pythonhosted.org/packages/6f/4a/8ed674f1f860b26ad00d8fa7d5a5298eff2c2ef9537680b7ca2294579dcc/zignal-0.5.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c3fe6d6992cd09aefd32cb7dfa315d86", "sha256": "538dae524096f5a928c1feb61c2076f662a0a24f84738978fffdabb1fbce0ca8" }, "downloads": -1, "filename": "zignal-0.5.0.tar.gz", "has_sig": false, "md5_digest": "c3fe6d6992cd09aefd32cb7dfa315d86", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 37574, "upload_time": "2019-09-23T21:57:55", "url": "https://files.pythonhosted.org/packages/22/58/0d1be7ce164041ff4486af4620d0988b855e9146afd5fbfce1eda0f4f0c9/zignal-0.5.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f1e5185ce411b3976a87568489288a6d", "sha256": "079eef58b69c9a90ac2114d9e32f07f5fc083dd1854b5e6f7d61a67ae5b10019" }, "downloads": -1, "filename": "zignal-0.5.0-py3-none-any.whl", "has_sig": false, "md5_digest": "f1e5185ce411b3976a87568489288a6d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 41533, "upload_time": "2019-09-23T21:57:53", "url": "https://files.pythonhosted.org/packages/6f/4a/8ed674f1f860b26ad00d8fa7d5a5298eff2c2ef9537680b7ca2294579dcc/zignal-0.5.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c3fe6d6992cd09aefd32cb7dfa315d86", "sha256": "538dae524096f5a928c1feb61c2076f662a0a24f84738978fffdabb1fbce0ca8" }, "downloads": -1, "filename": "zignal-0.5.0.tar.gz", "has_sig": false, "md5_digest": "c3fe6d6992cd09aefd32cb7dfa315d86", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 37574, "upload_time": "2019-09-23T21:57:55", "url": "https://files.pythonhosted.org/packages/22/58/0d1be7ce164041ff4486af4620d0988b855e9146afd5fbfce1eda0f4f0c9/zignal-0.5.0.tar.gz" } ] }