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

Method setFrequency

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

Source from the content-addressed store, hash-verified

370 }
371
372 void setFrequency(const double freqInHz) { setFrequencyInSecondsPerSample(freqInHz / sampleRate); }
373 void setPulseWidth(const double pw) { pulseWidth = pw; }
374 void setWaveform(const PolyBLEPType waveform) { type = waveform; }
375 void setSampleRate(float sr) { sampleRate = sr; }

Callers 1

processPolyBLEPMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected