# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: Python 3
#     name: python3
# ---

# + [markdown] id="_jbu5q7jgdCV"
# # Playing with Asteroid
#
# > "Source separation with Asteroid"
#
# - toc: false
# - branch: master
# - hidden: true
# - categories: [asteroid, separation]
#

# + id="vJGyKTQJqdzq"
# %%capture
# !pip install -U asteroid

# + id="f5u8wRm3GYFr"
# %%capture
# !wget https://podcast.rasset.ie/podcasts/audio/2021/0626/20210626_rteraidion-bailiuchanbhairbre-bailichnbh_c21974765_21975131_232_.mp3

# + id="_1FfyTTCePSR"
# %%capture
# !ffmpeg -i /content/20210626_rteraidion-bailiuchanbhairbre-bailichnbh_c21974765_21975131_232_.mp3 -acodec pcm_s16le -ac 1 -ar 16000 /content/20210626_rteraidion-bailiuchanbhairbre-bailichnbh_c21974765_21975131_232_.wav

# + id="go1wJBYJnsIx" colab={"base_uri": "https://localhost:8080/"} outputId="09c3538b-f5c3-4dd0-d83c-721be004bc12"
# !asteroid-infer "mpariente/ConvTasNet_WHAM!_sepclean" --files /content/20210626_rteraidion-bailiuchanbhairbre-bailichnbh_c21974765_21975131_232_.wav --resample --ola-window 8000 --ola-hop 4000

StarcoderdataJupyterScriptsDedupFiltered