MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / Process

Method Process

Source/Autotalent.cpp:263–911  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

261
262
263void Autotalent::Process(double time)
264{
265 PROFILER(Autotalent);
266
267 IAudioReceiver* target = GetTarget();
268 if (!mEnabled || target == nullptr)
269 return;
270
271 ComputeSliders(0);
272 SyncBuffers();
273
274 int iNotes[12];
275 int iPitch2Note[12];
276 int iNote2Pitch[12];
277 int numNotes;
278 int iScwarp;
279
280 long int N;
281 long int Nf;
282 long int fs;
283
284 long int ti;
285 long int ti2;
286 long int ti3;
287 long int ti4;
288 float tf;
289 float tf2;
290
291 // Variables for cubic spline interpolator
292 float indd;
293 int ind0;
294 int ind1;
295 int ind2;
296 int ind3;
297 float vald;
298 float val0;
299 float val1;
300 float val2;
301 float val3;
302
303 int lowersnap;
304 int uppersnap;
305 float lfoval;
306
307 float pperiod;
308 float fa;
309 float fb;
310 float fc;
311 float fk;
312 float flamb;
313 float frlamb;
314 float falph;
315 float foma;
316 float f1resp;
317 float f0resp;
318 float flpa;
319 int ford;
320

Callers

nothing calls this directly

Calls 10

ClearFunction · 0.85
Pow2Function · 0.85
AddFunction · 0.85
GetChannelMethod · 0.80
BufferSizeMethod · 0.80
ForwardMethod · 0.80
InverseMethod · 0.80
GetBufferMethod · 0.80
WriteChunkMethod · 0.80
ResetMethod · 0.45

Tested by

no test coverage detected