export type Separator = 'spleeter' | 'd3net' | 'xumx' | 'mdx' | 'mdx_extra' | 'mdx_q' | 'mdx_extra_q' | 'demucs' | 'demucs48_hq' | 'demucs_extra' | 'demucs_quantized' | 'tasnet' | 'tasnet_extra' | 'light' | 'light_extra' ; export const separatorLabelMap = { spleeter : 'Spleeter' , d3net : 'D3Net' , xumx : 'X-UMX' , mdx : 'Demucs v3' , mdx_extra : 'Demucs v3 Extra' , mdx_q : 'Demucs v3 Q' , mdx_extra_q : 'Demucs v3 Extra Q' , demucs : 'Demucs v2' , demucs48_hq : 'Demucs v2 HQ' , demucs_extra : 'Demucs v2 Extra' , demucs_quantized : 'Demucs v2 Q' , tasnet : 'Tasnet v2' , tasnet_extra : 'Tasnet v2 Extra' , light : 'Demucs v1 Light' , light_extra : 'Demucs v1 Light (extra)' , } ; export const isDemucsOrTasnet = ( separator ) : boolean => { return ( separator === 'mdx' || separator === 'mdx_extra' || separator === 'mdx_q' || separator === 'mdx_extra_q' || separator === 'demucs' || separator === 'demucs48_hq' || separator === 'demucs_extra' || separator === 'demucs_quantized' || separator === 'tasnet' || separator === 'tasnet_extra' || separator === 'light' || separator === 'light_extra' ) ; } ;