Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

How I built a riff vault for Sam with open-source AI

说明与用途

RiffSalad 让吉他手通过描述音乐特征快速定位录音,免去浏览无意义文件名的麻烦。

问题

Sam had hundreds of audio files with non-descriptive names and could not locate a riff based on its musical characteristics, such as key, tempo, or feel.

结果

RiffSalad enables Sam to locate riffs by describing their musical attributes, eliminating reliance on filenames and reducing time spent scrolling through files.

工作流

  • Import WAV/MP3/M4A files into RiffSalad
  • Librosa analyzes audio for BPM, key, energy, note density, duration
  • Basic Pitch ONNX model extracts MIDI
  • Ollama LLM (qwen2.5 1.5B) parses search query into structured filters
  • Plain code prunes results based on measurable facts
  • Embedding similarity (nomic-embed-text via Ollama) re-ranks remaining riffs
  • Optional voice note transcription with faster-whisper tiny model
  • User searches via natural language, receives ranked list of riffs
  • User can edit tags, view waveform, and find similar riffs

证据

RiffSalad, a local AI vault, automatically extracts BPM, key, energy, note density, and MIDI transcription, generates descriptive tags, and allows natural language search such as "heavy drop C riff around 140 BPM"

来源

The LLM turns your sentence into structured filters: BPM range, key, energy, mood words

来源

On an M4 mac air, a riff takes less than 15 seconds to analyze.

来源

Sam still has 103 files called recording-something. He just doesn't need the filenames anymore.

来源

  • 记录日期: 2026-10-03T20:55:56.131Z