{ "cells": [ { "cell_type": "markdown", "id": "3d2d126c-6665-4d0d-8996-f5987027a228", "metadata": {}, "source": [ "# Saving a multichannel audio to one channel per file" ] }, { "cell_type": "code", "execution_count": 1, "id": "a37f782b-99fd-4d5a-8b72-8c3faf8a3d34", "metadata": {}, "outputs": [], "source": [ "\n", "import cutcutcodec" ] }, { "cell_type": "code", "execution_count": 2, "id": "9f69ddd5-2674-4645-a31d-f6911d520bf2", "metadata": {}, "outputs": [], "source": [ "from cutcutcodec.utils import get_project_root\n", "\n", "input_file = get_project_root().parent / \"media\" / \"audio\" / \"cutcutcodec.ogg\" # your audio path" ] }, { "cell_type": "code", "execution_count": 3, "id": "e71ec496-1952-42b4-bebf-53717ffb0b07", "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ "WARNING:root:audio frame overlap of 0.051833 seconds detected | 0.00s/1.99s [00:00