File size: 772 Bytes
3d7895a
9c5c602
 
 
b6dc2cb
 
 
9c5c602
3d7895a
9c5c602
1
2
3
4
5
6
7
8
9
10
import gradio as gr
from cqfe_utils import cqfe
cqfe_interface = gr.Interface(fn=cqfe,
                              inputs=gr.Audio(type='filepath', format='wav', label='Audio Input File'),
                              outputs=[gr.Plot(label='F0 Estimation Plot'),
                                        gr.File(type='file', label='F0 Output Files')],
                              title="Choral Quartets F0 Extractor (v0.1.2)",
                              description="An application that uses Multi-Pitch Estimation and Voice Assignment to transform audio files with Choral Quartets recordings into files (CSV, HDF5 and MIDI) containing F0 estimations for each voice (Soprano, Alto, Tenor and Bass). The processing may take a few minutes.")

cqfe_interface.launch()