{ "info": { "author": "Renato Fabbri", "author_email": "renato.fabbri@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "Intended Audience :: Education", "Intended Audience :: Other Audience", "Intended Audience :: Religion", "Intended Audience :: Science/Research", "Intended Audience :: Telecommunications Industry", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Topic :: Artistic Software", "Topic :: Multimedia :: Sound/Audio :: Analysis", "Topic :: Multimedia :: Sound/Audio :: Editors", "Topic :: Multimedia :: Sound/Audio :: Mixers", "Topic :: Multimedia :: Sound/Audio :: Sound Synthesis", "Topic :: Multimedia :: Sound/Audio :: Speech", "Topic :: Other/Nonlisted Topic", "Topic :: Scientific/Engineering :: Information Analysis", "Topic :: Scientific/Engineering :: Physics", "Topic :: Scientific/Engineering :: Visualization" ], "description": "=============================================================\nmusic is a toolbox for music synthesis (MASS modeling)\n=============================================================\n\nThis project delivers routines for music oriented sound synthesis\nin a sample based system. Music can be though of as a sample level\nDAW system, in which the objects manipulated are in fact the array\nof samples describing the sound wave that will reach a listener ear.\nThe MASS (music and audio in sample sequences) modeling is used[1][2].\n\nInstall with:\n\n $ pip3 install musicLegacy\n\nHack demo songs and make wav files with:\n\n $ python3 tests/testSong.py\n\nTo hear testSong.wav or\n\n $ python3 tests/testSong2.py\n\nto hear vibrosong.wav. To hack the MASS package itself, and use it from the repo, don't forget to:\n\n $ pip install -e \n\n\nReal time is possible but not the emphasis:\nall parameters are updated sample by sample and calculations\nare made in 64 bit floating point. All operations are described by\nequations that directly relates audio samples to musical aspects.\nDetailed descriptions can be found in:\n\n- the article \"Psychophysics of musical elements in the discrete-time representation of sound\": http://arxiv.org/abs/1412.6853\n\n- the msc dissertation \"M\u00fasica no \u00e1udio digital: descri\u00e7\u00e3o psicof\u00edsica e caixa de ferramentas\": https://github.com/ttm/dissertacao/blob/master/dissertacaoCorrigida.pdf?raw=true\n\nAlso check the music Python package: https://github.com/ttm/music\n\n\nUsage example\n=================\nDownload messages from one GMANE list:\n\n.. code:: python\n\n import musicLegacy as m\n\n # sine, triangle, square and sawtooth\n # are attributes of the bt object:\n bt=m.BasicTables()\n\n # for frequency to midi and decibels to amplitude relations:\n co=m.BasicConverter()\n # try co.db2Amp .amp2Db .hz2Midi .midi2Hz \n\n sy=m.Synth()\n\n note=sy.render()\n ut=m.Utils()\n ut.write(note) # saved to fooname.wav\n\n melody=n.hstack([sy.render(f,.2) for f in \n co.p2f(220,[0,7,7,5,6,7,0,4,7,0])])\n sy.vib_depth=3.\n sy.vib_freq=3.\n sy.tab=bt.saw\n section2=n.hstack([sy.render(freq,dur) for freq,dur in \n zip(co.p2f(110,[0,7,7,5,6,7,0,4,7,0]),\n [.2,.4,.2,.2,.8,.2,.4,.2,.4])])\n\n song=n.hstack((melody,section2))\n\n ut.write(song,\"song.wav\")\n\n # A core purpose of the toolbox is to serve other\n # toolboxes on the development sonic representations\n # E.g. m.pieces.FourHubsDance is used by gmane toolbox\n # to make sonified animations:\n # https://www.youtube.com/watch?v=YxDiwzAUPeU\n # sonicLine1 and sonicLine2 attributes are\n # most basic sonic \"templates\" used by:\n # https://pypi.python.org/pypi/gmane to make social music\n\n # more in the way. Take a look at the above literature.\n # Enjoy!", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ttm/musicLegacy", "keywords": "music audio dsp psychophysics physics synthesis toolbox", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "musicLegacy", "package_url": "https://pypi.org/project/musicLegacy/", "platform": "", "project_url": "https://pypi.org/project/musicLegacy/", "project_urls": { "Homepage": "https://github.com/ttm/musicLegacy" }, "release_url": "https://pypi.org/project/musicLegacy/0.1.dev13/", "requires_dist": null, "requires_python": "", "summary": "Yet another music package using the MASS (Music and Audio in Sample Sequences) framework", "version": "0.1.dev13" }, "last_serial": 5257150, "releases": { "0.1.dev11": [ { "comment_text": "", "digests": { "md5": "24ae5a75db42e13f572dba45288df8b8", "sha256": "7ed85caa662d94b6a2dba0efb118b1a3bdaa63b6d25bf6e5a90c046f9cd7ef82" }, "downloads": -1, "filename": "musicLegacy-0.1.dev11.tar.gz", "has_sig": false, "md5_digest": "24ae5a75db42e13f572dba45288df8b8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6531, "upload_time": "2019-05-11T19:39:53", "url": "https://files.pythonhosted.org/packages/4a/2f/be7a9496cb3b2448e5a8e7cc5e8cf63de14ed084a1d5d6743180199d879a/musicLegacy-0.1.dev11.tar.gz" } ], "0.1.dev13": [ { "comment_text": "", "digests": { "md5": "fbd30441fe3c3e6c02ae1b33e5b98fdb", "sha256": "ec72594f40f26b70edcc2386bc2b47e9b7e88e8c2d350f4c281099a7c4ff681b" }, "downloads": -1, "filename": "musicLegacy-0.1.dev13.tar.gz", "has_sig": false, "md5_digest": "fbd30441fe3c3e6c02ae1b33e5b98fdb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8124, "upload_time": "2019-05-11T20:12:24", "url": "https://files.pythonhosted.org/packages/d8/ae/d49cee5a5b81a0f6d6c7a5350d8dfca575aed3d797bfcfce17d140cd4923/musicLegacy-0.1.dev13.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "fbd30441fe3c3e6c02ae1b33e5b98fdb", "sha256": "ec72594f40f26b70edcc2386bc2b47e9b7e88e8c2d350f4c281099a7c4ff681b" }, "downloads": -1, "filename": "musicLegacy-0.1.dev13.tar.gz", "has_sig": false, "md5_digest": "fbd30441fe3c3e6c02ae1b33e5b98fdb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8124, "upload_time": "2019-05-11T20:12:24", "url": "https://files.pythonhosted.org/packages/d8/ae/d49cee5a5b81a0f6d6c7a5350d8dfca575aed3d797bfcfce17d140cd4923/musicLegacy-0.1.dev13.tar.gz" } ] }