{"id":21487317,"url":"https://github.com/dtinth/sound-slicer","last_synced_at":"2025-10-24T06:04:48.959Z","repository":{"id":1466666,"uuid":"1705000","full_name":"dtinth/sound-slicer","owner":"dtinth","description":"Slice wav files for BMS makers.","archived":false,"fork":false,"pushed_at":"2011-05-05T06:25:40.000Z","size":132,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-17T10:14:47.646Z","etag":null,"topics":["batch-script","midi","php"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/dtinth.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":"2011-05-05T06:23:05.000Z","updated_at":"2021-09-16T22:14:48.000Z","dependencies_parsed_at":"2022-07-29T14:39:59.944Z","dependency_job_id":null,"html_url":"https://github.com/dtinth/sound-slicer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dtinth/sound-slicer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtinth%2Fsound-slicer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtinth%2Fsound-slicer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtinth%2Fsound-slicer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtinth%2Fsound-slicer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dtinth","download_url":"https://codeload.github.com/dtinth/sound-slicer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtinth%2Fsound-slicer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280748945,"owners_count":26383984,"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-10-24T02:00:06.418Z","response_time":73,"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":["batch-script","midi","php"],"created_at":"2024-11-23T13:28:10.587Z","updated_at":"2025-10-24T06:04:48.915Z","avatar_url":"https://github.com/dtinth.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"sound-slicer\r\n============\r\n\r\n`sound-slicer` is the app that helps me slice the sound files to make BMS notecharts.\r\n\r\nIt reads in the `.txt` files and slices the corresponding `.wav` file into parts.\r\nIt also generates a BMS clipboard file which can be transposed and pasted into\r\nBMx Sequence Editor.\r\n\r\n\r\nProject Layout\r\n--------------\r\n\r\nWhen creating BMS using this tool, you are supposed to put the original project\r\nfiles (e.g. original samples, .txt files) in any folder, and put the sliced wav\r\nfiles along with BMS files you are working in a subfolder of it, called `wav`.\r\n\r\nFor example, it might look like this:\r\n\r\n* Synth.wav\r\n* Synth.txt\r\n* wav\r\n    * song.bms\r\n    * Synth-001.wav\r\n    * Synth-002.wav\r\n    * Synth-003.wav\r\n    * Synth-004.wav\r\n    * Synth-005.wav\r\n    * ...\r\n\r\n\r\nmiditext\r\n--------\r\n\r\nAlso included here is miditext, another app that reads in a MIDI file and\r\ngenerates a .txt file. There are 2 styles.\r\n\r\n* Rhythmic: slice every events found in a MIDI file. The length of the resulting\r\n  file is equal to the length of the MIDI file. It generates a .txt file.\r\n  \r\n  This is the simplest way of converting, but may result in slight gaps between\r\n  sliced samples. This method does not detect like sounds and discard them. So\r\n  if your MIDI file has 1000 notes, it will generate 1000 slices.\r\n  \r\n* Melodic: it categorizes each note found in a MIDI file by note, length and\r\n  velocity. It then generates another .mid file with these notes organized along\r\n  with a .txt file to slice them. It also generates a clipboard file for you\r\n  to put the original notes into BMS. You then have to import the new .mid file\r\n  back into your audio application and render it as .wav file, and slice with\r\n  the generated .txt file and then use the generated clipboard file to put\r\n  notes in your BMS file.\r\n  \r\n  This method is recommended if you have a lot of notes in common. For example,\r\n  if your bassline has 500 notes, but has only 10 different notes, and they\r\n  all use the same instrument. You can export the entire bassline and convert\r\n  using melodic style instead. This results in only 10 slices being reused\r\n  throughout the whole song, instead of 500, each being used one.\r\n\r\nBoth styles does not support BPM changes.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdtinth%2Fsound-slicer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdtinth%2Fsound-slicer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdtinth%2Fsound-slicer/lists"}