{"id":20217353,"url":"https://github.com/windowsnt/pianoroll","last_synced_at":"2026-03-17T17:11:57.247Z","repository":{"id":80700413,"uuid":"184106814","full_name":"WindowsNT/pianoroll","owner":"WindowsNT","description":"Pianoroll control for Windows","archived":false,"fork":false,"pushed_at":"2020-10-13T17:53:09.000Z","size":1912,"stargazers_count":31,"open_issues_count":0,"forks_count":11,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-08T04:47:57.485Z","etag":null,"topics":["audio","cplusplus","cubase","midi","piano","pianoroll","play","sound","vst","windows"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WindowsNT.png","metadata":{"files":{"readme":"Readme.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-04-29T16:33:40.000Z","updated_at":"2025-07-21T21:24:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"0d6c8025-54d9-45f6-8b41-0c7d869d3ad4","html_url":"https://github.com/WindowsNT/pianoroll","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/WindowsNT/pianoroll","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WindowsNT%2Fpianoroll","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WindowsNT%2Fpianoroll/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WindowsNT%2Fpianoroll/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WindowsNT%2Fpianoroll/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WindowsNT","download_url":"https://codeload.github.com/WindowsNT/pianoroll/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WindowsNT%2Fpianoroll/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30627885,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-17T14:16:03.965Z","status":"ssl_error","status_checked_at":"2026-03-17T14:16:03.380Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["audio","cplusplus","cubase","midi","piano","pianoroll","play","sound","vst","windows"],"created_at":"2024-11-14T06:33:41.007Z","updated_at":"2026-03-17T17:11:57.231Z","avatar_url":"https://github.com/WindowsNT.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pianoroll for Windows \n\nA flexible, featured pianoroll control with microtunal support, using Direct2D to paint.\n![\tPianoroll](https://raw.githubusercontent.com/WindowsNT/pianoroll/master/1.jpg)\n\nArticle:\nhttps://www.codeproject.com/Articles/4042343/A-flexible-Direct2D-Pianoroll-for-your-music-apps\n\n## To use\n\n1. Instantiate PR::PIANOROLL object\n2. Pass WM_KEYDOWN, WM_LBUTTONDBLCLK, WM_LBUTTONDOWN, WM_RBUTTONDOWN, WM_MOUSEMOVE,WM_LBUTTONUP, WM_SYSKEYDOWN to the control\n3. When you want to paint it, call member \"Paint()\" passing a Direct2D object and the RECT\n\n## Features\n\n* Notes support channel (0-15), velocity (0-127) , layer (unlimited)\n* Moving, Resizing with snap controls\n* Supports diatonic movement through specified Key and Mode (Major/Minor)\n* Unlimited undo/redo\n* Unlimited layers\n* Piano side (Left/Right) \n* Callbacks\n* Tools - Auto, Eraser, Single click entry, Quantizer, Paint\n* Serialization/Deserialization to XML\n* Key per measure\n* Tempo per measure\n* Time signature per measure\n* MIDI export \n* Partial MIDI import (in progress)\n* Non-note MIDI notes\n* Meta events (Raw hex and specific items)\n* Aftertouch events\n* Pitch shift events\n* Note quantization\n* Markers\n* Long text show\n* Chromatic/Diatonic transposes\n* Record from MIDI in device\n* Event streaming to callback\n* Live note viewer\n* Part editing mode\n* Microtunal support (documentation soon)\n\n## Callbacks\nYour callbacks are notified when:\n* Note is changed or inserted or removed\n* Piano note is tapped\n* Redraw requested\n\n## Keyboard shortcuts\n* A : auto tool\n* E : eraser tool\n* I : single entry tool\n* Q : quantize tool\n* N : paint tool\n* 1,2,3,4 (up row) : Select beat duration for next note\n* Shift+1,2,3,4 (up row) : Beat duration 1/8, 1/16, 1/32,  1/64\n* \u003c and \u003e : Change selected items velocity\n* Ctrl+ \u003c and \u003e : Velocity off/full\n* \u003c and \u003e when pitch shift: Up/Down pitch shift (combine with Ctrl/Shift/Alt)\n* +/- : Change selected items position diatonically\n* Shift +/- : Change selected items position chromatically\n* Numpad +/-/* : Zoom in,out,all\n* Shift + Arrows up/down : Change channel\n* Alt + Arrows up/down : Change layer\n* / and \\ : Enlarge/reduce notes\n* D,H,': Double/Half/+1/2 notes\n* Ctrl+Q : Quantize notes\n* Ctrl+G : Go to measure\n* J : Join notes\n* Ctrl+1...6 : Snapping resolution\n* Alt+1-9 Numpad : Toggle layers\n* 1-9 Numpad : Next layer\n* Ctrl+A : Select all\n* Ctrl+C : Copy\n* Ctrl+T : Diatonic transpose\n* Ctrl+Shift+T : Chromatic transpose\n* Ctrl+V : Paste to last clicked measure\n* Ctrl+Z : Undo\n* Ctrl+Y : Redo\n* Z : Move left\n* X : Move right\n* [,] : Next/Prev marker\n* Right/Left arrow : move roll \n* Del : Delete selected notes\n* Ctrl+Home : Scroll to start\n* P : Toggle part editing mode\n* Alt+P : Select next part\n* Shift+P : Selected parts names\n* Tab : Go next note or part\n* Shift + Tab : Go prev note or part\n\n## Mouse\n* Dblclick : insert note (auto tool) \n* Control + Dblclick : insert non note event\n* Control + Shift + Dblclick : insert aftertouch\n* Dblclick on note : remove note\n* Click on note : select/unselect (quantize in quantize tool)\n* Drag outside note: select (insert in single entry tool, delete in eraser tool, quantize in quantize tool)\n* Drag/Resize note\n\n## Part editing\nIn part editing, selections of parts affect all part notes (for example, copy/paste/delete)\nThe J command combines parts\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwindowsnt%2Fpianoroll","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwindowsnt%2Fpianoroll","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwindowsnt%2Fpianoroll/lists"}