{"id":15960623,"url":"https://github.com/earwig/music-quizzer","last_synced_at":"2025-08-14T12:38:59.890Z","repository":{"id":141189425,"uuid":"1873517","full_name":"earwig/music-quizzer","owner":"earwig","description":"A Tk-based program that can help you prepare for your music final with randomly-generated listening quizzes","archived":false,"fork":false,"pushed_at":"2012-07-07T04:13:59.000Z","size":108,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"develop","last_synced_at":"2025-03-09T05:51:13.295Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/earwig.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-06-09T23:11:12.000Z","updated_at":"2015-11-02T11:16:23.000Z","dependencies_parsed_at":"2023-03-12T02:56:46.185Z","dependency_job_id":null,"html_url":"https://github.com/earwig/music-quizzer","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/earwig/music-quizzer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/earwig%2Fmusic-quizzer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/earwig%2Fmusic-quizzer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/earwig%2Fmusic-quizzer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/earwig%2Fmusic-quizzer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/earwig","download_url":"https://codeload.github.com/earwig/music-quizzer/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/earwig%2Fmusic-quizzer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268475669,"owners_count":24256153,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-07T15:20:54.504Z","updated_at":"2025-08-03T00:07:39.580Z","avatar_url":"https://github.com/earwig.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"__MusicQuizzer__ (_musicquizzer_) is a Python program that can help you prepare\nfor any test that involves listening to excerpts of music pieces and answering\nmultiple choice questions about them.\n\n# Installation\n\n## Mac OS X\n\nFirst, download and install Python 2.6.6 from\n[here](http://www.python.org/ftp/python/2.6.6/python-2.6.6-macosx10.3.dmg).\nLater versions of Python are unsupported on Mac OS X because pygame does not\nrun on them.\n\nNext, download and install pygame from \n[here](http://pygame.org/ftp/pygame-1.9.1release-py2.6-macosx10.5.zip).\n\nFinally,\n[download MusicQuizzer](https://github.com/earwig/music-quizzer/tarball/v0.1.2)\nand extract it wherever you want. To use, simply double-click on the\n`mac_osx.command` file inside (do not move or delete any of the other files).\n\n## Windows\n\nFirst, download the installer for Python 2.7.1 from\n[here](http://python.org/ftp/python/2.7.1/python-2.7.1.msi). Use the default\nsettings during installation.\n\nNext, download and install pygame from\n[here](http://pygame.org/ftp/pygame-1.9.2a0.win32-py2.7.msi).\n\nFinally,\n[download MusicQuizzer](https://github.com/earwig/music-quizzer/zipball/v0.1.2)\nand extract it wherever you want. To use, simply double-click on the\n`musicquizzer` file inside (do not move or delete any of the other files).\n\n## Linux (with apt-get)\n\nYou should be on at least Python 2.7 (check with `python --version`), assuming\nyou keep your operating system up-to-date. Install the latest versions of\npygame and tk with:\n\n    sudo apt-get install python-pygame python-tk\n\nFinally,\n[download MusicQuizzer](https://github.com/earwig/music-quizzer/tarball/v0.1.2)\nand execute the program with `python musicquizzer.py` from your terminal.\n\n# Usage\n\nThe first time you start the program, it will download all of the 25 necessary\n(default) music pieces to the `pieces` folder. This is a ~70 MB download.\n\nMusicQuizzer will present you with an answer sheet, containing four or five\nmultiple choice questions per piece (which are, of course, randomized every\ntime you begin a new quiz). Press `Start Quiz` to begin listening to the\nexcerpts. Each one is played for 30 seconds. You are then given five seconds of\nrest, followed by the next piece. After all excerpts have been played, you\n_cannot_ re-listen to them. Press `Submit Answers` to \"hand in\" your quiz and\nview the results.\n\n# Modifying\n\nThe music pieces are located in `pieces/`, in `.mp3` format. The file\n`config.cfg` contains the information for each excerpt, like so:\n    \n    [10.mp3]\n    title: Der Erlkönig\n    composer: Franz Schubert\n    era: Romantic\n    genre: Lied\n    form: Through-composed\n    url: /music/10_The_Erlking_Erlkonig.mp3\n\nThe section's header is the name of the file in `pieces/` (or whatever\ndirectory you have chosen), and the fields hold the information that\nMusicQuizzer will use to generate questions. The exception is the `url` field,\nwhich is the _direct_ URL (when combined with the `base_url` setting in the\n`[general]` header) that MusicQuizzer will use to download the piece if\nit does not have a file with that name.\n\nFeel free to rename any of the pieces, delete them, add totally new ones, or\nchange their information. This program is designed to be customizable.\n\nIn the config file, you can also change the length of time each excerpt is\nplayed for, the time between each excerpt, and other things. If an attribute is\nnot defined for a certain piece, the quizzer will not ask the question in that\nexcerpt, but the question will remain for other pieces.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fearwig%2Fmusic-quizzer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fearwig%2Fmusic-quizzer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fearwig%2Fmusic-quizzer/lists"}