{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/arxiv-2508-03448","title":"SonicMaster: Towards Controllable All-in-One Music Restoration and Mastering","arxiv_id":"2508.03448","date":"2025-08-05","proceeding":"ICML","authors":["Jan Melechovsky","Ambuj Mehrish","Abhinaba Roy","Dorien Herremans"],"abstract":"Music recordings often suffer from audio quality issues such as excessive reverberation, distortion, clipping, tonal imbalances, and a narrowed stereo image, especially when created in non-professional settings without specialized equipment or expertise. These problems are typically corrected using separate specialized tools and manual adjustments. In this paper, we introduce SonicMaster, the first unified generative model for music restoration and mastering that addresses a broad spectrum of audio artifacts with text-based control. SonicMaster is conditioned on natural language instructions to apply targeted enhancements, or can operate in an automatic mode for general restoration. To train this model, we construct the SonicMaster dataset, a large dataset of paired degraded and high-quality tracks by simulating common degradation types with nineteen degradation functions belonging to five enhancements groups: equalization, dynamics, reverb, amplitude, and stereo. Our approach leverages a flow-matching generative training paradigm to learn an audio transformation that maps degraded inputs to their cleaned, mastered versions guided by text prompts. Objective audio quality metrics demonstrate that SonicMaster significantly improves sound quality across all artifact categories. Furthermore, subjective listening tests confirm that listeners prefer SonicMaster's enhanced outputs over other baselines.","url_abs":"https://arxiv.org/abs/2508.03448","url_pdf":"https://arxiv.org/pdf/2508.03448","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2508.03448","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2508.03448"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/AMAAI-Lab/SonicMaster","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"unverified":10},"by_repo_kind":{"found_in_text":{"samples":10,"ran":0,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"a509498f6984c407","entry":"choose_degradation","repo":"AMAAI-Lab/SonicMaster","repo_kind":"found_in_text","path":"dataset_scripts/degrade_final.py","file_url":"https://github.com/AMAAI-Lab/SonicMaster/blob/HEAD/dataset_scripts/degrade_final.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"a509498f6984c407"}},{"code_sha256_prefix":"3edb72e9e08ca8a5","entry":"clip_audio","repo":"AMAAI-Lab/SonicMaster","repo_kind":"found_in_text","path":"dataset_scripts/deg_functions.py","file_url":"https://github.com/AMAAI-Lab/SonicMaster/blob/HEAD/dataset_scripts/deg_functions.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"3edb72e9e08ca8a5"}},{"code_sha256_prefix":"c4e796a569df840e","entry":"clip_audio_choice","repo":"AMAAI-Lab/SonicMaster","repo_kind":"found_in_text","path":"dataset_scripts/deg_functions.py","file_url":"https://github.com/AMAAI-Lab/SonicMaster/blob/HEAD/dataset_scripts/deg_functions.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"c4e796a569df840e"}},{"code_sha256_prefix":"a56fd5d624ea9e91","entry":"coeff_exponential","repo":"AMAAI-Lab/SonicMaster","repo_kind":"found_in_text","path":"dataset_scripts/compressor.py","file_url":"https://github.com/AMAAI-Lab/SonicMaster/blob/HEAD/dataset_scripts/compressor.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"a56fd5d624ea9e91"}},{"code_sha256_prefix":"eadd954e7280955f","entry":"normalize","repo":"AMAAI-Lab/SonicMaster","repo_kind":"found_in_text","path":"dataset_scripts/deg_functions.py","file_url":"https://github.com/AMAAI-Lab/SonicMaster/blob/HEAD/dataset_scripts/deg_functions.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"eadd954e7280955f"}},{"code_sha256_prefix":"840ad483fdc083ab","entry":"normalize_wav","repo":"AMAAI-Lab/SonicMaster","repo_kind":"found_in_text","path":"utils.py","file_url":"https://github.com/AMAAI-Lab/SonicMaster/blob/HEAD/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"840ad483fdc083ab"}},{"code_sha256_prefix":"c900bf2a613b2a7f","entry":"pad_wav","repo":"AMAAI-Lab/SonicMaster","repo_kind":"found_in_text","path":"utils.py","file_url":"https://github.com/AMAAI-Lab/SonicMaster/blob/HEAD/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"c900bf2a613b2a7f"}},{"code_sha256_prefix":"59b1e128b0f382eb","entry":"retrieve_timesteps","repo":"AMAAI-Lab/SonicMaster","repo_kind":"found_in_text","path":"model.py","file_url":"https://github.com/AMAAI-Lab/SonicMaster/blob/HEAD/model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"59b1e128b0f382eb"}},{"code_sha256_prefix":"f6edf947ba5c074e","entry":"rk4_step","repo":"AMAAI-Lab/SonicMaster","repo_kind":"found_in_text","path":"model.py","file_url":"https://github.com/AMAAI-Lab/SonicMaster/blob/HEAD/model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"f6edf947ba5c074e"}},{"code_sha256_prefix":"0bd124f1d6333bb3","entry":"sample_linear_plus_uniform","repo":"AMAAI-Lab/SonicMaster","repo_kind":"found_in_text","path":"utils.py","file_url":"https://github.com/AMAAI-Lab/SonicMaster/blob/HEAD/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"0bd124f1d6333bb3"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.SD","source":"arxiv_api"},"syntology_extracted_results":null}