Teensy audio library ported to linux, with input and output via libsoundio highly experimental work-in-progress.
Dependencies
Examples
- analyze
- analyze input and print peak / rms
- basic
- output different frequency in left and right channels
- input
- connect sound in to sound out (careful, can cause feedback, use headphones)
- mixer
- mix an in-memory sample and a sine wave
- playmemory
- play an in-memory sample
- queue
- use a queue to record audio buffers
- recordsine
- record sine and save to file system
- symptoms: compiles success, but when running, an error message appears about a missing symbol. A signal is thrown before the application runs during the dynamic loading of soundio.dylib
dyld[3457]: Symbol not found: _soundio_backend_name Referenced from: <852044B9-0C60-374A-88FF-78C26EBA525E> /Users/goofy/code/ Expected in: <no uuid> unknown
- fix:
- solution found in go-lang (https://forum.golangbridge.org/t/go-test-with-cgo-on-macos-and-dyld-library-path/32274/2)
- noted here my gist
install_name_tool -id /usr/local/lib/libsoundio.dylib /usr/local/lib/libsoundio.dylib
Credits
- taken from PaulStoffregen/Audio