← Back

ofxSoundDevicesManager

github.com/moebiussurfing/ofxSoundDevicesManager · @moebiussurfing
OF 0.12 Releases Sound Audio GUI

Provides audio basics to any ofApp: Select sound APIs and devices. Sound File Player. Detector Engine. Waveform plotting. [ WIP Windows only ]

8 2 Last commit 3y ago Created 6y ago

README

ofxSoundDevicesManager



OVERVIEW

An openFrameworks add-on to provide audio basics to any ofApp. Easily handles and selects system sound devices. Currently working on Windows only, and for Input devices only. <details> <summary>NOTE</summary>

It will not work _out-of-the-box_ without ofxSurfingImGui, or using ofxGui instead. But could be fixed for that. Look on USE_OFXGUI_INTERNAL directive. For similar basic purposes (maybe for devices selector only) you can use ofxSoundDeviceManager from @roymacdonald instead of this add-on. </details> <details> <summary>WIP</summary>

</details>

<details> <summary>SCREENSHOTS</summary>

1-example_Basic



2-example_ofxSurfingAudioPlots



4-example_Player



5-example_ExtrasDetector



Instagram VIDEO </details>

FEATURES

<details> <summary>USAGE</summary>

ofApp.h

``.cpp

include "ofxSoundDevicesManager.h"



ofxSoundDevicesManager audioDevices;

ofApp.cpp

.cpp void ofApp::setup(){ // Set samplerate and buffer size audioDevices.setup(44100, 512); } void ofApp::draw(){ audioDevices.drawGui(); } void ofApp::audioIn(ofSoundBuffer& input) { audioDevices.audioIn(input); }
`` </details>

DEPENDENCIES

ofxSurfingImGui ofxImGui / Fork ofxSurfingHelpers ofxSurfingBox <details> <summary>OPTIONAL</summary> ofxSurfingWaveplots / for the example 2 ofxGui (oF core) </details>

<details> <summary>CURRENT SYSTEMS</summary> </details>

<details> <summary>TODO</summary>

Improve settings using Port names instead of Port Numbers. Test and make it macOS-compatible. Merge some stuff from ofxSoundDeviceManager from @roymacdonald. (?) Make it ofxSoundObjects compatible. (?) </details>

<details> <summary>NOTES</summary>

Would crash when hot-changing the sound API DS/ASIO/WASAPI, but should wake up and reload fine the settings after restarting the app or by hardcoding devices. </details>

AUTHOR

An add-on by @moebiusSurfing
(ManuMolina). 2020-2023.

LICENSE

MIT License*

Get this addon

HTTPS
SSH

Latest release

v0.2 published 3y ago
  • More intuitive VU / RMS.
  • Bangs detector using threshold.
  • Gate with release timer.
  • New audio widgets.
  • Testing scene.
  • New AWENGINE: autopilot mode for live auto tuning of detector parameters.