{"id":20340096,"url":"https://github.com/zulko/unroll","last_synced_at":"2025-04-11T23:16:40.251Z","repository":{"id":15941070,"uuid":"18683328","full_name":"Zulko/unroll","owner":"Zulko","description":"Python package for Piano roll transcription to sheet music","archived":false,"fork":false,"pushed_at":"2014-04-15T08:01:27.000Z","size":268,"stargazers_count":58,"open_issues_count":3,"forks_count":10,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-11T23:16:34.874Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://zulko.github.io/unroll/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"facebook/php-webdriver","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Zulko.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-04-11T17:48:41.000Z","updated_at":"2025-01-26T07:54:25.000Z","dependencies_parsed_at":"2022-07-14T01:00:38.394Z","dependency_job_id":null,"html_url":"https://github.com/Zulko/unroll","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zulko%2Funroll","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zulko%2Funroll/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zulko%2Funroll/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zulko%2Funroll/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Zulko","download_url":"https://codeload.github.com/Zulko/unroll/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248492885,"owners_count":21113163,"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","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-11-14T21:19:41.043Z","updated_at":"2025-04-11T23:16:40.228Z","avatar_url":"https://github.com/Zulko.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Unroll\n=======\n\nUnroll is a Python module to ease transcription of piano rolls to sheet music.\nIt transcribes either a MIDI file or a video of a piano roll. It finds\nthe notes, the tempo, roughly separates the hands, and writes the result\nin a Lilypond file. In particular\n\nYou can use it like this: ::\n    \n    # TO TRANSCRIBE FROM A VIDEO\n    \n    from unroll import video2scan, rollscan2keystrikes\n    focus = lambda im : im[[156],58:478]\n    scan = video2scan(videofile = \"limehouse_nights.mp4\", focus = focus)\n    keystrikes = rollscan2keystrikes(scan)\n    keystrikes = ks.transposed(26)\n    keystrikes.transcribe('score.ly', quarter_durations = [2,10,0.02])\n    \n    # TO TRANSCRIBE FROM A MIDI FILE\n    \n    from unroll import midi2keystrikes\n    keystrikes = midi2keystrikes('tiger_rag.mid')\n    ks.transcribe('score.ly', quarter_durations = [50,100,0.02])\n\n\nThen you must edit ``score.ly`` to correct the mistakes and when you are done you compile it with\n::\n    \n    lilypond score.ly\n    \n    \nInstallation\n--------------\n\nUnroll can be installed by unzipping the source code in one directory and using this command:\n::\n    \n    (sudo) python setup.py install\n\nYou can also install it directly from the Python Package Index (PYPI_) with this command:\n::\n        \n    (sudo) pip install unroll\n\n\nContribute\n-----------\nUnroll is an open-source software originally written by Zulko_ and released under the MIT licence.\nThe project is hosted on Github_ and everyone is welcome to contribute ! Please give feedback if you are using it and encounter difficulties.\n\n\n.. _PYPI: https://pypi.python.org/pypi/unroll\n.. _Github: https://github.com/Zulko/Unroll\n.. _Zulko : https://github.com/Zulko\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzulko%2Funroll","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzulko%2Funroll","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzulko%2Funroll/lists"}