https://github.com/increpare/bfxr-api-example
An example program using the Bfxr API.
https://github.com/increpare/bfxr-api-example
Last synced: about 1 month ago
JSON representation
An example program using the Bfxr API.
- Host: GitHub
- URL: https://github.com/increpare/bfxr-api-example
- Owner: increpare
- Created: 2011-03-25T18:03:20.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2019-10-22T09:11:54.000Z (over 5 years ago)
- Last Synced: 2024-11-14T22:35:38.441Z (6 months ago)
- Language: HTML
- Homepage: http://www.bfxr.net/
- Size: 1.82 MB
- Stars: 31
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
- AwesomeCppGameDev - bfxr-api-example
README
Bfrx API example.
An example showing four types of sound generation.
1: synthesized on the fly
2: precached
3: mutated on the fly
4: precached mutationsFor realtime applications, I *strongly* recommend precaching :)
And yes, you'll need a different Bfxr instance for each sound.
One other note:
- Synthesis is substantially slower in debug mode than final release
builds, so don't get too down if it makes things a bit laggy while
testing.
- The caching API in this version is synchronous. This means that
the program can't do anything while caching sounds.
- Mixes take longer to generate than plain 'ol synths, so they can
take substantially longer to generation mutations for.http://www.bfxr.net
Stephen Lavelle
[email protected]This is all distributed under the Apache License 2.0
http://www.apache.org/licenses/LICENSE-2.0