MCPcopy Create free account
hub / github.com/LabSound/LabSound / setSampleRate

Method setSampleRate

src/extended/PolyBLEPNode.cpp:375–375  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

373 void setPulseWidth(const double pw) { pulseWidth = pw; }
374 void setWaveform(const PolyBLEPType waveform) { type = waveform; }
375 void setSampleRate(float sr) { sampleRate = sr; }
376 double getFreqInHz() const { return freqInSecondsPerSample * sampleRate; }
377};
378

Callers 11

LoadInternalFunction · 0.45
processPolyBLEPMethod · 0.45
setGrainSourceMethod · 0.45
pullMethod · 0.45
createBufferFromRangeMethod · 0.45
createByCloningMethod · 0.45
createByMixingToMonoMethod · 0.45
renderMethod · 0.45
renderMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected