drumscript.audio_processor.stem_splitter.extract_drum_stem¶
- extract_drum_stem(audio_path: str, output_dir: str = None) str[source]¶
Legacy wrapper for the transcription pipeline. Separates a full audio track using the Demucs command-line tool and returns the file path to the isolated drum stem.
- Parameters:
audio_path (str) – The file path to the user’s full song.
- Returns:
The file path to the extracted ‘drums.wav’ stem.
- Return type:
str