How mhmmdziyadd14/pengembangan-r.i.m.a works
R.I.M.A. is a browser-based Indonesian music and angklung application backed by a Python API. Its visible user workflow is interacting with musical controls and song features in the web app, which can send requests to the backend for song and Arduino operations; the backend also exposes microphone-based CRNN classification. The README describes a regional-greeting-to-song workflow, but the sampled implementation instead shows a broader music app. Several backend capabilities are represented from the sampled API excerpt; unsampled routes are not inferred.
Main entry points: api.py FastAPI service · app.js Web controller · index.html Web page · audio_processing.py Audio processing
Components 17
Browser experience
- Web page
public/index.html - Web controller
public/app.js - Offline cache
public/sw.js
Music features
- Angklung controls
public/app.js - Song library
public/app.js - Vocal melody tools
public/app.js - Not Angka game
public/app.js - Browser MIDI
public/app.js
Python services
- FastAPI service
src/api.py - Audio processing
src/audio_processing.py - Greeting CRNN
src/ai_architectures.py - Runtime configuration
src/config.py
Runtime resources
- Song collection
Songs - Saved model weights
models_saved/best_model_CRNN.pth
Other components
- App user
- Arduino boards
- MIDI device
Connections 17
- App user → Web page: opens
- Web page → Web controller: loads
- Web controller → Angklung controls: handles input
public/app.js - Web controller → Song library: handles input
public/app.js - Web controller → Vocal melody tools: handles input
public/app.js - Web controller → Not Angka game: handles input
public/app.js - Angklung controls → Browser MIDI: sends notes
public/app.js - Browser MIDI → MIDI device: plays notes
public/app.js - Song library → FastAPI service: requests playback
public/app.js - FastAPI service → Song collection: lists and reads
src/api.py - FastAPI service → Arduino boards: sends commands
src/api.py - FastAPI service → Greeting CRNN: uses classifier
src/api.py - FastAPI service → Audio processing: processes audio
src/api.py - FastAPI service → Runtime configuration: reads settings
src/api.py - Audio processing → Runtime configuration: reads settings
src/audio_processing.py - FastAPI service → Saved model weights: loads model
- Web page → Offline cache: registers cache