openframeworks / openframeworks/openFrameworks

ofSoundStream changed to use PortAudio

Open
#5,489 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

documentation section-sound
Dominant language
C++
Stars
10.4k
Forks
2.6k
Avg merge
1d 21h
Merged PRs (30d)
9

Description

RtAudio defaults to ASIO on Windows machines and there is currently no way to change its backend. This means for most machines currently - sound will not play and ASIO4ALL does not always work. This isn't very cross-platform friendly.

PortAudio has a lot more features and support and is currently far more convenient when developing applications that require beat syncing and timing due to its clock functions and options to change backend/device. This will keep openFrameworks from falling behind in terms of audio support.

When using the API directly, RtAudio is inconvenient and the documentation is low.

Also I'm unable to get ofxPASoundStream to work. Why was it removed from the core if there was an initial change to switch to PortAudio in the future anyways?

Contributor guide

Open the contributing guide

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.

Research direction

Start by tracing the existing RtAudio and ofxPASoundStream integration mentioned in the issue, then compare how PortAudio support would need to handle backend and device selection across platforms. Done means audio works reliably beyond the current ASIO default, with the requested backend options and usable documentation.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
audio-video-rtc
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.