{ "info": { "author": "Daniel Dowsett", "author_email": "eulerspill@protonmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3.6", "Topic :: Multimedia :: Sound/Audio" ], "description": "# What Is It?\n\nThis is a python script that builds custom mp3 files containing random arithmetic equations. You specify how\nmany equations you want, parameters for the operands, the operator and the answer (i.e. decimals to round to), as well as\nthe pause length between the question and the answer and between equations themselves, and you get an mp3 file that satisfies those parameters.\n\nWhy? Because I suck at arithmetic and I'm too lazy to sit and just practice. Now I can practice on the go like all the cool kids.\n\n\n# How to use\n\nUse python 3.6. Untested with python 2. \n\nAn example run would be:\n\n```\npython run.py 10#0(1)1000{+-}-50(2)60?5000(2) 10#10(0)99{*}10(0)99?4000(0)\n```\nThis assumes you're in the directory where the Mathtraq package has been installed.\n\n\nThe following is copied from the help output of the app itself:\n\n```\nusage: run.py [-h] [-j OUTPUT_JSON] [-o OUTPUT_MP3] [-d MAX_DIGITS]\n [-b BUFFER_SIZE] [-v {0,1,2,3}]\n [-p pause_between_questions]\n template [template ...]\n\nCreate an mp3 to practice arithmetic on the go\n\npositional arguments:\n template Example: 10#0(1)1000{+/-}-50(2)60?3000(2) will create\n 10 questions where the lhs is between 0 and 1000 with\n maximum 1 decimal place and the rhs is between -50 and\n 60 with a maximum of 2 decimal places. They will be a\n mix of addition, division and subtraction, and a\n 3000ms pause will occur before the answer is given.\n The answer will be rounded to 2 decimal places. Note\n that one * in the ops is multiplcation. Two * means\n 'to the power of' and three means both multiplication\n and powers\n\noptional arguments:\n -h, --help show this help message and exit\n -j OUTPUT_JSON, --json OUTPUT_JSON\n Specify a file to which the equation data will be\n written in JSON format\n -o OUTPUT_MP3, --output OUTPUT_MP3\n MP3 file output (default: ['mathtraq.mp3'])\n -d MAX_DIGITS, --digits MAX_DIGITS\n Maximum digits (precision) (default: [600])\n -b BUFFER_SIZE, --buffer_size BUFFER_SIZE\n Mathtraq works by concatenating a number of small\n files. This argument specifies how many to join at a\n time. (default: [600])\n -v {0,1,2,3}, --verbosity {0,1,2,3}\n 0 is no output and 3 is a lot (default: [1])\n -p pause_between_questions, --ms_pause pause_between_questions\n Milliseconds to pause after each question. Rounds down\n to nearest 500, minimum 500 (default: [500])\n\nIf you get an error whilst wanting a lot of precision, try raising the\nprecision (-d argument)\n```\n\n# Notes:\n\n* Uses mp3cat (https://github.com/dmulholland/mp3cat) to concatenate the files - developed by Darren Mulholland\n\n* Uses mpmath (http://mpmath.org/) to achieve arbitrary number length - developed by Fredrik Johansson\n\n* You can replace the audio files for the sound bites - just make sure they're all the same bitrate. Feel free to share them if you do- I've slightly modified my own voice but still... no one wants to hear themselves speak.\n\n* Add more places (eg. 'septillion') by adding the mp3 file into the placE_values folder, adding the name of the place value into the audio.place_names list between the current highest and the default 'somethings', and finally add an entry into audio.audio_segments pointing to the audio file.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mudbile/MathTraq", "keywords": "MP3 mental math mathemagic arithmetic practice mathematics", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "mathtraq", "package_url": "https://pypi.org/project/mathtraq/", "platform": "", "project_url": "https://pypi.org/project/mathtraq/", "project_urls": { "Homepage": "https://github.com/mudbile/MathTraq" }, "release_url": "https://pypi.org/project/mathtraq/1.0/", "requires_dist": null, "requires_python": "", "summary": "Create random arithmetic mp3 and/or jason files", "version": "1.0" }, "last_serial": 3879926, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "c3b2a7dd0e401af10b9a01644859aa79", "sha256": "2ca216646f7fdc63af8f3fca332c3facf520646234b7509b4d36d5cc599f9a87" }, "downloads": -1, "filename": "mathtraq-1.0.tar.gz", "has_sig": false, "md5_digest": "c3b2a7dd0e401af10b9a01644859aa79", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1340775, "upload_time": "2018-05-19T22:04:25", "url": "https://files.pythonhosted.org/packages/59/05/80c903e43ef458b4deede59b5f883a26321b6e7e49a48c936e8ca7caab83/mathtraq-1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c3b2a7dd0e401af10b9a01644859aa79", "sha256": "2ca216646f7fdc63af8f3fca332c3facf520646234b7509b4d36d5cc599f9a87" }, "downloads": -1, "filename": "mathtraq-1.0.tar.gz", "has_sig": false, "md5_digest": "c3b2a7dd0e401af10b9a01644859aa79", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1340775, "upload_time": "2018-05-19T22:04:25", "url": "https://files.pythonhosted.org/packages/59/05/80c903e43ef458b4deede59b5f883a26321b6e7e49a48c936e8ca7caab83/mathtraq-1.0.tar.gz" } ] }