{"id":13433609,"url":"https://github.com/Wally869/VisualMidi","last_synced_at":"2025-03-17T13:30:34.341Z","repository":{"id":37191390,"uuid":"261133326","full_name":"Wally869/VisualMidi","owner":"Wally869","description":"Webapp for midi visualisations using Python and Javascript. Based on MusiStrata","archived":false,"fork":false,"pushed_at":"2022-12-12T16:29:15.000Z","size":806,"stargazers_count":7,"open_issues_count":6,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-28T16:12:58.414Z","etag":null,"topics":["barchart","electron","heatmap","javascript","midi","music","music-analysis","music-composition","music-information-retrieval","music-theory","music-visualizer","plots","python","visualization","visuals","webapp"],"latest_commit_sha":null,"homepage":"https://www.noveltech.dev/work/music-utilities/","language":"JavaScript","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/Wally869.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}},"created_at":"2020-05-04T09:37:58.000Z","updated_at":"2023-12-24T20:01:51.000Z","dependencies_parsed_at":"2023-01-27T22:16:00.598Z","dependency_job_id":null,"html_url":"https://github.com/Wally869/VisualMidi","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/Wally869%2FVisualMidi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wally869%2FVisualMidi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wally869%2FVisualMidi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wally869%2FVisualMidi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Wally869","download_url":"https://codeload.github.com/Wally869/VisualMidi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244041329,"owners_count":20388218,"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":["barchart","electron","heatmap","javascript","midi","music","music-analysis","music-composition","music-information-retrieval","music-theory","music-visualizer","plots","python","visualization","visuals","webapp"],"created_at":"2024-07-31T02:01:30.723Z","updated_at":"2025-03-17T13:30:33.834Z","avatar_url":"https://github.com/Wally869.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# VisualMIDI\n\n### Overview\n\nI am working on computer generated music and wanted to have a visualizer for midi files.\nThis web app allows to easily import a midi and vizualize the following:\n\n- Scatterplot of (Time, Frequency) of midi note_on events\n- BarChart of ticks between note_on events\n- BarChart of intervals between note_on events\n\nCan also toggle to include Drums track or not\n\n![\"A quick look\"](readmeImages/mainAppView.png)\n\nNotes: it's a WIP. Chords have been filtered out\n\n### Installation\n\nInstall python dependencies (pip for mido, git clone and pip -e for MidiStructurer)\nthen\n\n```\ngit clone https://github.com/Wally869/VisualMidi\ncd VisualMidi\nnpm install\n\n// start electron app\nnpm start\n\n// Can also start in webonly mode\nnpm run startwebonly \n```\n\n### Dependencies\n\nPython:\n- mido\n- MusiStrata (my repo: https://github.com/Wally869/MusiStrata)\n\nJavascript:\n- Express\n- Chart.js\n- Electron\n\n### Plot Colors\n\nThere is no set colors for the plots.\nColors are chosen at random when needed by the ColorPool in jsfiles/frontside.js\n\nIf you want to specify your own color set, override the colors attribute of the ColorPool class\n\n```javascript\nclass ColorPool {\n  constructor() {\n    this.colors = [];\n  }\n  getColor(id) {\n    while (id \u003e this.colors.length - 1) {\n      this.colors.push(randomColorString());\n    }\n    return this.colors[id];\n  }\n}\n```\n\n### To Do\n\n- Color Palette instead of random pick\n- Change plotting library, tooltip not working for heatmap, and custom recipe for heatmap has issues\n- Maybe use brython instead of relying on user python install\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FWally869%2FVisualMidi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FWally869%2FVisualMidi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FWally869%2FVisualMidi/lists"}