https://github.com/powerappsdarren/dj-my-mood
https://github.com/powerappsdarren/dj-my-mood
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/powerappsdarren/dj-my-mood
- Owner: PowerAppsDarren
- Created: 2025-05-25T23:30:34.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-25T23:50:48.000Z (about 1 year ago)
- Last Synced: 2025-05-26T00:28:30.276Z (about 1 year ago)
- Language: TypeScript
- Size: 0 Bytes
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DJ-My-Mood
Control real-time music generation with a MIDI controller.
## Current Status
This app is designed to work with Google's Gemini Live Music API (model: `lyria-realtime-exp`), which is not yet publicly available. The current implementation includes a mock audio generator for testing purposes.
## Setup
1. Install dependencies:
```bash
npm install
```
2. Create a `.env` file with your Gemini API key:
```
GEMINI_API_KEY=your_api_key_here
```
3. Run the development server:
```bash
npm run dev
```
4. Open http://localhost:5173 in your browser
## Features
- 4x4 grid of music style prompts
- MIDI controller support with CC learning
- Mouse/touch control for knobs
- Visual feedback with colored halos
- Prompt weight adjustment (0-2 range)
- Custom prompt editing
## Notes
- The app currently plays test tones instead of generated music
- Once the Gemini Live Music API becomes available, update the `ai` object in `index.tsx`
- MIDI support requires browser permission for Web MIDI API