{ "info": { "author": "Dror Ayalon", "author_email": "d.stamail@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3.6", "Topic :: Multimedia :: Sound/Audio :: Mixers" ], "description": "[![GitHub license](https://img.shields.io/github/license/Naereen/StrapDown.js.svg)](https://github.com/Naereen/StrapDown.js/blob/master/LICENSE)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\n\n# MixingBear\nAutomatic beat-mixing of music files in Python, using [AudioOwl](https://github.com/dodiku/AudioOwl) \ud83c\udf9a\n\n**Jump to:**\n- [Quickstart](https://github.com/dodiku/MixingBear#quickstart)\n- [Installation](https://github.com/dodiku/MixingBear#installation)\n- [Usage](https://github.com/dodiku/MixingBear#usage)\n\n\n![MixingBear](https://raw.githubusercontent.com/dodiku/MixingBear/master/Images/MixingBear.png)\n\n# Quickstart\nMix two WAV files -\n```python\nimport mixingbear\nmixingbear.mix('track01.wav', 'track02.wav', 'output.wav')\n```\n# Installation\n> Tested on Python 3.6 or later\n\n\n> \u26a0\ufe0f AudioOwl needs **ffmpeg** to be installed on your machine.\n> The easiest way to install ffmpeg (at least on a Mac) is using homebrew. [See instructions here](https://gist.github.com/clayton/6196167).\n\n\nThe latest stable release is available on PyPI. \nInstall it using the following command -\n\n```bash\n$ pip install mixingbear\n```\n\n# Usage\n\n## ``mixingbear.mix()``\nSaves a mixed WAV file locally to ``output_file_path``\n\nSupported keyword arguments for ``audioowl.get_waveform()``:\n- ``top_file`` - Path to a WAV file you want to mix onto ``bottom_file``. e.g. ``top_file=wav_file.wav``\n- ``bottom_file`` - Path to a WAV file you want to mix ``top_file`` onto. e.g. ``bottom_file=wav_file.wav``\n- ``output_file_path`` - Path for the mixed output WAV file you want to mix ``output_file_path`` onto. e.g. ``bottom_file=output.wav``\n- ``mix_mode`` *[optional, default == 'random']* - String:\n - ``random`` - MixingBear will find the best mixing points, and will mix the tracks starting on a random one out of them.\n - ``first`` - MixingBear will find the best mixing points, and will mix the tracks on the **first** one.\n- ``sr`` *[optional, default == 22050]* - Integer. Sample rate.\n- ``offset`` *[optional, default == 880, equal to ~20 milliseconds on a track with 44100 sample rate]* - Integer. Number of samples to use as padding on beats, to choose sync points. e.g. With offset=880, beats will be considered as 'matching' is they are positioned away from each other in 880 samples or less.\n- ``trim_silence`` *[optional, default == True]* - Boolean. If True, MixingBear will trim leading silence on ``top_file``.", "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/dodiku/MixingBear", "keywords": "Automatic beat-mixing of music files. audio analysis", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "mixingbear", "package_url": "https://pypi.org/project/mixingbear/", "platform": "", "project_url": "https://pypi.org/project/mixingbear/", "project_urls": { "Homepage": "https://github.com/dodiku/MixingBear" }, "release_url": "https://pypi.org/project/mixingbear/0.0.1/", "requires_dist": null, "requires_python": "", "summary": "Automatic beat-mixing of music files", "version": "0.0.1" }, "last_serial": 3809087, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "fd919278a5109fb0e23fe161319d013e", "sha256": "42c4eab0a7f8e66787eb4c502a51a38daf3c4bc6fe9c82d99aac3d86c71dc1df" }, "downloads": -1, "filename": "mixingbear-0.0.1.tar.gz", "has_sig": false, "md5_digest": "fd919278a5109fb0e23fe161319d013e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4110, "upload_time": "2018-04-26T04:39:11", "url": "https://files.pythonhosted.org/packages/c8/73/8f1c7a5323737cc8b7904d134493ef31747c3f4af2770809866df0cea25b/mixingbear-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "fd919278a5109fb0e23fe161319d013e", "sha256": "42c4eab0a7f8e66787eb4c502a51a38daf3c4bc6fe9c82d99aac3d86c71dc1df" }, "downloads": -1, "filename": "mixingbear-0.0.1.tar.gz", "has_sig": false, "md5_digest": "fd919278a5109fb0e23fe161319d013e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4110, "upload_time": "2018-04-26T04:39:11", "url": "https://files.pythonhosted.org/packages/c8/73/8f1c7a5323737cc8b7904d134493ef31747c3f4af2770809866df0cea25b/mixingbear-0.0.1.tar.gz" } ] }