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

Method SupersawNode

src/extended/SupersawNode.cpp:140–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138//////////////////////////
139
140SupersawNode::SupersawNode(AudioContext & ac)
141 : AudioScheduledSourceNode(ac, *desc())
142{
143 internalNode.reset(new SupersawNodeInternal(ac));
144 internalNode->sawCount = setting("sawCount");
145 internalNode->sawCount->setUint32(1);
146 internalNode->detune = param("detune");
147 internalNode->frequency = param("frequency");
148
149 addOutput(std::unique_ptr<AudioNodeOutput>(new AudioNodeOutput(this, 1)));
150 initialize();
151}
152
153SupersawNode::~SupersawNode()
154{

Callers

nothing calls this directly

Calls 2

setUint32Method · 0.80
resetMethod · 0.45

Tested by

no test coverage detected