# cycfi/q

C++ Library for Audio Digital Signal Processing

Repository: https://github.com/cycfi/q
Canonical: https://ross.abutalabs.com/products/cycfi-q
Language: C++
License: BSL-1.0
License Family: other
Topics: dsp-library, synth, c-plus-plus, dsp, audio, audio-processing, pitch-detection, pitch-tracking, effects, music, frequency, function-composition, modern-cpp, cpp-library, guitar-processor, cpp, cpp20
Last push: 2026-08-23T13:27:20+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 8, longevity 100
- inputs: {"age_days": 3225, "days_push": 10, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1418, forks 179 (observed 2026-08-28T04:04:40.167561+00:00)

## What it is
Q is a cross-platform, header-only C++20 library for audio digital signal processing, built around fine-grained, composable function objects. It includes oscillators, filters, envelopes, dynamics, delays, pitch detection, FFT, granular primitives, and an optional q_io layer for audio and MIDI connectivity.

## Use cases
- process audio signals in C++ with composable DSP primitives
- detect pitch in audio streams
- build guitar effects processors
- create synthesizer oscillators and resonant filters
- run DSP on small microcontrollers
- connect to audio and MIDI devices from C++
- implement granular and overlap-add audio effects

## When to choose
- you need a lightweight, header-only modern C++ DSP toolkit
- you want efficient audio processing that can run on microcontrollers
- you are building music-related DSP such as synths or guitar effects
- you prefer functional-style composition of reusable DSP building blocks

## When to avoid
- you need a full DAW or audio host application rather than a library
- you require a language other than C++
- you need production-grade, heavily battle-tested audio middleware with commercial support
- you want high-level music information retrieval beyond the library's experimental facilities

## Facets
- artifact type: library
- maturity: active
- function: audio-processing, image-processing
- domain: media
- platform: cross-platform, cpp, embedded
- tags: dsp, synthesis, pitch-detection, header-only, cpp20, midi, filters, oscillators, fft, guitar-effects, audio, music-production

## Member repositories
- cycfi/q (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:40.167561+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:37:56.701915+00:00, confidence not recorded.
  - readme: https://github.com/cycfi/q (fetched 2026-08-28T04:04:40.167561+00:00, sha 3df2301f9c2b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
