Compile on PC (Linux, ALSA, SDL2)?

Open
#115 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
18/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
arduino, c, linux

Research direction

The issue proposes compiling Mozzi on Linux and other desktop systems, using ALSA or SDL2 to output audio samples at a specified sampling rate. Start by determining the existing microcontroller audio path and whether a desktop entry point or buffer interface exists. Done would require an agreed cross-platform design and a working simulation, but the issue does not define acceptance criteria.

Written by the indexing model from the issue text.

Description

Hello,
i would like to compile Mozzi on PC (mostly Linux) to be able to simulate its output, develop and test synth designs without having to upload and run it on actual microcontroller hardware every time. Have you been thinking about adding support for such layer?

Probably just fill some buffer with audio samples at specified sampling rate.

I was thinking about using SDL2 multiplatform library (or similar) to output the audio as it would be possible to compile with little to none modifications on Linux, Windows, MacOS and BSD.

Do you think this is possible?

Dominant language
C
Stars
1.3k
Forks
204
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from sensorium/Mozzi

All issues in sensorium/Mozzi

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.