Mercurial > hg > svapp
comparison audioio/AudioGenerator.h @ 235:1fcee2a1c03e sonification
Add queueExampleNote method to AudioCallbackPlaySource, providing a way to add a note to a special model which is mixed in outside of the normal playback flow. Currently mixing & generation happen in the play thread, which doesn't work very well -- buffer pending.
author | Chris Cannam |
---|---|
date | Fri, 24 Jun 2011 16:44:02 +0100 |
parents | a98f1638c5ec |
children |
comparison
equal
deleted
inserted
replaced
234:a98f1638c5ec | 235:1fcee2a1c03e |
---|---|
136 virtual RealTimePluginInstance *loadPlugin(QString id, QString program); | 136 virtual RealTimePluginInstance *loadPlugin(QString id, QString program); |
137 static void initialiseSampleDir(); | 137 static void initialiseSampleDir(); |
138 static void setSampleDir(RealTimePluginInstance *plugin); | 138 static void setSampleDir(RealTimePluginInstance *plugin); |
139 | 139 |
140 virtual Notes getNotesFromModel | 140 virtual Notes getNotesFromModel |
141 (Model *model, size_t startFrame, size_t frameCount); | 141 (Model *model, size_t startFrame, size_t frameCount, |
142 size_t latency); | |
142 | 143 |
143 virtual size_t mixDenseTimeValueModel | 144 virtual size_t mixDenseTimeValueModel |
144 (DenseTimeValueModel *model, size_t startFrame, size_t frameCount, | 145 (DenseTimeValueModel *model, size_t startFrame, size_t frameCount, |
145 float **buffer, float gain, float pan, size_t fadeIn, size_t fadeOut); | 146 float **buffer, float gain, float pan, size_t fadeIn, size_t fadeOut); |
146 | 147 |