{ "info": { "author": "Alexander Lerch", "author_email": "info@AudioContentAnalysis.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Topic :: Multimedia :: Sound/Audio :: Analysis" ], "description": "# pyACA\n**IN WORK: Currently untested**\n\nPython scripts accompanying the book \"An Introduction to Audio Content \nAnalysis\" (www.AudioContentAnlysis.org)\n\nThis package comprises implementations of simple algorithms and features for \naudio content analysis.\n\nPlease note that the provided code examples are only intended to showcase \nalgorithmic principles \u00e2\u20ac\u201c they are not suited to be used without \nparameter optimization and additional algorithmic tuning. More specifically,\nthe python code might **violate typical python style conventions** in order to\nbe consistent with the Matlab code at \nhttps://github.com/alexanderlerch/ACA-Code\n\nThe majority of these python sources require the numpy and scipy installed. \nSeveral functions (such as MFCCs and Gammatone filters) are based on \nimplementations in Slaney\u00e2\u20ac\u2122s Auditory Matlab Toolbox.\n\nPlease feel free to visit http://www.audiocontentanalysis.org/code/\nto find the latest versions of this code or to submit comments or code \nthat fixes, improves and adds functionality.\n\nThe top-level functions are:\n- computeFeature: calculates instantaneous features \n- computePitch: calculates a fundamental frequency estimate\n- computeKey: calculates a simple key estimate\n- computeNoveltyFunction: simple onset detection\n- computeBeatHisto: calculates a simple beat histogram\n\nThe names of the additional functions follow the following \nconventions:\n- Feature*: instantaneous features\n- Pitch*: pitch tracking approach\n- Novelty*: novelty function computation\n- Tool*: additional help functions such as frequency scale \nconversion, dynamic time warping, gammatone filterbank, ...\n\nExample: Computation and plot of the Spectral Centroid\n\n```python\n #import numpy as np\n import matplotlib.pyplot as plt \n\timport pyACA\n\n\t# file to analyze\n\tcPath = \"c:/temp/test.wav\"\n\n\t# extract feature\n\t[v,t] = pyACA.computeFeatureCl(cPath, \"SpectralCentroid\")\n\n # plot feature output\n plt.plot(t,v)\n\n\t#####################################################\n\t# example 2: for extracting multiple features\n # read audio file\n\tcPath = \"c:/temp/test.wav\"\n [f_s,afAudioData] = pyACA.ToolReadAudio(cPath)\n #afAudioData = np.sin(2*np.pi * np.arange(f_s*1)*440./f_s)\n\n # compute feature\n [vsc,t] = pyACA.computeFeature(\"SpectralCentroid\", afAudioData, f_s)\n [vsf,t] = pyACA.computeFeature(\"SpectralFlux\", afAudioData, f_s)\n\n```\n\n\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/alexanderlerch/pyACA", "keywords": "audio analysis features pitch key extraction music onset beat detection descriptors", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pyACA", "package_url": "https://pypi.org/project/pyACA/", "platform": "", "project_url": "https://pypi.org/project/pyACA/", "project_urls": { "Homepage": "https://github.com/alexanderlerch/pyACA" }, "release_url": "https://pypi.org/project/pyACA/0.1.6/", "requires_dist": [ "numpy", "scipy", "matplotlib" ], "requires_python": "", "summary": "scripts accompanying the book An Introduction to Audio Content Analysis by Alexander Lerch", "version": "0.1.6" }, "last_serial": 5924064, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "973481c225cb0e0a898d24d366bb84b6", "sha256": "9e225baa65c3d1f68c0aced823eba0d7eb7a3a67f0d0cd82cf07b9cd48b4f370" }, "downloads": -1, "filename": "pyACA-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "973481c225cb0e0a898d24d366bb84b6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 34333, "upload_time": "2019-09-26T21:08:36", "url": "https://files.pythonhosted.org/packages/4e/42/96686dcea2135a5e138541f76b8f861bb6adb3cf963a59f1b575520d82b8/pyACA-0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "60778495b8e06c4687adda3437d8fd0f", "sha256": "e779a42874de7b5e379f5108bb729eb094cfb3eb50d7f1c9abf4ac3a5e40bd8f" }, "downloads": -1, "filename": "pyACA-0.1.tar.gz", "has_sig": false, "md5_digest": "60778495b8e06c4687adda3437d8fd0f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15366, "upload_time": "2019-09-26T21:08:39", "url": "https://files.pythonhosted.org/packages/ff/09/02a20c06400ec2aa25206e2f18e73b9ed855a39d2c008abbb313b5af76ab/pyACA-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "b797e7cd43e92db794094498d418324b", "sha256": "7652aba4f1b7646552bd8f12b39646118ed66be3332ddccd729062399e6c0353" }, "downloads": -1, "filename": "pyACA-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "b797e7cd43e92db794094498d418324b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 34355, "upload_time": "2019-09-28T00:15:28", "url": "https://files.pythonhosted.org/packages/2b/17/817e41277554c62536b24f4bc3fb6fb74e92b49f7835000117db371eaca0/pyACA-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0039b3bec688411a2174ef6c46a5473b", "sha256": "f8740f4e86fd2a8b9623016ca614e522532d4350c5179d2bbfe7c70b776e1c96" }, "downloads": -1, "filename": "pyACA-0.1.1.tar.gz", "has_sig": false, "md5_digest": "0039b3bec688411a2174ef6c46a5473b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15373, "upload_time": "2019-09-28T00:15:30", "url": "https://files.pythonhosted.org/packages/be/bd/d0892343f94da4d2b0f886ee545f12e8cc021dffa81d0ad5c3d12e3a6b54/pyACA-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "1ee353556a97247157273f39d4361ceb", "sha256": "79b34aab1ce350f47245cdcbbcfe92bcdce075bcc916692916aba7ad76eee08c" }, "downloads": -1, "filename": "pyACA-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "1ee353556a97247157273f39d4361ceb", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 34370, "upload_time": "2019-09-28T19:08:58", "url": "https://files.pythonhosted.org/packages/1b/f0/c8b5e0886a86ce6c208ac0ac25b4268c70d2e31ce23fe3f249c36d0e6251/pyACA-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a48e79252b895684d7d23c6407c16ecc", "sha256": "a06de5a332a365aba8c229d4130b2ba805205ce1bf56c01fb0a04374f3f7c5ac" }, "downloads": -1, "filename": "pyACA-0.1.2.tar.gz", "has_sig": false, "md5_digest": "a48e79252b895684d7d23c6407c16ecc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15337, "upload_time": "2019-09-28T19:09:00", "url": "https://files.pythonhosted.org/packages/a1/c7/f7baade443aeaa41dbda4b870fec0bc08154effe95d90a4defc94ef7fef4/pyACA-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "129b09312c00842f6a6e2cc1cb1613f8", "sha256": "d16af14a75367a5ec5715ef6002c0f883b68a41cd684d478ca6c6d47874686f5" }, "downloads": -1, "filename": "pyACA-0.1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "129b09312c00842f6a6e2cc1cb1613f8", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 34393, "upload_time": "2019-09-28T19:30:45", "url": "https://files.pythonhosted.org/packages/50/13/a511333a8294fd9c3b28f4268287ca36fa041556867e6edec789c284ff3a/pyACA-0.1.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c3330d938dd582590b267255e210f999", "sha256": "f5011c1b6fa8018fff1a055fa9ab735c8d083b160228978ddb1a68f98322ff5b" }, "downloads": -1, "filename": "pyACA-0.1.3.tar.gz", "has_sig": false, "md5_digest": "c3330d938dd582590b267255e210f999", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15403, "upload_time": "2019-09-28T19:30:47", "url": "https://files.pythonhosted.org/packages/e0/b4/416458e8f047c253c931a7072aba4c26011c06e0be4755aecd55ee1cb60a/pyACA-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "56422fe0307e35899326a73934fea41b", "sha256": "8bbfc3b8e649b3e62c6e6b0e936a13b426cf98cb1b7ed81769893c6ea0885782" }, "downloads": -1, "filename": "pyACA-0.1.4-py3-none-any.whl", "has_sig": false, "md5_digest": "56422fe0307e35899326a73934fea41b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 34394, "upload_time": "2019-09-28T19:42:09", "url": "https://files.pythonhosted.org/packages/74/ba/b1b59d39dcce422ec23968df5da04a4a67ba7a73503f46ab190907b7d402/pyACA-0.1.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "96e358a766169b48aa21987b5223c4ab", "sha256": "b191be932889ff79df2cc1a48cd613e0902407c22d57a2f78aced27d2e6dbc56" }, "downloads": -1, "filename": "pyACA-0.1.4.tar.gz", "has_sig": false, "md5_digest": "96e358a766169b48aa21987b5223c4ab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15407, "upload_time": "2019-09-28T19:42:11", "url": "https://files.pythonhosted.org/packages/bb/ce/0029e2a51f316d6f589ff87c3c75eaed3c637b95b2bb8e2d2a5a3f049996/pyACA-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "212722ff8fbe84616693c464d3b392e6", "sha256": "e5de0134495f8b84704b02b3eb237d134017261071610f47b164a29fe7445a3c" }, "downloads": -1, "filename": "pyACA-0.1.5-py3-none-any.whl", "has_sig": false, "md5_digest": "212722ff8fbe84616693c464d3b392e6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 34770, "upload_time": "2019-10-03T15:28:47", "url": "https://files.pythonhosted.org/packages/d3/88/18a2838edaddde0c66ef84180c1d3b086e88ccc0fc74b442843c9304b1bd/pyACA-0.1.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "26da440389508dadb01093c3e85b6f42", "sha256": "7962b865425d55e3983a26b52473e59f004e1c32ef9a593c1dac40322245a028" }, "downloads": -1, "filename": "pyACA-0.1.5.tar.gz", "has_sig": false, "md5_digest": "26da440389508dadb01093c3e85b6f42", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15882, "upload_time": "2019-10-03T15:28:48", "url": "https://files.pythonhosted.org/packages/6b/f1/5aea243d8d14caf6b13f1b3c4ed73887f6b3aa7bd13af94e98f72d23fbff/pyACA-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "603fb3f3d256095190aab5e5fe0e3dad", "sha256": "6b6da1f4654e9040be8b9a96b3d01b1262af4b5a8df72f5addba415d978e3543" }, "downloads": -1, "filename": "pyACA-0.1.6-py3-none-any.whl", "has_sig": false, "md5_digest": "603fb3f3d256095190aab5e5fe0e3dad", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 34782, "upload_time": "2019-10-03T15:36:03", "url": "https://files.pythonhosted.org/packages/d3/cb/87afd706af1c832baf5ef121570458a41c4b72e2bb055bdc2db2cd444ddb/pyACA-0.1.6-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "97f1060165223b09f5f5f19eb2d3600d", "sha256": "2841afd34c2e9c998fb076757a4d71a6910fa604e7c4051beb6c0178d9760369" }, "downloads": -1, "filename": "pyACA-0.1.6.tar.gz", "has_sig": false, "md5_digest": "97f1060165223b09f5f5f19eb2d3600d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15894, "upload_time": "2019-10-03T15:36:05", "url": "https://files.pythonhosted.org/packages/4e/df/41fc9ca8ada0147e83f9b52463e24902d4ea055612ff555e54ef67459de5/pyACA-0.1.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "603fb3f3d256095190aab5e5fe0e3dad", "sha256": "6b6da1f4654e9040be8b9a96b3d01b1262af4b5a8df72f5addba415d978e3543" }, "downloads": -1, "filename": "pyACA-0.1.6-py3-none-any.whl", "has_sig": false, "md5_digest": "603fb3f3d256095190aab5e5fe0e3dad", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 34782, "upload_time": "2019-10-03T15:36:03", "url": "https://files.pythonhosted.org/packages/d3/cb/87afd706af1c832baf5ef121570458a41c4b72e2bb055bdc2db2cd444ddb/pyACA-0.1.6-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "97f1060165223b09f5f5f19eb2d3600d", "sha256": "2841afd34c2e9c998fb076757a4d71a6910fa604e7c4051beb6c0178d9760369" }, "downloads": -1, "filename": "pyACA-0.1.6.tar.gz", "has_sig": false, "md5_digest": "97f1060165223b09f5f5f19eb2d3600d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15894, "upload_time": "2019-10-03T15:36:05", "url": "https://files.pythonhosted.org/packages/4e/df/41fc9ca8ada0147e83f9b52463e24902d4ea055612ff555e54ef67459de5/pyACA-0.1.6.tar.gz" } ] }