|
| 1 | +# Introducing naada: The PyPI Package for Carnatic AI |
| 2 | + |
| 3 | +**Date:** May 9, 2026 |
| 4 | +**Author:** DeepRaaga Core Team |
| 5 | + |
| 6 | +We are thrilled to announce the release of **naada** (नाद) — a comprehensive PyPI package ecosystem that brings the power of DeepRaaga's Carnatic music AI directly to your Python environment. |
| 7 | + |
| 8 | +## What is naada? |
| 9 | + |
| 10 | +> *"naada (नाद) — Sanskrit for the primordial vibration from which all music descends"* |
| 11 | +
|
| 12 | +naada is the official PyPI distribution of the DeepRaaga framework, providing researchers, musicians, and developers with easy access to state-of-the-art AI models trained on Carnatic music traditions. Whether you're a data scientist exploring music generation or a musician seeking computational assistance, naada bridges the gap between traditional Indian classical music and modern machine learning. |
| 13 | + |
| 14 | +## Package Architecture |
| 15 | + |
| 16 | +naada is organized as a modular package suite, allowing you to install only what you need: |
| 17 | + |
| 18 | +| Package | Purpose | Install Command | |
| 19 | +|---------|---------|----------------| |
| 20 | +| `deepraaga-core` | Base models and data structures | `pip install deepraaga-core` | |
| 21 | +| `deepraaga-preprocess` | Data processing and MIDI conversion | `pip install deepraaga-preprocess` | |
| 22 | +| `deepraaga-models` | Neural networks and training | `pip install deepraaga-models` | |
| 23 | +| `deepraaga-api` | REST API server | `pip install deepraaga-api` | |
| 24 | + |
| 25 | +### Quick Installation |
| 26 | + |
| 27 | +Install all packages at once: |
| 28 | + |
| 29 | +```bash |
| 30 | +pip install deepraaga-core deepraaga-preprocess deepraaga-models deepraaga-api |
| 31 | +``` |
| 32 | + |
| 33 | +Or install individually based on your needs: |
| 34 | + |
| 35 | +```bash |
| 36 | +# For model inference only |
| 37 | +pip install deepraaga-core deepraaga-models |
| 38 | + |
| 39 | +# For data processing workflows |
| 40 | +pip install deepraaga-core deepraaga-preprocess |
| 41 | + |
| 42 | +# For full API server deployment |
| 43 | +pip install deepraaga-api |
| 44 | +``` |
| 45 | + |
| 46 | +## Quick Start Guide |
| 47 | + |
| 48 | +### 1. Start the API Server |
| 49 | + |
| 50 | +The fastest way to get started is using the pre-built API server: |
| 51 | + |
| 52 | +```bash |
| 53 | +pip install deepraaga-api |
| 54 | +deepraaga-api --port 8000 |
| 55 | +``` |
| 56 | + |
| 57 | +Your API will be running at `http://localhost:8000` with interactive documentation at `http://localhost:8000/docs`. |
| 58 | + |
| 59 | +### 2. Generate Your First Raga |
| 60 | + |
| 61 | +```python |
| 62 | +from deepraaga_core import RagaGenerator |
| 63 | +from deepraaga_models import LSTMModel |
| 64 | + |
| 65 | +# Initialize the generator |
| 66 | +generator = RagaGenerator(model=LSTMModel()) |
| 67 | + |
| 68 | +# Generate a Mayamalavagowla sequence |
| 69 | +notes = generator.generate( |
| 70 | + raga="Mayamalavagowla", |
| 71 | + duration=64, |
| 72 | + temperature=0.8 |
| 73 | +) |
| 74 | + |
| 75 | +print(f"Generated sequence: {notes}") |
| 76 | +``` |
| 77 | + |
| 78 | +### 3. Convert to MIDI |
| 79 | + |
| 80 | +```python |
| 81 | +from deepraaga_preprocess import NoteSequenceConverter |
| 82 | + |
| 83 | +converter = NoteSequenceConverter() |
| 84 | +midi_file = converter.to_midi(notes, output_path="my_raga.mid") |
| 85 | +``` |
| 86 | + |
| 87 | +## GitHub Repository |
| 88 | + |
| 89 | +The complete source code, including the React frontend and example notebooks, is available on GitHub: |
| 90 | + |
| 91 | +**[https://github.com/sgmoorthy/naada](https://github.com/sgmoorthy/naada)** |
| 92 | + |
| 93 | +The repository includes: |
| 94 | +- Full-stack development setup |
| 95 | +- Jupyter tutorial notebooks |
| 96 | +- Dataset scaffolding tools |
| 97 | +- Contributing guidelines |
| 98 | + |
| 99 | +## Tutorial Notebook |
| 100 | + |
| 101 | +For a hands-on introduction, explore our comprehensive tutorial notebook: |
| 102 | + |
| 103 | +**[DeepRaaga_Tutorial.ipynb](https://github.com/sgmoorthy/naada/blob/master/examples/DeepRaaga_Tutorial.ipynb)** |
| 104 | + |
| 105 | +Run it directly in Google Colab: |
| 106 | +[https://colab.research.google.com/github/sgmoorthy/naada/blob/master/examples/DeepRaaga_Tutorial.ipynb](https://colab.research.google.com/github/sgmoorthy/naada/blob/master/examples/DeepRaaga_Tutorial.ipynb) |
| 107 | + |
| 108 | +## Why naada? |
| 109 | + |
| 110 | +1. **Modular Design**: Install only what you need, keeping dependencies minimal |
| 111 | +2. **Production Ready**: Pre-trained models available immediately via PyPI |
| 112 | +3. **Research Friendly**: Full access to model internals for academic research |
| 113 | +4. **Community Driven**: Open source with contributions from musicologists and ML engineers |
| 114 | + |
| 115 | +## Roadmap |
| 116 | + |
| 117 | +- **v0.1** — Core LSTM+Attention model, 72 Melakarta scaffold, React SPA, GitHub Pages |
| 118 | +- **v0.2** — Raga grammar validation layer, Gamaka notation in annotations |
| 119 | +- **v0.3** — Tala / rhythmic awareness (Adi Tala 8-beat cycle) |
| 120 | +- **v0.4** — Transformer upgrade (causal, MusicLM-style Alapana generation) |
| 121 | +- **v1.0** — Open REST API sandbox + PyPI stable release |
| 122 | + |
| 123 | +## Join the Community |
| 124 | + |
| 125 | +We welcome contributions from: |
| 126 | +- **Musicologists** — Raga grammar expertise and annotation validation |
| 127 | +- **ML Engineers** — Model improvements and training optimizations |
| 128 | +- **React Developers** — Frontend enhancements and UI/UX improvements |
| 129 | + |
| 130 | +```bash |
| 131 | +git checkout -b feature/your-raga-magic |
| 132 | +git commit -m "feat: add Bhairavi gamaka annotations" |
| 133 | +git push origin feature/your-raga-magic |
| 134 | +# → Open a Pull Request! |
| 135 | +``` |
| 136 | + |
| 137 | +## Academic Citation |
| 138 | + |
| 139 | +If you use naada in your research: |
| 140 | + |
| 141 | +```bibtex |
| 142 | +@software{swaminathan2026naada, |
| 143 | + author = {Gurumurthy Swaminathan}, |
| 144 | + title = {naada: An AI Framework for Learning and Generating Carnatic Ragas}, |
| 145 | + year = {2026}, |
| 146 | + url = {https://github.com/sgmoorthy/naada}, |
| 147 | + note = {PyPI: https://pypi.org/project/deepraaga-core/} |
| 148 | +} |
| 149 | +``` |
| 150 | + |
| 151 | +Install naada today and begin your journey into AI-powered Carnatic music generation! |
| 152 | + |
| 153 | +```bash |
| 154 | +pip install deepraaga-core deepraaga-models |
| 155 | +``` |
0 commit comments