BS-RoFormer Trombone
isolating trombone tracks from music mixes
1 min readupdated
An audio-to-audio separation model that extracts trombone parts from completed music tracks, isolating the rest of the mix through subtraction. The architecture builds on BS-RoFormer (a music separation model using Band-Split RoPE Transformer) with a depth of 12 and a dimension of 512, initialized with weights from viperx's vocal model. This tool helps musicians, sound engineers, and mashup artists work with brass instruments.
Key features
- BS-RoFormer architecture with 44.1 kHz sample rate in stereo mode.
- Initialized from the viperx vocal model with fine-tuning of the masking layer on 170 tracks.
- Signal-to-distortion ratio (SDR) metric of 9.44 dB on the test dataset.
- Model weights exported in fp16 format, taking up 305 MB.
What you can do
- Extract trombone tracks from salsa tracks or fanfares featuring prominent brass sections.
- Run the model using the Music-Source-Separation-Training library to process tracks.
- Load the checkpoint as a custom MDXC/RoFormer model in python-audio-separator.
Example
Running inference using Music-Source-Separation-Training:
python inference.py --model_type bs_roformer \
--config_path bs_roformer_trombone_v1.yaml \
--start_check_point bs_roformer_trombone_v1.ckpt \
--input_folder input/ --store_dir output/Read more
DetailsBenchmarks: SDR of 9.44 dB across 11 test songs.
Limitations: potential saxophone and trumpet bleed in dense brass sections; quiet or distant instruments are harder to isolate.
License: MIT.










Comments