MCPcopy Create free account
hub / github.com/LancePutnam/Gamma / MyApp

Method MyApp

examples/techniques/celeste.cpp:28–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26 int count;
27
28 MyApp(){
29 tmr.period(4);
30 tmr.phaseMax();
31 osc1.resize(512);
32 osc1.addSine(1, 0.25);
33 osc1.addSine(2, 0.50);
34 osc1.addSine(3, 0.25);
35 osc2.source(osc1);
36 count = 0;
37 }
38
39 void onAudio(AudioIOData& io){
40 while(io()){

Callers

nothing calls this directly

Calls 4

phaseMaxMethod · 0.80
sourceMethod · 0.80
periodMethod · 0.45
resizeMethod · 0.45

Tested by

no test coverage detected