{"id":23363245,"url":"https://github.com/splendide-imaginarius/crosstrimmer","last_synced_at":"2025-09-04T18:34:20.919Z","repository":{"id":206590096,"uuid":"716727171","full_name":"Splendide-Imaginarius/crosstrimmer","owner":"Splendide-Imaginarius","description":"Trim/pad audio files via cross-correlation to match timing of other audio files","archived":false,"fork":false,"pushed_at":"2023-11-28T23:59:18.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-13T23:18:56.655Z","etag":null,"topics":["audio","cross-correlation","cut","music","pad","trim"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Splendide-Imaginarius.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,"governance":null}},"created_at":"2023-11-09T18:39:21.000Z","updated_at":"2023-11-10T22:02:25.000Z","dependencies_parsed_at":"2023-11-22T12:47:28.382Z","dependency_job_id":null,"html_url":"https://github.com/Splendide-Imaginarius/crosstrimmer","commit_stats":null,"previous_names":["splendide-imaginarius/crosstrimmer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Splendide-Imaginarius%2Fcrosstrimmer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Splendide-Imaginarius%2Fcrosstrimmer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Splendide-Imaginarius%2Fcrosstrimmer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Splendide-Imaginarius%2Fcrosstrimmer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Splendide-Imaginarius","download_url":"https://codeload.github.com/Splendide-Imaginarius/crosstrimmer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247737740,"owners_count":20987718,"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":["audio","cross-correlation","cut","music","pad","trim"],"created_at":"2024-12-21T12:39:32.066Z","updated_at":"2025-04-07T21:48:01.075Z","avatar_url":"https://github.com/Splendide-Imaginarius.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CrossTrimmer\n\nCrossTrimmer is a tool for automatically trimming/padding an audio file to match the timings of another audio file. If you have a low-quality trimmed audio file, and a high-quality untrimmed master, CrossTrimmer may be able to produce a FLAC file with the same timings as the low-quality file, but with the same quality as the master.\n\n## Installation\n\nFirst, you'll need to install [CrossLooper](https://github.com/Splendide-Imaginarius/crosslooper) according to its installation instructions.\n\nOnce you've done that, to install CrossTrimmer via pip, do this from the `crosstrimmer` repo directory:\n\n```\npip install --user .\n```\n\n## Usage\n\nTo trim/pad `content.ogg` to match the timing of `timing.ogg` and save the result in `result.flac`:\n\n```\ncrosstrimmer content.ogg timing.ogg result.flac\n```\n\nTo trim/pad all pairs of files in two directories:\n\n```\ncrosstrimmerdir ./content/ ./timing/ ./result/\n```\n\nTo evaluate the quality difference between `result.flac` and `timing.ogg`, you can do this:\n\n```\n./wavinterleave.sh result.flac timing.ogg 5 interleaved.flac\n```\n\nThe resulting `interleaved.flac` will alternate between 5 seconds of `result.flac` and 5 seconds of `timing.ogg`.\n\n## Related Projects\n\n* [CrossLooper](https://github.com/Splendide-Imaginarius/crosslooper)\n* [WavGrep](https://github.com/Splendide-Imaginarius/wavgrep)\n\n## Credits\n\nCopyright 2023 Splendide Imaginarius.\n\nThis is not a license requirement, but if you use CrossTrimmer for a project, it would be greatly appreciated if you credit me. Example credits: \"Audio was trimmed with CrossTrimmer by Splendide Imaginarius.\" Linking back to this Git repository would also be greatly appreciated.\n\nCrossTrimmer is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n\nCrossTrimmer is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with CrossTrimmer. If not, see [https://www.gnu.org/licenses/](https://www.gnu.org/licenses/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsplendide-imaginarius%2Fcrosstrimmer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsplendide-imaginarius%2Fcrosstrimmer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsplendide-imaginarius%2Fcrosstrimmer/lists"}