# subashree-karur-sivakumar/voxsplit architecture

> Architecture diagram of the GitHub repository subashree-karur-sivakumar/voxsplit, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-11). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/subashree-karur-sivakumar/voxsplit
- Repository: https://github.com/subashree-karur-sivakumar/voxsplit

## Overview

VoxSplit is a Streamlit prototype for separating speakers in uploaded WAV audio. Its main workflow loads and resamples audio, obtains a pretrained Conv-TasNet model, runs separation, then sharpens and normalizes each output for playback and waveform display. A separate helper downloads a small LibriMix dataset. The README is empty; relationships shown here are supported by the sampled source excerpts, which do not establish any persistent storage or further integrations.

Main entry points: [`app.py`](https://github.com/subashree-karur-sivakumar/voxsplit/blob/main/app.py) (Streamlit dashboard), [`model_utils.py`](https://github.com/subashree-karur-sivakumar/voxsplit/blob/main/model_utils.py) (Model loader), [`get_data.py`](https://github.com/subashree-karur-sivakumar/voxsplit/blob/main/get_data.py) (LibriMix download helper)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_interface["Audio interface"]
  node_dashboard["Streamlit dashboard<br/>[app.py]"]
  node_audio_prep["Audio preparation<br/>[app.py]"]
  node_result_view["Audio and waveform output<br/>[app.py]"]
  node_clarity["Clarity processing<br/>[app.py]"]
end

subgraph group_inference["Separation inference"]
  node_model_loader["Model loader<br/>[model_utils.py]"]
  node_pretrained_model["Pretrained Conv-TasNet"]
  node_separation["Audio separation<br/>[model_utils.py]"]
end

subgraph group_data["Dataset acquisition"]
  node_dataset_helper["LibriMix download helper<br/>[get_data.py]"]
  node_librimix[("LibriMix dataset")]
end

node_user(("Audio user"))

node_user -->|"uploads WAV"| node_dashboard
node_dashboard -->|"reads and resamples"| node_audio_prep
node_dashboard -->|"loads model"| node_model_loader
node_model_loader -->|"loads pretrained"| node_pretrained_model
node_dashboard -->|"calls separation"| node_separation
node_audio_prep -->|"supplies audio"| node_separation
node_model_loader -.->|"provides model"| node_separation
node_dashboard -->|"filters sources"| node_clarity
node_clarity -->|"renders outputs"| node_result_view
node_dataset_helper -->|"downloads dataset"| node_librimix

click node_dashboard "https://github.com/subashree-karur-sivakumar/voxsplit/blob/main/app.py"
click node_audio_prep "https://github.com/subashree-karur-sivakumar/voxsplit/blob/main/app.py"
click node_result_view "https://github.com/subashree-karur-sivakumar/voxsplit/blob/main/app.py"
click node_model_loader "https://github.com/subashree-karur-sivakumar/voxsplit/blob/main/model_utils.py"
click node_separation "https://github.com/subashree-karur-sivakumar/voxsplit/blob/main/model_utils.py"
click node_clarity "https://github.com/subashree-karur-sivakumar/voxsplit/blob/main/app.py"
click node_dataset_helper "https://github.com/subashree-karur-sivakumar/voxsplit/blob/main/get_data.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_dashboard,node_audio_prep,node_result_view,node_clarity,node_user toneBlue
class node_model_loader,node_pretrained_model,node_separation toneAmber
class node_dataset_helper,node_librimix toneMint
```

## Components

### Audio interface

- [Streamlit dashboard](https://github.com/subashree-karur-sivakumar/voxsplit/blob/main/app.py): `app.py`
- [Audio preparation](https://github.com/subashree-karur-sivakumar/voxsplit/blob/main/app.py): `app.py`
- [Audio and waveform output](https://github.com/subashree-karur-sivakumar/voxsplit/blob/main/app.py): `app.py`
- [Clarity processing](https://github.com/subashree-karur-sivakumar/voxsplit/blob/main/app.py): `app.py`

### Separation inference

- [Model loader](https://github.com/subashree-karur-sivakumar/voxsplit/blob/main/model_utils.py): `model_utils.py`
- **Pretrained Conv-TasNet**
- [Audio separation](https://github.com/subashree-karur-sivakumar/voxsplit/blob/main/model_utils.py): `model_utils.py`

### Dataset acquisition

- [LibriMix download helper](https://github.com/subashree-karur-sivakumar/voxsplit/blob/main/get_data.py): `get_data.py`
- **LibriMix dataset**

### Other components

- **Audio user**

## Connections

- Audio user → Streamlit dashboard: uploads WAV (evidence: `app.py`)
- Streamlit dashboard → Audio preparation: reads and resamples (evidence: `app.py`)
- Streamlit dashboard → Model loader: loads model (evidence: `app.py`)
- Model loader → Pretrained Conv-TasNet: loads pretrained (evidence: `model_utils.py`)
- Streamlit dashboard → Audio separation: calls separation (evidence: `app.py`)
- Audio preparation → Audio separation: supplies audio (evidence: `app.py`)
- Model loader → Audio separation: provides model (evidence: `model_utils.py`)
- Streamlit dashboard → Clarity processing: filters sources (evidence: `app.py`)
- Clarity processing → Audio and waveform output: renders outputs (evidence: `app.py`)
- LibriMix download helper → LibriMix dataset: downloads dataset (evidence: `get_data.py`)
