tonicaudio / ofxtonic Goto Github PK
View Code? Open in Web Editor NEWOpen Frameworks Addon for the Tonic audio synthesis Library. Tonic is an efficient, pure C++ patching tool with a refreshingly crisp and simple syntax.
License: The Unlicense
Open Frameworks Addon for the Tonic audio synthesis Library. Tonic is an efficient, pure C++ patching tool with a refreshingly crisp and simple syntax.
License: The Unlicense
(Apologies for the newb issue, but I'm relatively new to the world of MIDI and sound synth.)
I'm sure I'm doing something wrong, but every time I create a new signal with ofxTonic, the previous signal is stopped. I would think that there is a way to play all of the signals (i.e., play a C chord and have them all play together), but I am at a loss.
Thanks,
Thanks great library!
I enjoy in Mac.
I wanna create musical toy app in Android.
bundled Tonic library doesn't work in Android, so I use latest Tonic library.
but, ofxTonicSynth's constructor causes infinite loop.
I don't know why, but,
comment out this line:
Synth::Synth();
and modify to:
ofxTonicSynth::ofxTonicSynth(): Synth(){
it seems working.
is an include of stdio missing?
./../../addons/ofxTonic/src/Tonic/TonicCore.h:292:50: error: ‘printf’ was not declared in this scope
printf("Tonic::error: %s\n", message.c_str() );
I'm compiling for Linux at the moment, and I'm getting this error in LFNoise.cpp due to Util.h not being found:
I just commented it out and that solves the problem. What's the use for this header exactly? Or am I just picking up unfinished code that's not included in the XCode project?
Hi! I'm trying to make sounds using ofxTonic, but I get
.../addons/ofxTonic/src/ofxTonicSynth.h:44: error: ‘ofAudioEventArgs’ has not been declared
when running the included Tonic examples. I noticed that I can make it work by removing this line from ofxTonicSynth.h
void audioRequested(ofAudioEventArgs& args);
And these three lines from ofxTonicSynth.c
...
ofAddListener(ofEvents().audioRequested, this, &ofxTonicSynth::audioRequested);
...
ofRemoveListener(ofEvents().audioRequested, this, &ofxTonicSynth::audioRequested);
...
void ofxTonicSynth::audioRequested(ofAudioEventArgs& args){}
The problem is, I don't know what are the consequences of removing these lines, and what was their original purpose.
Should I rewrite those removed lines in a different way, perhaps?
I did try downloading changes from Tonic (not ofxTonic) from the master branch but that did not help. I guess something changed in openFrameworks during the last years...
Hi
I've been trying to use a few synths simultaneously but only the last one seems to be audible depending on the order of calls of .fillBufferOfFloats(output, bufferSize, nChannels);
.
In the following code only synth 0 will work:
_synths[1].fillBufferOfFloats(output, bufferSize, nChannels);
_synths[0].fillBufferOfFloats(output, bufferSize, nChannels);
in this one only synth 1 will be audible:
_synths[0].fillBufferOfFloats(output, bufferSize, nChannels);
_synths[1].fillBufferOfFloats(output, bufferSize, nChannels);
Otherwise they work correctly, don't have any audio dropouts or other cpu usage errors. Is it possible to use more than one ofxTonicSynth at once?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.