{"id":0,"name":"Tone.js","kind":0,"flags":{},"children":[{"id":7362,"name":"AMOscillator","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"An amplitude modulated oscillator node. It is implemented with\ntwo oscillators, one which modulators the other's amplitude\nthrough a gain node.\n```\n   +-------------+       +----------+\n   | Carrier Osc +>------> GainNode |\n   +-------------+       |          +--->Output\n                     +---> gain     |\n+---------------+    |   +----------+\n| Modulator Osc +>---+\n+---------------+\n```","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst amOsc = new Tone.AMOscillator(30, \"sine\", \"square\").toDestination().start();\n}, 0.2, 1);"}]},"children":[{"id":7371,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":7372,"name":"new AMOscillator","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":7373,"name":"frequency","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The starting frequency of the oscillator."},"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":7374,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The type of the carrier oscillator."},"type":{"type":"reference","id":6554,"name":"ToneOscillatorType"}},{"id":7375,"name":"modulationType","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The type of the modulator oscillator.\n"},"type":{"type":"reference","id":6554,"name":"ToneOscillatorType"}}],"type":{"type":"reference","id":7362,"name":"AMOscillator"},"overwrites":{"type":"reference","id":5586,"name":"Source.__constructor"}},{"id":7376,"name":"new AMOscillator","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":7377,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":6558,"name":"AMConstructorOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":7362,"name":"AMOscillator"},"overwrites":{"type":"reference","id":5586,"name":"Source.__constructor"}}],"sources":[{"fileName":"Tone/source/oscillator/AMOscillator.ts","line":82,"character":4},{"fileName":"Tone/source/oscillator/AMOscillator.ts","line":89,"character":100},{"fileName":"Tone/source/oscillator/AMOscillator.ts","line":90,"character":54}],"overwrites":{"type":"reference","id":5586,"name":"Source.__constructor"}},{"id":7488,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":7516,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":7366,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/source/oscillator/AMOscillator.ts","line":48,"character":16}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"cents"}],"name":"Signal"},"implementationOf":{"type":"reference","id":6181,"name":"ToneOscillatorInterface.detune"}},{"id":7365,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/source/oscillator/AMOscillator.ts","line":47,"character":19}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"frequency"}],"name":"Signal"},"implementationOf":{"type":"reference","id":6180,"name":"ToneOscillatorInterface.frequency"}},{"id":7369,"name":"harmonicity","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"Harmonicity is the frequency ratio between the carrier and the modulator oscillators.\nA harmonicity of 1 gives both oscillators the same frequency.\nHarmonicity = 2 means a change of an octave.","tags":[{"tag":"example","text":"\nconst amOsc = new Tone.AMOscillator(\"D2\").toDestination().start();\nTone.Transport.scheduleRepeat(time => {\n\tamOsc.harmonicity.setValueAtTime(1, time);\n\tamOsc.harmonicity.setValueAtTime(0.5, time + 0.5);\n\tamOsc.harmonicity.setValueAtTime(1.5, time + 1);\n\tamOsc.harmonicity.setValueAtTime(1, time + 2);\n\tamOsc.harmonicity.linearRampToValueAtTime(2, time + 4);\n}, 4);\nTone.Transport.start();\n"}]},"sources":[{"fileName":"Tone/source/oscillator/AMOscillator.ts","line":75,"character":21}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"positive"}],"name":"Signal"}},{"id":7419,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Sources have no inputs"},"sources":[{"fileName":"Tone/source/Source.ts","line":54,"character":6}],"type":{"type":"intrinsic","name":"undefined"},"defaultValue":"undefined","overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":5567,"name":"Source.input"}},{"id":7363,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/source/oscillator/AMOscillator.ts","line":40,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"AMOscillator\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":7421,"name":"onstop","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The callback to invoke when the source is stopped."},"sources":[{"fileName":"Tone/source/Source.ts","line":67,"character":7}],"type":{"type":"reference","id":5706,"name":"onStopCallback"},"inheritedFrom":{"type":"reference","id":5569,"name":"Source.onstop"}},{"id":7418,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The output note"},"sources":[{"fileName":"Tone/source/Source.ts","line":49,"character":7}],"type":{"type":"reference","id":1102,"name":"OutputNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":5566,"name":"Source.output"}},{"id":7420,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The volume of the output in decibels.","tags":[{"tag":"example","text":"\nconst source = new Tone.PWMOscillator().toDestination();\nsource.volume.value = -6;\n"}]},"sources":[{"fileName":"Tone/source/Source.ts","line":62,"character":7}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"decibels"}],"name":"Param"},"inheritedFrom":{"type":"reference","id":5568,"name":"Source.volume"}},{"id":7515,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":7393,"name":"baseType","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":7394,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"reference","name":"OscillatorType"}}],"setSignature":[{"id":7395,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":7396,"name":"baseType","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"OscillatorType"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/oscillator/AMOscillator.ts","line":165,"character":13},{"fileName":"Tone/source/oscillator/AMOscillator.ts","line":168,"character":13}],"implementationOf":{"type":"reference","id":6178,"name":"ToneOscillatorInterface.baseType"}},{"id":7496,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":7497,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":7456,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":7457,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":7458,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":7459,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":7460,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":7461,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":7462,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":7463,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":7464,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":7465,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":7466,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":7467,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":7520,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":7521,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":7401,"name":"modulationType","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The type of the modulator oscillator"},"getSignature":[{"id":7402,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The type of the modulator oscillator"},"type":{"type":"reference","id":6554,"name":"ToneOscillatorType"}}],"setSignature":[{"id":7403,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The type of the modulator oscillator"},"parameters":[{"id":7404,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":6554,"name":"ToneOscillatorType"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/oscillator/AMOscillator.ts","line":182,"character":19},{"fileName":"Tone/source/oscillator/AMOscillator.ts","line":185,"character":19}]},{"id":7430,"name":"mute","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Mute the output.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination().start();\n// mute the output\nosc.mute = true;\n"}]},"getSignature":[{"id":7431,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Mute the output.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination().start();\n// mute the output\nosc.mute = true;\n"}]},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":5593,"name":"Source.mute"}}],"setSignature":[{"id":7432,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"Mute the output.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination().start();\n// mute the output\nosc.mute = true;\n"}]},"parameters":[{"id":7433,"name":"mute","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":5593,"name":"Source.mute"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":148,"character":9},{"fileName":"Tone/source/Source.ts","line":151,"character":9}],"inheritedFrom":{"type":"reference","id":5593,"name":"Source.mute"}},{"id":7451,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":7452,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":7453,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":7454,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":7397,"name":"partialCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":7398,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"setSignature":[{"id":7399,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":7400,"name":"partialCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/oscillator/AMOscillator.ts","line":172,"character":17},{"fileName":"Tone/source/oscillator/AMOscillator.ts","line":175,"character":17}],"implementationOf":{"type":"reference","id":6184,"name":"ToneOscillatorInterface.partialCount"}},{"id":7409,"name":"partials","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":7410,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"number"}}}],"setSignature":[{"id":7411,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":7412,"name":"partials","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"number"}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/oscillator/AMOscillator.ts","line":197,"character":13},{"fileName":"Tone/source/oscillator/AMOscillator.ts","line":200,"character":13}],"implementationOf":{"type":"reference","id":6183,"name":"ToneOscillatorInterface.partials"}},{"id":7405,"name":"phase","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":7406,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"reference","id":37,"name":"Degrees"}}],"setSignature":[{"id":7407,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":7408,"name":"phase","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":37,"name":"Degrees"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/oscillator/AMOscillator.ts","line":189,"character":10},{"fileName":"Tone/source/oscillator/AMOscillator.ts","line":192,"character":10}],"implementationOf":{"type":"reference","id":6182,"name":"ToneOscillatorInterface.phase"}},{"id":7494,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":7495,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":7428,"name":"state","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Returns the playback state of the source, either \"started\" or \"stopped\".","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/ahntone_c3.mp3\", () => {\n\tplayer.start();\n\tconsole.log(player.state);\n}).toDestination();\n"}]},"getSignature":[{"id":7429,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Returns the playback state of the source, either \"started\" or \"stopped\".","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/ahntone_c3.mp3\", () => {\n\tplayer.start();\n\tconsole.log(player.state);\n}).toDestination();\n"}]},"type":{"type":"reference","id":705,"name":"BasicPlaybackState"},"inheritedFrom":{"type":"reference","id":5591,"name":"Source.state"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":129,"character":10}],"inheritedFrom":{"type":"reference","id":5591,"name":"Source.state"}},{"id":7389,"name":"type","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The type of the carrier oscillator"},"getSignature":[{"id":7390,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The type of the carrier oscillator"},"type":{"type":"reference","id":6554,"name":"ToneOscillatorType"}}],"setSignature":[{"id":7391,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The type of the carrier oscillator"},"parameters":[{"id":7392,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":6554,"name":"ToneOscillatorType"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/oscillator/AMOscillator.ts","line":158,"character":9},{"fileName":"Tone/source/oscillator/AMOscillator.ts","line":161,"character":9}],"implementationOf":{"type":"reference","id":6179,"name":"ToneOscillatorInterface.type"}},{"id":7413,"name":"asArray","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7414,"name":"asArray","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":7415,"name":"length","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"1024"}],"type":{"type":"reference","typeArguments":[{"type":"reference","name":"Float32Array"}],"name":"Promise"},"implementationOf":{"type":"reference","id":6186,"name":"ToneOscillatorInterface.asArray"}}],"sources":[{"fileName":"Tone/source/oscillator/AMOscillator.ts","line":204,"character":14}],"implementationOf":{"type":"reference","id":6185,"name":"ToneOscillatorInterface.asArray"}},{"id":7482,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7483,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":7484,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":7468,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7469,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":7470,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":7471,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":7472,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":7477,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7478,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":7479,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":7480,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":7481,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":7416,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7417,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Clean up."},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":5630,"name":"Source.dispose"}}],"sources":[{"fileName":"Tone/source/oscillator/AMOscillator.ts","line":211,"character":8}],"overwrites":{"type":"reference","id":5630,"name":"Source.dispose"}},{"id":7485,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7486,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":7487,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":7510,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7511,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":6344,"name":"AMOscillatorOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":7492,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7493,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":7490,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7491,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":7442,"name":"restart","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7443,"name":"restart","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Restart the source."},"parameters":[{"id":7444,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":7445,"name":"offset","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":7446,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":5621,"name":"Source.restart"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":249,"character":8}],"inheritedFrom":{"type":"reference","id":5621,"name":"Source.restart"}},{"id":7512,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7513,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":7514,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":6344,"name":"AMOscillatorOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":7434,"name":"start","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7435,"name":"start","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Start the source at the specified time. If no time is given,\nstart the source now.","tags":[{"tag":"example","text":"\nconst source = new Tone.Oscillator().toDestination();\nsource.start(\"+0.5\"); // starts the source 0.5 seconds from now\n"}]},"parameters":[{"id":7436,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the source should be started."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":7437,"name":"offset","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":7438,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":5613,"name":"Source.start"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":180,"character":6}],"inheritedFrom":{"type":"reference","id":5613,"name":"Source.start"}},{"id":7439,"name":"stop","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7440,"name":"stop","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Stop the source at the specified time. If no time is given,\nstop the source now.","tags":[{"tag":"example","text":"\nconst source = new Tone.Oscillator().toDestination();\nsource.start();\nsource.stop(\"+0.5\"); // stops the source 0.5 seconds from now\n"}]},"parameters":[{"id":7441,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the source should be stopped."},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":5618,"name":"Source.stop"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":229,"character":5}],"inheritedFrom":{"type":"reference","id":5618,"name":"Source.stop"}},{"id":7447,"name":"sync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7448,"name":"sync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Sync the source to the Transport so that all subsequent\ncalls to `start` and `stop` are synced to the TransportTime\ninstead of the AudioContext time.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination();\n// sync the source so that it plays between 0 and 0.3 on the Transport's timeline\nosc.sync().start(0).stop(0.3);\n// start the transport.\nTone.Transport.start();\n// set it to loop once a second\nTone.Transport.loop = true;\nTone.Transport.loopEnd = 1;\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":5626,"name":"Source.sync"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":273,"character":5}],"inheritedFrom":{"type":"reference","id":5626,"name":"Source.sync"}},{"id":7473,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7474,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":7501,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7502,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":7503,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":7475,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7476,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":7498,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7499,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":7500,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":7522,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7523,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":7504,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7505,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":7506,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":7449,"name":"unsync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7450,"name":"unsync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Unsync the source to the Transport. See Source.sync"},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":5628,"name":"Source.unsync"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":310,"character":7}],"inheritedFrom":{"type":"reference","id":5628,"name":"Source.unsync"}},{"id":7378,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":7379,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":6344,"name":"AMOscillatorOptions"},"overwrites":{"type":"reference","id":5589,"name":"Source.getDefaults"}}],"sources":[{"fileName":"Tone/source/oscillator/AMOscillator.ts","line":127,"character":19}],"overwrites":{"type":"reference","id":5589,"name":"Source.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[7371]},{"title":"Properties","kind":1024,"children":[7488,7516,7366,7365,7369,7419,7363,7421,7418,7420,7515]},{"title":"Accessors","kind":262144,"children":[7393,7496,7456,7460,7464,7520,7401,7430,7451,7453,7397,7409,7405,7494,7428,7389]},{"title":"Methods","kind":2048,"children":[7413,7482,7468,7477,7416,7485,7510,7492,7490,7442,7512,7434,7439,7447,7473,7501,7475,7498,7522,7504,7449,7378]}],"sources":[{"fileName":"Tone/source/oscillator/AMOscillator.ts","line":38,"character":25}],"extendedTypes":[{"type":"reference","id":5563,"typeArguments":[{"type":"reference","id":6344,"name":"AMOscillatorOptions"}],"name":"Source"}],"implementedTypes":[{"type":"reference","id":6177,"name":"ToneOscillatorInterface"}]},{"id":11375,"name":"AMSynth","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"AMSynth uses the output of one Tone.Synth to modulate the\namplitude of another Tone.Synth. The harmonicity (the ratio between\nthe two signals) affects the timbre of the output signal greatly.\nRead more about Amplitude Modulation Synthesis on\n[SoundOnSound](https://web.archive.org/web/20160404103653/http://www.soundonsound.com:80/sos/mar00/articles/synthsecrets.htm).","tags":[{"tag":"example","text":"\nconst synth = new Tone.AMSynth().toDestination();\nsynth.triggerAttackRelease(\"C4\", \"4n\");\n"}]},"children":[{"id":11378,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":11379,"name":"new AMSynth","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":11380,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":11511,"name":"AMSynthOptions"}],"name":"RecursivePartial"}}],"type":{"type":"reference","id":11375,"name":"AMSynth"},"overwrites":{"type":"reference","id":11252,"name":"ModulationSynth.__constructor"}}],"sources":[{"fileName":"Tone/instrument/AMSynth.ts","line":28,"character":39},{"fileName":"Tone/instrument/AMSynth.ts","line":30,"character":57}],"overwrites":{"type":"reference","id":11252,"name":"ModulationSynth.__constructor"}},{"id":11475,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":11503,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":11390,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The detune in cents"},"sources":[{"fileName":"Tone/instrument/ModulationSynth.ts","line":67,"character":16}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"cents"}],"name":"Signal"},"overwrites":{"type":"reference","id":10833,"name":"Monophonic.detune"},"inheritedFrom":{"type":"reference","id":11249,"name":"ModulationSynth.detune"}},{"id":11386,"name":"envelope","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The carrier's envelope"},"sources":[{"fileName":"Tone/instrument/ModulationSynth.ts","line":47,"character":18}],"type":{"type":"reference","id":10960,"name":"AmplitudeEnvelope"},"inheritedFrom":{"type":"reference","id":11245,"name":"ModulationSynth.envelope"}},{"id":11389,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The frequency control"},"sources":[{"fileName":"Tone/instrument/ModulationSynth.ts","line":62,"character":19}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"frequency"}],"name":"Signal"},"overwrites":{"type":"reference","id":10832,"name":"Monophonic.frequency"},"inheritedFrom":{"type":"reference","id":11248,"name":"ModulationSynth.frequency"}},{"id":11391,"name":"harmonicity","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"Harmonicity is the ratio between the two voices. A harmonicity of\n1 is no change. Harmonicity = 2 means a change of an octave.","tags":[{"tag":"example","text":"\nconst amSynth = new Tone.AMSynth().toDestination();\n// pitch the modulator an octave below oscillator\namSynth.harmonicity.value = 0.5;\namSynth.triggerAttackRelease(\"C5\", \"4n\");\n"}]},"sources":[{"fileName":"Tone/instrument/ModulationSynth.ts","line":78,"character":21}],"type":{"type":"reference","id":7189,"name":"Multiply"},"inheritedFrom":{"type":"reference","id":11250,"name":"ModulationSynth.harmonicity"}},{"id":11420,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The instrument only has an output"},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":26,"character":6}],"type":{"type":"intrinsic","name":"undefined"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":10711,"name":"Instrument.input"}},{"id":11387,"name":"modulation","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The modulator's oscillator which is applied to the amplitude of the oscillator"},"sources":[{"fileName":"Tone/instrument/ModulationSynth.ts","line":52,"character":20}],"type":{"type":"reference","id":8167,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"OmniOscillator"},"inheritedFrom":{"type":"reference","id":11246,"name":"ModulationSynth.modulation"}},{"id":11388,"name":"modulationEnvelope","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The modulator's envelope"},"sources":[{"fileName":"Tone/instrument/ModulationSynth.ts","line":57,"character":28}],"type":{"type":"reference","id":10960,"name":"AmplitudeEnvelope"},"inheritedFrom":{"type":"reference","id":11247,"name":"ModulationSynth.modulationEnvelope"}},{"id":11376,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/instrument/AMSynth.ts","line":23,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"AMSynth\"","overwrites":{"type":"reference","id":11241,"name":"ModulationSynth.name"}},{"id":11406,"name":"onsilence","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Invoked when the release has finished and the output is silent."},"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":31,"character":10}],"type":{"type":"reference","id":10956,"name":"onSilenceCallback"},"inheritedFrom":{"type":"reference","id":10831,"name":"Monophonic.onsilence"}},{"id":11385,"name":"oscillator","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The carrier's oscillator"},"sources":[{"fileName":"Tone/instrument/ModulationSynth.ts","line":42,"character":20}],"type":{"type":"reference","id":8167,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"OmniOscillator"},"inheritedFrom":{"type":"reference","id":11244,"name":"ModulationSynth.oscillator"}},{"id":11419,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":21,"character":7}],"type":{"type":"reference","id":1102,"name":"OutputNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":10710,"name":"Instrument.output"}},{"id":11405,"name":"portamento","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The glide time between notes."},"decorators":[{"name":"timeRange","type":{"type":"reference","id":8896,"name":"timeRange"},"arguments":{"min":"0"}}],"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":26,"character":11}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":10830,"name":"Monophonic.portamento"}},{"id":11421,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The volume of the output in decibels.","tags":[{"tag":"example","text":"\nconst amSynth = new Tone.AMSynth().toDestination();\namSynth.volume.value = -6;\namSynth.triggerAttackRelease(\"G#3\", 0.2);\n"}]},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":35,"character":7}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"decibels"}],"name":"Param"},"inheritedFrom":{"type":"reference","id":10712,"name":"Instrument.volume"}},{"id":11502,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":11483,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":11484,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":11443,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":11444,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":11445,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":11446,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":11447,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":11448,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":11449,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":11450,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":11451,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":11452,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":11453,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":11454,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":11507,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":11508,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":11438,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":11439,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":11440,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":11441,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":11481,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":11482,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":11469,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11470,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":11471,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":11455,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11456,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":11457,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":11458,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":11459,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":11464,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11465,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":11466,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":11467,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":11468,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":11381,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11382,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":11267,"name":"ModulationSynth.dispose"}}],"sources":[{"fileName":"Tone/instrument/AMSynth.ts","line":46,"character":8}],"overwrites":{"type":"reference","id":11267,"name":"ModulationSynth.dispose"}},{"id":11472,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11473,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":11474,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":11497,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11498,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":11511,"name":"AMSynthOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":11402,"name":"getLevelAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11403,"name":"getLevelAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":11404,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":23,"name":"NormalRange"},"overwrites":{"type":"reference","id":10854,"name":"Monophonic.getLevelAtTime"},"inheritedFrom":{"type":"reference","id":11264,"name":"ModulationSynth.getLevelAtTime"}}],"sources":[{"fileName":"Tone/instrument/ModulationSynth.ts","line":202,"character":15}],"overwrites":{"type":"reference","id":10854,"name":"Monophonic.getLevelAtTime"},"inheritedFrom":{"type":"reference","id":11264,"name":"ModulationSynth.getLevelAtTime"}},{"id":11479,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11480,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":11477,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11478,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":11499,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11500,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":11501,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":11511,"name":"AMSynthOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":11415,"name":"setNote","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11416,"name":"setNote","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set the note at the given time. If no time is given, the note\nwill set immediately.","tags":[{"tag":"example","text":"\nconst synth = new Tone.Synth().toDestination();\nsynth.triggerAttack(\"C4\");\n// change to F#6 in one quarter note from now.\nsynth.setNote(\"F#6\", \"+4n\");\n"}]},"parameters":[{"id":11417,"name":"note","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The note to change to."},"type":{"type":"union","types":[{"type":"reference","id":32,"name":"Frequency"},{"type":"reference","id":4656,"name":"FrequencyClass"}]}},{"id":11418,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The time when the note should be set."},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":10857,"name":"Monophonic.setNote"}}],"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":124,"character":8}],"inheritedFrom":{"type":"reference","id":10857,"name":"Monophonic.setNote"}},{"id":11422,"name":"sync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11423,"name":"sync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Sync the instrument to the Transport. All subsequent calls of\n[[triggerAttack]] and [[triggerRelease]] will be scheduled along the transport.","tags":[{"tag":"example","text":"\nconst fmSynth = new Tone.FMSynth().toDestination();\nfmSynth.volume.value = -6;\nfmSynth.sync();\n// schedule 3 notes when the transport first starts\nfmSynth.triggerAttackRelease(\"C4\", \"8n\", 0);\nfmSynth.triggerAttackRelease(\"E4\", \"8n\", \"8n\");\nfmSynth.triggerAttackRelease(\"G4\", \"8n\", \"4n\");\n// start the transport to hear the notes\nTone.Transport.start();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":10720,"name":"Instrument.sync"}}],"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":82,"character":5}],"inheritedFrom":{"type":"reference","id":10720,"name":"Instrument.sync"}},{"id":11460,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11461,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":11488,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11489,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":11490,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":11462,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11463,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":11485,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11486,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":11487,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":11509,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11510,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":11491,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11492,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":11493,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":11407,"name":"triggerAttack","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11408,"name":"triggerAttack","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Trigger the attack of the note optionally with a given velocity.","tags":[{"tag":"example","text":"\nconst synth = new Tone.Synth().toDestination();\n// trigger the note a half second from now at half velocity\nsynth.triggerAttack(\"C4\", \"+0.5\", 0.5);\n"}]},"parameters":[{"id":11409,"name":"note","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The note to trigger."},"type":{"type":"union","types":[{"type":"reference","id":32,"name":"Frequency"},{"type":"reference","id":4656,"name":"FrequencyClass"}]}},{"id":11410,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the note should start."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":11411,"name":"velocity","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The velocity scaler determines how \"loud\" the note will be triggered."},"type":{"type":"reference","id":23,"name":"NormalRange"},"defaultValue":"1"}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":10736,"name":"Instrument.triggerAttack"},"inheritedFrom":{"type":"reference","id":10839,"name":"Monophonic.triggerAttack"}}],"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":71,"character":14}],"overwrites":{"type":"reference","id":10736,"name":"Instrument.triggerAttack"},"inheritedFrom":{"type":"reference","id":10839,"name":"Monophonic.triggerAttack"}},{"id":11432,"name":"triggerAttackRelease","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11433,"name":"triggerAttackRelease","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Trigger the attack and then the release after the duration.","tags":[{"tag":"example","text":"\nconst synth = new Tone.Synth().toDestination();\n// trigger \"C4\" for the duration of an 8th note\nsynth.triggerAttackRelease(\"C4\", \"8n\");\n"}]},"parameters":[{"id":11434,"name":"note","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The note to trigger."},"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":11435,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"How long the note should be held for before\n                        triggering the release. This value must be greater than 0."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":11436,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the note should be triggered."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":11437,"name":"velocity","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The velocity the note should be triggered at."},"type":{"type":"reference","id":23,"name":"NormalRange"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":10730,"name":"Instrument.triggerAttackRelease"}}],"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":145,"character":21}],"inheritedFrom":{"type":"reference","id":10730,"name":"Instrument.triggerAttackRelease"}},{"id":11412,"name":"triggerRelease","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11413,"name":"triggerRelease","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Trigger the release portion of the envelope","tags":[{"tag":"example","text":"\nconst synth = new Tone.Synth().toDestination();\nsynth.triggerAttack(\"C4\");\n// trigger the release a second from now\nsynth.triggerRelease(\"+1\");\n"}]},"parameters":[{"id":11414,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"If no time is given, the release happens immediatly"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":10742,"name":"Instrument.triggerRelease"},"inheritedFrom":{"type":"reference","id":10844,"name":"Monophonic.triggerRelease"}}],"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":88,"character":15}],"overwrites":{"type":"reference","id":10742,"name":"Instrument.triggerRelease"},"inheritedFrom":{"type":"reference","id":10844,"name":"Monophonic.triggerRelease"}},{"id":11430,"name":"unsync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11431,"name":"unsync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Unsync the instrument from the Transport"},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":10728,"name":"Instrument.unsync"}}],"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":122,"character":7}],"inheritedFrom":{"type":"reference","id":10728,"name":"Instrument.unsync"}},{"id":11393,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":11394,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":11228,"name":"ModulationSynthOptions"},"overwrites":{"type":"reference","id":10837,"name":"Monophonic.getDefaults"},"inheritedFrom":{"type":"reference","id":11255,"name":"ModulationSynth.getDefaults"}}],"sources":[{"fileName":"Tone/instrument/ModulationSynth.ts","line":131,"character":19}],"overwrites":{"type":"reference","id":10837,"name":"Monophonic.getDefaults"},"inheritedFrom":{"type":"reference","id":11255,"name":"ModulationSynth.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[11378]},{"title":"Properties","kind":1024,"children":[11475,11503,11390,11386,11389,11391,11420,11387,11388,11376,11406,11385,11419,11405,11421,11502]},{"title":"Accessors","kind":262144,"children":[11483,11443,11447,11451,11507,11438,11440,11481]},{"title":"Methods","kind":2048,"children":[11469,11455,11464,11381,11472,11497,11402,11479,11477,11499,11415,11422,11460,11488,11462,11485,11509,11491,11407,11432,11412,11430,11393]}],"sources":[{"fileName":"Tone/instrument/AMSynth.ts","line":21,"character":20}],"extendedTypes":[{"type":"reference","id":11239,"typeArguments":[{"type":"reference","id":11511,"name":"AMSynthOptions"}],"name":"ModulationSynth"}]},{"id":9458,"name":"Abs","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Return the absolute value of an incoming signal.","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst abs = new Tone.Abs().toDestination();\n\tconst signal = new Tone.Signal(1);\n\tsignal.rampTo(-1, 0.5);\n\tsignal.connect(abs);\n}, 0.5, 1);"}]},"children":[{"id":9465,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":9466,"name":"new Abs","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":9467,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":9458,"name":"Abs"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"},"inheritedFrom":{"type":"reference","id":6909,"name":"SignalOperator.__constructor"}}],"sources":[{"fileName":"Tone/signal/SignalOperator.ts","line":10,"character":108},{"fileName":"Tone/signal/SignalOperator.ts","line":12,"character":41}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"},"inheritedFrom":{"type":"reference","id":6909,"name":"SignalOperator.__constructor"}},{"id":9505,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":9535,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":9461,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The AudioRange input [-1, 1]"},"sources":[{"fileName":"Tone/signal/Abs.ts","line":38,"character":6}],"type":{"type":"reference","id":6998,"name":"WaveShaper"},"defaultValue":"this._abs","overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":9459,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/signal/Abs.ts","line":19,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Abs\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":9462,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The output range [0, 1]"},"sources":[{"fileName":"Tone/signal/Abs.ts","line":43,"character":7}],"type":{"type":"reference","id":6998,"name":"WaveShaper"},"defaultValue":"this._abs","overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":9534,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":9515,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":9516,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":9478,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":9479,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":9480,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":9481,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":9482,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":9483,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":9484,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":9485,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":9486,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":9487,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":9488,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":9489,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":9539,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":9540,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":9473,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":9474,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":9475,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":9476,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":9513,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":9514,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":9499,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9500,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":9501,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":9468,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9469,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":9470,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":9471,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":9472,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"},"inheritedFrom":{"type":"reference","id":6912,"name":"SignalOperator.connect"}}],"sources":[{"fileName":"Tone/signal/SignalOperator.ts","line":17,"character":8}],"overwrites":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"},"inheritedFrom":{"type":"reference","id":6912,"name":"SignalOperator.connect"}},{"id":9494,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9495,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":9496,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":9497,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":9498,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":9463,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9464,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"clean up"},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/signal/Abs.ts","line":48,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":9502,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9503,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":9504,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":9529,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9530,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":9511,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9512,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":9509,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9510,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":9531,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9532,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":9533,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":9490,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9491,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":9520,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9521,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":9522,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":9492,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9493,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":9517,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9518,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":9519,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":9541,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9542,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":9523,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9524,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":9525,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":9507,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":9508,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":4791,"name":"ToneWithContextOptions"},"overwrites":{"type":"reference","id":51,"name":"Tone.getDefaults"},"inheritedFrom":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":51,"character":19}],"overwrites":{"type":"reference","id":51,"name":"Tone.getDefaults"},"inheritedFrom":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[9465]},{"title":"Properties","kind":1024,"children":[9505,9535,9461,9459,9462,9534]},{"title":"Accessors","kind":262144,"children":[9515,9478,9482,9486,9539,9473,9475,9513]},{"title":"Methods","kind":2048,"children":[9499,9468,9494,9463,9502,9529,9511,9509,9531,9490,9520,9492,9517,9541,9523,9507]}],"sources":[{"fileName":"Tone/signal/Abs.ts","line":17,"character":16}],"extendedTypes":[{"type":"reference","id":6907,"typeArguments":[{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"}],"name":"SignalOperator"}]},{"id":739,"name":"AbstractParam","kind":128,"kindString":"Class","flags":{"isExported":true,"isAbstract":true},"comment":{"shortText":"Abstract base class for [[Param]] and [[Signal]]"},"typeParameter":[{"id":740,"name":"TypeName","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"reference","id":46,"name":"UnitName"}}],"children":[{"id":802,"name":"convert","kind":1024,"kindString":"Property","flags":{"isExported":true,"isAbstract":true},"comment":{"shortText":"If the value should be converted or not"},"sources":[{"fileName":"Tone/core/context/AbstractParam.ts","line":238,"character":17}],"type":{"type":"intrinsic","name":"boolean"}},{"id":806,"name":"maxValue","kind":1024,"kindString":"Property","flags":{"isExported":true,"isAbstract":true,"isReadonly":true},"comment":{"shortText":"The maximum value of the output given the units"},"sources":[{"fileName":"Tone/core/context/AbstractParam.ts","line":259,"character":27}],"type":{"type":"intrinsic","name":"number"}},{"id":805,"name":"minValue","kind":1024,"kindString":"Property","flags":{"isExported":true,"isAbstract":true,"isReadonly":true},"comment":{"shortText":"The minimum value of the output given the units"},"sources":[{"fileName":"Tone/core/context/AbstractParam.ts","line":254,"character":27}],"type":{"type":"intrinsic","name":"number"}},{"id":804,"name":"overridden","kind":1024,"kindString":"Property","flags":{"isExported":true,"isAbstract":true},"comment":{"shortText":"True if the signal value is being overridden by\na connected signal. Internal use only."},"sources":[{"fileName":"Tone/core/context/AbstractParam.ts","line":249,"character":20}],"type":{"type":"intrinsic","name":"boolean"}},{"id":803,"name":"units","kind":1024,"kindString":"Property","flags":{"isExported":true,"isAbstract":true,"isReadonly":true},"comment":{"shortText":"The unit type"},"sources":[{"fileName":"Tone/core/context/AbstractParam.ts","line":243,"character":24}],"type":{"type":"reference","id":46,"name":"UnitName"}},{"id":801,"name":"value","kind":1024,"kindString":"Property","flags":{"isExported":true,"isAbstract":true},"comment":{"shortText":"The current value of the parameter. Setting this value\nis equivalent to setValueAtTime(value, context.currentTime)"},"sources":[{"fileName":"Tone/core/context/AbstractParam.ts","line":233,"character":15}],"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":793,"name":"cancelAndHoldAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":794,"name":"cancelAndHoldAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"This is similar to [[cancelScheduledValues]] except\nit holds the automated value at time until the next automated event.","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst signal = new Tone.Signal(0).toDestination();\n\tsignal.linearRampTo(1, 0.5, 0);\n\tsignal.cancelAndHoldAtTime(0.3);\n}, 0.5, 1);\n"}]},"parameters":[{"id":795,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/context/AbstractParam.ts","line":208,"character":29}]},{"id":790,"name":"cancelScheduledValues","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":791,"name":"cancelScheduledValues","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Cancels all scheduled parameter changes with times greater than or\nequal to startTime.","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst signal = new Tone.Signal(0).toDestination();\n\tsignal.setValueAtTime(0.1, 0.1);\n\tsignal.setValueAtTime(0.2, 0.2);\n\tsignal.setValueAtTime(0.3, 0.3);\n\tsignal.setValueAtTime(0.4, 0.4);\n\t// cancels the last two scheduled changes\n\tsignal.cancelScheduledValues(0.3);\n}, 0.5, 1);\n"}]},"parameters":[{"id":792,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/context/AbstractParam.ts","line":196,"character":31}]},{"id":774,"name":"exponentialApproachValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":775,"name":"exponentialApproachValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Start exponentially approaching the target value at the given time. Since it\nis an exponential approach it will continue approaching after the ramp duration. The\nrampTime is the time that it takes to reach over 99% of the way towards the value. This methods\nis similar to setTargetAtTime except the third argument is a time instead of a 'timeConstant'","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination().start();\n// exponential approach over 4 seconds starting in 1 second\nosc.frequency.exponentialApproachValueAtTime(\"C4\", \"+1\", 4);\n"}]},"parameters":[{"id":776,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The value to ramp to."},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":777,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"When the ramp should start."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":778,"name":"rampTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"the time that it takes the value to ramp from it's current value"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/context/AbstractParam.ts","line":155,"character":40}]},{"id":759,"name":"exponentialRampTo","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":760,"name":"exponentialRampTo","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Schedules an exponential continuous change in parameter value from\nthe current time and current value to the given value over the\nduration of the rampTime.","tags":[{"tag":"example","text":"\nconst delay = new Tone.FeedbackDelay(0.5, 0.98).toDestination();\n// a short burst of noise through the feedback delay\nconst noise = new Tone.Noise().connect(delay).start().stop(\"+0.1\");\n// making the delay time shorter over time will also make the pitch rise\ndelay.delayTime.exponentialRampTo(0.01, 20);"},{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst signal = new Tone.Signal(.1).toDestination();\n\tsignal.exponentialRampTo(5, 0.3, 0.1);\n}, 0.5, 1);\n"}]},"parameters":[{"id":761,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The value to ramp to."},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":762,"name":"rampTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"the time that it takes the\n                            value to ramp from it's current value"},"type":{"type":"reference","id":31,"name":"Time"}},{"id":763,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the ramp should start."},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/context/AbstractParam.ts","line":99,"character":27}]},{"id":755,"name":"exponentialRampToValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":756,"name":"exponentialRampToValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Schedules an exponential continuous change in parameter value from\nthe previous scheduled parameter value to the given value.","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst signal = new Tone.Signal(1).toDestination();\n\t// the ramp starts from the previously scheduled value, which must be positive\n\tsignal.setValueAtTime(1, 0.1);\n\tsignal.exponentialRampToValueAtTime(0, 0.4);\n}, 0.5, 1);\n"}]},"parameters":[{"id":757,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":758,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/context/AbstractParam.ts","line":77,"character":38}]},{"id":745,"name":"getValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":746,"name":"getValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the signals value at the given time. Subsequent scheduling\nmay invalidate the returned value.","tags":[{"tag":"example","text":"\nconst signal = new Tone.Signal().toDestination();\n// ramp up to '8' over 3 seconds\nsignal.rampTo(8, 3);\n// ramp back down to '0' over 3 seconds\nsignal.rampTo(0, 3, \"+3\");\nsetInterval(() => {\n\t// check the value every 100 ms\n\tconsole.log(signal.getValueAtTime(Tone.now()));\n}, 100);\n"}]},"parameters":[{"id":747,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"When to get the value"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}}],"sources":[{"fileName":"Tone/core/context/AbstractParam.ts","line":36,"character":24}]},{"id":764,"name":"linearRampTo","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":765,"name":"linearRampTo","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Schedules an linear continuous change in parameter value from\nthe current time and current value to the given value over the\nduration of the rampTime.","returns":"this","tags":[{"tag":"example","text":"\nconst delay = new Tone.FeedbackDelay(0.5, 0.98).toDestination();\n// a short burst of noise through the feedback delay\nconst noise = new Tone.Noise().connect(delay).start().stop(\"+0.1\");\n// making the delay time shorter over time will also make the pitch rise\ndelay.delayTime.linearRampTo(0.01, 20);"},{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst signal = new Tone.Signal(1).toDestination();\n\tsignal.linearRampTo(0, 0.3, 0.1);\n}, 0.5, 1);\n"}]},"parameters":[{"id":766,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The value to ramp to."},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":767,"name":"rampTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"the time that it takes the\n                             value to ramp from it's current value"},"type":{"type":"reference","id":31,"name":"Time"}},{"id":768,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the ramp should start."},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/context/AbstractParam.ts","line":123,"character":22}]},{"id":751,"name":"linearRampToValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":752,"name":"linearRampToValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Schedules a linear continuous change in parameter value from the\nprevious scheduled parameter value to the given value.","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst signal = new Tone.Signal(0).toDestination();\n\t// the ramp starts from the previously scheduled value\n\tsignal.setValueAtTime(0, 0.1);\n\tsignal.linearRampToValueAtTime(1, 0.4);\n}, 0.5, 1);\n"}]},"parameters":[{"id":753,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":754,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/context/AbstractParam.ts","line":64,"character":33}]},{"id":796,"name":"rampTo","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":797,"name":"rampTo","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Ramps to the given value over the duration of the rampTime.\nAutomatically selects the best ramp type (exponential or linear)\ndepending on the `units` of the signal","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination().start();\n// schedule it to ramp either linearly or exponentially depending on the units\nosc.frequency.rampTo(\"A2\", 10);"},{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination().start();\n// schedule it to ramp starting at a specific time\nosc.frequency.rampTo(\"A2\", 10, \"+2\");\n"}]},"parameters":[{"id":798,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":799,"name":"rampTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The time that it takes the value to ramp from it's current value"},"type":{"type":"reference","id":31,"name":"Time"}},{"id":800,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the ramp should start."},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/context/AbstractParam.ts","line":227,"character":16}]},{"id":748,"name":"setRampPoint","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":749,"name":"setRampPoint","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Creates a schedule point with the current value at the current time.\nAutomation methods like [[linearRampToValueAtTime]] and [[exponentialRampToValueAtTime]]\nrequire a starting automation value usually set by [[setValueAtTime]]. This method\nis useful since it will do a `setValueAtTime` with whatever the currently computed\nvalue at the given time is.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination().start();\n// set the frequency to \"G4\" in exactly 1 second from now.\nosc.frequency.setRampPoint(\"+1\");\nosc.frequency.linearRampToValueAtTime(\"C1\", \"+2\");\n"}]},"parameters":[{"id":750,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"When to add a ramp point."},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/context/AbstractParam.ts","line":51,"character":22}]},{"id":779,"name":"setTargetAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":780,"name":"setTargetAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Start exponentially approaching the target value at the given time with\na rate having the given time constant."},"parameters":[{"id":781,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":782,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{},"type":{"type":"reference","id":31,"name":"Time"}},{"id":783,"name":"timeConstant","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"\n"},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/context/AbstractParam.ts","line":164,"character":25}]},{"id":741,"name":"setValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":742,"name":"setValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Schedules a parameter value change at the given time.","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst osc = new Tone.Oscillator(20).toDestination().start();\n\t// set the frequency to 40 at exactly 0.25 seconds\n\tosc.frequency.setValueAtTime(40, 0.25);\n}, 0.5, 1);\n"}]},"parameters":[{"id":743,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The value to set the signal."},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":744,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The time when the change should occur."},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/context/AbstractParam.ts","line":19,"character":24}]},{"id":784,"name":"setValueCurveAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":785,"name":"setValueCurveAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Sets an array of arbitrary parameter values starting at the given time\nfor the given duration.","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst signal = new Tone.Signal(1).toDestination();\n\tsignal.setValueCurveAtTime([1, 0.2, 0.8, 0.1, 0], 0.2, 0.3);\n}, 0.5, 1);\n"}]},"parameters":[{"id":786,"name":"values","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{},"type":{"type":"array","elementType":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}}},{"id":787,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{},"type":{"type":"reference","id":31,"name":"Time"}},{"id":788,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{},"type":{"type":"reference","id":31,"name":"Time"}},{"id":789,"name":"scaling","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"If the values in the curve should be scaled by some value"},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/context/AbstractParam.ts","line":180,"character":29}]},{"id":769,"name":"targetRampTo","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":770,"name":"targetRampTo","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Start exponentially approaching the target value at the given time. Since it\nis an exponential approach it will continue approaching after the ramp duration. The\nrampTime is the time that it takes to reach over 99% of the way towards the value.","tags":[{"tag":"example","text":""},{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst signal = new Tone.Signal(1).toDestination();\n\tsignal.targetRampTo(0, 0.3, 0.1);\n}, 0.5, 1);\n"}]},"parameters":[{"id":771,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The value to ramp to."},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":772,"name":"rampTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"the time that it takes the\n                             value to ramp from it's current value"},"type":{"type":"reference","id":31,"name":"Time"}},{"id":773,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the ramp should start."},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/context/AbstractParam.ts","line":140,"character":22}]}],"groups":[{"title":"Properties","kind":1024,"children":[802,806,805,804,803,801]},{"title":"Methods","kind":2048,"children":[793,790,774,759,755,745,764,751,796,748,779,741,784,769]}],"sources":[{"fileName":"Tone/core/context/AbstractParam.ts","line":6,"character":35}],"implementedBy":[{"type":"reference","id":8381,"name":"Add"},{"type":"reference","id":9974,"name":"GreaterThan"},{"type":"reference","id":7189,"name":"Multiply"},{"type":"reference","id":826,"name":"Param"},{"type":"reference","id":1503,"name":"Signal"},{"type":"reference","id":9713,"name":"Subtract"},{"type":"reference","id":10354,"name":"SyncedSignal"},{"type":"reference","id":1970,"name":"TickParam"},{"type":"reference","id":4850,"name":"TickSignal"}]},{"id":8381,"name":"Add","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Add a signal and a number or two signals. When no value is\npassed into the constructor, Tone.Add will sum input and `addend`\nIf a value is passed into the constructor, the it will be added to the input.","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst add = new Tone.Add(2).toDestination();\n\tadd.addend.setValueAtTime(1, 0.2);\n\tconst signal = new Tone.Signal(2);\n\t// add a signal and a scalar\n\tsignal.connect(add);\n\tsignal.setValueAtTime(1, 0.1);\n}, 0.5, 1);"}]},"typeParameter":[{"id":8397,"name":"TypeName","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"reference","id":46,"name":"UnitName"}}],"children":[{"id":8388,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":8389,"name":"new Add","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":8390,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"If no value is provided, will sum the input and [[addend]].\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}}],"type":{"type":"reference","id":8381,"name":"Add"},"overwrites":{"type":"reference","id":1511,"name":"Signal.__constructor"}},{"id":8391,"name":"new Add","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":8392,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":1495,"typeArguments":[{"type":"stringLiteral","value":"number"}],"name":"SignalOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":8381,"name":"Add"},"overwrites":{"type":"reference","id":1511,"name":"Signal.__constructor"}}],"sources":[{"fileName":"Tone/signal/Add.ts","line":39,"character":48},{"fileName":"Tone/signal/Add.ts","line":44,"character":29},{"fileName":"Tone/signal/Add.ts","line":45,"character":57}],"overwrites":{"type":"reference","id":1511,"name":"Signal.__constructor"}},{"id":8387,"name":"addend","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The value which is added to the input signal"},"sources":[{"fileName":"Tone/signal/Add.ts","line":39,"character":16}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"number"}],"name":"Param"},"defaultValue":"this._param"},{"id":8518,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":8546,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":8385,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/signal/Add.ts","line":33,"character":15}],"type":{"type":"reference","id":1143,"typeArguments":[{"type":"stringLiteral","value":"gain"}],"name":"Gain"},"defaultValue":"this._sum","overwrites":{"type":"reference","id":1510,"name":"Signal.input"}},{"id":8383,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/signal/Add.ts","line":27,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Add\"","overwrites":{"type":"reference","id":1505,"name":"Signal.name"}},{"id":8386,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/signal/Add.ts","line":34,"character":16}],"type":{"type":"reference","id":1143,"typeArguments":[{"type":"stringLiteral","value":"gain"}],"name":"Gain"},"defaultValue":"this._sum","overwrites":{"type":"reference","id":1508,"name":"Signal.output"}},{"id":8382,"name":"override","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/signal/Add.ts","line":25,"character":9}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","overwrites":{"type":"reference","id":1506,"name":"Signal.override"}},{"id":8545,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":8526,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":8527,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":8491,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":8492,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":8493,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":8494,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":8495,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":8496,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":8497,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":8498,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":8499,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":8500,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":8501,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":8502,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":8469,"name":"convert","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":8470,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":1590,"name":"Signal.convert"}}],"setSignature":[{"id":8471,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":8472,"name":"convert","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1590,"name":"Signal.convert"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":169,"character":12},{"fileName":"Tone/signal/Signal.ts","line":172,"character":12}],"inheritedFrom":{"type":"reference","id":1590,"name":"Signal.convert"}},{"id":8550,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":8551,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":8479,"name":"maxValue","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":8480,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1600,"name":"Signal.maxValue"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":187,"character":13}],"inheritedFrom":{"type":"reference","id":1600,"name":"Signal.maxValue"}},{"id":8481,"name":"minValue","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":8482,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1602,"name":"Signal.minValue"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":190,"character":13}],"inheritedFrom":{"type":"reference","id":1602,"name":"Signal.minValue"}},{"id":8486,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":8487,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":8488,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":8489,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":8475,"name":"overridden","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":8476,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":1596,"name":"Signal.overridden"}}],"setSignature":[{"id":8477,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":8478,"name":"overridden","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1596,"name":"Signal.overridden"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":180,"character":15},{"fileName":"Tone/signal/Signal.ts","line":183,"character":15}],"inheritedFrom":{"type":"reference","id":1596,"name":"Signal.overridden"}},{"id":8524,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":8525,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":8473,"name":"units","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":8474,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"reference","id":46,"name":"UnitName"},"inheritedFrom":{"type":"reference","id":1594,"name":"Signal.units"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":176,"character":10}],"inheritedFrom":{"type":"reference","id":1594,"name":"Signal.units"}},{"id":8465,"name":"value","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":8466,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}},"inheritedFrom":{"type":"reference","id":1586,"name":"Signal.value"}}],"setSignature":[{"id":8467,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":8468,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1586,"name":"Signal.value"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":162,"character":10},{"fileName":"Tone/signal/Signal.ts","line":165,"character":10}],"inheritedFrom":{"type":"reference","id":1586,"name":"Signal.value"}},{"id":8483,"name":"apply","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8484,"name":"apply","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"See [[Param.apply]]."},"parameters":[{"id":8485,"name":"param","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"reference","id":826,"name":"Param"},{"type":"reference","name":"AudioParam"}]}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1604,"name":"Signal.apply"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":197,"character":6}],"inheritedFrom":{"type":"reference","id":1604,"name":"Signal.apply"}},{"id":8457,"name":"cancelAndHoldAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8458,"name":"cancelAndHoldAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":8459,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1578,"name":"Signal.cancelAndHoldAtTime"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":153,"character":20}],"inheritedFrom":{"type":"reference","id":1578,"name":"Signal.cancelAndHoldAtTime"}},{"id":8454,"name":"cancelScheduledValues","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8455,"name":"cancelScheduledValues","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":8456,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1575,"name":"Signal.cancelScheduledValues"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":149,"character":22}],"inheritedFrom":{"type":"reference","id":1575,"name":"Signal.cancelScheduledValues"}},{"id":8512,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8513,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":8514,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":8400,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8401,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":8402,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":8403,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":8404,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"},"inheritedFrom":{"type":"reference","id":1519,"name":"Signal.connect"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":87,"character":8}],"overwrites":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"},"inheritedFrom":{"type":"reference","id":1519,"name":"Signal.connect"}},{"id":8507,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8508,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":8509,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":8510,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":8511,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":8395,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8396,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1524,"name":"Signal.dispose"}}],"sources":[{"fileName":"Tone/signal/Add.ts","line":58,"character":8}],"overwrites":{"type":"reference","id":1524,"name":"Signal.dispose"}},{"id":8438,"name":"exponentialApproachValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8439,"name":"exponentialApproachValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":8440,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":8441,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":8442,"name":"rampTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1559,"name":"Signal.exponentialApproachValueAtTime"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":137,"character":31}],"inheritedFrom":{"type":"reference","id":1559,"name":"Signal.exponentialApproachValueAtTime"}},{"id":8423,"name":"exponentialRampTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8424,"name":"exponentialRampTo","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":8425,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":8426,"name":"rampTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":8427,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1544,"name":"Signal.exponentialRampTo"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":125,"character":18}],"inheritedFrom":{"type":"reference","id":1544,"name":"Signal.exponentialRampTo"}},{"id":8419,"name":"exponentialRampToValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8420,"name":"exponentialRampToValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":8421,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":8422,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1540,"name":"Signal.exponentialRampToValueAtTime"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":121,"character":29}],"inheritedFrom":{"type":"reference","id":1540,"name":"Signal.exponentialRampToValueAtTime"}},{"id":8515,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8516,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":8517,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":8540,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8541,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":1495,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"SignalOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":8409,"name":"getValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8410,"name":"getValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":8411,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}},"inheritedFrom":{"type":"reference","id":1530,"name":"Signal.getValueAtTime"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":110,"character":15}],"inheritedFrom":{"type":"reference","id":1530,"name":"Signal.getValueAtTime"}},{"id":8522,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8523,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":8428,"name":"linearRampTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8429,"name":"linearRampTo","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":8430,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":8431,"name":"rampTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":8432,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1549,"name":"Signal.linearRampTo"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":129,"character":13}],"inheritedFrom":{"type":"reference","id":1549,"name":"Signal.linearRampTo"}},{"id":8415,"name":"linearRampToValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8416,"name":"linearRampToValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":8417,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":8418,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1536,"name":"Signal.linearRampToValueAtTime"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":117,"character":24}],"inheritedFrom":{"type":"reference","id":1536,"name":"Signal.linearRampToValueAtTime"}},{"id":8520,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8521,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":8460,"name":"rampTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8461,"name":"rampTo","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":8462,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":8463,"name":"rampTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":8464,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1581,"name":"Signal.rampTo"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":157,"character":7}],"inheritedFrom":{"type":"reference","id":1581,"name":"Signal.rampTo"}},{"id":8542,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8543,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":8544,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":1495,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"SignalOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":8412,"name":"setRampPoint","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8413,"name":"setRampPoint","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":8414,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1533,"name":"Signal.setRampPoint"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":113,"character":13}],"inheritedFrom":{"type":"reference","id":1533,"name":"Signal.setRampPoint"}},{"id":8443,"name":"setTargetAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8444,"name":"setTargetAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":8445,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":8446,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":8447,"name":"timeConstant","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1564,"name":"Signal.setTargetAtTime"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":141,"character":16}],"inheritedFrom":{"type":"reference","id":1564,"name":"Signal.setTargetAtTime"}},{"id":8405,"name":"setValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8406,"name":"setValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":8407,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":8408,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1526,"name":"Signal.setValueAtTime"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":106,"character":15}],"inheritedFrom":{"type":"reference","id":1526,"name":"Signal.setValueAtTime"}},{"id":8448,"name":"setValueCurveAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8449,"name":"setValueCurveAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":8450,"name":"values","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"array","elementType":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}}},{"id":8451,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":8452,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":8453,"name":"scaling","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1569,"name":"Signal.setValueCurveAtTime"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":145,"character":20}],"inheritedFrom":{"type":"reference","id":1569,"name":"Signal.setValueCurveAtTime"}},{"id":8433,"name":"targetRampTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8434,"name":"targetRampTo","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":8435,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":8436,"name":"rampTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":8437,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1554,"name":"Signal.targetRampTo"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":133,"character":13}],"inheritedFrom":{"type":"reference","id":1554,"name":"Signal.targetRampTo"}},{"id":8503,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8504,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":8531,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8532,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":8533,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":8505,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8506,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":8528,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8529,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":8530,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":8552,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8553,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":8534,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8535,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":8536,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":8393,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":8394,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":1495,"typeArguments":[{"type":"stringLiteral","value":"number"}],"name":"SignalOptions"},"overwrites":{"type":"reference","id":1517,"name":"Signal.getDefaults"}}],"sources":[{"fileName":"Tone/signal/Add.ts","line":52,"character":19}],"overwrites":{"type":"reference","id":1517,"name":"Signal.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[8388]},{"title":"Properties","kind":1024,"children":[8387,8518,8546,8385,8383,8386,8382,8545]},{"title":"Accessors","kind":262144,"children":[8526,8491,8495,8499,8469,8550,8479,8481,8486,8488,8475,8524,8473,8465]},{"title":"Methods","kind":2048,"children":[8483,8457,8454,8512,8400,8507,8395,8438,8423,8419,8515,8540,8409,8522,8428,8415,8520,8460,8542,8412,8443,8405,8448,8433,8503,8531,8505,8528,8552,8534,8393]}],"sources":[{"fileName":"Tone/signal/Add.ts","line":23,"character":16}],"extendedTypes":[{"type":"reference","id":1503,"name":"Signal"}],"implementedTypes":[{"type":"reference","id":739,"typeArguments":[{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}}],"name":"AbstractParam"}]},{"id":10960,"name":"AmplitudeEnvelope","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"AmplitudeEnvelope is a Tone.Envelope connected to a gain node.\nUnlike Tone.Envelope, which outputs the envelope's value, AmplitudeEnvelope accepts\nan audio signal as the input and will apply the envelope to the amplitude\nof the signal.\nRead more about ADSR Envelopes on [Wikipedia](https://en.wikipedia.org/wiki/Synthesizer#ADSR_envelope).","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst ampEnv = new Tone.AmplitudeEnvelope({\n\t\tattack: 0.1,\n\t\tdecay: 0.2,\n\t\tsustain: 1.0,\n\t\trelease: 0.8\n\t}).toDestination();\n\t// create an oscillator and connect it\n\tconst osc = new Tone.Oscillator().connect(ampEnv).start();\n\t// trigger the envelopes attack and release \"8t\" apart\n\tampEnv.triggerAttackRelease(\"8t\");\n}, 1.5, 1);"}]},"children":[{"id":10965,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":10966,"name":"new AmplitudeEnvelope","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":10967,"name":"attack","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The amount of time it takes for the envelope to go from 0 to it's maximum value."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":10968,"name":"decay","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The period of time after the attack that it takes for the envelope\n                     \tto fall to the sustain value. Value must be greater than 0."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":10969,"name":"sustain","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The percent of the maximum value that the envelope rests at until\n                              \tthe release is triggered."},"type":{"type":"reference","id":23,"name":"NormalRange"}},{"id":10970,"name":"release","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The amount of time after the release is triggered it takes to reach 0.\n                       \tValue must be greater than 0.\n"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":10960,"name":"AmplitudeEnvelope"},"overwrites":{"type":"reference","id":10558,"name":"Envelope.__constructor"}},{"id":10971,"name":"new AmplitudeEnvelope","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":10972,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":10537,"name":"EnvelopeOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":10960,"name":"AmplitudeEnvelope"},"overwrites":{"type":"reference","id":10558,"name":"Envelope.__constructor"}}],"sources":[{"fileName":"Tone/component/envelope/AmplitudeEnvelope.ts","line":37,"character":30},{"fileName":"Tone/component/envelope/AmplitudeEnvelope.ts","line":48,"character":81},{"fileName":"Tone/component/envelope/AmplitudeEnvelope.ts","line":49,"character":48}],"overwrites":{"type":"reference","id":10558,"name":"Envelope.__constructor"}},{"id":10975,"name":"attack","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"When triggerAttack is called, the attack time is the amount of\ntime it takes for the envelope to reach it's maximum value.\n```\n          /\\\n         /X \\\n        /XX  \\\n       /XXX   \\\n      /XXXX    \\___________\n     /XXXXX                \\\n    /XXXXXX                 \\\n   /XXXXXXX                  \\\n  /XXXXXXXX                   \\\n```","tags":[{"tag":"min","text":"0"},{"tag":"max","text":"2\n"}]},"decorators":[{"name":"timeRange","type":{"type":"reference","id":8896,"name":"timeRange"},"arguments":{"min":"0"}}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":74,"character":7}],"type":{"type":"reference","id":31,"name":"Time"},"inheritedFrom":{"type":"reference","id":10548,"name":"Envelope.attack"}},{"id":11054,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":11082,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":10976,"name":"decay","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"After the attack portion of the envelope, the value will fall\nover the duration of the decay time to it's sustain value.\n```\n          /\\\n         / X\\\n        /  XX\\\n       /   XXX\\\n      /    XXXX\\___________\n     /     XXXXX           \\\n    /      XXXXX            \\\n   /       XXXXX             \\\n  /        XXXXX              \\\n```","tags":[{"tag":"min","text":"0"},{"tag":"max","text":"2\n"}]},"decorators":[{"name":"timeRange","type":{"type":"reference","id":8896,"name":"timeRange"},"arguments":{"min":"0"}}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":94,"character":6}],"type":{"type":"reference","id":31,"name":"Time"},"inheritedFrom":{"type":"reference","id":10549,"name":"Envelope.decay"}},{"id":10964,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/envelope/AmplitudeEnvelope.ts","line":37,"character":6}],"type":{"type":"reference","id":1143,"name":"Gain"},"defaultValue":"this._gainNode","overwrites":{"type":"reference","id":10557,"name":"Envelope.input"}},{"id":10961,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/envelope/AmplitudeEnvelope.ts","line":30,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"AmplitudeEnvelope\"","overwrites":{"type":"reference","id":10547,"name":"Envelope.name"}},{"id":10963,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/envelope/AmplitudeEnvelope.ts","line":36,"character":7}],"type":{"type":"reference","id":1143,"name":"Gain"},"defaultValue":"this._gainNode","overwrites":{"type":"reference","id":10556,"name":"Envelope.output"}},{"id":10978,"name":"release","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"After triggerRelease is called, the envelope's\nvalue will fall to it's miminum value over the\nduration of the release time.\n```\n          /\\\n         /  \\\n        /    \\\n       /      \\\n      /        \\___________\n     /                    X\\\n    /                     XX\\\n   /                      XXX\\\n  /                       XXXX\\\n```","tags":[{"tag":"min","text":"0"},{"tag":"max","text":"5\n"}]},"decorators":[{"name":"timeRange","type":{"type":"reference","id":8896,"name":"timeRange"},"arguments":{"min":"0"}}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":134,"character":8}],"type":{"type":"reference","id":31,"name":"Time"},"inheritedFrom":{"type":"reference","id":10551,"name":"Envelope.release"}},{"id":10977,"name":"sustain","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The sustain value is the value\nwhich the envelope rests at after triggerAttack is\ncalled, but before triggerRelease is invoked.\n```\n          /\\\n         /  \\\n        /    \\\n       /      \\\n      /        \\___________\n     /          XXXXXXXXXXX\\\n    /           XXXXXXXXXXX \\\n   /            XXXXXXXXXXX  \\\n  /             XXXXXXXXXXX   \\\n```"},"decorators":[{"name":"range","type":{"type":"reference","id":8892,"name":"range"},"arguments":{"min":"0","max":"1"}}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":113,"character":8}],"type":{"type":"reference","id":23,"name":"NormalRange"},"inheritedFrom":{"type":"reference","id":10550,"name":"Envelope.sustain"}},{"id":11081,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":10984,"name":"attackCurve","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The shape of the attack.\nCan be any of these strings:\n* \"linear\"\n* \"exponential\"\n* \"sine\"\n* \"cosine\"\n* \"bounce\"\n* \"ripple\"\n* \"step\"","text":"Can also be an array which describes the curve. Values\nin the array are evenly subdivided and linearly\ninterpolated over the duration of the attack.","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst env = new Tone.Envelope(0.4).toDestination();\n\tenv.attackCurve = \"linear\";\n\tenv.triggerAttack();\n}, 1, 1);\n"}]},"getSignature":[{"id":10985,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The shape of the attack.\nCan be any of these strings:\n* \"linear\"\n* \"exponential\"\n* \"sine\"\n* \"cosine\"\n* \"bounce\"\n* \"ripple\"\n* \"step\"","text":"Can also be an array which describes the curve. Values\nin the array are evenly subdivided and linearly\ninterpolated over the duration of the attack.","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst env = new Tone.Envelope(0.4).toDestination();\n\tenv.attackCurve = \"linear\";\n\tenv.triggerAttack();\n}, 1, 1);\n"}]},"type":{"type":"reference","id":10700,"name":"EnvelopeCurve"},"inheritedFrom":{"type":"reference","id":10579,"name":"Envelope.attackCurve"}}],"setSignature":[{"id":10986,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The shape of the attack.\nCan be any of these strings:\n* \"linear\"\n* \"exponential\"\n* \"sine\"\n* \"cosine\"\n* \"bounce\"\n* \"ripple\"\n* \"step\"","text":"Can also be an array which describes the curve. Values\nin the array are evenly subdivided and linearly\ninterpolated over the duration of the attack.","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst env = new Tone.Envelope(0.4).toDestination();\n\tenv.attackCurve = \"linear\";\n\tenv.triggerAttack();\n}, 1, 1);\n"}]},"parameters":[{"id":10987,"name":"curve","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"array","elementType":{"type":"intrinsic","name":"number"}},{"type":"stringLiteral","value":"linear"},{"type":"stringLiteral","value":"exponential"},{"type":"stringLiteral","value":"sine"},{"type":"stringLiteral","value":"bounce"},{"type":"stringLiteral","value":"cosine"},{"type":"stringLiteral","value":"ripple"},{"type":"stringLiteral","value":"step"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":10579,"name":"Envelope.attackCurve"}}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":286,"character":16},{"fileName":"Tone/component/envelope/Envelope.ts","line":289,"character":16}],"inheritedFrom":{"type":"reference","id":10579,"name":"Envelope.attackCurve"}},{"id":11062,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":11063,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":11027,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":11028,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":11029,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":11030,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":11031,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":11032,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":11033,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":11034,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":11035,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":11036,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":11037,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":11038,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":10992,"name":"decayCurve","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The shape of the decay either \"linear\" or \"exponential\"","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst env = new Tone.Envelope({\n\t\tsustain: 0.1,\n\t\tdecay: 0.5\n\t}).toDestination();\n\tenv.decayCurve = \"linear\";\n\tenv.triggerAttack();\n}, 1, 1);\n"}]},"getSignature":[{"id":10993,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The shape of the decay either \"linear\" or \"exponential\"","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst env = new Tone.Envelope({\n\t\tsustain: 0.1,\n\t\tdecay: 0.5\n\t}).toDestination();\n\tenv.decayCurve = \"linear\";\n\tenv.triggerAttack();\n}, 1, 1);\n"}]},"type":{"type":"reference","id":10698,"name":"BasicEnvelopeCurve"},"inheritedFrom":{"type":"reference","id":10587,"name":"Envelope.decayCurve"}}],"setSignature":[{"id":10994,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The shape of the decay either \"linear\" or \"exponential\"","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst env = new Tone.Envelope({\n\t\tsustain: 0.1,\n\t\tdecay: 0.5\n\t}).toDestination();\n\tenv.decayCurve = \"linear\";\n\tenv.triggerAttack();\n}, 1, 1);\n"}]},"parameters":[{"id":10995,"name":"curve","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"linear"},{"type":"stringLiteral","value":"exponential"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":10587,"name":"Envelope.decayCurve"}}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":325,"character":15},{"fileName":"Tone/component/envelope/Envelope.ts","line":328,"character":15}],"inheritedFrom":{"type":"reference","id":10587,"name":"Envelope.decayCurve"}},{"id":11086,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":11087,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":11022,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":11023,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":11024,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":11025,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":10988,"name":"releaseCurve","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The shape of the release. See the attack curve types.","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst env = new Tone.Envelope({\n\t\trelease: 0.8\n\t}).toDestination();\n\tenv.triggerAttack();\n\t// release curve could also be defined by an array\n\tenv.releaseCurve = [1, 0.3, 0.4, 0.2, 0.7, 0];\n\tenv.triggerRelease(0.2);\n}, 1, 1);\n"}]},"getSignature":[{"id":10989,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The shape of the release. See the attack curve types.","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst env = new Tone.Envelope({\n\t\trelease: 0.8\n\t}).toDestination();\n\tenv.triggerAttack();\n\t// release curve could also be defined by an array\n\tenv.releaseCurve = [1, 0.3, 0.4, 0.2, 0.7, 0];\n\tenv.triggerRelease(0.2);\n}, 1, 1);\n"}]},"type":{"type":"reference","id":10700,"name":"EnvelopeCurve"},"inheritedFrom":{"type":"reference","id":10583,"name":"Envelope.releaseCurve"}}],"setSignature":[{"id":10990,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The shape of the release. See the attack curve types.","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst env = new Tone.Envelope({\n\t\trelease: 0.8\n\t}).toDestination();\n\tenv.triggerAttack();\n\t// release curve could also be defined by an array\n\tenv.releaseCurve = [1, 0.3, 0.4, 0.2, 0.7, 0];\n\tenv.triggerRelease(0.2);\n}, 1, 1);\n"}]},"parameters":[{"id":10991,"name":"curve","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"array","elementType":{"type":"intrinsic","name":"number"}},{"type":"stringLiteral","value":"linear"},{"type":"stringLiteral","value":"exponential"},{"type":"stringLiteral","value":"sine"},{"type":"stringLiteral","value":"bounce"},{"type":"stringLiteral","value":"cosine"},{"type":"stringLiteral","value":"ripple"},{"type":"stringLiteral","value":"step"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":10583,"name":"Envelope.releaseCurve"}}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":306,"character":17},{"fileName":"Tone/component/envelope/Envelope.ts","line":309,"character":17}],"inheritedFrom":{"type":"reference","id":10583,"name":"Envelope.releaseCurve"}},{"id":11060,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":11061,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":10982,"name":"value","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Read the current value of the envelope. Useful for\nsynchronizing visual output to the envelope."},"getSignature":[{"id":10983,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Read the current value of the envelope. Useful for\nsynchronizing visual output to the envelope."},"type":{"type":"reference","id":23,"name":"NormalRange"},"inheritedFrom":{"type":"reference","id":10568,"name":"Envelope.value"}}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":211,"character":10}],"inheritedFrom":{"type":"reference","id":10568,"name":"Envelope.value"}},{"id":11019,"name":"asArray","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11020,"name":"asArray","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Render the envelope curve to an array of the given length.\nGood for visualizing the envelope curve. Rescales the duration of the\nenvelope to fit the length."},"parameters":[{"id":11021,"name":"length","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"1024"}],"type":{"type":"reference","typeArguments":[{"type":"reference","name":"Float32Array"}],"name":"Promise"},"inheritedFrom":{"type":"reference","id":10614,"name":"Envelope.asArray"}}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":482,"character":14}],"inheritedFrom":{"type":"reference","id":10614,"name":"Envelope.asArray"}},{"id":11011,"name":"cancel","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11012,"name":"cancel","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Cancels all scheduled envelope changes after the given time."},"parameters":[{"id":11013,"name":"after","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":10606,"name":"Envelope.cancel"}}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":464,"character":7}],"inheritedFrom":{"type":"reference","id":10606,"name":"Envelope.cancel"}},{"id":11048,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11049,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":11050,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":11014,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11015,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the envelope to a destination node."},"parameters":[{"id":11016,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":11017,"name":"outputNumber","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":11018,"name":"inputNumber","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"},"inheritedFrom":{"type":"reference","id":10609,"name":"Envelope.connect"}}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":472,"character":8}],"overwrites":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"},"inheritedFrom":{"type":"reference","id":10609,"name":"Envelope.connect"}},{"id":11043,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11044,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":11045,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":11046,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":11047,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":10973,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10974,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Clean up"},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":10617,"name":"Envelope.dispose"}}],"sources":[{"fileName":"Tone/component/envelope/AmplitudeEnvelope.ts","line":60,"character":8}],"overwrites":{"type":"reference","id":10617,"name":"Envelope.dispose"}},{"id":11051,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11052,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":11053,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":11076,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11077,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":10537,"name":"EnvelopeOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":11003,"name":"getValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11004,"name":"getValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the scheduled value at the given time. This will\nreturn the unconverted (raw) value.","tags":[{"tag":"example","text":"\nconst env = new Tone.Envelope(0.5, 1, 0.4, 2);\nenv.triggerAttackRelease(2);\nsetInterval(() => console.log(env.getValueAtTime(Tone.now())), 100);\n"}]},"parameters":[{"id":11005,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":23,"name":"NormalRange"},"inheritedFrom":{"type":"reference","id":10598,"name":"Envelope.getValueAtTime"}}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":438,"character":15}],"inheritedFrom":{"type":"reference","id":10598,"name":"Envelope.getValueAtTime"}},{"id":11058,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11059,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":11056,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11057,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":11078,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11079,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":11080,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":10537,"name":"EnvelopeOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":11039,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11040,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":11067,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11068,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":11069,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":11041,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11042,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":11064,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11065,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":11066,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":11088,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11089,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":11070,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11071,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":11072,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":10996,"name":"triggerAttack","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10997,"name":"triggerAttack","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Trigger the attack/decay portion of the ADSR envelope.","tags":[{"tag":"example","text":"\nconst env = new Tone.AmplitudeEnvelope().toDestination();\nconst osc = new Tone.Oscillator().connect(env).start();\n// trigger the attack 0.5 seconds from now with a velocity of 0.2\nenv.triggerAttack(\"+0.5\", 0.2);\n"}]},"parameters":[{"id":10998,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the attack should start."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":10999,"name":"velocity","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The velocity of the envelope scales the vales.\n                            number between 0-1"},"type":{"type":"reference","id":23,"name":"NormalRange"},"defaultValue":"1"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":10591,"name":"Envelope.triggerAttack"}}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":344,"character":14}],"inheritedFrom":{"type":"reference","id":10591,"name":"Envelope.triggerAttack"}},{"id":11006,"name":"triggerAttackRelease","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11007,"name":"triggerAttackRelease","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"triggerAttackRelease is shorthand for triggerAttack, then waiting\nsome duration, then triggerRelease.","tags":[{"tag":"example","text":"\nconst env = new Tone.AmplitudeEnvelope().toDestination();\nconst osc = new Tone.Oscillator().connect(env).start();\n// trigger the release 0.5 seconds after the attack\nenv.triggerAttackRelease(0.5);\n"}]},"parameters":[{"id":11008,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The duration of the sustain."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":11009,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the attack should be triggered."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":11010,"name":"velocity","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The velocity of the envelope."},"type":{"type":"reference","id":23,"name":"NormalRange"},"defaultValue":"1"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":10601,"name":"Envelope.triggerAttackRelease"}}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":454,"character":21}],"inheritedFrom":{"type":"reference","id":10601,"name":"Envelope.triggerAttackRelease"}},{"id":11000,"name":"triggerRelease","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11001,"name":"triggerRelease","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Triggers the release of the envelope.","tags":[{"tag":"example","text":"\nconst env = new Tone.AmplitudeEnvelope().toDestination();\nconst osc = new Tone.Oscillator({\n\ttype: \"sawtooth\"\n}).connect(env).start();\nenv.triggerAttack();\n// trigger the release half a second after the attack\nenv.triggerRelease(\"+0.5\");\n"}]},"parameters":[{"id":11002,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the release portion of the envelope should start."},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":10595,"name":"Envelope.triggerRelease"}}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":409,"character":15}],"inheritedFrom":{"type":"reference","id":10595,"name":"Envelope.triggerRelease"}},{"id":10980,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":10981,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":10537,"name":"EnvelopeOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"},"inheritedFrom":{"type":"reference","id":10566,"name":"Envelope.getDefaults"}}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":195,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"},"inheritedFrom":{"type":"reference","id":10566,"name":"Envelope.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[10965]},{"title":"Properties","kind":1024,"children":[10975,11054,11082,10976,10964,10961,10963,10978,10977,11081]},{"title":"Accessors","kind":262144,"children":[10984,11062,11027,11031,11035,10992,11086,11022,11024,10988,11060,10982]},{"title":"Methods","kind":2048,"children":[11019,11011,11048,11014,11043,10973,11051,11076,11003,11058,11056,11078,11039,11067,11041,11064,11088,11070,10996,11006,11000,10980]}],"sources":[{"fileName":"Tone/component/envelope/AmplitudeEnvelope.ts","line":28,"character":30}],"extendedTypes":[{"type":"reference","id":10546,"name":"Envelope"}]},{"id":17998,"name":"Analyser","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Wrapper around the native Web Audio's [AnalyserNode](http://webaudio.github.io/web-audio-api/#idl-def-AnalyserNode).\nExtracts FFT or Waveform data from the incoming signal."},"children":[{"id":18007,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":18008,"name":"new Analyser","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":18009,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The return type of the analysis, either \"fft\", or \"waveform\"."},"type":{"type":"reference","id":18106,"name":"AnalyserType"}},{"id":18010,"name":"size","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The size of the FFT. This must be a power of two in the range 16 to 16384.\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}}],"type":{"type":"reference","id":17998,"name":"Analyser"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":18011,"name":"new Analyser","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":18012,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":17992,"name":"AnalyserOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":17998,"name":"Analyser"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/component/analysis/Analyser.ts","line":52,"character":39},{"fileName":"Tone/component/analysis/Analyser.ts","line":58,"character":49},{"fileName":"Tone/component/analysis/Analyser.ts","line":59,"character":49}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":18070,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":18098,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":18000,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/analysis/Analyser.ts","line":26,"character":15}],"type":{"type":"reference","id":1101,"name":"InputNode"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":17999,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/analysis/Analyser.ts","line":24,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Analyser\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":18001,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/analysis/Analyser.ts","line":27,"character":16}],"type":{"type":"reference","id":1102,"name":"OutputNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":18097,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":18078,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":18079,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":18038,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":18039,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":18040,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":18041,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":18042,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":18043,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":18044,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":18045,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":18046,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":18047,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":18048,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":18049,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":18021,"name":"channels","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of channels the analyser does the analysis on. Channel\nseparation is done using [[Split]]"},"getSignature":[{"id":18022,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of channels the analyser does the analysis on. Channel\nseparation is done using [[Split]]"},"type":{"type":"intrinsic","name":"number"}}],"sources":[{"fileName":"Tone/component/analysis/Analyser.ts","line":132,"character":13}]},{"id":18102,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":18103,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":18033,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":18034,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":18035,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":18036,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":18076,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":18077,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":18017,"name":"size","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The size of analysis. This must be a power of two in the range 16 to 16384."},"getSignature":[{"id":18018,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The size of analysis. This must be a power of two in the range 16 to 16384."},"type":{"type":"reference","id":44,"name":"PowerOfTwo"}}],"setSignature":[{"id":18019,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The size of analysis. This must be a power of two in the range 16 to 16384."},"parameters":[{"id":18020,"name":"size","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":44,"name":"PowerOfTwo"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/component/analysis/Analyser.ts","line":118,"character":9},{"fileName":"Tone/component/analysis/Analyser.ts","line":121,"character":9}]},{"id":18027,"name":"smoothing","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"0 represents no time averaging with the last analysis frame."},"getSignature":[{"id":18028,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"0 represents no time averaging with the last analysis frame."},"type":{"type":"reference","id":23,"name":"NormalRange"}}],"setSignature":[{"id":18029,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"0 represents no time averaging with the last analysis frame."},"parameters":[{"id":18030,"name":"val","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":23,"name":"NormalRange"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/component/analysis/Analyser.ts","line":150,"character":14},{"fileName":"Tone/component/analysis/Analyser.ts","line":153,"character":14}]},{"id":18023,"name":"type","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The analysis function returned by analyser.getValue(), either \"fft\" or \"waveform\"."},"getSignature":[{"id":18024,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The analysis function returned by analyser.getValue(), either \"fft\" or \"waveform\"."},"type":{"type":"reference","id":18106,"name":"AnalyserType"}}],"setSignature":[{"id":18025,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The analysis function returned by analyser.getValue(), either \"fft\" or \"waveform\"."},"parameters":[{"id":18026,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":18106,"name":"AnalyserType"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/component/analysis/Analyser.ts","line":139,"character":9},{"fileName":"Tone/component/analysis/Analyser.ts","line":142,"character":9}]},{"id":18064,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18065,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":18066,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":18050,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18051,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":18052,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":18053,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":18054,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":18059,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18060,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":18061,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":18062,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":18063,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":18031,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18032,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Clean up."},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/component/analysis/Analyser.ts","line":160,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":18067,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18068,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":18069,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":18092,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18093,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":17992,"name":"AnalyserOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":18015,"name":"getValue","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18016,"name":"getValue","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Run the analysis given the current settings. If [[channels]] = 1,\nit will return a Float32Array. If [[channels]] > 1, it will\nreturn an array of Float32Arrays where each index in the array\nrepresents the analysis done on a channel."},"type":{"type":"union","types":[{"type":"reference","name":"Float32Array"},{"type":"array","elementType":{"type":"reference","name":"Float32Array"}}]}}],"sources":[{"fileName":"Tone/component/analysis/Analyser.ts","line":99,"character":9}]},{"id":18074,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18075,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":18072,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18073,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":18094,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18095,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":18096,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":17992,"name":"AnalyserOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":18055,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18056,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":18083,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18084,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":18085,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":18057,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18058,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":18080,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18081,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":18082,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":18104,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18105,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":18086,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18087,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":18088,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":18013,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":18014,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":17992,"name":"AnalyserOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/component/analysis/Analyser.ts","line":84,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[18007]},{"title":"Properties","kind":1024,"children":[18070,18098,18000,17999,18001,18097]},{"title":"Accessors","kind":262144,"children":[18078,18038,18042,18046,18021,18102,18033,18035,18076,18017,18027,18023]},{"title":"Methods","kind":2048,"children":[18064,18050,18059,18031,18067,18092,18015,18074,18072,18094,18055,18083,18057,18080,18104,18086,18013]}],"sources":[{"fileName":"Tone/component/analysis/Analyser.ts","line":22,"character":21}],"extendedTypes":[{"type":"reference","id":1004,"typeArguments":[{"type":"reference","id":17992,"name":"AnalyserOptions"}],"name":"ToneAudioNode"}]},{"id":7104,"name":"AudioToGain","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"AudioToGain converts an input in AudioRange [-1,1] to NormalRange [0,1].\nSee [[GainToAudio]]."},"children":[{"id":7111,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":7112,"name":"new AudioToGain","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":7113,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":7104,"name":"AudioToGain"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"},"inheritedFrom":{"type":"reference","id":6909,"name":"SignalOperator.__constructor"}}],"sources":[{"fileName":"Tone/signal/SignalOperator.ts","line":10,"character":108},{"fileName":"Tone/signal/SignalOperator.ts","line":12,"character":41}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"},"inheritedFrom":{"type":"reference","id":6909,"name":"SignalOperator.__constructor"}},{"id":7151,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":7181,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":7107,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The AudioRange input [-1, 1]"},"sources":[{"fileName":"Tone/signal/AudioToGain.ts","line":25,"character":6}],"type":{"type":"reference","id":6998,"name":"WaveShaper"},"defaultValue":"this._norm","overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":7105,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/signal/AudioToGain.ts","line":12,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"AudioToGain\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":7108,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The GainRange output [0, 1]"},"sources":[{"fileName":"Tone/signal/AudioToGain.ts","line":30,"character":7}],"type":{"type":"reference","id":6998,"name":"WaveShaper"},"defaultValue":"this._norm","overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":7180,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":7161,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":7162,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":7124,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":7125,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":7126,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":7127,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":7128,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":7129,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":7130,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":7131,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":7132,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":7133,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":7134,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":7135,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":7185,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":7186,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":7119,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":7120,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":7121,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":7122,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":7159,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":7160,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":7145,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7146,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":7147,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":7114,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7115,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":7116,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":7117,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":7118,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"},"inheritedFrom":{"type":"reference","id":6912,"name":"SignalOperator.connect"}}],"sources":[{"fileName":"Tone/signal/SignalOperator.ts","line":17,"character":8}],"overwrites":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"},"inheritedFrom":{"type":"reference","id":6912,"name":"SignalOperator.connect"}},{"id":7140,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7141,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":7142,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":7143,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":7144,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":7109,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7110,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"clean up"},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/signal/AudioToGain.ts","line":35,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":7148,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7149,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":7150,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":7175,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7176,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":7157,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7158,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":7155,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7156,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":7177,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7178,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":7179,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":7136,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7137,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":7166,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7167,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":7168,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":7138,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7139,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":7163,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7164,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":7165,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":7187,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7188,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":7169,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7170,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":7171,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":7153,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":7154,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":4791,"name":"ToneWithContextOptions"},"overwrites":{"type":"reference","id":51,"name":"Tone.getDefaults"},"inheritedFrom":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":51,"character":19}],"overwrites":{"type":"reference","id":51,"name":"Tone.getDefaults"},"inheritedFrom":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[7111]},{"title":"Properties","kind":1024,"children":[7151,7181,7107,7105,7108,7180]},{"title":"Accessors","kind":262144,"children":[7161,7124,7128,7132,7185,7119,7121,7159]},{"title":"Methods","kind":2048,"children":[7145,7114,7140,7109,7148,7175,7157,7155,7177,7136,7166,7138,7163,7187,7169,7153]}],"sources":[{"fileName":"Tone/signal/AudioToGain.ts","line":10,"character":24}],"extendedTypes":[{"type":"reference","id":6907,"typeArguments":[{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"}],"name":"SignalOperator"}]},{"id":14678,"name":"AutoFilter","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"AutoFilter is a Tone.Filter with a Tone.LFO connected to the filter cutoff frequency.\nSetting the LFO rate and depth allows for control over the filter modulation rate\nand depth.","tags":[{"tag":"example","text":"\n// create an autofilter and start it's LFO\nconst autoFilter = new Tone.AutoFilter(\"4n\").toDestination().start();\n// route an oscillator through the filter and start it\nconst oscillator = new Tone.Oscillator().connect(autoFilter).start();"}]},"children":[{"id":14682,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":14683,"name":"new AutoFilter","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":14684,"name":"frequency","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The rate of the LFO."},"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":14685,"name":"baseFrequency","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The lower value of the LFOs oscillation"},"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":14686,"name":"octaves","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The number of octaves above the baseFrequency\n"},"type":{"type":"reference","id":27,"name":"Positive"}}],"type":{"type":"reference","id":14678,"name":"AutoFilter"},"overwrites":{"type":"reference","id":14567,"name":"LFOEffect.__constructor"}},{"id":14687,"name":"new AutoFilter","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":14688,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":14669,"name":"AutoFilterOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":14678,"name":"AutoFilter"},"overwrites":{"type":"reference","id":14567,"name":"LFOEffect.__constructor"}}],"sources":[{"fileName":"Tone/effect/AutoFilter.ts","line":37,"character":29},{"fileName":"Tone/effect/AutoFilter.ts","line":44,"character":83},{"fileName":"Tone/effect/AutoFilter.ts","line":45,"character":51}],"overwrites":{"type":"reference","id":14567,"name":"LFOEffect.__constructor"}},{"id":14763,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":14791,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":14702,"name":"depth","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The range of the filter modulating between the min and max frequency.\n0 = no modulation. 1 = full modulation."},"sources":[{"fileName":"Tone/effect/LFOEffect.ts","line":31,"character":15}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"normalRange"}],"name":"Param"},"inheritedFrom":{"type":"reference","id":14565,"name":"LFOEffect.depth"}},{"id":14680,"name":"filter","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The filter node"},"sources":[{"fileName":"Tone/effect/AutoFilter.ts","line":32,"character":16}],"type":{"type":"reference","id":11618,"name":"Filter"}},{"id":14703,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"How fast the filter modulates between min and max."},"sources":[{"fileName":"Tone/effect/LFOEffect.ts","line":36,"character":19}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"frequency"}],"name":"Signal"},"inheritedFrom":{"type":"reference","id":14566,"name":"LFOEffect.frequency"}},{"id":14721,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The effect input node"},"sources":[{"fileName":"Tone/effect/Effect.ts","line":46,"character":6}],"type":{"type":"reference","id":1143,"name":"Gain"},"defaultValue":"new Gain({ context: this.context })","overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":14470,"name":"Effect.input"}},{"id":14679,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/effect/AutoFilter.ts","line":27,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"AutoFilter\"","overwrites":{"type":"reference","id":14563,"name":"LFOEffect.name"}},{"id":14722,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The effect output"},"sources":[{"fileName":"Tone/effect/Effect.ts","line":51,"character":7}],"type":{"type":"reference","id":14368,"name":"CrossFade"},"defaultValue":"this._dryWet","overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":14471,"name":"Effect.output"}},{"id":14718,"name":"wet","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The wet control is how much of the effected\nwill pass through to the output. 1 = 100% effected\nsignal, 0 = 100% dry signal."},"sources":[{"fileName":"Tone/effect/Effect.ts","line":31,"character":4}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"normalRange"}],"name":"Signal"},"defaultValue":"this._dryWet.fade","inheritedFrom":{"type":"reference","id":14467,"name":"Effect.wet"}},{"id":14790,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":14691,"name":"baseFrequency","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The minimum value of the filter's cutoff frequency."},"getSignature":[{"id":14692,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The minimum value of the filter's cutoff frequency."},"type":{"type":"reference","id":32,"name":"Frequency"}}],"setSignature":[{"id":14693,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The minimum value of the filter's cutoff frequency."},"parameters":[{"id":14694,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"number"}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/effect/AutoFilter.ts","line":77,"character":18},{"fileName":"Tone/effect/AutoFilter.ts","line":80,"character":18}]},{"id":14771,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":14772,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":14731,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":14732,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":14733,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":14734,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":14735,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":14736,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":14737,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":14738,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":14739,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":14740,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":14741,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":14742,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":14795,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":14796,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":14726,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":14727,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":14728,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":14729,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":14695,"name":"octaves","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The maximum value of the filter's cutoff frequency."},"getSignature":[{"id":14696,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The maximum value of the filter's cutoff frequency."},"type":{"type":"reference","id":27,"name":"Positive"}}],"setSignature":[{"id":14697,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The maximum value of the filter's cutoff frequency."},"parameters":[{"id":14698,"name":"oct","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/effect/AutoFilter.ts","line":89,"character":12},{"fileName":"Tone/effect/AutoFilter.ts","line":92,"character":12}]},{"id":14769,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":14770,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":14714,"name":"type","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The type of the LFO's oscillator: See [[Oscillator.type]]","tags":[{"tag":"example","text":"\nconst autoFilter = new Tone.AutoFilter().start().toDestination();\nconst noise = new Tone.Noise().start().connect(autoFilter);\nautoFilter.type = \"square\";\n"}]},"getSignature":[{"id":14715,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The type of the LFO's oscillator: See [[Oscillator.type]]","tags":[{"tag":"example","text":"\nconst autoFilter = new Tone.AutoFilter().start().toDestination();\nconst noise = new Tone.Noise().start().connect(autoFilter);\nautoFilter.type = \"square\";\n"}]},"type":{"type":"union","types":[{"type":"stringLiteral","value":"custom"},{"type":"stringLiteral","value":"sawtooth"},{"type":"stringLiteral","value":"sine"},{"type":"stringLiteral","value":"square"},{"type":"stringLiteral","value":"triangle"},{"type":"stringLiteral","value":"sine1"},{"type":"stringLiteral","value":"sine2"},{"type":"stringLiteral","value":"sine3"},{"type":"stringLiteral","value":"sine4"},{"type":"stringLiteral","value":"sine5"},{"type":"stringLiteral","value":"sine6"},{"type":"stringLiteral","value":"sine7"},{"type":"stringLiteral","value":"sine8"},{"type":"stringLiteral","value":"sine9"},{"type":"stringLiteral","value":"sine10"},{"type":"stringLiteral","value":"sine11"},{"type":"stringLiteral","value":"sine12"},{"type":"stringLiteral","value":"sine13"},{"type":"stringLiteral","value":"sine14"},{"type":"stringLiteral","value":"sine15"},{"type":"stringLiteral","value":"sine16"},{"type":"stringLiteral","value":"sine17"},{"type":"stringLiteral","value":"sine18"},{"type":"stringLiteral","value":"sine19"},{"type":"stringLiteral","value":"sine20"},{"type":"stringLiteral","value":"sine21"},{"type":"stringLiteral","value":"sine22"},{"type":"stringLiteral","value":"sine23"},{"type":"stringLiteral","value":"sine24"},{"type":"stringLiteral","value":"sine25"},{"type":"stringLiteral","value":"sine26"},{"type":"stringLiteral","value":"sine27"},{"type":"stringLiteral","value":"sine28"},{"type":"stringLiteral","value":"sine29"},{"type":"stringLiteral","value":"sine30"},{"type":"stringLiteral","value":"sine31"},{"type":"stringLiteral","value":"sine32"},{"type":"stringLiteral","value":"square1"},{"type":"stringLiteral","value":"square2"},{"type":"stringLiteral","value":"square3"},{"type":"stringLiteral","value":"square4"},{"type":"stringLiteral","value":"square5"},{"type":"stringLiteral","value":"square6"},{"type":"stringLiteral","value":"square7"},{"type":"stringLiteral","value":"square8"},{"type":"stringLiteral","value":"square9"},{"type":"stringLiteral","value":"square10"},{"type":"stringLiteral","value":"square11"},{"type":"stringLiteral","value":"square12"},{"type":"stringLiteral","value":"square13"},{"type":"stringLiteral","value":"square14"},{"type":"stringLiteral","value":"square15"},{"type":"stringLiteral","value":"square16"},{"type":"stringLiteral","value":"square17"},{"type":"stringLiteral","value":"square18"},{"type":"stringLiteral","value":"square19"},{"type":"stringLiteral","value":"square20"},{"type":"stringLiteral","value":"square21"},{"type":"stringLiteral","value":"square22"},{"type":"stringLiteral","value":"square23"},{"type":"stringLiteral","value":"square24"},{"type":"stringLiteral","value":"square25"},{"type":"stringLiteral","value":"square26"},{"type":"stringLiteral","value":"square27"},{"type":"stringLiteral","value":"square28"},{"type":"stringLiteral","value":"square29"},{"type":"stringLiteral","value":"square30"},{"type":"stringLiteral","value":"square31"},{"type":"stringLiteral","value":"square32"},{"type":"stringLiteral","value":"triangle1"},{"type":"stringLiteral","value":"triangle2"},{"type":"stringLiteral","value":"triangle3"},{"type":"stringLiteral","value":"triangle4"},{"type":"stringLiteral","value":"triangle5"},{"type":"stringLiteral","value":"triangle6"},{"type":"stringLiteral","value":"triangle7"},{"type":"stringLiteral","value":"triangle8"},{"type":"stringLiteral","value":"triangle9"},{"type":"stringLiteral","value":"triangle10"},{"type":"stringLiteral","value":"triangle11"},{"type":"stringLiteral","value":"triangle12"},{"type":"stringLiteral","value":"triangle13"},{"type":"stringLiteral","value":"triangle14"},{"type":"stringLiteral","value":"triangle15"},{"type":"stringLiteral","value":"triangle16"},{"type":"stringLiteral","value":"triangle17"},{"type":"stringLiteral","value":"triangle18"},{"type":"stringLiteral","value":"triangle19"},{"type":"stringLiteral","value":"triangle20"},{"type":"stringLiteral","value":"triangle21"},{"type":"stringLiteral","value":"triangle22"},{"type":"stringLiteral","value":"triangle23"},{"type":"stringLiteral","value":"triangle24"},{"type":"stringLiteral","value":"triangle25"},{"type":"stringLiteral","value":"triangle26"},{"type":"stringLiteral","value":"triangle27"},{"type":"stringLiteral","value":"triangle28"},{"type":"stringLiteral","value":"triangle29"},{"type":"stringLiteral","value":"triangle30"},{"type":"stringLiteral","value":"triangle31"},{"type":"stringLiteral","value":"triangle32"},{"type":"stringLiteral","value":"sawtooth1"},{"type":"stringLiteral","value":"sawtooth2"},{"type":"stringLiteral","value":"sawtooth3"},{"type":"stringLiteral","value":"sawtooth4"},{"type":"stringLiteral","value":"sawtooth5"},{"type":"stringLiteral","value":"sawtooth6"},{"type":"stringLiteral","value":"sawtooth7"},{"type":"stringLiteral","value":"sawtooth8"},{"type":"stringLiteral","value":"sawtooth9"},{"type":"stringLiteral","value":"sawtooth10"},{"type":"stringLiteral","value":"sawtooth11"},{"type":"stringLiteral","value":"sawtooth12"},{"type":"stringLiteral","value":"sawtooth13"},{"type":"stringLiteral","value":"sawtooth14"},{"type":"stringLiteral","value":"sawtooth15"},{"type":"stringLiteral","value":"sawtooth16"},{"type":"stringLiteral","value":"sawtooth17"},{"type":"stringLiteral","value":"sawtooth18"},{"type":"stringLiteral","value":"sawtooth19"},{"type":"stringLiteral","value":"sawtooth20"},{"type":"stringLiteral","value":"sawtooth21"},{"type":"stringLiteral","value":"sawtooth22"},{"type":"stringLiteral","value":"sawtooth23"},{"type":"stringLiteral","value":"sawtooth24"},{"type":"stringLiteral","value":"sawtooth25"},{"type":"stringLiteral","value":"sawtooth26"},{"type":"stringLiteral","value":"sawtooth27"},{"type":"stringLiteral","value":"sawtooth28"},{"type":"stringLiteral","value":"sawtooth29"},{"type":"stringLiteral","value":"sawtooth30"},{"type":"stringLiteral","value":"sawtooth31"},{"type":"stringLiteral","value":"sawtooth32"}]},"inheritedFrom":{"type":"reference","id":14582,"name":"LFOEffect.type"}}],"setSignature":[{"id":14716,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The type of the LFO's oscillator: See [[Oscillator.type]]","tags":[{"tag":"example","text":"\nconst autoFilter = new Tone.AutoFilter().start().toDestination();\nconst noise = new Tone.Noise().start().connect(autoFilter);\nautoFilter.type = \"square\";\n"}]},"parameters":[{"id":14717,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"custom"},{"type":"stringLiteral","value":"sawtooth"},{"type":"stringLiteral","value":"sine"},{"type":"stringLiteral","value":"square"},{"type":"stringLiteral","value":"triangle"},{"type":"stringLiteral","value":"sine1"},{"type":"stringLiteral","value":"sine2"},{"type":"stringLiteral","value":"sine3"},{"type":"stringLiteral","value":"sine4"},{"type":"stringLiteral","value":"sine5"},{"type":"stringLiteral","value":"sine6"},{"type":"stringLiteral","value":"sine7"},{"type":"stringLiteral","value":"sine8"},{"type":"stringLiteral","value":"sine9"},{"type":"stringLiteral","value":"sine10"},{"type":"stringLiteral","value":"sine11"},{"type":"stringLiteral","value":"sine12"},{"type":"stringLiteral","value":"sine13"},{"type":"stringLiteral","value":"sine14"},{"type":"stringLiteral","value":"sine15"},{"type":"stringLiteral","value":"sine16"},{"type":"stringLiteral","value":"sine17"},{"type":"stringLiteral","value":"sine18"},{"type":"stringLiteral","value":"sine19"},{"type":"stringLiteral","value":"sine20"},{"type":"stringLiteral","value":"sine21"},{"type":"stringLiteral","value":"sine22"},{"type":"stringLiteral","value":"sine23"},{"type":"stringLiteral","value":"sine24"},{"type":"stringLiteral","value":"sine25"},{"type":"stringLiteral","value":"sine26"},{"type":"stringLiteral","value":"sine27"},{"type":"stringLiteral","value":"sine28"},{"type":"stringLiteral","value":"sine29"},{"type":"stringLiteral","value":"sine30"},{"type":"stringLiteral","value":"sine31"},{"type":"stringLiteral","value":"sine32"},{"type":"stringLiteral","value":"square1"},{"type":"stringLiteral","value":"square2"},{"type":"stringLiteral","value":"square3"},{"type":"stringLiteral","value":"square4"},{"type":"stringLiteral","value":"square5"},{"type":"stringLiteral","value":"square6"},{"type":"stringLiteral","value":"square7"},{"type":"stringLiteral","value":"square8"},{"type":"stringLiteral","value":"square9"},{"type":"stringLiteral","value":"square10"},{"type":"stringLiteral","value":"square11"},{"type":"stringLiteral","value":"square12"},{"type":"stringLiteral","value":"square13"},{"type":"stringLiteral","value":"square14"},{"type":"stringLiteral","value":"square15"},{"type":"stringLiteral","value":"square16"},{"type":"stringLiteral","value":"square17"},{"type":"stringLiteral","value":"square18"},{"type":"stringLiteral","value":"square19"},{"type":"stringLiteral","value":"square20"},{"type":"stringLiteral","value":"square21"},{"type":"stringLiteral","value":"square22"},{"type":"stringLiteral","value":"square23"},{"type":"stringLiteral","value":"square24"},{"type":"stringLiteral","value":"square25"},{"type":"stringLiteral","value":"square26"},{"type":"stringLiteral","value":"square27"},{"type":"stringLiteral","value":"square28"},{"type":"stringLiteral","value":"square29"},{"type":"stringLiteral","value":"square30"},{"type":"stringLiteral","value":"square31"},{"type":"stringLiteral","value":"square32"},{"type":"stringLiteral","value":"triangle1"},{"type":"stringLiteral","value":"triangle2"},{"type":"stringLiteral","value":"triangle3"},{"type":"stringLiteral","value":"triangle4"},{"type":"stringLiteral","value":"triangle5"},{"type":"stringLiteral","value":"triangle6"},{"type":"stringLiteral","value":"triangle7"},{"type":"stringLiteral","value":"triangle8"},{"type":"stringLiteral","value":"triangle9"},{"type":"stringLiteral","value":"triangle10"},{"type":"stringLiteral","value":"triangle11"},{"type":"stringLiteral","value":"triangle12"},{"type":"stringLiteral","value":"triangle13"},{"type":"stringLiteral","value":"triangle14"},{"type":"stringLiteral","value":"triangle15"},{"type":"stringLiteral","value":"triangle16"},{"type":"stringLiteral","value":"triangle17"},{"type":"stringLiteral","value":"triangle18"},{"type":"stringLiteral","value":"triangle19"},{"type":"stringLiteral","value":"triangle20"},{"type":"stringLiteral","value":"triangle21"},{"type":"stringLiteral","value":"triangle22"},{"type":"stringLiteral","value":"triangle23"},{"type":"stringLiteral","value":"triangle24"},{"type":"stringLiteral","value":"triangle25"},{"type":"stringLiteral","value":"triangle26"},{"type":"stringLiteral","value":"triangle27"},{"type":"stringLiteral","value":"triangle28"},{"type":"stringLiteral","value":"triangle29"},{"type":"stringLiteral","value":"triangle30"},{"type":"stringLiteral","value":"triangle31"},{"type":"stringLiteral","value":"triangle32"},{"type":"stringLiteral","value":"sawtooth1"},{"type":"stringLiteral","value":"sawtooth2"},{"type":"stringLiteral","value":"sawtooth3"},{"type":"stringLiteral","value":"sawtooth4"},{"type":"stringLiteral","value":"sawtooth5"},{"type":"stringLiteral","value":"sawtooth6"},{"type":"stringLiteral","value":"sawtooth7"},{"type":"stringLiteral","value":"sawtooth8"},{"type":"stringLiteral","value":"sawtooth9"},{"type":"stringLiteral","value":"sawtooth10"},{"type":"stringLiteral","value":"sawtooth11"},{"type":"stringLiteral","value":"sawtooth12"},{"type":"stringLiteral","value":"sawtooth13"},{"type":"stringLiteral","value":"sawtooth14"},{"type":"stringLiteral","value":"sawtooth15"},{"type":"stringLiteral","value":"sawtooth16"},{"type":"stringLiteral","value":"sawtooth17"},{"type":"stringLiteral","value":"sawtooth18"},{"type":"stringLiteral","value":"sawtooth19"},{"type":"stringLiteral","value":"sawtooth20"},{"type":"stringLiteral","value":"sawtooth21"},{"type":"stringLiteral","value":"sawtooth22"},{"type":"stringLiteral","value":"sawtooth23"},{"type":"stringLiteral","value":"sawtooth24"},{"type":"stringLiteral","value":"sawtooth25"},{"type":"stringLiteral","value":"sawtooth26"},{"type":"stringLiteral","value":"sawtooth27"},{"type":"stringLiteral","value":"sawtooth28"},{"type":"stringLiteral","value":"sawtooth29"},{"type":"stringLiteral","value":"sawtooth30"},{"type":"stringLiteral","value":"sawtooth31"},{"type":"stringLiteral","value":"sawtooth32"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":14582,"name":"LFOEffect.type"}}],"sources":[{"fileName":"Tone/effect/LFOEffect.ts","line":101,"character":9},{"fileName":"Tone/effect/LFOEffect.ts","line":104,"character":9}],"inheritedFrom":{"type":"reference","id":14582,"name":"LFOEffect.type"}},{"id":14757,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14758,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":14759,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":14743,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14744,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":14745,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":14746,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":14747,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":14752,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14753,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":14754,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":14755,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":14756,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":14699,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14700,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":14586,"name":"LFOEffect.dispose"}}],"sources":[{"fileName":"Tone/effect/AutoFilter.ts","line":97,"character":8}],"overwrites":{"type":"reference","id":14586,"name":"LFOEffect.dispose"}},{"id":14760,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14761,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":14762,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":14785,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14786,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":14669,"name":"AutoFilterOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":14767,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14768,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":14765,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14766,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":14787,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14788,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":14789,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":14669,"name":"AutoFilterOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":14704,"name":"start","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14705,"name":"start","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Start the effect."},"parameters":[{"id":14706,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":14572,"name":"LFOEffect.start"}}],"sources":[{"fileName":"Tone/effect/LFOEffect.ts","line":65,"character":6}],"inheritedFrom":{"type":"reference","id":14572,"name":"LFOEffect.start"}},{"id":14707,"name":"stop","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14708,"name":"stop","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Stop the lfo"},"parameters":[{"id":14709,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":14575,"name":"LFOEffect.stop"}}],"sources":[{"fileName":"Tone/effect/LFOEffect.ts","line":73,"character":5}],"inheritedFrom":{"type":"reference","id":14575,"name":"LFOEffect.stop"}},{"id":14710,"name":"sync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14711,"name":"sync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Sync the filter to the transport. See [[LFO.sync]]"},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":14578,"name":"LFOEffect.sync"}}],"sources":[{"fileName":"Tone/effect/LFOEffect.ts","line":81,"character":5}],"inheritedFrom":{"type":"reference","id":14578,"name":"LFOEffect.sync"}},{"id":14748,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14749,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":14776,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14777,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":14778,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":14750,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14751,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":14773,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14774,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":14775,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":14797,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14798,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":14779,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14780,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":14781,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":14712,"name":"unsync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14713,"name":"unsync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Unsync the filter from the transport."},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":14580,"name":"LFOEffect.unsync"}}],"sources":[{"fileName":"Tone/effect/LFOEffect.ts","line":89,"character":7}],"inheritedFrom":{"type":"reference","id":14580,"name":"LFOEffect.unsync"}},{"id":14689,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":14690,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":14669,"name":"AutoFilterOptions"},"overwrites":{"type":"reference","id":14570,"name":"LFOEffect.getDefaults"}}],"sources":[{"fileName":"Tone/effect/AutoFilter.ts","line":62,"character":19}],"overwrites":{"type":"reference","id":14570,"name":"LFOEffect.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[14682]},{"title":"Properties","kind":1024,"children":[14763,14791,14702,14680,14703,14721,14679,14722,14718,14790]},{"title":"Accessors","kind":262144,"children":[14691,14771,14731,14735,14739,14795,14726,14728,14695,14769,14714]},{"title":"Methods","kind":2048,"children":[14757,14743,14752,14699,14760,14785,14767,14765,14787,14704,14707,14710,14748,14776,14750,14773,14797,14779,14712,14689]}],"sources":[{"fileName":"Tone/effect/AutoFilter.ts","line":25,"character":23}],"extendedTypes":[{"type":"reference","id":14561,"typeArguments":[{"type":"reference","id":14669,"name":"AutoFilterOptions"}],"name":"LFOEffect"}]},{"id":14898,"name":"AutoPanner","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"AutoPanner is a [[Panner]] with an [[LFO]] connected to the pan amount.\n[Related Reading](https://www.ableton.com/en/blog/autopan-chopper-effect-and-more-liveschool/).","tags":[{"tag":"example","text":"\n// create an autopanner and start it\nconst autoPanner = new Tone.AutoPanner(\"4n\").toDestination().start();\n// route an oscillator through the panner and start it\nconst oscillator = new Tone.Oscillator().connect(autoPanner).start();"}]},"children":[{"id":14901,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":14902,"name":"new AutoPanner","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":14903,"name":"frequency","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Rate of left-right oscillation.\n"},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":14898,"name":"AutoPanner"},"overwrites":{"type":"reference","id":14567,"name":"LFOEffect.__constructor"}},{"id":14904,"name":"new AutoPanner","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":14905,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":14891,"name":"AutoPannerOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":14898,"name":"AutoPanner"},"overwrites":{"type":"reference","id":14567,"name":"LFOEffect.__constructor"}}],"sources":[{"fileName":"Tone/effect/AutoPanner.ts","line":28,"character":26},{"fileName":"Tone/effect/AutoPanner.ts","line":33,"character":36},{"fileName":"Tone/effect/AutoPanner.ts","line":34,"character":51}],"overwrites":{"type":"reference","id":14567,"name":"LFOEffect.__constructor"}},{"id":14900,"name":"_panner","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The filter node"},"sources":[{"fileName":"Tone/effect/AutoPanner.ts","line":28,"character":17}],"type":{"type":"reference","id":14803,"name":"Panner"}},{"id":14972,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":15000,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":14911,"name":"depth","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The range of the filter modulating between the min and max frequency.\n0 = no modulation. 1 = full modulation."},"sources":[{"fileName":"Tone/effect/LFOEffect.ts","line":31,"character":15}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"normalRange"}],"name":"Param"},"inheritedFrom":{"type":"reference","id":14565,"name":"LFOEffect.depth"}},{"id":14912,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"How fast the filter modulates between min and max."},"sources":[{"fileName":"Tone/effect/LFOEffect.ts","line":36,"character":19}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"frequency"}],"name":"Signal"},"inheritedFrom":{"type":"reference","id":14566,"name":"LFOEffect.frequency"}},{"id":14930,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The effect input node"},"sources":[{"fileName":"Tone/effect/Effect.ts","line":46,"character":6}],"type":{"type":"reference","id":1143,"name":"Gain"},"defaultValue":"new Gain({ context: this.context })","overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":14470,"name":"Effect.input"}},{"id":14899,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/effect/AutoPanner.ts","line":23,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"AutoPanner\"","overwrites":{"type":"reference","id":14563,"name":"LFOEffect.name"}},{"id":14931,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The effect output"},"sources":[{"fileName":"Tone/effect/Effect.ts","line":51,"character":7}],"type":{"type":"reference","id":14368,"name":"CrossFade"},"defaultValue":"this._dryWet","overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":14471,"name":"Effect.output"}},{"id":14927,"name":"wet","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The wet control is how much of the effected\nwill pass through to the output. 1 = 100% effected\nsignal, 0 = 100% dry signal."},"sources":[{"fileName":"Tone/effect/Effect.ts","line":31,"character":4}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"normalRange"}],"name":"Signal"},"defaultValue":"this._dryWet.fade","inheritedFrom":{"type":"reference","id":14467,"name":"Effect.wet"}},{"id":14999,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":14980,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":14981,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":14940,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":14941,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":14942,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":14943,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":14944,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":14945,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":14946,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":14947,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":14948,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":14949,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":14950,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":14951,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":15004,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":15005,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":14935,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":14936,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":14937,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":14938,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":14978,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":14979,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":14923,"name":"type","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The type of the LFO's oscillator: See [[Oscillator.type]]","tags":[{"tag":"example","text":"\nconst autoFilter = new Tone.AutoFilter().start().toDestination();\nconst noise = new Tone.Noise().start().connect(autoFilter);\nautoFilter.type = \"square\";\n"}]},"getSignature":[{"id":14924,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The type of the LFO's oscillator: See [[Oscillator.type]]","tags":[{"tag":"example","text":"\nconst autoFilter = new Tone.AutoFilter().start().toDestination();\nconst noise = new Tone.Noise().start().connect(autoFilter);\nautoFilter.type = \"square\";\n"}]},"type":{"type":"union","types":[{"type":"stringLiteral","value":"custom"},{"type":"stringLiteral","value":"sawtooth"},{"type":"stringLiteral","value":"sine"},{"type":"stringLiteral","value":"square"},{"type":"stringLiteral","value":"triangle"},{"type":"stringLiteral","value":"sine1"},{"type":"stringLiteral","value":"sine2"},{"type":"stringLiteral","value":"sine3"},{"type":"stringLiteral","value":"sine4"},{"type":"stringLiteral","value":"sine5"},{"type":"stringLiteral","value":"sine6"},{"type":"stringLiteral","value":"sine7"},{"type":"stringLiteral","value":"sine8"},{"type":"stringLiteral","value":"sine9"},{"type":"stringLiteral","value":"sine10"},{"type":"stringLiteral","value":"sine11"},{"type":"stringLiteral","value":"sine12"},{"type":"stringLiteral","value":"sine13"},{"type":"stringLiteral","value":"sine14"},{"type":"stringLiteral","value":"sine15"},{"type":"stringLiteral","value":"sine16"},{"type":"stringLiteral","value":"sine17"},{"type":"stringLiteral","value":"sine18"},{"type":"stringLiteral","value":"sine19"},{"type":"stringLiteral","value":"sine20"},{"type":"stringLiteral","value":"sine21"},{"type":"stringLiteral","value":"sine22"},{"type":"stringLiteral","value":"sine23"},{"type":"stringLiteral","value":"sine24"},{"type":"stringLiteral","value":"sine25"},{"type":"stringLiteral","value":"sine26"},{"type":"stringLiteral","value":"sine27"},{"type":"stringLiteral","value":"sine28"},{"type":"stringLiteral","value":"sine29"},{"type":"stringLiteral","value":"sine30"},{"type":"stringLiteral","value":"sine31"},{"type":"stringLiteral","value":"sine32"},{"type":"stringLiteral","value":"square1"},{"type":"stringLiteral","value":"square2"},{"type":"stringLiteral","value":"square3"},{"type":"stringLiteral","value":"square4"},{"type":"stringLiteral","value":"square5"},{"type":"stringLiteral","value":"square6"},{"type":"stringLiteral","value":"square7"},{"type":"stringLiteral","value":"square8"},{"type":"stringLiteral","value":"square9"},{"type":"stringLiteral","value":"square10"},{"type":"stringLiteral","value":"square11"},{"type":"stringLiteral","value":"square12"},{"type":"stringLiteral","value":"square13"},{"type":"stringLiteral","value":"square14"},{"type":"stringLiteral","value":"square15"},{"type":"stringLiteral","value":"square16"},{"type":"stringLiteral","value":"square17"},{"type":"stringLiteral","value":"square18"},{"type":"stringLiteral","value":"square19"},{"type":"stringLiteral","value":"square20"},{"type":"stringLiteral","value":"square21"},{"type":"stringLiteral","value":"square22"},{"type":"stringLiteral","value":"square23"},{"type":"stringLiteral","value":"square24"},{"type":"stringLiteral","value":"square25"},{"type":"stringLiteral","value":"square26"},{"type":"stringLiteral","value":"square27"},{"type":"stringLiteral","value":"square28"},{"type":"stringLiteral","value":"square29"},{"type":"stringLiteral","value":"square30"},{"type":"stringLiteral","value":"square31"},{"type":"stringLiteral","value":"square32"},{"type":"stringLiteral","value":"triangle1"},{"type":"stringLiteral","value":"triangle2"},{"type":"stringLiteral","value":"triangle3"},{"type":"stringLiteral","value":"triangle4"},{"type":"stringLiteral","value":"triangle5"},{"type":"stringLiteral","value":"triangle6"},{"type":"stringLiteral","value":"triangle7"},{"type":"stringLiteral","value":"triangle8"},{"type":"stringLiteral","value":"triangle9"},{"type":"stringLiteral","value":"triangle10"},{"type":"stringLiteral","value":"triangle11"},{"type":"stringLiteral","value":"triangle12"},{"type":"stringLiteral","value":"triangle13"},{"type":"stringLiteral","value":"triangle14"},{"type":"stringLiteral","value":"triangle15"},{"type":"stringLiteral","value":"triangle16"},{"type":"stringLiteral","value":"triangle17"},{"type":"stringLiteral","value":"triangle18"},{"type":"stringLiteral","value":"triangle19"},{"type":"stringLiteral","value":"triangle20"},{"type":"stringLiteral","value":"triangle21"},{"type":"stringLiteral","value":"triangle22"},{"type":"stringLiteral","value":"triangle23"},{"type":"stringLiteral","value":"triangle24"},{"type":"stringLiteral","value":"triangle25"},{"type":"stringLiteral","value":"triangle26"},{"type":"stringLiteral","value":"triangle27"},{"type":"stringLiteral","value":"triangle28"},{"type":"stringLiteral","value":"triangle29"},{"type":"stringLiteral","value":"triangle30"},{"type":"stringLiteral","value":"triangle31"},{"type":"stringLiteral","value":"triangle32"},{"type":"stringLiteral","value":"sawtooth1"},{"type":"stringLiteral","value":"sawtooth2"},{"type":"stringLiteral","value":"sawtooth3"},{"type":"stringLiteral","value":"sawtooth4"},{"type":"stringLiteral","value":"sawtooth5"},{"type":"stringLiteral","value":"sawtooth6"},{"type":"stringLiteral","value":"sawtooth7"},{"type":"stringLiteral","value":"sawtooth8"},{"type":"stringLiteral","value":"sawtooth9"},{"type":"stringLiteral","value":"sawtooth10"},{"type":"stringLiteral","value":"sawtooth11"},{"type":"stringLiteral","value":"sawtooth12"},{"type":"stringLiteral","value":"sawtooth13"},{"type":"stringLiteral","value":"sawtooth14"},{"type":"stringLiteral","value":"sawtooth15"},{"type":"stringLiteral","value":"sawtooth16"},{"type":"stringLiteral","value":"sawtooth17"},{"type":"stringLiteral","value":"sawtooth18"},{"type":"stringLiteral","value":"sawtooth19"},{"type":"stringLiteral","value":"sawtooth20"},{"type":"stringLiteral","value":"sawtooth21"},{"type":"stringLiteral","value":"sawtooth22"},{"type":"stringLiteral","value":"sawtooth23"},{"type":"stringLiteral","value":"sawtooth24"},{"type":"stringLiteral","value":"sawtooth25"},{"type":"stringLiteral","value":"sawtooth26"},{"type":"stringLiteral","value":"sawtooth27"},{"type":"stringLiteral","value":"sawtooth28"},{"type":"stringLiteral","value":"sawtooth29"},{"type":"stringLiteral","value":"sawtooth30"},{"type":"stringLiteral","value":"sawtooth31"},{"type":"stringLiteral","value":"sawtooth32"}]},"inheritedFrom":{"type":"reference","id":14582,"name":"LFOEffect.type"}}],"setSignature":[{"id":14925,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The type of the LFO's oscillator: See [[Oscillator.type]]","tags":[{"tag":"example","text":"\nconst autoFilter = new Tone.AutoFilter().start().toDestination();\nconst noise = new Tone.Noise().start().connect(autoFilter);\nautoFilter.type = \"square\";\n"}]},"parameters":[{"id":14926,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"custom"},{"type":"stringLiteral","value":"sawtooth"},{"type":"stringLiteral","value":"sine"},{"type":"stringLiteral","value":"square"},{"type":"stringLiteral","value":"triangle"},{"type":"stringLiteral","value":"sine1"},{"type":"stringLiteral","value":"sine2"},{"type":"stringLiteral","value":"sine3"},{"type":"stringLiteral","value":"sine4"},{"type":"stringLiteral","value":"sine5"},{"type":"stringLiteral","value":"sine6"},{"type":"stringLiteral","value":"sine7"},{"type":"stringLiteral","value":"sine8"},{"type":"stringLiteral","value":"sine9"},{"type":"stringLiteral","value":"sine10"},{"type":"stringLiteral","value":"sine11"},{"type":"stringLiteral","value":"sine12"},{"type":"stringLiteral","value":"sine13"},{"type":"stringLiteral","value":"sine14"},{"type":"stringLiteral","value":"sine15"},{"type":"stringLiteral","value":"sine16"},{"type":"stringLiteral","value":"sine17"},{"type":"stringLiteral","value":"sine18"},{"type":"stringLiteral","value":"sine19"},{"type":"stringLiteral","value":"sine20"},{"type":"stringLiteral","value":"sine21"},{"type":"stringLiteral","value":"sine22"},{"type":"stringLiteral","value":"sine23"},{"type":"stringLiteral","value":"sine24"},{"type":"stringLiteral","value":"sine25"},{"type":"stringLiteral","value":"sine26"},{"type":"stringLiteral","value":"sine27"},{"type":"stringLiteral","value":"sine28"},{"type":"stringLiteral","value":"sine29"},{"type":"stringLiteral","value":"sine30"},{"type":"stringLiteral","value":"sine31"},{"type":"stringLiteral","value":"sine32"},{"type":"stringLiteral","value":"square1"},{"type":"stringLiteral","value":"square2"},{"type":"stringLiteral","value":"square3"},{"type":"stringLiteral","value":"square4"},{"type":"stringLiteral","value":"square5"},{"type":"stringLiteral","value":"square6"},{"type":"stringLiteral","value":"square7"},{"type":"stringLiteral","value":"square8"},{"type":"stringLiteral","value":"square9"},{"type":"stringLiteral","value":"square10"},{"type":"stringLiteral","value":"square11"},{"type":"stringLiteral","value":"square12"},{"type":"stringLiteral","value":"square13"},{"type":"stringLiteral","value":"square14"},{"type":"stringLiteral","value":"square15"},{"type":"stringLiteral","value":"square16"},{"type":"stringLiteral","value":"square17"},{"type":"stringLiteral","value":"square18"},{"type":"stringLiteral","value":"square19"},{"type":"stringLiteral","value":"square20"},{"type":"stringLiteral","value":"square21"},{"type":"stringLiteral","value":"square22"},{"type":"stringLiteral","value":"square23"},{"type":"stringLiteral","value":"square24"},{"type":"stringLiteral","value":"square25"},{"type":"stringLiteral","value":"square26"},{"type":"stringLiteral","value":"square27"},{"type":"stringLiteral","value":"square28"},{"type":"stringLiteral","value":"square29"},{"type":"stringLiteral","value":"square30"},{"type":"stringLiteral","value":"square31"},{"type":"stringLiteral","value":"square32"},{"type":"stringLiteral","value":"triangle1"},{"type":"stringLiteral","value":"triangle2"},{"type":"stringLiteral","value":"triangle3"},{"type":"stringLiteral","value":"triangle4"},{"type":"stringLiteral","value":"triangle5"},{"type":"stringLiteral","value":"triangle6"},{"type":"stringLiteral","value":"triangle7"},{"type":"stringLiteral","value":"triangle8"},{"type":"stringLiteral","value":"triangle9"},{"type":"stringLiteral","value":"triangle10"},{"type":"stringLiteral","value":"triangle11"},{"type":"stringLiteral","value":"triangle12"},{"type":"stringLiteral","value":"triangle13"},{"type":"stringLiteral","value":"triangle14"},{"type":"stringLiteral","value":"triangle15"},{"type":"stringLiteral","value":"triangle16"},{"type":"stringLiteral","value":"triangle17"},{"type":"stringLiteral","value":"triangle18"},{"type":"stringLiteral","value":"triangle19"},{"type":"stringLiteral","value":"triangle20"},{"type":"stringLiteral","value":"triangle21"},{"type":"stringLiteral","value":"triangle22"},{"type":"stringLiteral","value":"triangle23"},{"type":"stringLiteral","value":"triangle24"},{"type":"stringLiteral","value":"triangle25"},{"type":"stringLiteral","value":"triangle26"},{"type":"stringLiteral","value":"triangle27"},{"type":"stringLiteral","value":"triangle28"},{"type":"stringLiteral","value":"triangle29"},{"type":"stringLiteral","value":"triangle30"},{"type":"stringLiteral","value":"triangle31"},{"type":"stringLiteral","value":"triangle32"},{"type":"stringLiteral","value":"sawtooth1"},{"type":"stringLiteral","value":"sawtooth2"},{"type":"stringLiteral","value":"sawtooth3"},{"type":"stringLiteral","value":"sawtooth4"},{"type":"stringLiteral","value":"sawtooth5"},{"type":"stringLiteral","value":"sawtooth6"},{"type":"stringLiteral","value":"sawtooth7"},{"type":"stringLiteral","value":"sawtooth8"},{"type":"stringLiteral","value":"sawtooth9"},{"type":"stringLiteral","value":"sawtooth10"},{"type":"stringLiteral","value":"sawtooth11"},{"type":"stringLiteral","value":"sawtooth12"},{"type":"stringLiteral","value":"sawtooth13"},{"type":"stringLiteral","value":"sawtooth14"},{"type":"stringLiteral","value":"sawtooth15"},{"type":"stringLiteral","value":"sawtooth16"},{"type":"stringLiteral","value":"sawtooth17"},{"type":"stringLiteral","value":"sawtooth18"},{"type":"stringLiteral","value":"sawtooth19"},{"type":"stringLiteral","value":"sawtooth20"},{"type":"stringLiteral","value":"sawtooth21"},{"type":"stringLiteral","value":"sawtooth22"},{"type":"stringLiteral","value":"sawtooth23"},{"type":"stringLiteral","value":"sawtooth24"},{"type":"stringLiteral","value":"sawtooth25"},{"type":"stringLiteral","value":"sawtooth26"},{"type":"stringLiteral","value":"sawtooth27"},{"type":"stringLiteral","value":"sawtooth28"},{"type":"stringLiteral","value":"sawtooth29"},{"type":"stringLiteral","value":"sawtooth30"},{"type":"stringLiteral","value":"sawtooth31"},{"type":"stringLiteral","value":"sawtooth32"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":14582,"name":"LFOEffect.type"}}],"sources":[{"fileName":"Tone/effect/LFOEffect.ts","line":101,"character":9},{"fileName":"Tone/effect/LFOEffect.ts","line":104,"character":9}],"inheritedFrom":{"type":"reference","id":14582,"name":"LFOEffect.type"}},{"id":14966,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14967,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":14968,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":14952,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14953,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":14954,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":14955,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":14956,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":14961,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14962,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":14963,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":14964,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":14965,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":14908,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14909,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":14586,"name":"LFOEffect.dispose"}}],"sources":[{"fileName":"Tone/effect/AutoPanner.ts","line":57,"character":8}],"overwrites":{"type":"reference","id":14586,"name":"LFOEffect.dispose"}},{"id":14969,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14970,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":14971,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":14994,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14995,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":14891,"name":"AutoPannerOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":14976,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14977,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":14974,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14975,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":14996,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14997,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":14998,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":14891,"name":"AutoPannerOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":14913,"name":"start","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14914,"name":"start","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Start the effect."},"parameters":[{"id":14915,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":14572,"name":"LFOEffect.start"}}],"sources":[{"fileName":"Tone/effect/LFOEffect.ts","line":65,"character":6}],"inheritedFrom":{"type":"reference","id":14572,"name":"LFOEffect.start"}},{"id":14916,"name":"stop","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14917,"name":"stop","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Stop the lfo"},"parameters":[{"id":14918,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":14575,"name":"LFOEffect.stop"}}],"sources":[{"fileName":"Tone/effect/LFOEffect.ts","line":73,"character":5}],"inheritedFrom":{"type":"reference","id":14575,"name":"LFOEffect.stop"}},{"id":14919,"name":"sync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14920,"name":"sync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Sync the filter to the transport. See [[LFO.sync]]"},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":14578,"name":"LFOEffect.sync"}}],"sources":[{"fileName":"Tone/effect/LFOEffect.ts","line":81,"character":5}],"inheritedFrom":{"type":"reference","id":14578,"name":"LFOEffect.sync"}},{"id":14957,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14958,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":14985,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14986,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":14987,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":14959,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14960,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":14982,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14983,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":14984,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":15006,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15007,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":14988,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14989,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":14990,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":14921,"name":"unsync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14922,"name":"unsync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Unsync the filter from the transport."},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":14580,"name":"LFOEffect.unsync"}}],"sources":[{"fileName":"Tone/effect/LFOEffect.ts","line":89,"character":7}],"inheritedFrom":{"type":"reference","id":14580,"name":"LFOEffect.unsync"}},{"id":14906,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":14907,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":14891,"name":"AutoPannerOptions"},"overwrites":{"type":"reference","id":14570,"name":"LFOEffect.getDefaults"}}],"sources":[{"fileName":"Tone/effect/AutoPanner.ts","line":51,"character":19}],"overwrites":{"type":"reference","id":14570,"name":"LFOEffect.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[14901]},{"title":"Properties","kind":1024,"children":[14900,14972,15000,14911,14912,14930,14899,14931,14927,14999]},{"title":"Accessors","kind":262144,"children":[14980,14940,14944,14948,15004,14935,14937,14978,14923]},{"title":"Methods","kind":2048,"children":[14966,14952,14961,14908,14969,14994,14976,14974,14996,14913,14916,14919,14957,14985,14959,14982,15006,14988,14921,14906]}],"sources":[{"fileName":"Tone/effect/AutoPanner.ts","line":21,"character":23}],"extendedTypes":[{"type":"reference","id":14561,"typeArguments":[{"type":"reference","id":14891,"name":"AutoPannerOptions"}],"name":"LFOEffect"}]},{"id":15114,"name":"AutoWah","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"AutoWah connects a [[Follower]] to a [[Filter]].\nThe frequency of the filter, follows the input amplitude curve.\nInspiration from [Tuna.js](https://github.com/Dinahmoe/tuna).","tags":[{"tag":"example","text":"\nconst autoWah = new Tone.AutoWah(50, 6, -30).toDestination();\n// initialize the synth and connect to autowah\nconst synth = new Tone.Synth().connect(autoWah);\n// Q value influences the effect of the wah - default is 2\nautoWah.Q.value = 6;\n// more audible on higher notes\nsynth.triggerAttackRelease(\"C4\", \"8n\");"}]},"children":[{"id":15125,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":15126,"name":"new AutoWah","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":15127,"name":"baseFrequency","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The frequency the filter is set to at the low point of the wah"},"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":15128,"name":"octaves","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The number of octaves above the baseFrequency the filter will sweep to when fully open."},"type":{"type":"reference","id":27,"name":"Positive"}},{"id":15129,"name":"sensitivity","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The decibel threshold sensitivity for the incoming signal. Normal range of -40 to 0.\n"},"type":{"type":"reference","id":22,"name":"Decibels"}}],"type":{"type":"reference","id":15114,"name":"AutoWah"},"overwrites":{"type":"reference","id":14472,"name":"Effect.__constructor"}},{"id":15130,"name":"new AutoWah","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":15131,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":15105,"name":"AutoWahOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":15114,"name":"AutoWah"},"overwrites":{"type":"reference","id":14472,"name":"Effect.__constructor"}}],"sources":[{"fileName":"Tone/effect/AutoWah.ts","line":84,"character":32},{"fileName":"Tone/effect/AutoWah.ts","line":91,"character":84},{"fileName":"Tone/effect/AutoWah.ts","line":92,"character":48}],"overwrites":{"type":"reference","id":14472,"name":"Effect.__constructor"}},{"id":15124,"name":"Q","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The quality of the filter."},"sources":[{"fileName":"Tone/effect/AutoWah.ts","line":84,"character":11}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"positive"}],"name":"Signal"}},{"id":15200,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":15228,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":15123,"name":"gain","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The gain of the filter."},"sources":[{"fileName":"Tone/effect/AutoWah.ts","line":79,"character":14}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"decibels"}],"name":"Signal"}},{"id":15158,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The effect input node"},"sources":[{"fileName":"Tone/effect/Effect.ts","line":46,"character":6}],"type":{"type":"reference","id":1143,"name":"Gain"},"defaultValue":"new Gain({ context: this.context })","overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":14470,"name":"Effect.input"}},{"id":15115,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/effect/AutoWah.ts","line":38,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"AutoWah\"","overwrites":{"type":"reference","id":14465,"name":"Effect.name"}},{"id":15159,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The effect output"},"sources":[{"fileName":"Tone/effect/Effect.ts","line":51,"character":7}],"type":{"type":"reference","id":14368,"name":"CrossFade"},"defaultValue":"this._dryWet","overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":14471,"name":"Effect.output"}},{"id":15155,"name":"wet","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The wet control is how much of the effected\nwill pass through to the output. 1 = 100% effected\nsignal, 0 = 100% dry signal."},"sources":[{"fileName":"Tone/effect/Effect.ts","line":31,"character":4}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"normalRange"}],"name":"Signal"},"defaultValue":"this._dryWet.fade","inheritedFrom":{"type":"reference","id":14467,"name":"Effect.wet"}},{"id":15227,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":15143,"name":"baseFrequency","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The base frequency from which the sweep will start from."},"getSignature":[{"id":15144,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The base frequency from which the sweep will start from."},"type":{"type":"reference","id":32,"name":"Frequency"}}],"setSignature":[{"id":15145,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The base frequency from which the sweep will start from."},"parameters":[{"id":15146,"name":"baseFreq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"number"}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/effect/AutoWah.ts","line":173,"character":18},{"fileName":"Tone/effect/AutoWah.ts","line":176,"character":18}]},{"id":15208,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":15209,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":15168,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":15169,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":15170,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":15171,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":15172,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":15173,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":15174,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":15175,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":15176,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":15177,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":15178,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":15179,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":15232,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":15233,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":15138,"name":"follower","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The follower's smoothing time"},"getSignature":[{"id":15139,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The follower's smoothing time"},"type":{"type":"reference","id":31,"name":"Time"}}],"setSignature":[{"id":15140,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The follower's smoothing time"},"parameters":[{"id":15141,"name":"follower","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"number"},{"type":"reflection","declaration":{"id":15142,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true}}}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/effect/AutoWah.ts","line":163,"character":13},{"fileName":"Tone/effect/AutoWah.ts","line":166,"character":13}]},{"id":15163,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":15164,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":15165,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":15166,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":15134,"name":"octaves","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of octaves that the filter will sweep above the baseFrequency."},"getSignature":[{"id":15135,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of octaves that the filter will sweep above the baseFrequency."},"type":{"type":"intrinsic","name":"number"}}],"setSignature":[{"id":15136,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The number of octaves that the filter will sweep above the baseFrequency."},"parameters":[{"id":15137,"name":"octaves","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/effect/AutoWah.ts","line":152,"character":12},{"fileName":"Tone/effect/AutoWah.ts","line":155,"character":12}]},{"id":15206,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":15207,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":15147,"name":"sensitivity","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The sensitivity to control how responsive to the input signal the filter is."},"getSignature":[{"id":15148,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The sensitivity to control how responsive to the input signal the filter is."},"type":{"type":"reference","id":22,"name":"Decibels"}}],"setSignature":[{"id":15149,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The sensitivity to control how responsive to the input signal the filter is."},"parameters":[{"id":15150,"name":"sensitivity","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/effect/AutoWah.ts","line":184,"character":16},{"fileName":"Tone/effect/AutoWah.ts","line":187,"character":16}]},{"id":15194,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15195,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":15196,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":15180,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15181,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":15182,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":15183,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":15184,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":15189,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15190,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":15191,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":15192,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":15193,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":15153,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15154,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":14480,"name":"Effect.dispose"}}],"sources":[{"fileName":"Tone/effect/AutoWah.ts","line":199,"character":8}],"overwrites":{"type":"reference","id":14480,"name":"Effect.dispose"}},{"id":15197,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15198,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":15199,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":15222,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15223,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":15105,"name":"AutoWahOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":15204,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15205,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":15202,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15203,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":15224,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15225,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":15226,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":15105,"name":"AutoWahOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":15185,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15186,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":15213,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15214,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":15215,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":15187,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15188,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":15210,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15211,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":15212,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":15234,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15235,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":15216,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15217,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":15218,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":15132,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":15133,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":15105,"name":"AutoWahOptions"},"overwrites":{"type":"reference","id":14475,"name":"Effect.getDefaults"}}],"sources":[{"fileName":"Tone/effect/AutoWah.ts","line":138,"character":19}],"overwrites":{"type":"reference","id":14475,"name":"Effect.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[15125]},{"title":"Properties","kind":1024,"children":[15124,15200,15228,15123,15158,15115,15159,15155,15227]},{"title":"Accessors","kind":262144,"children":[15143,15208,15168,15172,15176,15232,15138,15163,15165,15134,15206,15147]},{"title":"Methods","kind":2048,"children":[15194,15180,15189,15153,15197,15222,15204,15202,15224,15185,15213,15187,15210,15234,15216,15132]}],"sources":[{"fileName":"Tone/effect/AutoWah.ts","line":36,"character":20}],"extendedTypes":[{"type":"reference","id":14463,"typeArguments":[{"type":"reference","id":15105,"name":"AutoWahOptions"}],"name":"Effect"}]},{"id":3052,"name":"BaseContext","kind":128,"kindString":"Class","flags":{"isExported":true,"isAbstract":true},"children":[{"id":3201,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":3166,"name":"isOffline","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":161,"character":19}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false"},{"id":3120,"name":"latencyHint","kind":1024,"kindString":"Property","flags":{"isExported":true,"isAbstract":true},"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":114,"character":21}],"type":{"type":"union","types":[{"type":"reference","id":3212,"name":"ContextLatencyHint"},{"type":"reference","id":21,"name":"Seconds"}]}},{"id":3119,"name":"lookAhead","kind":1024,"kindString":"Property","flags":{"isExported":true,"isAbstract":true},"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":112,"character":19}],"type":{"type":"intrinsic","name":"number"}},{"id":3167,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/util/Emitter.ts","line":17,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Emitter\"","overwrites":{"type":"reference","name":"Tone.name"},"inheritedFrom":{"type":"reference","id":103,"name":"Emitter.name"}},{"id":3198,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":3146,"name":"currentTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":3147,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"reference","id":21,"name":"Seconds"}}],"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":134,"character":25}]},{"id":3158,"name":"destination","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":3159,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"reference","id":2545,"name":"Destination"}}],"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":146,"character":25}]},{"id":3205,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":3206,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":3156,"name":"draw","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":3157,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"reference","name":"Draw"}}],"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":144,"character":18}]},{"id":3152,"name":"listener","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":3153,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"reference","id":2647,"name":"Listener"}}],"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":140,"character":22}]},{"id":3113,"name":"rawContext","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":3114,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"reference","id":4181,"name":"AnyAudioContext"}}],"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":105,"character":24}]},{"id":3150,"name":"sampleRate","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":3151,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":138,"character":24}]},{"id":3148,"name":"state","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":3149,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"reference","name":"AudioContextState"}}],"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":136,"character":19}]},{"id":3154,"name":"transport","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":3155,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"reference","name":"Transport"}}],"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":142,"character":23}]},{"id":3115,"name":"addAudioWorkletModule","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":3116,"name":"addAudioWorkletModule","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3117,"name":"_url","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"string"}},{"id":3118,"name":"_name","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise"}}],"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":107,"character":37}]},{"id":3140,"name":"clearInterval","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":3141,"name":"clearInterval","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3142,"name":"_id","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":130,"character":23}]},{"id":3130,"name":"clearTimeout","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":3131,"name":"clearTimeout","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3132,"name":"_id","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":123,"character":22}]},{"id":3053,"name":"createAnalyser","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":3054,"name":"createAnalyser","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","name":"AnalyserNode"}}],"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":35,"character":24}]},{"id":3109,"name":"createAudioWorkletNode","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":3110,"name":"createAudioWorkletNode","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3111,"name":"_name","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"string"}},{"id":3112,"name":"_options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","name":"AudioWorkletNodeOptions"}],"name":"Partial"}}],"type":{"type":"reference","name":"AudioWorkletNode"}}],"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":100,"character":32}]},{"id":3059,"name":"createBiquadFilter","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":3060,"name":"createBiquadFilter","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","name":"BiquadFilterNode"}}],"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":41,"character":28}]},{"id":3061,"name":"createBuffer","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":3062,"name":"createBuffer","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3063,"name":"_numberOfChannels","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}},{"id":3064,"name":"_length","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}},{"id":3065,"name":"_sampleRate","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","name":"AudioBuffer"}}],"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":43,"character":22}]},{"id":3057,"name":"createBufferSource","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":3058,"name":"createBufferSource","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","name":"AudioBufferSourceNode"}}],"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":39,"character":28}]},{"id":3066,"name":"createChannelMerger","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":3067,"name":"createChannelMerger","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3068,"name":"_numberOfInputs","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"number"},{"type":"intrinsic","name":"undefined"}]}}],"type":{"type":"reference","name":"ChannelMergerNode"}}],"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":49,"character":29}]},{"id":3069,"name":"createChannelSplitter","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":3070,"name":"createChannelSplitter","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3071,"name":"_numberOfOutputs","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"number"},{"type":"intrinsic","name":"undefined"}]}}],"type":{"type":"reference","name":"ChannelSplitterNode"}}],"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":53,"character":31}]},{"id":3072,"name":"createConstantSource","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":3073,"name":"createConstantSource","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","name":"ConstantSourceNode"}}],"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":57,"character":30}]},{"id":3074,"name":"createConvolver","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":3075,"name":"createConvolver","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","name":"ConvolverNode"}}],"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":59,"character":25}]},{"id":3076,"name":"createDelay","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":3077,"name":"createDelay","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3078,"name":"_maxDelayTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"number"},{"type":"intrinsic","name":"undefined"}]}}],"type":{"type":"reference","name":"DelayNode"}}],"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":61,"character":21}]},{"id":3079,"name":"createDynamicsCompressor","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":3080,"name":"createDynamicsCompressor","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","name":"DynamicsCompressorNode"}}],"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":63,"character":34}]},{"id":3081,"name":"createGain","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":3082,"name":"createGain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","name":"GainNode"}}],"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":65,"character":20}]},{"id":3083,"name":"createIIRFilter","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":3084,"name":"createIIRFilter","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3085,"name":"_feedForward","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"array","elementType":{"type":"intrinsic","name":"number"}},{"type":"reference","name":"Float32Array"}]}},{"id":3086,"name":"_feedback","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"array","elementType":{"type":"intrinsic","name":"number"}},{"type":"reference","name":"Float32Array"}]}}],"type":{"type":"reference","name":"IIRFilterNode"}}],"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":67,"character":25}]},{"id":3101,"name":"createMediaElementSource","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":3102,"name":"createMediaElementSource","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3103,"name":"_element","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"HTMLMediaElement"}}],"type":{"type":"reference","name":"MediaElementAudioSourceNode"}}],"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":88,"character":34}]},{"id":3104,"name":"createMediaStreamDestination","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":3105,"name":"createMediaStreamDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","name":"MediaStreamAudioDestinationNode"}}],"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":92,"character":38}]},{"id":3098,"name":"createMediaStreamSource","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":3099,"name":"createMediaStreamSource","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3100,"name":"_stream","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"MediaStream"}}],"type":{"type":"reference","name":"MediaStreamAudioSourceNode"}}],"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":84,"character":33}]},{"id":3055,"name":"createOscillator","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":3056,"name":"createOscillator","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","name":"OscillatorNode"}}],"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":37,"character":26}]},{"id":3087,"name":"createPanner","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":3088,"name":"createPanner","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","name":"PannerNode"}}],"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":72,"character":22}]},{"id":3089,"name":"createPeriodicWave","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":3090,"name":"createPeriodicWave","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3091,"name":"_real","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"array","elementType":{"type":"intrinsic","name":"number"}},{"type":"reference","name":"Float32Array"}]}},{"id":3092,"name":"_imag","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"array","elementType":{"type":"intrinsic","name":"number"}},{"type":"reference","name":"Float32Array"}]}},{"id":3093,"name":"_constraints","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","name":"PeriodicWaveConstraints"},{"type":"intrinsic","name":"undefined"}]}}],"type":{"type":"reference","name":"PeriodicWave"}}],"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":74,"character":28}]},{"id":3094,"name":"createStereoPanner","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":3095,"name":"createStereoPanner","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","name":"StereoPannerNode"}}],"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":80,"character":28}]},{"id":3096,"name":"createWaveShaper","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":3097,"name":"createWaveShaper","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","name":"WaveShaperNode"}}],"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":82,"character":26}]},{"id":3106,"name":"decodeAudioData","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":3107,"name":"decodeAudioData","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3108,"name":"_audioData","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"ArrayBuffer"}}],"type":{"type":"reference","typeArguments":[{"type":"reference","name":"AudioBuffer"}],"name":"Promise"}}],"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":94,"character":25}]},{"id":3196,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":3197,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Clean up"},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":58,"name":"Tone.dispose"},"inheritedFrom":{"type":"reference","id":133,"name":"Emitter.dispose"}}],"sources":[{"fileName":"Tone/core/util/Emitter.ts","line":120,"character":8}],"overwrites":{"type":"reference","id":58,"name":"Tone.dispose"},"inheritedFrom":{"type":"reference","id":133,"name":"Emitter.dispose"}},{"id":3189,"name":"emit","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":3190,"name":"emit","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Invoke all of the callbacks bound to the event\nwith any arguments passed in."},"parameters":[{"id":3191,"name":"event","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The name of the event."},"type":{"type":"intrinsic","name":"any"}},{"id":3192,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"comment":{"text":"The arguments to pass to the functions listening.\n"},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":126,"name":"Emitter.emit"}}],"sources":[{"fileName":"Tone/core/util/Emitter.ts","line":94,"character":5}],"inheritedFrom":{"type":"reference","id":126,"name":"Emitter.emit"}},{"id":3143,"name":"getConstant","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":3144,"name":"getConstant","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3145,"name":"_val","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","name":"AudioBufferSourceNode"}}],"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":132,"character":21}]},{"id":3162,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":3163,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":21,"name":"Seconds"}}],"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":150,"character":19}]},{"id":3160,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":3161,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":21,"name":"Seconds"}}],"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":148,"character":13}]},{"id":3182,"name":"off","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":3183,"name":"off","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Remove the event listener."},"parameters":[{"id":3184,"name":"event","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The event to stop listening to."},"type":{"type":"union","types":[{"type":"stringLiteral","value":"statechange"},{"type":"stringLiteral","value":"tick"}]}},{"id":3185,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The callback which was bound to the event with Emitter.on.\n                  If no callback is given, all callbacks events are removed.\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"reflection","declaration":{"id":3186,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3187,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3188,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"void"}}]}}]}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":119,"name":"Emitter.off"}}],"sources":[{"fileName":"Tone/core/util/Emitter.ts","line":66,"character":4}],"inheritedFrom":{"type":"reference","id":119,"name":"Emitter.off"}},{"id":3168,"name":"on","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":3169,"name":"on","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Bind a callback to a specific event."},"parameters":[{"id":3170,"name":"event","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The name of the event to listen for."},"type":{"type":"union","types":[{"type":"stringLiteral","value":"statechange"},{"type":"stringLiteral","value":"tick"}]}},{"id":3171,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The callback to invoke when the event is emitted\n"},"type":{"type":"reflection","declaration":{"id":3172,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3173,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3174,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/util/Emitter.ts","line":29,"character":31}]}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":105,"name":"Emitter.on"}}],"sources":[{"fileName":"Tone/core/util/Emitter.ts","line":29,"character":3}],"inheritedFrom":{"type":"reference","id":105,"name":"Emitter.on"}},{"id":3175,"name":"once","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":3176,"name":"once","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Bind a callback which is only invoked once"},"parameters":[{"id":3177,"name":"event","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The name of the event to listen for."},"type":{"type":"union","types":[{"type":"stringLiteral","value":"statechange"},{"type":"stringLiteral","value":"tick"}]}},{"id":3178,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The callback to invoke when the event is emitted\n"},"type":{"type":"reflection","declaration":{"id":3179,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3180,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3181,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/util/Emitter.ts","line":49,"character":33}]}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":112,"name":"Emitter.once"}}],"sources":[{"fileName":"Tone/core/util/Emitter.ts","line":49,"character":5}],"inheritedFrom":{"type":"reference","id":112,"name":"Emitter.once"}},{"id":3121,"name":"resume","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":3122,"name":"resume","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise"}}],"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":116,"character":16}]},{"id":3133,"name":"setInterval","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":3134,"name":"setInterval","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3135,"name":"_fn","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reflection","declaration":{"id":3136,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3137,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3138,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":126,"character":6}]}}},{"id":3139,"name":"_interval","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":21,"name":"Seconds"}}],"type":{"type":"intrinsic","name":"number"}}],"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":125,"character":21}]},{"id":3123,"name":"setTimeout","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":3124,"name":"setTimeout","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3125,"name":"_fn","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reflection","declaration":{"id":3126,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3127,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3128,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":119,"character":6}]}}},{"id":3129,"name":"_timeout","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":21,"name":"Seconds"}}],"type":{"type":"intrinsic","name":"number"}}],"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":118,"character":20}]},{"id":3164,"name":"toJSON","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":3165,"name":"toJSON","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","typeArguments":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"any"}],"name":"Record"}}],"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":157,"character":7}]},{"id":3207,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":3208,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":3199,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":3200,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Returns all of the default options belonging to the class."},"type":{"type":"reference","id":47,"name":"BaseToneOptions"},"inheritedFrom":{"type":"reference","id":51,"name":"Tone.getDefaults"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":38,"character":19}],"inheritedFrom":{"type":"reference","id":51,"name":"Tone.getDefaults"}},{"id":3193,"name":"mixin","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":3194,"name":"mixin","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Add Emitter functions (on/off/emit) to the object"},"parameters":[{"id":3195,"name":"constr","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":130,"name":"Emitter.mixin"}}],"sources":[{"fileName":"Tone/core/util/Emitter.ts","line":109,"character":13}],"inheritedFrom":{"type":"reference","id":130,"name":"Emitter.mixin"}}],"groups":[{"title":"Properties","kind":1024,"children":[3201,3166,3120,3119,3167,3198]},{"title":"Accessors","kind":262144,"children":[3146,3158,3205,3156,3152,3113,3150,3148,3154]},{"title":"Methods","kind":2048,"children":[3115,3140,3130,3053,3109,3059,3061,3057,3066,3069,3072,3074,3076,3079,3081,3083,3101,3104,3098,3055,3087,3089,3094,3096,3106,3196,3189,3143,3162,3160,3182,3168,3175,3121,3133,3123,3164,3207,3199,3193]}],"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":29,"character":33}],"extendedTypes":[{"type":"reference","id":101,"typeArguments":[{"type":"union","types":[{"type":"stringLiteral","value":"statechange"},{"type":"stringLiteral","value":"tick"}]}],"name":"Emitter"}],"extendedBy":[{"type":"reference","id":2755,"name":"Context"},{"type":"reference","id":4189,"name":"DummyContext"}],"implementedTypes":[{"type":"reflection","declaration":{"id":3209,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":31,"character":11}]}}]},{"id":11519,"name":"BiquadFilter","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Thin wrapper around the native Web Audio [BiquadFilterNode](https://webaudio.github.io/web-audio-api/#biquadfilternode).\nBiquadFilter is similar to [[Filter]] but doesn't have the option to set the \"rolloff\" value."},"children":[{"id":11528,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":11529,"name":"new BiquadFilter","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":11530,"name":"frequency","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The cutoff frequency of the filter."},"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":11531,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The type of filter.\n"},"type":{"type":"reference","name":"BiquadFilterType"}}],"type":{"type":"reference","id":11519,"name":"BiquadFilter"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":11532,"name":"new BiquadFilter","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":11533,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":11512,"name":"BiquadFilterOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":11519,"name":"BiquadFilter"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/component/filter/BiquadFilter.ts","line":52,"character":44},{"fileName":"Tone/component/filter/BiquadFilter.ts","line":58,"character":61},{"fileName":"Tone/component/filter/BiquadFilter.ts","line":59,"character":53}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":11525,"name":"Q","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The Q factor of the filter.\nFor lowpass and highpass filters the Q value is interpreted to be in dB.\nFor these filters the nominal range is [−𝑄𝑙𝑖𝑚,𝑄𝑙𝑖𝑚] where 𝑄𝑙𝑖𝑚 is the largest value for which 10𝑄/20 does not overflow. This is approximately 770.63678.\nFor the bandpass, notch, allpass, and peaking filters, this value is a linear value.\nThe value is related to the bandwidth of the filter and hence should be a positive value. The nominal range is\n[0,3.4028235𝑒38], the upper limit being the most-positive-single-float.\nThis is not used for the lowshelf and highshelf filters."},"sources":[{"fileName":"Tone/component/filter/BiquadFilter.ts","line":45,"character":11}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"number"}],"name":"Param"}},{"id":11582,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":11610,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":11524,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"A detune value, in cents, for the frequency."},"sources":[{"fileName":"Tone/component/filter/BiquadFilter.ts","line":34,"character":16}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"cents"}],"name":"Param"}},{"id":11523,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The frequency of the filter"},"sources":[{"fileName":"Tone/component/filter/BiquadFilter.ts","line":29,"character":19}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"frequency"}],"name":"Param"}},{"id":11526,"name":"gain","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The gain of the filter. Its value is in dB units. The gain is only used for lowshelf, highshelf, and peaking filters."},"sources":[{"fileName":"Tone/component/filter/BiquadFilter.ts","line":50,"character":14}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"decibels"}],"name":"Param"}},{"id":11521,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/filter/BiquadFilter.ts","line":23,"character":15}],"type":{"type":"reference","name":"BiquadFilterNode"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":11520,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/filter/BiquadFilter.ts","line":21,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"BiquadFilter\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":11522,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/filter/BiquadFilter.ts","line":24,"character":16}],"type":{"type":"reference","name":"BiquadFilterNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":11609,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":11590,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":11591,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":11550,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":11551,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":11552,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":11553,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":11554,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":11555,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":11556,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":11557,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":11558,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":11559,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":11560,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":11561,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":11614,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":11615,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":11545,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":11546,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":11547,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":11548,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":11588,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":11589,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":11536,"name":"type","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The type of this BiquadFilterNode. For a complete list of types and their attributes, see the\n[Web Audio API](https://webaudio.github.io/web-audio-api/#dom-biquadfiltertype-lowpass)"},"getSignature":[{"id":11537,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The type of this BiquadFilterNode. For a complete list of types and their attributes, see the\n[Web Audio API](https://webaudio.github.io/web-audio-api/#dom-biquadfiltertype-lowpass)"},"type":{"type":"reference","name":"BiquadFilterType"}}],"setSignature":[{"id":11538,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The type of this BiquadFilterNode. For a complete list of types and their attributes, see the\n[Web Audio API](https://webaudio.github.io/web-audio-api/#dom-biquadfiltertype-lowpass)"},"parameters":[{"id":11539,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"allpass"},{"type":"stringLiteral","value":"bandpass"},{"type":"stringLiteral","value":"highpass"},{"type":"stringLiteral","value":"highshelf"},{"type":"stringLiteral","value":"lowpass"},{"type":"stringLiteral","value":"lowshelf"},{"type":"stringLiteral","value":"notch"},{"type":"stringLiteral","value":"peaking"}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/component/filter/BiquadFilter.ts","line":113,"character":9},{"fileName":"Tone/component/filter/BiquadFilter.ts","line":116,"character":9}]},{"id":11576,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11577,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":11578,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":11562,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11563,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":11564,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":11565,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":11566,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":11571,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11572,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":11573,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":11574,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":11575,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":11543,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11544,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/component/filter/BiquadFilter.ts","line":149,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":11579,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11580,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":11581,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":11604,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11605,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":11512,"name":"BiquadFilterOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":11540,"name":"getFrequencyResponse","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11541,"name":"getFrequencyResponse","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the frequency response curve. This curve represents how the filter\nresponses to frequencies between 20hz-20khz.","returns":"The frequency response curve between 20-20kHz\n"},"parameters":[{"id":11542,"name":"len","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The number of values to return"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"128"}],"type":{"type":"reference","name":"Float32Array"}}],"sources":[{"fileName":"Tone/component/filter/BiquadFilter.ts","line":129,"character":21}]},{"id":11586,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11587,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":11584,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11585,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":11606,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11607,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":11608,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":11512,"name":"BiquadFilterOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":11567,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11568,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":11595,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11596,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":11597,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":11569,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11570,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":11592,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11593,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":11594,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":11616,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11617,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":11598,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11599,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":11600,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":11534,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":11535,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":11512,"name":"BiquadFilterOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/component/filter/BiquadFilter.ts","line":99,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[11528]},{"title":"Properties","kind":1024,"children":[11525,11582,11610,11524,11523,11526,11521,11520,11522,11609]},{"title":"Accessors","kind":262144,"children":[11590,11550,11554,11558,11614,11545,11547,11588,11536]},{"title":"Methods","kind":2048,"children":[11576,11562,11571,11543,11579,11604,11540,11586,11584,11606,11567,11595,11569,11592,11616,11598,11534]}],"sources":[{"fileName":"Tone/component/filter/BiquadFilter.ts","line":20,"character":25}],"extendedTypes":[{"type":"reference","id":1004,"typeArguments":[{"type":"reference","id":11512,"name":"BiquadFilterOptions"}],"name":"ToneAudioNode"}]},{"id":15241,"name":"BitCrusher","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"BitCrusher down-samples the incoming signal to a different bit depth.\nLowering the bit depth of the signal creates distortion. Read more about BitCrushing\non [Wikipedia](https://en.wikipedia.org/wiki/Bitcrusher).","tags":[{"tag":"example","text":"\n// initialize crusher and route a synth through it\nconst crusher = new Tone.BitCrusher(4).toDestination();\nconst synth = new Tone.Synth().connect(crusher);\nsynth.triggerAttackRelease(\"C2\", 2);\n"}]},"children":[{"id":15245,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":15246,"name":"new BitCrusher","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":15247,"name":"bits","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":27,"name":"Positive"}}],"type":{"type":"reference","id":15241,"name":"BitCrusher"},"overwrites":{"type":"reference","id":14472,"name":"Effect.__constructor"}},{"id":15248,"name":"new BitCrusher","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":15249,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":15335,"name":"BitCrusherWorkletOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":15241,"name":"BitCrusher"},"overwrites":{"type":"reference","id":14472,"name":"Effect.__constructor"}}],"sources":[{"fileName":"Tone/effect/BitCrusher.ts","line":40,"character":47},{"fileName":"Tone/effect/BitCrusher.ts","line":42,"character":30},{"fileName":"Tone/effect/BitCrusher.ts","line":43,"character":58}],"overwrites":{"type":"reference","id":14472,"name":"Effect.__constructor"}},{"id":15243,"name":"bits","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The bit depth of the effect","tags":[{"tag":"min","text":"1"},{"tag":"max","text":"16\n"}]},"sources":[{"fileName":"Tone/effect/BitCrusher.ts","line":35,"character":14}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"positive"}],"name":"Param"}},{"id":15299,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":15327,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":15257,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The effect input node"},"sources":[{"fileName":"Tone/effect/Effect.ts","line":46,"character":6}],"type":{"type":"reference","id":1143,"name":"Gain"},"defaultValue":"new Gain({ context: this.context })","overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":14470,"name":"Effect.input"}},{"id":15242,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/effect/BitCrusher.ts","line":28,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"BitCrusher\"","overwrites":{"type":"reference","id":14465,"name":"Effect.name"}},{"id":15258,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The effect output"},"sources":[{"fileName":"Tone/effect/Effect.ts","line":51,"character":7}],"type":{"type":"reference","id":14368,"name":"CrossFade"},"defaultValue":"this._dryWet","overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":14471,"name":"Effect.output"}},{"id":15254,"name":"wet","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The wet control is how much of the effected\nwill pass through to the output. 1 = 100% effected\nsignal, 0 = 100% dry signal."},"sources":[{"fileName":"Tone/effect/Effect.ts","line":31,"character":4}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"normalRange"}],"name":"Signal"},"defaultValue":"this._dryWet.fade","inheritedFrom":{"type":"reference","id":14467,"name":"Effect.wet"}},{"id":15326,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":15307,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":15308,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":15267,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":15268,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":15269,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":15270,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":15271,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":15272,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":15273,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":15274,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":15275,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":15276,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":15277,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":15278,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":15331,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":15332,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":15262,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":15263,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":15264,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":15265,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":15305,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":15306,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":15293,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15294,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":15295,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":15279,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15280,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":15281,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":15282,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":15283,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":15288,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15289,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":15290,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":15291,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":15292,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":15252,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15253,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":14480,"name":"Effect.dispose"}}],"sources":[{"fileName":"Tone/effect/BitCrusher.ts","line":64,"character":8}],"overwrites":{"type":"reference","id":14480,"name":"Effect.dispose"}},{"id":15296,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15297,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":15298,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":15321,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15322,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":15237,"name":"BitCrusherOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":15303,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15304,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":15301,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15302,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":15323,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15324,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":15325,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":15237,"name":"BitCrusherOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":15284,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15285,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":15312,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15313,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":15314,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":15286,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15287,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":15309,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15310,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":15311,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":15333,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15334,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":15315,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15316,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":15317,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":15250,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":15251,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":15237,"name":"BitCrusherOptions"},"overwrites":{"type":"reference","id":14475,"name":"Effect.getDefaults"}}],"sources":[{"fileName":"Tone/effect/BitCrusher.ts","line":58,"character":19}],"overwrites":{"type":"reference","id":14475,"name":"Effect.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[15245]},{"title":"Properties","kind":1024,"children":[15243,15299,15327,15257,15242,15258,15254,15326]},{"title":"Accessors","kind":262144,"children":[15307,15267,15271,15275,15331,15262,15264,15305]},{"title":"Methods","kind":2048,"children":[15293,15279,15288,15252,15296,15321,15303,15301,15323,15284,15312,15286,15309,15333,15315,15250]}],"sources":[{"fileName":"Tone/effect/BitCrusher.ts","line":26,"character":23}],"extendedTypes":[{"type":"reference","id":14463,"typeArguments":[{"type":"reference","id":15237,"name":"BitCrusherOptions"}],"name":"Effect"}]},{"id":15338,"name":"BitCrusherWorklet","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Internal class which creates an AudioWorklet to do the bit crushing"},"children":[{"id":15343,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":15344,"name":"new BitCrusherWorklet","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":15345,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":15335,"name":"BitCrusherWorkletOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":15338,"name":"BitCrusherWorklet"},"overwrites":{"type":"reference","id":12762,"name":"ToneAudioWorklet.__constructor"}}],"sources":[{"fileName":"Tone/effect/BitCrusher.ts","line":85,"character":34},{"fileName":"Tone/effect/BitCrusher.ts","line":87,"character":58}],"overwrites":{"type":"reference","id":12762,"name":"ToneAudioWorklet.__constructor"}},{"id":15342,"name":"bits","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/effect/BitCrusher.ts","line":85,"character":14}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"positive"}],"name":"Param"}},{"id":15399,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":15427,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":15340,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/effect/BitCrusher.ts","line":82,"character":15}],"type":{"type":"reference","id":1143,"name":"Gain"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":15339,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/effect/BitCrusher.ts","line":80,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"BitCrusherWorklet\"","overwrites":{"type":"reference","id":12748,"name":"ToneAudioWorklet.name"}},{"id":15358,"name":"onprocessorerror","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Callback which is invoked when there is an error in the processing"},"sources":[{"fileName":"Tone/core/worklet/ToneAudioWorklet.ts","line":44,"character":17}],"type":{"type":"reflection","declaration":{"id":15359,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":15360,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":15361,"name":"e","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/worklet/ToneAudioWorklet.ts","line":44,"character":18}]}},"defaultValue":"noOp","inheritedFrom":{"type":"reference","id":12758,"name":"ToneAudioWorklet.onprocessorerror"}},{"id":15341,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/effect/BitCrusher.ts","line":83,"character":16}],"type":{"type":"reference","id":1143,"name":"Gain"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":15426,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":15407,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":15408,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":15367,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":15368,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":15369,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":15370,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":15371,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":15372,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":15373,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":15374,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":15375,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":15376,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":15377,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":15378,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":15431,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":15432,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":15362,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":15363,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":15364,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":15365,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":15405,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":15406,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":15393,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15394,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":15395,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":15379,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15380,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":15381,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":15382,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":15383,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":15388,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15389,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":15390,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":15391,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":15392,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":15353,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15354,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":12765,"name":"ToneAudioWorklet.dispose"}}],"sources":[{"fileName":"Tone/effect/BitCrusher.ts","line":122,"character":8}],"overwrites":{"type":"reference","id":12765,"name":"ToneAudioWorklet.dispose"}},{"id":15396,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15397,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":15398,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":15421,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15422,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":15335,"name":"BitCrusherWorkletOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":15403,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15404,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":15401,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15402,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":15350,"name":"onReady","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15351,"name":"onReady","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":15352,"name":"node","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"AudioWorkletNode"}}],"type":{"type":"intrinsic","name":"void"},"overwrites":{"type":"reference","name":"ToneAudioWorklet.onReady"}}],"sources":[{"fileName":"Tone/effect/BitCrusher.ts","line":116,"character":8}],"overwrites":{"type":"reference","name":"ToneAudioWorklet.onReady"}},{"id":15423,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15424,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":15425,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":15335,"name":"BitCrusherWorkletOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":15384,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15385,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":15412,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15413,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":15414,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":15386,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15387,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":15409,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15410,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":15411,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":15433,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15434,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":15415,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15416,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":15417,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":15346,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":15347,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":15335,"name":"BitCrusherWorkletOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/effect/BitCrusher.ts","line":106,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[15343]},{"title":"Properties","kind":1024,"children":[15342,15399,15427,15340,15339,15358,15341,15426]},{"title":"Accessors","kind":262144,"children":[15407,15367,15371,15375,15431,15362,15364,15405]},{"title":"Methods","kind":2048,"children":[15393,15379,15388,15353,15396,15421,15403,15401,15350,15423,15384,15412,15386,15409,15433,15415,15346]}],"sources":[{"fileName":"Tone/effect/BitCrusher.ts","line":78,"character":23}],"extendedTypes":[{"type":"reference","id":12746,"typeArguments":[{"type":"reference","id":15335,"name":"BitCrusherWorkletOptions"}],"name":"ToneAudioWorklet"}]},{"id":18800,"name":"Channel","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Channel provides a channel strip interface with volume, pan, solo and mute controls.\nSee [[PanVol]] and [[Solo]]","tags":[{"tag":"example","text":"\n// pan the incoming signal left and drop the volume 12db\nconst channel = new Tone.Channel(-0.25, -12);"}]},"children":[{"id":18808,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":18809,"name":"new Channel","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":18810,"name":"volume","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The output volume."},"type":{"type":"reference","id":22,"name":"Decibels"}},{"id":18811,"name":"pan","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"the initial pan\n"},"type":{"type":"reference","id":24,"name":"AudioRange"}}],"type":{"type":"reference","id":18800,"name":"Channel"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":18812,"name":"new Channel","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":18813,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":18793,"name":"ChannelOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":18800,"name":"Channel"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/component/channel/Channel.ts","line":53,"character":36},{"fileName":"Tone/component/channel/Channel.ts","line":59,"character":50},{"fileName":"Tone/component/channel/Channel.ts","line":60,"character":48}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":18876,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":18904,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":18802,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/channel/Channel.ts","line":30,"character":15}],"type":{"type":"reference","id":1101,"name":"InputNode"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":18801,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/channel/Channel.ts","line":28,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Channel\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":18803,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/channel/Channel.ts","line":31,"character":16}],"type":{"type":"reference","id":1102,"name":"OutputNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":18806,"name":"pan","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The L/R panning control. -1 = hard left, 1 = hard right.","tags":[{"tag":"min","text":"-1"},{"tag":"max","text":"1\n"}]},"sources":[{"fileName":"Tone/component/channel/Channel.ts","line":48,"character":13}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"audioRange"}],"name":"Param"}},{"id":18807,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The volume control in decibels."},"sources":[{"fileName":"Tone/component/channel/Channel.ts","line":53,"character":16}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"decibels"}],"name":"Param"}},{"id":18903,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":18884,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":18885,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":18844,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":18845,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":18846,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":18847,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":18848,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":18849,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":18850,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":18851,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":18852,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":18853,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":18854,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":18855,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":18908,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":18909,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":18822,"name":"mute","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Mute/unmute the volume"},"getSignature":[{"id":18823,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Mute/unmute the volume"},"type":{"type":"intrinsic","name":"boolean"}}],"setSignature":[{"id":18824,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"Mute/unmute the volume"},"parameters":[{"id":18825,"name":"mute","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/component/channel/Channel.ts","line":114,"character":9},{"fileName":"Tone/component/channel/Channel.ts","line":117,"character":9}]},{"id":18820,"name":"muted","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"If the current instance is muted, i.e. another instance is soloed,\nor the channel is muted"},"getSignature":[{"id":18821,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"If the current instance is muted, i.e. another instance is soloed,\nor the channel is muted"},"type":{"type":"intrinsic","name":"boolean"}}],"sources":[{"fileName":"Tone/component/channel/Channel.ts","line":107,"character":10}]},{"id":18839,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":18840,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":18841,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":18842,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":18882,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":18883,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":18816,"name":"solo","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Solo/unsolo the channel. Soloing is only relative to other [[Channels]] and [[Solo]] instances"},"getSignature":[{"id":18817,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Solo/unsolo the channel. Soloing is only relative to other [[Channels]] and [[Solo]] instances"},"type":{"type":"intrinsic","name":"boolean"}}],"setSignature":[{"id":18818,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"Solo/unsolo the channel. Soloing is only relative to other [[Channels]] and [[Solo]] instances"},"parameters":[{"id":18819,"name":"solo","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/component/channel/Channel.ts","line":96,"character":9},{"fileName":"Tone/component/channel/Channel.ts","line":99,"character":9}]},{"id":18870,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18871,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":18872,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":18856,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18857,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":18858,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":18859,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":18860,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":18865,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18866,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":18867,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":18868,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":18869,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":18837,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18838,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/component/channel/Channel.ts","line":170,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":18873,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18874,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":18875,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":18898,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18899,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":18793,"name":"ChannelOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":18880,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18881,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":18878,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18879,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":18834,"name":"receive","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18835,"name":"receive","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Receive audio from a channel which was connected with [[send]]."},"parameters":[{"id":18836,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The channel name to receive audio from.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/component/channel/Channel.ts","line":164,"character":8}]},{"id":18830,"name":"send","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18831,"name":"send","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Send audio to another channel using a string. `send` is a lot like\n[[connect]], except it uses a string instead of an object. This can\nbe useful in large applications to decouple sections since [[send]]\nand [[receive]] can be invoked separately in order to connect an object","returns":"Returns the gain node of this connection.\n"},"parameters":[{"id":18832,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The channel name to send the audio"},"type":{"type":"intrinsic","name":"string"}},{"id":18833,"name":"volume","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The amount of the signal to send.\n\tDefaults to 0db, i.e. send the entire signal"},"type":{"type":"reference","id":22,"name":"Decibels"},"defaultValue":"0"}],"type":{"type":"reference","id":1143,"typeArguments":[{"type":"stringLiteral","value":"decibels"}],"name":"Gain"}}],"sources":[{"fileName":"Tone/component/channel/Channel.ts","line":148,"character":5}]},{"id":18900,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18901,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":18902,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":18793,"name":"ChannelOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":18861,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18862,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":18889,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18890,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":18891,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":18863,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18864,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":18886,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18887,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":18888,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":18910,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18911,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":18892,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18893,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":18894,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":18814,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":18815,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":18793,"name":"ChannelOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/component/channel/Channel.ts","line":83,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[18808]},{"title":"Properties","kind":1024,"children":[18876,18904,18802,18801,18803,18806,18807,18903]},{"title":"Accessors","kind":262144,"children":[18884,18844,18848,18852,18908,18822,18820,18839,18841,18882,18816]},{"title":"Methods","kind":2048,"children":[18870,18856,18865,18837,18873,18898,18880,18878,18834,18830,18900,18861,18889,18863,18886,18910,18892,18814]}],"sources":[{"fileName":"Tone/component/channel/Channel.ts","line":26,"character":20}],"extendedTypes":[{"type":"reference","id":1004,"typeArguments":[{"type":"reference","id":18793,"name":"ChannelOptions"}],"name":"ToneAudioNode"}]},{"id":15440,"name":"Chebyshev","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Chebyshev is a waveshaper which is good\nfor making different types of distortion sounds.\nNote that odd orders sound very different from even ones,\nand order = 1 is no change.\nRead more at [music.columbia.edu](http://music.columbia.edu/cmc/musicandcomputers/chapter4/04_06.php).","tags":[{"tag":"example","text":"\n// create a new cheby\nconst cheby = new Tone.Chebyshev(50).toDestination();\n// create a monosynth connected to our cheby\nconst synth = new Tone.MonoSynth().connect(cheby);\nsynth.triggerAttackRelease(\"C2\", 0.4);"}]},"children":[{"id":15444,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":15445,"name":"new Chebyshev","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":15446,"name":"order","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The order of the chebyshev polynomial. Normal range between 1-100.\n"},"type":{"type":"reference","id":27,"name":"Positive"}}],"type":{"type":"reference","id":15440,"name":"Chebyshev"},"overwrites":{"type":"reference","id":14472,"name":"Effect.__constructor"}},{"id":15447,"name":"new Chebyshev","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":15448,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":15435,"name":"ChebyshevOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":15440,"name":"Chebyshev"},"overwrites":{"type":"reference","id":14472,"name":"Effect.__constructor"}}],"sources":[{"fileName":"Tone/effect/Chebyshev.ts","line":37,"character":24},{"fileName":"Tone/effect/Chebyshev.ts","line":42,"character":31},{"fileName":"Tone/effect/Chebyshev.ts","line":43,"character":50}],"overwrites":{"type":"reference","id":14472,"name":"Effect.__constructor"}},{"id":15511,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":15539,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":15469,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The effect input node"},"sources":[{"fileName":"Tone/effect/Effect.ts","line":46,"character":6}],"type":{"type":"reference","id":1143,"name":"Gain"},"defaultValue":"new Gain({ context: this.context })","overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":14470,"name":"Effect.input"}},{"id":15441,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/effect/Chebyshev.ts","line":27,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Chebyshev\"","overwrites":{"type":"reference","id":14465,"name":"Effect.name"}},{"id":15470,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The effect output"},"sources":[{"fileName":"Tone/effect/Effect.ts","line":51,"character":7}],"type":{"type":"reference","id":14368,"name":"CrossFade"},"defaultValue":"this._dryWet","overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":14471,"name":"Effect.output"}},{"id":15466,"name":"wet","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The wet control is how much of the effected\nwill pass through to the output. 1 = 100% effected\nsignal, 0 = 100% dry signal."},"sources":[{"fileName":"Tone/effect/Effect.ts","line":31,"character":4}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"normalRange"}],"name":"Signal"},"defaultValue":"this._dryWet.fade","inheritedFrom":{"type":"reference","id":14467,"name":"Effect.wet"}},{"id":15538,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":15519,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":15520,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":15479,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":15480,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":15481,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":15482,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":15483,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":15484,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":15485,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":15486,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":15487,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":15488,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":15489,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":15490,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":15543,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":15544,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":15474,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":15475,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":15476,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":15477,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":15456,"name":"order","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The order of the Chebyshev polynomial which creates the equation which is applied to the incoming\nsignal through a Tone.WaveShaper. The equations are in the form:\n```\norder 2: 2x^2 + 1\norder 3: 4x^3 + 3x\n```","tags":[{"tag":"min","text":"1"},{"tag":"max","text":"100\n"}]},"getSignature":[{"id":15457,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The order of the Chebyshev polynomial which creates the equation which is applied to the incoming\nsignal through a Tone.WaveShaper. The equations are in the form:\n```\norder 2: 2x^2 + 1\norder 3: 4x^3 + 3x\n```","tags":[{"tag":"min","text":"1"},{"tag":"max","text":"100\n"}]},"type":{"type":"reference","id":27,"name":"Positive"}}],"setSignature":[{"id":15458,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The order of the Chebyshev polynomial which creates the equation which is applied to the incoming\nsignal through a Tone.WaveShaper. The equations are in the form:\n```\norder 2: 2x^2 + 1\norder 3: 4x^3 + 3x\n```","tags":[{"tag":"min","text":"1"},{"tag":"max","text":"100\n"}]},"parameters":[{"id":15459,"name":"order","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/effect/Chebyshev.ts","line":96,"character":10},{"fileName":"Tone/effect/Chebyshev.ts","line":99,"character":10}]},{"id":15460,"name":"oversample","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The oversampling of the effect. Can either be \"none\", \"2x\" or \"4x\"."},"getSignature":[{"id":15461,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The oversampling of the effect. Can either be \"none\", \"2x\" or \"4x\"."},"type":{"type":"reference","name":"OverSampleType"}}],"setSignature":[{"id":15462,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The oversampling of the effect. Can either be \"none\", \"2x\" or \"4x\"."},"parameters":[{"id":15463,"name":"oversampling","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"2x"},{"type":"stringLiteral","value":"4x"},{"type":"stringLiteral","value":"none"}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/effect/Chebyshev.ts","line":109,"character":15},{"fileName":"Tone/effect/Chebyshev.ts","line":112,"character":15}]},{"id":15517,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":15518,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":15505,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15506,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":15507,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":15491,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15492,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":15493,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":15494,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":15495,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":15500,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15501,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":15502,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":15503,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":15504,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":15464,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15465,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":14480,"name":"Effect.dispose"}}],"sources":[{"fileName":"Tone/effect/Chebyshev.ts","line":116,"character":8}],"overwrites":{"type":"reference","id":14480,"name":"Effect.dispose"}},{"id":15508,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15509,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":15510,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":15533,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15534,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":15435,"name":"ChebyshevOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":15515,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15516,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":15513,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15514,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":15535,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15536,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":15537,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":15435,"name":"ChebyshevOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":15496,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15497,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":15524,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15525,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":15526,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":15498,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15499,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":15521,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15522,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":15523,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":15545,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15546,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":15527,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15528,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":15529,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":15449,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":15450,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":15435,"name":"ChebyshevOptions"},"overwrites":{"type":"reference","id":14475,"name":"Effect.getDefaults"}}],"sources":[{"fileName":"Tone/effect/Chebyshev.ts","line":60,"character":19}],"overwrites":{"type":"reference","id":14475,"name":"Effect.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[15444]},{"title":"Properties","kind":1024,"children":[15511,15539,15469,15441,15470,15466,15538]},{"title":"Accessors","kind":262144,"children":[15519,15479,15483,15487,15543,15474,15476,15456,15460,15517]},{"title":"Methods","kind":2048,"children":[15505,15491,15500,15464,15508,15533,15515,15513,15535,15496,15524,15498,15521,15545,15527,15449]}],"sources":[{"fileName":"Tone/effect/Chebyshev.ts","line":25,"character":22}],"extendedTypes":[{"type":"reference","id":14463,"typeArguments":[{"type":"reference","id":15435,"name":"ChebyshevOptions"}],"name":"Effect"}]},{"id":15935,"name":"Chorus","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Chorus is a stereo chorus effect composed of a left and right delay with an [[LFO]] applied to the delayTime of each channel.\nWhen [[feedback]] is set to a value larger than 0, you also get Flanger-type effects.\nInspiration from [Tuna.js](https://github.com/Dinahmoe/tuna/blob/master/tuna.js).\nRead more on the chorus effect on [SoundOnSound](http://www.soundonsound.com/sos/jun04/articles/synthsecrets.htm).","tags":[{"tag":"example","text":"\nconst chorus = new Tone.Chorus(4, 2.5, 0.5).toDestination().start();\nconst synth = new Tone.PolySynth().connect(chorus);\nsynth.triggerAttackRelease([\"C3\", \"E3\", \"G3\"], \"8n\");\n"}]},"children":[{"id":15944,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":15945,"name":"new Chorus","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":15946,"name":"frequency","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The frequency of the LFO."},"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":15947,"name":"delayTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The delay of the chorus effect in ms."},"type":{"type":"reference","id":43,"name":"Milliseconds"}},{"id":15948,"name":"depth","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The depth of the chorus.\n"},"type":{"type":"reference","id":23,"name":"NormalRange"}}],"type":{"type":"reference","id":15935,"name":"Chorus"},"overwrites":{"type":"reference","id":15834,"name":"StereoFeedbackEffect.__constructor"}},{"id":15949,"name":"new Chorus","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":15950,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":15926,"name":"ChorusOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":15935,"name":"Chorus"},"overwrites":{"type":"reference","id":15834,"name":"StereoFeedbackEffect.__constructor"}}],"sources":[{"fileName":"Tone/effect/Chorus.ts","line":68,"character":40},{"fileName":"Tone/effect/Chorus.ts","line":75,"character":83},{"fileName":"Tone/effect/Chorus.ts","line":76,"character":47}],"overwrites":{"type":"reference","id":15834,"name":"StereoFeedbackEffect.__constructor"}},{"id":16034,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":16062,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":15981,"name":"feedback","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The amount of feedback from the output\nback into the input of the effect (routed\nacross left and right channels)."},"sources":[{"fileName":"Tone/effect/StereoFeedbackEffect.ts","line":23,"character":18}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"normalRange"}],"name":"Signal"},"inheritedFrom":{"type":"reference","id":15829,"name":"StereoFeedbackEffect.feedback"}},{"id":15943,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The frequency of the LFO which modulates the delayTime."},"sources":[{"fileName":"Tone/effect/Chorus.ts","line":68,"character":19}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"frequency"}],"name":"Signal"}},{"id":15986,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/effect/StereoEffect.ts","line":19,"character":15}],"type":{"type":"reference","id":1143,"name":"Gain"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":15730,"name":"StereoEffect.input"}},{"id":15936,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/effect/Chorus.ts","line":33,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Chorus\"","overwrites":{"type":"reference","id":15729,"name":"StereoEffect.name"}},{"id":15987,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/effect/StereoEffect.ts","line":20,"character":16}],"type":{"type":"reference","id":14368,"name":"CrossFade"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":15731,"name":"StereoEffect.output"}},{"id":15988,"name":"wet","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The wet control, i.e. how much of the effected\nwill pass through to the output."},"sources":[{"fileName":"Tone/effect/StereoEffect.ts","line":31,"character":13}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"normalRange"}],"name":"Signal"},"inheritedFrom":{"type":"reference","id":15733,"name":"StereoEffect.wet"}},{"id":16061,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":16042,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":16043,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":16002,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":16003,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":16004,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":16005,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":16006,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":16007,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":16008,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":16009,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":16010,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":16011,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":16012,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":16013,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":15957,"name":"delayTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The delayTime in milliseconds of the chorus. A larger delayTime\nwill give a more pronounced effect. Nominal range a delayTime\nis between 2 and 20ms."},"getSignature":[{"id":15958,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The delayTime in milliseconds of the chorus. A larger delayTime\nwill give a more pronounced effect. Nominal range a delayTime\nis between 2 and 20ms."},"type":{"type":"reference","id":43,"name":"Milliseconds"}}],"setSignature":[{"id":15959,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The delayTime in milliseconds of the chorus. A larger delayTime\nwill give a more pronounced effect. Nominal range a delayTime\nis between 2 and 20ms."},"parameters":[{"id":15960,"name":"delayTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/effect/Chorus.ts","line":149,"character":14},{"fileName":"Tone/effect/Chorus.ts","line":152,"character":14}]},{"id":15953,"name":"depth","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The depth of the effect. A depth of 1 makes the delayTime\nmodulate between 0 and 2*delayTime (centered around the delayTime)."},"getSignature":[{"id":15954,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The depth of the effect. A depth of 1 makes the delayTime\nmodulate between 0 and 2*delayTime (centered around the delayTime)."},"type":{"type":"reference","id":23,"name":"NormalRange"}}],"setSignature":[{"id":15955,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The depth of the effect. A depth of 1 makes the delayTime\nmodulate between 0 and 2*delayTime (centered around the delayTime)."},"parameters":[{"id":15956,"name":"depth","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/effect/Chorus.ts","line":132,"character":10},{"fileName":"Tone/effect/Chorus.ts","line":135,"character":10}]},{"id":16066,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":16067,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":15997,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":15998,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":15999,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":16000,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":16040,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":16041,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":15965,"name":"spread","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Amount of stereo spread. When set to 0, both LFO's will be panned centrally.\nWhen set to 180, LFO's will be panned hard left and right respectively."},"getSignature":[{"id":15966,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Amount of stereo spread. When set to 0, both LFO's will be panned centrally.\nWhen set to 180, LFO's will be panned hard left and right respectively."},"type":{"type":"reference","id":37,"name":"Degrees"}}],"setSignature":[{"id":15967,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"Amount of stereo spread. When set to 0, both LFO's will be panned centrally.\nWhen set to 180, LFO's will be panned hard left and right respectively."},"parameters":[{"id":15968,"name":"spread","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/effect/Chorus.ts","line":172,"character":11},{"fileName":"Tone/effect/Chorus.ts","line":175,"character":11}]},{"id":15961,"name":"type","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The oscillator type of the LFO."},"getSignature":[{"id":15962,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The oscillator type of the LFO."},"type":{"type":"reference","id":6554,"name":"ToneOscillatorType"}}],"setSignature":[{"id":15963,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The oscillator type of the LFO."},"parameters":[{"id":15964,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"custom"},{"type":"stringLiteral","value":"sawtooth"},{"type":"stringLiteral","value":"sine"},{"type":"stringLiteral","value":"square"},{"type":"stringLiteral","value":"triangle"},{"type":"stringLiteral","value":"sine1"},{"type":"stringLiteral","value":"sine2"},{"type":"stringLiteral","value":"sine3"},{"type":"stringLiteral","value":"sine4"},{"type":"stringLiteral","value":"sine5"},{"type":"stringLiteral","value":"sine6"},{"type":"stringLiteral","value":"sine7"},{"type":"stringLiteral","value":"sine8"},{"type":"stringLiteral","value":"sine9"},{"type":"stringLiteral","value":"sine10"},{"type":"stringLiteral","value":"sine11"},{"type":"stringLiteral","value":"sine12"},{"type":"stringLiteral","value":"sine13"},{"type":"stringLiteral","value":"sine14"},{"type":"stringLiteral","value":"sine15"},{"type":"stringLiteral","value":"sine16"},{"type":"stringLiteral","value":"sine17"},{"type":"stringLiteral","value":"sine18"},{"type":"stringLiteral","value":"sine19"},{"type":"stringLiteral","value":"sine20"},{"type":"stringLiteral","value":"sine21"},{"type":"stringLiteral","value":"sine22"},{"type":"stringLiteral","value":"sine23"},{"type":"stringLiteral","value":"sine24"},{"type":"stringLiteral","value":"sine25"},{"type":"stringLiteral","value":"sine26"},{"type":"stringLiteral","value":"sine27"},{"type":"stringLiteral","value":"sine28"},{"type":"stringLiteral","value":"sine29"},{"type":"stringLiteral","value":"sine30"},{"type":"stringLiteral","value":"sine31"},{"type":"stringLiteral","value":"sine32"},{"type":"stringLiteral","value":"square1"},{"type":"stringLiteral","value":"square2"},{"type":"stringLiteral","value":"square3"},{"type":"stringLiteral","value":"square4"},{"type":"stringLiteral","value":"square5"},{"type":"stringLiteral","value":"square6"},{"type":"stringLiteral","value":"square7"},{"type":"stringLiteral","value":"square8"},{"type":"stringLiteral","value":"square9"},{"type":"stringLiteral","value":"square10"},{"type":"stringLiteral","value":"square11"},{"type":"stringLiteral","value":"square12"},{"type":"stringLiteral","value":"square13"},{"type":"stringLiteral","value":"square14"},{"type":"stringLiteral","value":"square15"},{"type":"stringLiteral","value":"square16"},{"type":"stringLiteral","value":"square17"},{"type":"stringLiteral","value":"square18"},{"type":"stringLiteral","value":"square19"},{"type":"stringLiteral","value":"square20"},{"type":"stringLiteral","value":"square21"},{"type":"stringLiteral","value":"square22"},{"type":"stringLiteral","value":"square23"},{"type":"stringLiteral","value":"square24"},{"type":"stringLiteral","value":"square25"},{"type":"stringLiteral","value":"square26"},{"type":"stringLiteral","value":"square27"},{"type":"stringLiteral","value":"square28"},{"type":"stringLiteral","value":"square29"},{"type":"stringLiteral","value":"square30"},{"type":"stringLiteral","value":"square31"},{"type":"stringLiteral","value":"square32"},{"type":"stringLiteral","value":"triangle1"},{"type":"stringLiteral","value":"triangle2"},{"type":"stringLiteral","value":"triangle3"},{"type":"stringLiteral","value":"triangle4"},{"type":"stringLiteral","value":"triangle5"},{"type":"stringLiteral","value":"triangle6"},{"type":"stringLiteral","value":"triangle7"},{"type":"stringLiteral","value":"triangle8"},{"type":"stringLiteral","value":"triangle9"},{"type":"stringLiteral","value":"triangle10"},{"type":"stringLiteral","value":"triangle11"},{"type":"stringLiteral","value":"triangle12"},{"type":"stringLiteral","value":"triangle13"},{"type":"stringLiteral","value":"triangle14"},{"type":"stringLiteral","value":"triangle15"},{"type":"stringLiteral","value":"triangle16"},{"type":"stringLiteral","value":"triangle17"},{"type":"stringLiteral","value":"triangle18"},{"type":"stringLiteral","value":"triangle19"},{"type":"stringLiteral","value":"triangle20"},{"type":"stringLiteral","value":"triangle21"},{"type":"stringLiteral","value":"triangle22"},{"type":"stringLiteral","value":"triangle23"},{"type":"stringLiteral","value":"triangle24"},{"type":"stringLiteral","value":"triangle25"},{"type":"stringLiteral","value":"triangle26"},{"type":"stringLiteral","value":"triangle27"},{"type":"stringLiteral","value":"triangle28"},{"type":"stringLiteral","value":"triangle29"},{"type":"stringLiteral","value":"triangle30"},{"type":"stringLiteral","value":"triangle31"},{"type":"stringLiteral","value":"triangle32"},{"type":"stringLiteral","value":"sawtooth1"},{"type":"stringLiteral","value":"sawtooth2"},{"type":"stringLiteral","value":"sawtooth3"},{"type":"stringLiteral","value":"sawtooth4"},{"type":"stringLiteral","value":"sawtooth5"},{"type":"stringLiteral","value":"sawtooth6"},{"type":"stringLiteral","value":"sawtooth7"},{"type":"stringLiteral","value":"sawtooth8"},{"type":"stringLiteral","value":"sawtooth9"},{"type":"stringLiteral","value":"sawtooth10"},{"type":"stringLiteral","value":"sawtooth11"},{"type":"stringLiteral","value":"sawtooth12"},{"type":"stringLiteral","value":"sawtooth13"},{"type":"stringLiteral","value":"sawtooth14"},{"type":"stringLiteral","value":"sawtooth15"},{"type":"stringLiteral","value":"sawtooth16"},{"type":"stringLiteral","value":"sawtooth17"},{"type":"stringLiteral","value":"sawtooth18"},{"type":"stringLiteral","value":"sawtooth19"},{"type":"stringLiteral","value":"sawtooth20"},{"type":"stringLiteral","value":"sawtooth21"},{"type":"stringLiteral","value":"sawtooth22"},{"type":"stringLiteral","value":"sawtooth23"},{"type":"stringLiteral","value":"sawtooth24"},{"type":"stringLiteral","value":"sawtooth25"},{"type":"stringLiteral","value":"sawtooth26"},{"type":"stringLiteral","value":"sawtooth27"},{"type":"stringLiteral","value":"sawtooth28"},{"type":"stringLiteral","value":"sawtooth29"},{"type":"stringLiteral","value":"sawtooth30"},{"type":"stringLiteral","value":"sawtooth31"},{"type":"stringLiteral","value":"sawtooth32"}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/effect/Chorus.ts","line":160,"character":9},{"fileName":"Tone/effect/Chorus.ts","line":163,"character":9}]},{"id":16028,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16029,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":16030,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":16014,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16015,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":16016,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":16017,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":16018,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":16023,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16024,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":16025,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":16026,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":16027,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":15979,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15980,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":15839,"name":"StereoFeedbackEffect.dispose"}}],"sources":[{"fileName":"Tone/effect/Chorus.ts","line":216,"character":8}],"overwrites":{"type":"reference","id":15839,"name":"StereoFeedbackEffect.dispose"}},{"id":16031,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16032,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":16033,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":16056,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16057,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":15926,"name":"ChorusOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":16038,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16039,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":16036,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16037,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":16058,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16059,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":16060,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":15926,"name":"ChorusOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":15969,"name":"start","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15970,"name":"start","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Start the effect."},"parameters":[{"id":15971,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/effect/Chorus.ts","line":183,"character":6}]},{"id":15972,"name":"stop","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15973,"name":"stop","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Stop the lfo"},"parameters":[{"id":15974,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/effect/Chorus.ts","line":192,"character":5}]},{"id":15975,"name":"sync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15976,"name":"sync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Sync the filter to the transport. See [[LFO.sync]]"},"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/effect/Chorus.ts","line":201,"character":5}]},{"id":16019,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16020,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":16047,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16048,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":16049,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":16021,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16022,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":16044,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16045,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":16046,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":16068,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16069,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":16050,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16051,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":16052,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":15977,"name":"unsync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15978,"name":"unsync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Unsync the filter from the transport."},"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/effect/Chorus.ts","line":210,"character":7}]},{"id":15951,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":15952,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":15926,"name":"ChorusOptions"},"overwrites":{"type":"reference","id":15837,"name":"StereoFeedbackEffect.getDefaults"}}],"sources":[{"fileName":"Tone/effect/Chorus.ts","line":116,"character":19}],"overwrites":{"type":"reference","id":15837,"name":"StereoFeedbackEffect.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[15944]},{"title":"Properties","kind":1024,"children":[16034,16062,15981,15943,15986,15936,15987,15988,16061]},{"title":"Accessors","kind":262144,"children":[16042,16002,16006,16010,15957,15953,16066,15997,15999,16040,15965,15961]},{"title":"Methods","kind":2048,"children":[16028,16014,16023,15979,16031,16056,16038,16036,16058,15969,15972,15975,16019,16047,16021,16044,16068,16050,15977,15951]}],"sources":[{"fileName":"Tone/effect/Chorus.ts","line":31,"character":19}],"extendedTypes":[{"type":"reference","id":15827,"typeArguments":[{"type":"reference","id":15926,"name":"ChorusOptions"}],"name":"StereoFeedbackEffect"}]},{"id":5156,"name":"Clock","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A sample accurate clock which provides a callback at the given rate.\nWhile the callback is not sample-accurate (it is still susceptible to\nloose JS timing), the time passed in as the argument to the callback\nis precise. For most applications, it is better to use Tone.Transport\ninstead of the Clock by itself since you can synchronize multiple callbacks.","tags":[{"tag":"example","text":"\n// the callback will be invoked approximately once a second\n// and will print the time exactly once a second apart.\nconst clock = new Tone.Clock(time => {\n\tconsole.log(time);\n}, 1);\nclock.start();"}]},"typeParameter":[{"id":5157,"name":"TypeName","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"bpm"},{"type":"stringLiteral","value":"hertz"}]}}],"children":[{"id":5167,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":5168,"name":"new Clock","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":5169,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The callback to be invoked with the time of the audio event"},"type":{"type":"reference","id":5285,"name":"ClockCallback"}},{"id":5170,"name":"frequency","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The rate of the callback\n"},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":5156,"name":"Clock"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":5171,"name":"new Clock","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":5172,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":5151,"name":"ClockOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":5156,"name":"Clock"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/core/clock/Clock.ts","line":70,"character":33},{"fileName":"Tone/core/clock/Clock.ts","line":76,"character":62},{"fileName":"Tone/core/clock/Clock.ts","line":77,"character":45}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":5159,"name":"callback","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The callback function to invoke at the scheduled tick."},"sources":[{"fileName":"Tone/core/clock/Clock.ts","line":44,"character":9}],"type":{"type":"reference","id":5285,"name":"ClockCallback"},"defaultValue":"noOp"},{"id":5249,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":5277,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":5244,"name":"emit","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/clock/Clock.ts","line":314,"character":5}],"type":{"type":"reflection","declaration":{"id":5245,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":5246,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":5247,"name":"event","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"any"}},{"id":5248,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/clock/Clock.ts","line":314,"character":7}]}}},{"id":5166,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The rate the callback function should be invoked."},"sources":[{"fileName":"Tone/core/clock/Clock.ts","line":70,"character":10}],"type":{"type":"reference","id":4850,"typeArguments":[{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"bpm"},{"type":"stringLiteral","value":"hertz"}]}}],"name":"TickSignal"}},{"id":5158,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/clock/Clock.ts","line":39,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Clock\"","overwrites":{"type":"reference","name":"Tone.name"}},{"id":5236,"name":"off","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/clock/Clock.ts","line":313,"character":4}],"type":{"type":"reflection","declaration":{"id":5237,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":5238,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":5239,"name":"event","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":5290,"name":"ClockEvent"}},{"id":5240,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":5241,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":5242,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":5243,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/clock/Clock.ts","line":313,"character":37}]}},{"type":"intrinsic","name":"undefined"}]}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/clock/Clock.ts","line":313,"character":6}]}}},{"id":5220,"name":"on","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/clock/Clock.ts","line":311,"character":3}],"type":{"type":"reflection","declaration":{"id":5221,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":5222,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":5223,"name":"event","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":5290,"name":"ClockEvent"}},{"id":5224,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reflection","declaration":{"id":5225,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":5226,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":5227,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/clock/Clock.ts","line":311,"character":35}]}}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/clock/Clock.ts","line":311,"character":5}]}}},{"id":5228,"name":"once","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/clock/Clock.ts","line":312,"character":5}],"type":{"type":"reflection","declaration":{"id":5229,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":5230,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":5231,"name":"event","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":5290,"name":"ClockEvent"}},{"id":5232,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reflection","declaration":{"id":5233,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":5234,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":5235,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/clock/Clock.ts","line":312,"character":37}]}}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/clock/Clock.ts","line":312,"character":7}]}}},{"id":5276,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":5257,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":5258,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":5281,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":5282,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":5255,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":5256,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":5191,"name":"seconds","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The time since ticks=0 that the Clock has been running. Accounts for tempo curves"},"getSignature":[{"id":5192,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The time since ticks=0 that the Clock has been running. Accounts for tempo curves"},"type":{"type":"reference","id":21,"name":"Seconds"}}],"setSignature":[{"id":5193,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The time since ticks=0 that the Clock has been running. Accounts for tempo curves"},"parameters":[{"id":5194,"name":"s","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":21,"name":"Seconds"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/clock/Clock.ts","line":190,"character":12},{"fileName":"Tone/core/clock/Clock.ts","line":193,"character":12}]},{"id":5175,"name":"state","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Returns the playback state of the source, either \"started\", \"stopped\" or \"paused\"."},"getSignature":[{"id":5176,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Returns the playback state of the source, either \"started\", \"stopped\" or \"paused\"."},"type":{"type":"reference","id":706,"name":"PlaybackState"}}],"sources":[{"fileName":"Tone/core/clock/Clock.ts","line":111,"character":10}]},{"id":5187,"name":"ticks","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of times the callback was invoked. Starts counting at 0\nand increments after the callback was invoked."},"getSignature":[{"id":5188,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of times the callback was invoked. Starts counting at 0\nand increments after the callback was invoked."},"type":{"type":"reference","id":35,"name":"Ticks"}}],"setSignature":[{"id":5189,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The number of times the callback was invoked. Starts counting at 0\nand increments after the callback was invoked."},"parameters":[{"id":5190,"name":"t","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":35,"name":"Ticks"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/clock/Clock.ts","line":180,"character":10},{"fileName":"Tone/core/clock/Clock.ts","line":183,"character":10}]},{"id":5218,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5219,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Clean up"},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":58,"name":"Tone.dispose"}}],"sources":[{"fileName":"Tone/core/clock/Clock.ts","line":299,"character":8}],"overwrites":{"type":"reference","id":58,"name":"Tone.dispose"}},{"id":5271,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5272,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":5151,"name":"ClockOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":5195,"name":"getSecondsAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5196,"name":"getSecondsAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the elapsed seconds at the given time.","returns":"The number of elapsed seconds\n"},"parameters":[{"id":5197,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"When to get the elapsed seconds"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"}}],"sources":[{"fileName":"Tone/core/clock/Clock.ts","line":202,"character":17}]},{"id":5215,"name":"getStateAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5216,"name":"getStateAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Returns the scheduled state at the given time.","returns":"The name of the state input in setStateAtTime.","tags":[{"tag":"example","text":"\nconst clock = new Tone.Clock();\nclock.start(\"+0.1\");\nclock.getStateAtTime(\"+0.1\"); // returns \"started\"\n"}]},"parameters":[{"id":5217,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The time to query."},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":706,"name":"PlaybackState"}}],"sources":[{"fileName":"Tone/core/clock/Clock.ts","line":291,"character":15}]},{"id":5206,"name":"getTicksAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5207,"name":"getTicksAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the clock's ticks at the given time.","returns":"The tick value at the given time.\n"},"parameters":[{"id":5208,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When to get the tick value"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":35,"name":"Ticks"}}],"sources":[{"fileName":"Tone/core/clock/Clock.ts","line":233,"character":15}]},{"id":5202,"name":"getTimeOfTick","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5203,"name":"getTimeOfTick","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the time of the given tick. The second argument\nis when to test before. Since ticks can be set (with setTicksAtTime)\nthere may be multiple times for a given tick value.","returns":"The time of the tick\n"},"parameters":[{"id":5204,"name":"tick","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The tick number."},"type":{"type":"reference","id":35,"name":"Ticks"}},{"id":5205,"name":"before","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"When to measure the tick value from."},"type":{"type":"intrinsic","name":"number"},"defaultValue":"this.now()"}],"type":{"type":"reference","id":21,"name":"Seconds"}}],"sources":[{"fileName":"Tone/core/clock/Clock.ts","line":224,"character":14}]},{"id":5253,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5254,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":5209,"name":"nextTickTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5210,"name":"nextTickTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the time of the next tick"},"parameters":[{"id":5211,"name":"offset","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The tick number.\n"},"type":{"type":"reference","id":35,"name":"Ticks"}},{"id":5212,"name":"when","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"}}],"sources":[{"fileName":"Tone/core/clock/Clock.ts","line":241,"character":13}]},{"id":5251,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5252,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":5184,"name":"pause","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5185,"name":"pause","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Pause the clock. Pausing does not reset the tick counter."},"parameters":[{"id":5186,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The time when the clock should stop.\n"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/clock/Clock.ts","line":164,"character":6}]},{"id":5273,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5274,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":5275,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":5151,"name":"ClockOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":5198,"name":"setTicksAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5199,"name":"setTicksAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set the clock's ticks at the given time."},"parameters":[{"id":5200,"name":"ticks","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The tick value to set"},"type":{"type":"reference","id":35,"name":"Ticks"}},{"id":5201,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"When to set the tick value\n"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/clock/Clock.ts","line":211,"character":15}]},{"id":5177,"name":"start","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5178,"name":"start","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Start the clock at the given time. Optionally pass in an offset\nof where to start the tick counter from."},"parameters":[{"id":5179,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The time the clock should start"},"type":{"type":"reference","id":31,"name":"Time"}},{"id":5180,"name":"offset","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"Where the tick counter starts counting from.\n"},"type":{"type":"reference","id":35,"name":"Ticks"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/clock/Clock.ts","line":121,"character":6}]},{"id":5181,"name":"stop","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5182,"name":"stop","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Stop the clock. Stopping the clock resets the tick counter to 0.","tags":[{"tag":"example","text":"\nconst clock = new Tone.Clock(time => {\n\tconsole.log(time);\n}, 1);\nclock.start();\n// stop the clock after 10 seconds\nclock.stop(\"+10\");\n"}]},"parameters":[{"id":5183,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The time when the clock should stop."},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/clock/Clock.ts","line":148,"character":5}]},{"id":5262,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5263,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":5264,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":5259,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5260,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":5261,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":5283,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5284,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":5265,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5266,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":5267,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":5173,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":5174,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":5151,"name":"ClockOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/core/clock/Clock.ts","line":100,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[5167]},{"title":"Properties","kind":1024,"children":[5159,5249,5277,5244,5166,5158,5236,5220,5228,5276]},{"title":"Accessors","kind":262144,"children":[5257,5281,5255,5191,5175,5187]},{"title":"Methods","kind":2048,"children":[5218,5271,5195,5215,5206,5202,5253,5209,5251,5184,5273,5198,5177,5181,5262,5259,5283,5265,5173]}],"sources":[{"fileName":"Tone/core/clock/Clock.ts","line":36,"character":18}],"extendedTypes":[{"type":"reference","id":4793,"typeArguments":[{"type":"reference","id":5151,"name":"ClockOptions"}],"name":"ToneWithContext"}],"implementedTypes":[{"type":"reference","id":101,"typeArguments":[{"type":"reference","id":5290,"name":"ClockEvent"}],"name":"Emitter"}]},{"id":19358,"name":"Compressor","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Compressor is a thin wrapper around the Web Audio\n[DynamicsCompressorNode](http://webaudio.github.io/web-audio-api/#the-dynamicscompressornode-interface).\nCompression reduces the volume of loud sounds or amplifies quiet sounds\nby narrowing or \"compressing\" an audio signal's dynamic range.\nRead more on [Wikipedia](https://en.wikipedia.org/wiki/Dynamic_range_compression).","tags":[{"tag":"example","text":"\nconst comp = new Tone.Compressor(-30, 3);"}]},"children":[{"id":19368,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":19369,"name":"new Compressor","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":19370,"name":"threshold","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The value above which the compression starts to be applied."},"type":{"type":"reference","id":22,"name":"Decibels"}},{"id":19371,"name":"ratio","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The gain reduction ratio.\n"},"type":{"type":"reference","id":27,"name":"Positive"}}],"type":{"type":"reference","id":19358,"name":"Compressor"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":19372,"name":"new Compressor","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":19373,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":19351,"name":"CompressorOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":19358,"name":"Compressor"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/component/dynamics/Compressor.ts","line":70,"character":35},{"fileName":"Tone/component/dynamics/Compressor.ts","line":76,"character":53},{"fileName":"Tone/component/dynamics/Compressor.ts","line":77,"character":51}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":19364,"name":"attack","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The amount of time (in seconds) to reduce the gain by 10dB.","tags":[{"tag":"min","text":"0"},{"tag":"max","text":"1\n"}]},"sources":[{"fileName":"Tone/component/dynamics/Compressor.ts","line":48,"character":16}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"time"}],"name":"Param"}},{"id":19417,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":19445,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":19361,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/dynamics/Compressor.ts","line":33,"character":15}],"type":{"type":"reference","name":"DynamicsCompressorNode"},"defaultValue":"this._compressor","overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":19366,"name":"knee","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"A decibel value representing the range above the threshold where the\ncurve smoothly transitions to the \"ratio\" portion.","tags":[{"tag":"min","text":"0"},{"tag":"max","text":"40\n"}]},"sources":[{"fileName":"Tone/component/dynamics/Compressor.ts","line":63,"character":14}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"decibels"}],"name":"Param"}},{"id":19359,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/dynamics/Compressor.ts","line":27,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Compressor\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":19362,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/dynamics/Compressor.ts","line":34,"character":16}],"type":{"type":"reference","name":"DynamicsCompressorNode"},"defaultValue":"this._compressor","overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":19367,"name":"ratio","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The amount of dB change in input for a 1 dB change in output.","tags":[{"tag":"min","text":"1"},{"tag":"max","text":"20\n"}]},"sources":[{"fileName":"Tone/component/dynamics/Compressor.ts","line":70,"character":15}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"positive"}],"name":"Param"}},{"id":19365,"name":"release","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The amount of time (in seconds) to increase the gain by 10dB.","tags":[{"tag":"min","text":"0"},{"tag":"max","text":"1\n"}]},"sources":[{"fileName":"Tone/component/dynamics/Compressor.ts","line":55,"character":17}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"time"}],"name":"Param"}},{"id":19363,"name":"threshold","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The decibel value above which the compression will start taking effect.","tags":[{"tag":"min","text":"-100"},{"tag":"max","text":"0\n"}]},"sources":[{"fileName":"Tone/component/dynamics/Compressor.ts","line":41,"character":19}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"decibels"}],"name":"Param"}},{"id":19444,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":19425,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":19426,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":19385,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":19386,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":19387,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":19388,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":19389,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":19390,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":19391,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":19392,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":19393,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":19394,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":19395,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":19396,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":19449,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":19450,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":19380,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":19381,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":19382,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":19383,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":19376,"name":"reduction","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"A read-only decibel value for metering purposes, representing the current amount of gain\nreduction that the compressor is applying to the signal. If fed no signal the value will be 0 (no gain reduction)."},"getSignature":[{"id":19377,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"A read-only decibel value for metering purposes, representing the current amount of gain\nreduction that the compressor is applying to the signal. If fed no signal the value will be 0 (no gain reduction)."},"type":{"type":"reference","id":22,"name":"Decibels"}}],"sources":[{"fileName":"Tone/component/dynamics/Compressor.ts","line":149,"character":14}]},{"id":19423,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":19424,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":19411,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19412,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":19413,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":19397,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19398,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":19399,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":19400,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":19401,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":19406,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19407,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":19408,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":19409,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":19410,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":19378,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19379,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/component/dynamics/Compressor.ts","line":153,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":19414,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19415,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":19416,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":19439,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19440,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":19351,"name":"CompressorOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":19421,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19422,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":19419,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19420,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":19441,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19442,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":19443,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":19351,"name":"CompressorOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":19402,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19403,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":19430,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19431,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":19432,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":19404,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19405,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":19427,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19428,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":19429,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":19451,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19452,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":19433,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19434,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":19435,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":19374,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":19375,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":19351,"name":"CompressorOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/component/dynamics/Compressor.ts","line":135,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[19368]},{"title":"Properties","kind":1024,"children":[19364,19417,19445,19361,19366,19359,19362,19367,19365,19363,19444]},{"title":"Accessors","kind":262144,"children":[19425,19385,19389,19393,19449,19380,19382,19376,19423]},{"title":"Methods","kind":2048,"children":[19411,19397,19406,19378,19414,19439,19421,19419,19441,19402,19430,19404,19427,19451,19433,19374]}],"sources":[{"fileName":"Tone/component/dynamics/Compressor.ts","line":25,"character":23}],"extendedTypes":[{"type":"reference","id":1004,"typeArguments":[{"type":"reference","id":19351,"name":"CompressorOptions"}],"name":"ToneAudioNode"}]},{"id":2755,"name":"Context","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Wrapper around the native AudioContext."},"children":[{"id":2770,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":2771,"name":"new Context","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":2772,"name":"context","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":4181,"name":"AnyAudioContext"}}],"type":{"type":"reference","id":2755,"name":"Context"}},{"id":2773,"name":"new Context","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":2774,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":2742,"name":"ContextOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":2755,"name":"Context"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":107,"character":37},{"fileName":"Tone/core/context/Context.ts","line":109,"character":40},{"fileName":"Tone/core/context/Context.ts","line":110,"character":48}]},{"id":2949,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":2769,"name":"isOffline","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"Indicates if the context is an OfflineAudioContext or an AudioContext"},"sources":[{"fileName":"Tone/core/context/Context.ts","line":107,"character":19}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","overwrites":{"type":"reference","id":3166,"name":"BaseContext.isOffline"}},{"id":2757,"name":"lookAhead","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The amount of time into the future events are scheduled. Giving Web Audio\na short amount of time into the future to schedule events can reduce clicks and\nimprove performance. This value can be set to 0 to get the lowest latency."},"sources":[{"fileName":"Tone/core/context/Context.ts","line":47,"character":10}],"type":{"type":"reference","id":21,"name":"Seconds"},"overwrites":{"type":"reference","id":3119,"name":"BaseContext.lookAhead"}},{"id":2756,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/context/Context.ts","line":40,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Context\"","overwrites":{"type":"reference","id":103,"name":"Emitter.name"}},{"id":2948,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":2872,"name":"clockSource","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"What the source of the clock is, either \"worker\" (default),\n\"timeout\", or \"offline\" (none)."},"getSignature":[{"id":2873,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"What the source of the clock is, either \"worker\" (default),\n\"timeout\", or \"offline\" (none)."},"type":{"type":"reference","id":388,"name":"TickerClockSource"}}],"setSignature":[{"id":2874,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"What the source of the clock is, either \"worker\" (default),\n\"timeout\", or \"offline\" (none)."},"parameters":[{"id":2875,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":388,"name":"TickerClockSource"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":408,"character":16},{"fileName":"Tone/core/context/Context.ts","line":411,"character":16}]},{"id":2835,"name":"currentTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The current time in seconds of the AudioContext."},"getSignature":[{"id":2836,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The current time in seconds of the AudioContext."},"type":{"type":"reference","id":21,"name":"Seconds"},"overwrites":{"type":"reference","id":3146,"name":"BaseContext.currentTime"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":266,"character":16}],"overwrites":{"type":"reference","id":3146,"name":"BaseContext.currentTime"}},{"id":2853,"name":"destination","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"A reference to the Context's destination node."},"getSignature":[{"id":2854,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"A reference to the Context's destination node."},"type":{"type":"reference","id":2545,"name":"Destination"},"overwrites":{"type":"reference","id":3158,"name":"BaseContext.destination"}}],"setSignature":[{"id":2855,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"A reference to the Context's destination node."},"parameters":[{"id":2856,"name":"d","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":2545,"name":"Destination"}}],"type":{"type":"intrinsic","name":"void"},"overwrites":{"type":"reference","id":3158,"name":"BaseContext.destination"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":327,"character":16},{"fileName":"Tone/core/context/Context.ts","line":331,"character":16}],"overwrites":{"type":"reference","id":3158,"name":"BaseContext.destination"}},{"id":2953,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":2954,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":2849,"name":"draw","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"This is the Draw object for the context which is useful for synchronizing the draw frame with the Tone.js clock."},"getSignature":[{"id":2850,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"This is the Draw object for the context which is useful for synchronizing the draw frame with the Tone.js clock."},"type":{"type":"reference","name":"Draw"},"overwrites":{"type":"reference","id":3156,"name":"BaseContext.draw"}}],"setSignature":[{"id":2851,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"This is the Draw object for the context which is useful for synchronizing the draw frame with the Tone.js clock."},"parameters":[{"id":2852,"name":"d","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Draw"}}],"type":{"type":"intrinsic","name":"void"},"overwrites":{"type":"reference","id":3156,"name":"BaseContext.draw"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":315,"character":9},{"fileName":"Tone/core/context/Context.ts","line":319,"character":9}],"overwrites":{"type":"reference","id":3156,"name":"BaseContext.draw"}},{"id":2876,"name":"latencyHint","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The type of playback, which affects tradeoffs between audio\noutput latency and responsiveness.\nIn addition to setting the value in seconds, the latencyHint also\naccepts the strings \"interactive\" (prioritizes low latency),\n\"playback\" (prioritizes sustained playback), \"balanced\" (balances\nlatency and performance).","tags":[{"tag":"example","text":"\n// prioritize sustained playback\nconst context = new Tone.Context({ latencyHint: \"playback\" });\n// set this context as the global Context\nTone.setContext(context);\n// the global context is gettable with Tone.getContext()\nconsole.log(Tone.getContext().latencyHint);\n"}]},"getSignature":[{"id":2877,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The type of playback, which affects tradeoffs between audio\noutput latency and responsiveness.\nIn addition to setting the value in seconds, the latencyHint also\naccepts the strings \"interactive\" (prioritizes low latency),\n\"playback\" (prioritizes sustained playback), \"balanced\" (balances\nlatency and performance).","tags":[{"tag":"example","text":"\n// prioritize sustained playback\nconst context = new Tone.Context({ latencyHint: \"playback\" });\n// set this context as the global Context\nTone.setContext(context);\n// the global context is gettable with Tone.getContext()\nconsole.log(Tone.getContext().latencyHint);\n"}]},"type":{"type":"union","types":[{"type":"reference","id":3212,"name":"ContextLatencyHint"},{"type":"reference","id":21,"name":"Seconds"}]},"overwrites":{"type":"reference","id":3120,"name":"BaseContext.latencyHint"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":430,"character":16}],"overwrites":{"type":"reference","id":3120,"name":"BaseContext.latencyHint"}},{"id":2841,"name":"listener","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The listener"},"getSignature":[{"id":2842,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The listener"},"type":{"type":"reference","id":2647,"name":"Listener"},"overwrites":{"type":"reference","id":3152,"name":"BaseContext.listener"}}],"setSignature":[{"id":2843,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The listener"},"parameters":[{"id":2844,"name":"l","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":2647,"name":"Listener"}}],"type":{"type":"intrinsic","name":"void"},"overwrites":{"type":"reference","id":3152,"name":"BaseContext.listener"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":285,"character":13},{"fileName":"Tone/core/context/Context.ts","line":289,"character":13}],"overwrites":{"type":"reference","id":3152,"name":"BaseContext.listener"}},{"id":2881,"name":"rawContext","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The unwrapped AudioContext or OfflineAudioContext"},"getSignature":[{"id":2882,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The unwrapped AudioContext or OfflineAudioContext"},"type":{"type":"reference","id":4181,"name":"AnyAudioContext"},"overwrites":{"type":"reference","id":3113,"name":"BaseContext.rawContext"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":460,"character":15}],"overwrites":{"type":"reference","id":3113,"name":"BaseContext.rawContext"}},{"id":2839,"name":"sampleRate","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The current time in seconds of the AudioContext."},"getSignature":[{"id":2840,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The current time in seconds of the AudioContext."},"type":{"type":"intrinsic","name":"number"},"overwrites":{"type":"reference","id":3150,"name":"BaseContext.sampleRate"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":278,"character":15}],"overwrites":{"type":"reference","id":3150,"name":"BaseContext.sampleRate"}},{"id":2837,"name":"state","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The current time in seconds of the AudioContext."},"getSignature":[{"id":2838,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The current time in seconds of the AudioContext."},"type":{"type":"reference","name":"AudioContextState"},"overwrites":{"type":"reference","id":3148,"name":"BaseContext.state"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":272,"character":10}],"overwrites":{"type":"reference","id":3148,"name":"BaseContext.state"}},{"id":2845,"name":"transport","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"There is only one Transport per Context. It is created on initialization."},"getSignature":[{"id":2846,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"There is only one Transport per Context. It is created on initialization."},"type":{"type":"reference","name":"Transport"},"overwrites":{"type":"reference","id":3154,"name":"BaseContext.transport"}}],"setSignature":[{"id":2847,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"There is only one Transport per Context. It is created on initialization."},"parameters":[{"id":2848,"name":"t","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Transport"}}],"type":{"type":"intrinsic","name":"void"},"overwrites":{"type":"reference","id":3154,"name":"BaseContext.transport"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":300,"character":14},{"fileName":"Tone/core/context/Context.ts","line":304,"character":14}],"overwrites":{"type":"reference","id":3154,"name":"BaseContext.transport"}},{"id":2868,"name":"updateInterval","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"How often the interval callback is invoked.\nThis number corresponds to how responsive the scheduling\ncan be. context.updateInterval + context.lookAhead gives you the\ntotal latency between scheduling an event and hearing it."},"getSignature":[{"id":2869,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"How often the interval callback is invoked.\nThis number corresponds to how responsive the scheduling\ncan be. context.updateInterval + context.lookAhead gives you the\ntotal latency between scheduling an event and hearing it."},"type":{"type":"reference","id":21,"name":"Seconds"}}],"setSignature":[{"id":2870,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"How often the interval callback is invoked.\nThis number corresponds to how responsive the scheduling\ncan be. context.updateInterval + context.lookAhead gives you the\ntotal latency between scheduling an event and hearing it."},"parameters":[{"id":2871,"name":"interval","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":21,"name":"Seconds"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":397,"character":19},{"fileName":"Tone/core/context/Context.ts","line":400,"character":19}]},{"id":2862,"name":"addAudioWorkletModule","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2863,"name":"addAudioWorkletModule","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Add an AudioWorkletProcessor module"},"parameters":[{"id":2864,"name":"url","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The url of the module"},"type":{"type":"intrinsic","name":"string"}},{"id":2865,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The name of the module\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise"},"overwrites":{"type":"reference","id":3115,"name":"BaseContext.addAudioWorkletModule"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":364,"character":28}],"overwrites":{"type":"reference","id":3115,"name":"BaseContext.addAudioWorkletModule"}},{"id":2908,"name":"clearInterval","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2909,"name":"clearInterval","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Clear the function scheduled by [[setInterval]]"},"parameters":[{"id":2910,"name":"id","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":3140,"name":"BaseContext.clearInterval"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":602,"character":14}],"overwrites":{"type":"reference","id":3140,"name":"BaseContext.clearInterval"}},{"id":2905,"name":"clearTimeout","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2906,"name":"clearTimeout","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Clears a previously scheduled timeout with Tone.context.setTimeout"},"parameters":[{"id":2907,"name":"id","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The ID returned from setTimeout\n"},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":3130,"name":"BaseContext.clearTimeout"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":590,"character":13}],"overwrites":{"type":"reference","id":3130,"name":"BaseContext.clearTimeout"}},{"id":2889,"name":"close","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2890,"name":"close","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Close the context. Once closed, the context can no longer be used and\nany AudioNodes created from the context will be silent."},"type":{"type":"reference","typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":498,"character":12}]},{"id":2779,"name":"createAnalyser","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2780,"name":"createAnalyser","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","name":"AnalyserNode"},"overwrites":{"type":"reference","id":3053,"name":"BaseContext.createAnalyser"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":166,"character":15}],"overwrites":{"type":"reference","id":3053,"name":"BaseContext.createAnalyser"}},{"id":2858,"name":"createAudioWorkletNode","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2859,"name":"createAudioWorkletNode","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Create an audio worklet node from a name and options. The module\nmust first be loaded using [[addAudioWorkletModule]]."},"parameters":[{"id":2860,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"string"}},{"id":2861,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","name":"AudioWorkletNodeOptions"}],"name":"Partial"}}],"type":{"type":"reference","name":"AudioWorkletNode"},"overwrites":{"type":"reference","id":3109,"name":"BaseContext.createAudioWorkletNode"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":352,"character":23}],"overwrites":{"type":"reference","id":3109,"name":"BaseContext.createAudioWorkletNode"}},{"id":2785,"name":"createBiquadFilter","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2786,"name":"createBiquadFilter","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","name":"BiquadFilterNode"},"overwrites":{"type":"reference","id":3059,"name":"BaseContext.createBiquadFilter"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":175,"character":19}],"overwrites":{"type":"reference","id":3059,"name":"BaseContext.createBiquadFilter"}},{"id":2787,"name":"createBuffer","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2788,"name":"createBuffer","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":2789,"name":"numberOfChannels","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}},{"id":2790,"name":"length","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}},{"id":2791,"name":"sampleRate","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","name":"AudioBuffer"},"overwrites":{"type":"reference","id":3061,"name":"BaseContext.createBuffer"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":178,"character":13}],"overwrites":{"type":"reference","id":3061,"name":"BaseContext.createBuffer"}},{"id":2783,"name":"createBufferSource","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2784,"name":"createBufferSource","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","name":"AudioBufferSourceNode"},"overwrites":{"type":"reference","id":3057,"name":"BaseContext.createBufferSource"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":172,"character":19}],"overwrites":{"type":"reference","id":3057,"name":"BaseContext.createBufferSource"}},{"id":2792,"name":"createChannelMerger","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2793,"name":"createChannelMerger","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":2794,"name":"numberOfInputs","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"number"},{"type":"intrinsic","name":"undefined"}]}}],"type":{"type":"reference","name":"ChannelMergerNode"},"overwrites":{"type":"reference","id":3066,"name":"BaseContext.createChannelMerger"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":185,"character":20}],"overwrites":{"type":"reference","id":3066,"name":"BaseContext.createChannelMerger"}},{"id":2795,"name":"createChannelSplitter","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2796,"name":"createChannelSplitter","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":2797,"name":"numberOfOutputs","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"number"},{"type":"intrinsic","name":"undefined"}]}}],"type":{"type":"reference","name":"ChannelSplitterNode"},"overwrites":{"type":"reference","id":3069,"name":"BaseContext.createChannelSplitter"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":190,"character":22}],"overwrites":{"type":"reference","id":3069,"name":"BaseContext.createChannelSplitter"}},{"id":2798,"name":"createConstantSource","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2799,"name":"createConstantSource","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","name":"ConstantSourceNode"},"overwrites":{"type":"reference","id":3072,"name":"BaseContext.createConstantSource"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":195,"character":21}],"overwrites":{"type":"reference","id":3072,"name":"BaseContext.createConstantSource"}},{"id":2800,"name":"createConvolver","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2801,"name":"createConvolver","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","name":"ConvolverNode"},"overwrites":{"type":"reference","id":3074,"name":"BaseContext.createConvolver"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":198,"character":16}],"overwrites":{"type":"reference","id":3074,"name":"BaseContext.createConvolver"}},{"id":2802,"name":"createDelay","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2803,"name":"createDelay","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":2804,"name":"maxDelayTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"number"},{"type":"intrinsic","name":"undefined"}]}}],"type":{"type":"reference","name":"DelayNode"},"overwrites":{"type":"reference","id":3076,"name":"BaseContext.createDelay"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":201,"character":12}],"overwrites":{"type":"reference","id":3076,"name":"BaseContext.createDelay"}},{"id":2805,"name":"createDynamicsCompressor","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2806,"name":"createDynamicsCompressor","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","name":"DynamicsCompressorNode"},"overwrites":{"type":"reference","id":3079,"name":"BaseContext.createDynamicsCompressor"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":204,"character":25}],"overwrites":{"type":"reference","id":3079,"name":"BaseContext.createDynamicsCompressor"}},{"id":2807,"name":"createGain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2808,"name":"createGain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","name":"GainNode"},"overwrites":{"type":"reference","id":3081,"name":"BaseContext.createGain"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":207,"character":11}],"overwrites":{"type":"reference","id":3081,"name":"BaseContext.createGain"}},{"id":2809,"name":"createIIRFilter","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2810,"name":"createIIRFilter","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":2811,"name":"feedForward","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"array","elementType":{"type":"intrinsic","name":"number"}},{"type":"reference","name":"Float32Array"}]}},{"id":2812,"name":"feedback","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"array","elementType":{"type":"intrinsic","name":"number"}},{"type":"reference","name":"Float32Array"}]}}],"type":{"type":"reference","name":"IIRFilterNode"},"overwrites":{"type":"reference","id":3083,"name":"BaseContext.createIIRFilter"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":210,"character":16}],"overwrites":{"type":"reference","id":3083,"name":"BaseContext.createIIRFilter"}},{"id":2827,"name":"createMediaElementSource","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2828,"name":"createMediaElementSource","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":2829,"name":"element","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"HTMLMediaElement"}}],"type":{"type":"reference","name":"MediaElementAudioSourceNode"},"overwrites":{"type":"reference","id":3101,"name":"BaseContext.createMediaElementSource"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":241,"character":25}],"overwrites":{"type":"reference","id":3101,"name":"BaseContext.createMediaElementSource"}},{"id":2830,"name":"createMediaStreamDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2831,"name":"createMediaStreamDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","name":"MediaStreamAudioDestinationNode"},"overwrites":{"type":"reference","id":3104,"name":"BaseContext.createMediaStreamDestination"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":251,"character":29}],"overwrites":{"type":"reference","id":3104,"name":"BaseContext.createMediaStreamDestination"}},{"id":2824,"name":"createMediaStreamSource","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2825,"name":"createMediaStreamSource","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":2826,"name":"stream","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"MediaStream"}}],"type":{"type":"reference","name":"MediaStreamAudioSourceNode"},"overwrites":{"type":"reference","id":3098,"name":"BaseContext.createMediaStreamSource"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":233,"character":24}],"overwrites":{"type":"reference","id":3098,"name":"BaseContext.createMediaStreamSource"}},{"id":2781,"name":"createOscillator","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2782,"name":"createOscillator","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","name":"OscillatorNode"},"overwrites":{"type":"reference","id":3055,"name":"BaseContext.createOscillator"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":169,"character":17}],"overwrites":{"type":"reference","id":3055,"name":"BaseContext.createOscillator"}},{"id":2813,"name":"createPanner","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2814,"name":"createPanner","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","name":"PannerNode"},"overwrites":{"type":"reference","id":3087,"name":"BaseContext.createPanner"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":217,"character":13}],"overwrites":{"type":"reference","id":3087,"name":"BaseContext.createPanner"}},{"id":2815,"name":"createPeriodicWave","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2816,"name":"createPeriodicWave","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":2817,"name":"real","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"array","elementType":{"type":"intrinsic","name":"number"}},{"type":"reference","name":"Float32Array"}]}},{"id":2818,"name":"imag","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"array","elementType":{"type":"intrinsic","name":"number"}},{"type":"reference","name":"Float32Array"}]}},{"id":2819,"name":"constraints","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","name":"PeriodicWaveConstraints"},{"type":"intrinsic","name":"undefined"}]}}],"type":{"type":"reference","name":"PeriodicWave"},"overwrites":{"type":"reference","id":3089,"name":"BaseContext.createPeriodicWave"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":220,"character":19}],"overwrites":{"type":"reference","id":3089,"name":"BaseContext.createPeriodicWave"}},{"id":2820,"name":"createStereoPanner","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2821,"name":"createStereoPanner","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","name":"StereoPannerNode"},"overwrites":{"type":"reference","id":3094,"name":"BaseContext.createStereoPanner"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":227,"character":19}],"overwrites":{"type":"reference","id":3094,"name":"BaseContext.createStereoPanner"}},{"id":2822,"name":"createWaveShaper","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2823,"name":"createWaveShaper","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","name":"WaveShaperNode"},"overwrites":{"type":"reference","id":3096,"name":"BaseContext.createWaveShaper"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":230,"character":17}],"overwrites":{"type":"reference","id":3096,"name":"BaseContext.createWaveShaper"}},{"id":2832,"name":"decodeAudioData","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2833,"name":"decodeAudioData","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":2834,"name":"audioData","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"ArrayBuffer"}}],"type":{"type":"reference","typeArguments":[{"type":"reference","name":"AudioBuffer"}],"name":"Promise"},"overwrites":{"type":"reference","id":3106,"name":"BaseContext.decodeAudioData"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":259,"character":16}],"overwrites":{"type":"reference","id":3106,"name":"BaseContext.decodeAudioData"}},{"id":2894,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2895,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Clean up. Also closes the audio context."},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":133,"name":"Emitter.dispose"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":537,"character":8}],"overwrites":{"type":"reference","id":133,"name":"Emitter.dispose"}},{"id":2941,"name":"emit","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2942,"name":"emit","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Invoke all of the callbacks bound to the event\nwith any arguments passed in."},"parameters":[{"id":2943,"name":"event","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The name of the event."},"type":{"type":"intrinsic","name":"any"}},{"id":2944,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"comment":{"text":"The arguments to pass to the functions listening.\n"},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":126,"name":"Emitter.emit"}}],"sources":[{"fileName":"Tone/core/util/Emitter.ts","line":94,"character":5}],"inheritedFrom":{"type":"reference","id":126,"name":"Emitter.emit"}},{"id":2891,"name":"getConstant","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2892,"name":"getConstant","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"**Internal** Generate a looped buffer at some constant value."},"parameters":[{"id":2893,"name":"val","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","name":"AudioBufferSourceNode"},"overwrites":{"type":"reference","id":3143,"name":"BaseContext.getConstant"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":510,"character":12}],"overwrites":{"type":"reference","id":3143,"name":"BaseContext.getConstant"}},{"id":2885,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2886,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"The current audio context time without the [[lookAhead]].\nIn most cases it is better to use [[now]] instead of [[immediate]] since\nwith [[now]] the [[lookAhead]] is applied equally to _all_ components including internal components,\nto making sure that everything is scheduled in sync. Mixing [[now]] and [[immediate]]\ncan cause some timing issues. If no lookAhead is desired, you can set the [[lookAhead]] to `0`."},"type":{"type":"reference","id":21,"name":"Seconds"},"overwrites":{"type":"reference","id":3162,"name":"BaseContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":478,"character":10}],"overwrites":{"type":"reference","id":3162,"name":"BaseContext.immediate"}},{"id":2883,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2884,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"The current audio context time plus a short [[lookAhead]]."},"type":{"type":"reference","id":21,"name":"Seconds"},"overwrites":{"type":"reference","id":3160,"name":"BaseContext.now"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":467,"character":4}],"overwrites":{"type":"reference","id":3160,"name":"BaseContext.now"}},{"id":2934,"name":"off","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2935,"name":"off","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Remove the event listener."},"parameters":[{"id":2936,"name":"event","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The event to stop listening to."},"type":{"type":"union","types":[{"type":"stringLiteral","value":"statechange"},{"type":"stringLiteral","value":"tick"}]}},{"id":2937,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The callback which was bound to the event with Emitter.on.\n                  If no callback is given, all callbacks events are removed.\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"reflection","declaration":{"id":2938,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":2939,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":2940,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"void"}}]}}]}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":119,"name":"Emitter.off"}}],"sources":[{"fileName":"Tone/core/util/Emitter.ts","line":66,"character":4}],"inheritedFrom":{"type":"reference","id":119,"name":"Emitter.off"}},{"id":2920,"name":"on","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2921,"name":"on","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Bind a callback to a specific event."},"parameters":[{"id":2922,"name":"event","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The name of the event to listen for."},"type":{"type":"union","types":[{"type":"stringLiteral","value":"statechange"},{"type":"stringLiteral","value":"tick"}]}},{"id":2923,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The callback to invoke when the event is emitted\n"},"type":{"type":"reflection","declaration":{"id":2924,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":2925,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":2926,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/util/Emitter.ts","line":29,"character":31}]}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":105,"name":"Emitter.on"}}],"sources":[{"fileName":"Tone/core/util/Emitter.ts","line":29,"character":3}],"inheritedFrom":{"type":"reference","id":105,"name":"Emitter.on"}},{"id":2927,"name":"once","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2928,"name":"once","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Bind a callback which is only invoked once"},"parameters":[{"id":2929,"name":"event","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The name of the event to listen for."},"type":{"type":"union","types":[{"type":"stringLiteral","value":"statechange"},{"type":"stringLiteral","value":"tick"}]}},{"id":2930,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The callback to invoke when the event is emitted\n"},"type":{"type":"reflection","declaration":{"id":2931,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":2932,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":2933,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/util/Emitter.ts","line":49,"character":33}]}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":112,"name":"Emitter.once"}}],"sources":[{"fileName":"Tone/core/util/Emitter.ts","line":49,"character":5}],"inheritedFrom":{"type":"reference","id":112,"name":"Emitter.once"}},{"id":2887,"name":"resume","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2888,"name":"resume","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Starts the audio context from a suspended state. This is required\nto initially start the AudioContext. See [[Tone.start]]"},"type":{"type":"reference","typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise"},"overwrites":{"type":"reference","id":3121,"name":"BaseContext.resume"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":486,"character":7}],"overwrites":{"type":"reference","id":3121,"name":"BaseContext.resume"}},{"id":2911,"name":"setInterval","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2912,"name":"setInterval","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Adds a repeating event to the context's callback clock"},"parameters":[{"id":2913,"name":"fn","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reflection","declaration":{"id":2914,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":2915,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":2916,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":609,"character":16}]}}},{"id":2917,"name":"interval","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":21,"name":"Seconds"}}],"type":{"type":"intrinsic","name":"number"},"overwrites":{"type":"reference","id":3133,"name":"BaseContext.setInterval"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":609,"character":12}],"overwrites":{"type":"reference","id":3133,"name":"BaseContext.setInterval"}},{"id":2898,"name":"setTimeout","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2899,"name":"setTimeout","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"A setTimeout which is guaranteed by the clock source.\nAlso runs in the offline context.","returns":"ID to use when invoking Context.clearTimeout\n"},"parameters":[{"id":2900,"name":"fn","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The callback to invoke"},"type":{"type":"reflection","declaration":{"id":2901,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":2902,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":2903,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":575,"character":15}]}}},{"id":2904,"name":"timeout","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The timeout in seconds"},"type":{"type":"reference","id":21,"name":"Seconds"}}],"type":{"type":"intrinsic","name":"number"},"overwrites":{"type":"reference","id":3123,"name":"BaseContext.setTimeout"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":575,"character":11}],"overwrites":{"type":"reference","id":3123,"name":"BaseContext.setTimeout"}},{"id":2918,"name":"toJSON","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2919,"name":"toJSON","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","typeArguments":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"any"}],"name":"Record"},"inheritedFrom":{"type":"reference","id":2918,"name":"BaseContext.toJSON"}}],"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":157,"character":7}],"inheritedFrom":{"type":"reference","id":2918,"name":"BaseContext.toJSON"}},{"id":2955,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2956,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":2775,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":2776,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":2742,"name":"ContextOptions"},"overwrites":{"type":"reference","id":51,"name":"Tone.getDefaults"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":141,"character":19}],"overwrites":{"type":"reference","id":51,"name":"Tone.getDefaults"}},{"id":2945,"name":"mixin","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":2946,"name":"mixin","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Add Emitter functions (on/off/emit) to the object"},"parameters":[{"id":2947,"name":"constr","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":130,"name":"Emitter.mixin"}}],"sources":[{"fileName":"Tone/core/util/Emitter.ts","line":109,"character":13}],"inheritedFrom":{"type":"reference","id":130,"name":"Emitter.mixin"}}],"groups":[{"title":"Constructors","kind":512,"children":[2770]},{"title":"Properties","kind":1024,"children":[2949,2769,2757,2756,2948]},{"title":"Accessors","kind":262144,"children":[2872,2835,2853,2953,2849,2876,2841,2881,2839,2837,2845,2868]},{"title":"Methods","kind":2048,"children":[2862,2908,2905,2889,2779,2858,2785,2787,2783,2792,2795,2798,2800,2802,2805,2807,2809,2827,2830,2824,2781,2813,2815,2820,2822,2832,2894,2941,2891,2885,2883,2934,2920,2927,2887,2911,2898,2918,2955,2775,2945]}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":39,"character":20},{"fileName":"Tone/core/context/ContextInitialization.ts","line":5,"character":12}],"type":{"type":"reference","id":2755,"name":"Context"},"extendedTypes":[{"type":"reference","id":3052,"name":"BaseContext"}],"extendedBy":[{"type":"reference","id":4452,"name":"OfflineContext"}],"implementedTypes":[{"type":"reflection","declaration":{"id":2957,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":31,"character":11}]}}]},{"id":19950,"name":"Convolver","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Convolver is a wrapper around the Native Web Audio\n[ConvolverNode](http://webaudio.github.io/web-audio-api/#the-convolvernode-interface).\nConvolution is useful for reverb and filter emulation. Read more about convolution reverb on\n[Wikipedia](https://en.wikipedia.org/wiki/Convolution_reverb).","tags":[{"tag":"example","text":"\n// initializing the convolver with an impulse response\nconst convolver = new Tone.Convolver(\"./path/to/ir.wav\").toDestination();"}]},"children":[{"id":19956,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":19957,"name":"new Convolver","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":19958,"name":"url","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The URL of the impulse response or the ToneAudioBuffer containing the impulse response."},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"AudioBuffer"},{"type":"reference","id":4362,"name":"ToneAudioBuffer"}]}},{"id":19959,"name":"onload","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The callback to invoke when the url is loaded.\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"reflection","declaration":{"id":19960,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":19961,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"void"}}]}}]}}],"type":{"type":"reference","id":19950,"name":"Convolver"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":19962,"name":"new Convolver","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":19963,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":19943,"name":"ConvolverOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":19950,"name":"Convolver"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/component/filter/Convolver.ts","line":39,"character":23},{"fileName":"Tone/component/filter/Convolver.ts","line":45,"character":80},{"fileName":"Tone/component/filter/Convolver.ts","line":46,"character":50}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":20016,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":20044,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":19954,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/filter/Convolver.ts","line":38,"character":15}],"type":{"type":"reference","id":1143,"name":"Gain"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":19951,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/filter/Convolver.ts","line":26,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Convolver\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":19955,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/filter/Convolver.ts","line":39,"character":16}],"type":{"type":"reference","id":1143,"name":"Gain"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":20043,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":20024,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":20025,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":19969,"name":"buffer","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The convolver's buffer"},"getSignature":[{"id":19970,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The convolver's buffer"},"type":{"type":"union","types":[{"type":"reference","id":4362,"name":"ToneAudioBuffer"},{"type":"intrinsic","name":"null"}]}}],"setSignature":[{"id":19971,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The convolver's buffer"},"parameters":[{"id":19972,"name":"buffer","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"null"},{"type":"reference","id":4362,"name":"ToneAudioBuffer"}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/component/filter/Convolver.ts","line":92,"character":11},{"fileName":"Tone/component/filter/Convolver.ts","line":99,"character":11}]},{"id":19984,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":19985,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":19986,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":19987,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":19988,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":19989,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":19990,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":19991,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":19992,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":19993,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":19994,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":19995,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":20048,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":20049,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":19973,"name":"normalize","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The normalize property of the ConvolverNode interface is a boolean that\ncontrols whether the impulse response from the buffer will be scaled by\nan equal-power normalization when the buffer attribute is set, or not."},"getSignature":[{"id":19974,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The normalize property of the ConvolverNode interface is a boolean that\ncontrols whether the impulse response from the buffer will be scaled by\nan equal-power normalization when the buffer attribute is set, or not."},"type":{"type":"intrinsic","name":"boolean"}}],"setSignature":[{"id":19975,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The normalize property of the ConvolverNode interface is a boolean that\ncontrols whether the impulse response from the buffer will be scaled by\nan equal-power normalization when the buffer attribute is set, or not."},"parameters":[{"id":19976,"name":"norm","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/component/filter/Convolver.ts","line":121,"character":14},{"fileName":"Tone/component/filter/Convolver.ts","line":124,"character":14}]},{"id":19979,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":19980,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":19981,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":19982,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":20022,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":20023,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":20010,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":20011,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":20012,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":19996,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19997,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":19998,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":19999,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":20000,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":20005,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":20006,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":20007,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":20008,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":20009,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":19977,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19978,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/component/filter/Convolver.ts","line":128,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":20013,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":20014,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":20015,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":20038,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":20039,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":19943,"name":"ConvolverOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":20020,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":20021,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":19966,"name":"load","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19967,"name":"load","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Load an impulse response url as an audio buffer.\nDecodes the audio asynchronously and invokes\nthe callback once the audio buffer loads."},"parameters":[{"id":19968,"name":"url","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The url of the buffer to load. filetype support depends on the browser.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise"}}],"sources":[{"fileName":"Tone/component/filter/Convolver.ts","line":85,"character":11}]},{"id":20018,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":20019,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":20040,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":20041,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":20042,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":19943,"name":"ConvolverOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":20001,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":20002,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":20029,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":20030,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":20031,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":20003,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":20004,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":20026,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":20027,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":20028,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":20050,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":20051,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":20032,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":20033,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":20034,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":19964,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":19965,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":19943,"name":"ConvolverOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/component/filter/Convolver.ts","line":72,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[19956]},{"title":"Properties","kind":1024,"children":[20016,20044,19954,19951,19955,20043]},{"title":"Accessors","kind":262144,"children":[20024,19969,19984,19988,19992,20048,19973,19979,19981,20022]},{"title":"Methods","kind":2048,"children":[20010,19996,20005,19977,20013,20038,20020,19966,20018,20040,20001,20029,20003,20026,20050,20032,19964]}],"sources":[{"fileName":"Tone/component/filter/Convolver.ts","line":24,"character":22}],"extendedTypes":[{"type":"reference","id":1004,"typeArguments":[{"type":"reference","id":19943,"name":"ConvolverOptions"}],"name":"ToneAudioNode"}]},{"id":14368,"name":"CrossFade","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Tone.Crossfade provides equal power fading between two inputs.\nMore on crossfading technique [here](https://en.wikipedia.org/wiki/Fade_(audio_engineering)#Crossfading).\n```\n                                            +---------+\n                                           +> input a +>--+\n+-----------+   +---------------------+     |         |   |\n| 1s signal +>--> stereoPannerNode  L +>----> gain    |   |\n+-----------+   |                     |     +---------+   |\n              +-> pan               R +>-+                |   +--------+\n              | +---------------------+  |                +---> output +>\n +------+     |                          |  +---------+   |   +--------+\n | fade +>----+                          | +> input b +>--+\n +------+                                |  |         |\n                                         +--> gain    |\n                                            +---------+\n```","tags":[{"tag":"example","text":"\nconst crossFade = new Tone.CrossFade().toDestination();\n// connect two inputs Tone.to a/b\nconst inputA = new Tone.Oscillator(440, \"square\").connect(crossFade.a).start();\nconst inputB = new Tone.Oscillator(440, \"sine\").connect(crossFade.b).start();\n// use the fade to control the mix between the two\ncrossFade.fade.value = 0.5;"}]},"children":[{"id":14379,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":14380,"name":"new CrossFade","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":14381,"name":"fade","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The initial fade value [0, 1].\n"},"type":{"type":"reference","id":23,"name":"NormalRange"}}],"type":{"type":"reference","id":14368,"name":"CrossFade"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":14382,"name":"new CrossFade","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":14383,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":14365,"name":"CrossFadeOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":14368,"name":"CrossFade"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/component/channel/CrossFade.ts","line":92,"character":48},{"fileName":"Tone/component/channel/CrossFade.ts","line":97,"character":33},{"fileName":"Tone/component/channel/CrossFade.ts","line":98,"character":50}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":14373,"name":"a","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The input which is at full level when fade = 0"},"sources":[{"fileName":"Tone/component/channel/CrossFade.ts","line":62,"character":11}],"type":{"type":"reference","id":1143,"name":"Gain"},"defaultValue":"new Gain({\n\t\tcontext: this.context,\n\t\tgain: 0,\n\t})"},{"id":14374,"name":"b","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The input which is at full level when fade = 1"},"sources":[{"fileName":"Tone/component/channel/CrossFade.ts","line":70,"character":11}],"type":{"type":"reference","id":1143,"name":"Gain"},"defaultValue":"new Gain({\n\t\tcontext: this.context,\n\t\tgain: 0,\n\t})"},{"id":14424,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":14452,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":14377,"name":"fade","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The mix between the two inputs. A fade value of 0\nwill output 100% crossFade.a and\na value of 1 will output 100% crossFade.b."},"sources":[{"fileName":"Tone/component/channel/CrossFade.ts","line":90,"character":14}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"normalRange"}],"name":"Signal"}},{"id":14376,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"CrossFade has no input, you must choose either `a` or `b`"},"sources":[{"fileName":"Tone/component/channel/CrossFade.ts","line":83,"character":15}],"type":{"type":"intrinsic","name":"undefined"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":14369,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/channel/CrossFade.ts","line":41,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"CrossFade\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":14375,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The output is a mix between `a` and `b` at the ratio of `fade`"},"sources":[{"fileName":"Tone/component/channel/CrossFade.ts","line":78,"character":16}],"type":{"type":"reference","id":1143,"name":"Gain"},"defaultValue":"new Gain({ context: this.context })","overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":14451,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":14432,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":14433,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":14392,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":14393,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":14394,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":14395,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":14396,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":14397,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":14398,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":14399,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":14400,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":14401,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":14402,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":14403,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":14456,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":14457,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":14388,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":14389,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":14390,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":14391,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":14430,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":14431,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":14418,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14419,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":14420,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":14404,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14405,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":14406,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":14407,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":14408,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":14413,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14414,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":14415,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":14416,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":14417,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":14386,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14387,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/component/channel/CrossFade.ts","line":132,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":14421,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14422,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":14423,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":14446,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14447,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":14365,"name":"CrossFadeOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":14428,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14429,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":14426,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14427,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":14448,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14449,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":14450,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":14365,"name":"CrossFadeOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":14409,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14410,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":14437,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14438,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":14439,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":14411,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14412,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":14434,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14435,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":14436,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":14458,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14459,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":14440,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14441,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":14442,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":14384,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":14385,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":14365,"name":"CrossFadeOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/component/channel/CrossFade.ts","line":126,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[14379]},{"title":"Properties","kind":1024,"children":[14373,14374,14424,14452,14377,14376,14369,14375,14451]},{"title":"Accessors","kind":262144,"children":[14432,14392,14396,14400,14456,14388,14390,14430]},{"title":"Methods","kind":2048,"children":[14418,14404,14413,14386,14421,14446,14428,14426,14448,14409,14437,14411,14434,14458,14440,14384]}],"sources":[{"fileName":"Tone/component/channel/CrossFade.ts","line":39,"character":22}],"extendedTypes":[{"type":"reference","id":1004,"typeArguments":[{"type":"reference","id":14365,"name":"CrossFadeOptions"}],"name":"ToneAudioNode"}]},{"id":18401,"name":"DCMeter","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"DCMeter gets the raw value of the input signal at the current time.","tags":[{"tag":"example","text":"\nconst meter = new Tone.DCMeter();\nconst mic = new Tone.UserMedia();\nmic.open();\n// connect mic to the meter\nmic.connect(meter);\n// the current level of the mic\nconst level = meter.getValue();"}]},"children":[{"id":18403,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":18404,"name":"new DCMeter","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":18405,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":18488,"name":"DCMeterOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":18401,"name":"DCMeter"},"overwrites":{"type":"reference","id":18113,"name":"MeterBase.__constructor"}}],"sources":[{"fileName":"Tone/component/analysis/DCMeter.ts","line":21,"character":35},{"fileName":"Tone/component/analysis/DCMeter.ts","line":23,"character":48}],"overwrites":{"type":"reference","id":18113,"name":"MeterBase.__constructor"}},{"id":18450,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":18480,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":18408,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The signal to be analysed"},"sources":[{"fileName":"Tone/component/analysis/MeterBase.ts","line":17,"character":6}],"type":{"type":"reference","id":1101,"name":"InputNode"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":18110,"name":"MeterBase.input"}},{"id":18402,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/analysis/DCMeter.ts","line":21,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"DCMeter\"","overwrites":{"type":"reference","id":18109,"name":"MeterBase.name"}},{"id":18409,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The output is just a pass through of the input"},"sources":[{"fileName":"Tone/component/analysis/MeterBase.ts","line":22,"character":7}],"type":{"type":"reference","id":1102,"name":"OutputNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":18111,"name":"MeterBase.output"}},{"id":18479,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":18460,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":18461,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":18418,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":18419,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":18420,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":18421,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":18422,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":18423,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":18424,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":18425,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":18426,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":18427,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":18428,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":18429,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":18484,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":18485,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":18413,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":18414,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":18415,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":18416,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":18458,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":18459,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":18444,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18445,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":18446,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":18430,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18431,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":18432,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":18433,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":18434,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":18439,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18440,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":18441,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":18442,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":18443,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":18411,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18412,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"},"inheritedFrom":{"type":"reference","id":18116,"name":"MeterBase.dispose"}}],"sources":[{"fileName":"Tone/component/analysis/MeterBase.ts","line":40,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"},"inheritedFrom":{"type":"reference","id":18116,"name":"MeterBase.dispose"}},{"id":18447,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18448,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":18449,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":18474,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18475,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":18488,"name":"DCMeterOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":18406,"name":"getValue","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18407,"name":"getValue","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the signal value of the incoming signal"},"type":{"type":"intrinsic","name":"number"}}],"sources":[{"fileName":"Tone/component/analysis/DCMeter.ts","line":34,"character":9}]},{"id":18456,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18457,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":18454,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18455,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":18476,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18477,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":18478,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":18488,"name":"DCMeterOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":18435,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18436,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":18465,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18466,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":18467,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":18437,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18438,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":18462,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18463,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":18464,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":18486,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18487,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":18468,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18469,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":18470,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":18452,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":18453,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":4791,"name":"ToneWithContextOptions"},"overwrites":{"type":"reference","id":51,"name":"Tone.getDefaults"},"inheritedFrom":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":51,"character":19}],"overwrites":{"type":"reference","id":51,"name":"Tone.getDefaults"},"inheritedFrom":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[18403]},{"title":"Properties","kind":1024,"children":[18450,18480,18408,18402,18409,18479]},{"title":"Accessors","kind":262144,"children":[18460,18418,18422,18426,18484,18413,18415,18458]},{"title":"Methods","kind":2048,"children":[18444,18430,18439,18411,18447,18474,18406,18456,18454,18476,18435,18465,18437,18462,18486,18468,18452]}],"sources":[{"fileName":"Tone/component/analysis/DCMeter.ts","line":19,"character":20}],"extendedTypes":[{"type":"reference","id":18107,"typeArguments":[{"type":"reference","id":18488,"name":"DCMeterOptions"}],"name":"MeterBase"}]},{"id":5295,"name":"Delay","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Wrapper around Web Audio's native [DelayNode](http://webaudio.github.io/web-audio-api/#the-delaynode-interface).","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst delay = new Tone.Delay(0.1).toDestination();\n\t// connect the signal to both the delay and the destination\n\tconst pulse = new Tone.PulseOscillator().connect(delay).toDestination();\n\t// start and stop the pulse\n\tpulse.start(0).stop(0.01);\n}, 0.5, 1);\n"}]},"children":[{"id":5302,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":5303,"name":"new Delay","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":5304,"name":"delayTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The delay applied to the incoming signal."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":5305,"name":"maxDelay","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The maximum delay time.\n"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":5295,"name":"Delay"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":5306,"name":"new Delay","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":5307,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":5291,"name":"DelayOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":5295,"name":"Delay"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/core/context/Delay.ts","line":49,"character":28},{"fileName":"Tone/core/context/Delay.ts","line":55,"character":48},{"fileName":"Tone/core/context/Delay.ts","line":56,"character":46}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":5351,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":5379,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":5298,"name":"delayTime","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The amount of time the incoming signal is delayed.","tags":[{"tag":"example","text":"\nconst delay = new Tone.Delay().toDestination();\n// modulate the delayTime between 0.1 and 1 seconds\nconst delayLFO = new Tone.LFO(0.5, 0.1, 1).start().connect(delay.delayTime);\nconst pulse = new Tone.PulseOscillator().connect(delay).start();\n// the change in delayTime causes the pitch to go up and down\n"}]},"sources":[{"fileName":"Tone/core/context/Delay.ts","line":42,"character":19}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"time"}],"name":"Param"}},{"id":5300,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/context/Delay.ts","line":48,"character":15}],"type":{"type":"reference","name":"DelayNode"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":5296,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/context/Delay.ts","line":26,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Delay\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":5301,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/context/Delay.ts","line":49,"character":16}],"type":{"type":"reference","name":"DelayNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":5378,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":5359,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":5360,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":5319,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":5320,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":5321,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":5322,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":5323,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":5324,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":5325,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":5326,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":5327,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":5328,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":5329,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":5330,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":5383,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":5384,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":5310,"name":"maxDelay","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The maximum delay time. This cannot be changed after\nthe value is passed into the constructor."},"getSignature":[{"id":5311,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The maximum delay time. This cannot be changed after\nthe value is passed into the constructor."},"type":{"type":"reference","id":21,"name":"Seconds"}}],"sources":[{"fileName":"Tone/core/context/Delay.ts","line":90,"character":13}]},{"id":5314,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":5315,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":5316,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":5317,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":5357,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":5358,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":5345,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5346,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":5347,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":5331,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5332,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":5333,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":5334,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":5335,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":5340,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5341,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":5342,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":5343,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":5344,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":5312,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5313,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Clean up."},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/core/context/Delay.ts","line":97,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":5348,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5349,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":5350,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":5373,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5374,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":5291,"name":"DelayOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":5355,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5356,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":5353,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5354,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":5375,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5376,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":5377,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":5291,"name":"DelayOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":5336,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5337,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":5364,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5365,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":5366,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":5338,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5339,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":5361,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5362,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":5363,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":5385,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5386,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":5367,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5368,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":5369,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":5308,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":5309,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":5291,"name":"DelayOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/core/context/Delay.ts","line":79,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[5302]},{"title":"Properties","kind":1024,"children":[5351,5379,5298,5300,5296,5301,5378]},{"title":"Accessors","kind":262144,"children":[5359,5319,5323,5327,5383,5310,5314,5316,5357]},{"title":"Methods","kind":2048,"children":[5345,5331,5340,5312,5348,5373,5355,5353,5375,5336,5364,5338,5361,5385,5367,5308]}],"sources":[{"fileName":"Tone/core/context/Delay.ts","line":24,"character":18}],"extendedTypes":[{"type":"reference","id":1004,"typeArguments":[{"type":"reference","id":5291,"name":"DelayOptions"}],"name":"ToneAudioNode"}]},{"id":2545,"name":"Destination","kind":128,"kindString":"Class","flags":{"isExported":true,"isConst":true},"comment":{"shortText":"A single master output which is connected to the\nAudioDestinationNode (aka your speakers).\nIt provides useful conveniences such as the ability\nto set the volume and mute the entire application.\nIt also gives you the ability to apply master effects to your application.\nThe Destination (output) belonging to the global Tone.js Context.\nSee [[Destination]]","tags":[{"tag":"example","text":"\nconst oscillator = new Tone.Oscillator().start();\n// the audio will go from the oscillator to the speakers\noscillator.connect(Tone.getDestination());\n// a convenience for connecting to the master output is also provided:\noscillator.toDestination();"},{"tag":"category","text":"Core\n"}]},"children":[{"id":2550,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":2551,"name":"new Destination","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":2552,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":2541,"name":"DestinationOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":2545,"name":"Destination"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/core/context/Destination.ts","line":44,"character":47},{"fileName":"Tone/core/context/Destination.ts","line":46,"character":51}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":2600,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":2628,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":2547,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/Destination.ts","line":33,"character":6}],"type":{"type":"reference","id":2449,"name":"Volume"},"defaultValue":"new Volume({ context: this.context })","overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":2546,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/context/Destination.ts","line":31,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Destination\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":2548,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/Destination.ts","line":34,"character":7}],"type":{"type":"reference","id":1143,"name":"Gain"},"defaultValue":"new Gain({ context: this.context })","overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":2549,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The volume of the master output in decibels. -Infinity is silent, and 0 is no change.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination();\nosc.start();\n// ramp the volume down to silent over 10 seconds\nTone.getDestination().volume.rampTo(-Infinity, 10);\n"}]},"sources":[{"fileName":"Tone/core/context/Destination.ts","line":44,"character":7}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"decibels"}],"name":"Param"},"defaultValue":"this.input.volume"},{"id":2627,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":2608,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":2609,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":2571,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":2572,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":2573,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":2574,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":2575,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":2576,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":2577,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":2578,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":2579,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":2580,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":2581,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":2582,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":2632,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":2633,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":2562,"name":"maxChannelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The maximum number of channels the system can output","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.maxChannelCount);\n"}]},"getSignature":[{"id":2563,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The maximum number of channels the system can output","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.maxChannelCount);\n"}]},"type":{"type":"intrinsic","name":"number"}}],"sources":[{"fileName":"Tone/core/context/Destination.ts","line":104,"character":20}]},{"id":2555,"name":"mute","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Mute the output.","tags":[{"tag":"example","text":"\nconst oscillator = new Tone.Oscillator().start().toDestination();\nsetTimeout(() => {\n\t// mute the output\n\tTone.Destination.mute = true;\n}, 1000);\n"}]},"getSignature":[{"id":2556,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Mute the output.","tags":[{"tag":"example","text":"\nconst oscillator = new Tone.Oscillator().start().toDestination();\nsetTimeout(() => {\n\t// mute the output\n\tTone.Destination.mute = true;\n}, 1000);\n"}]},"type":{"type":"intrinsic","name":"boolean"}}],"setSignature":[{"id":2557,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"Mute the output.","tags":[{"tag":"example","text":"\nconst oscillator = new Tone.Oscillator().start().toDestination();\nsetTimeout(() => {\n\t// mute the output\n\tTone.Destination.mute = true;\n}, 1000);\n"}]},"parameters":[{"id":2558,"name":"mute","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/context/Destination.ts","line":74,"character":9},{"fileName":"Tone/core/context/Destination.ts","line":77,"character":9}]},{"id":2566,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":2567,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":2568,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":2569,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":2606,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":2607,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":2559,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2560,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Add a master effects chain. NOTE: this will disconnect any nodes which were previously\nchained in the master effects chain.","tags":[{"tag":"example","text":"\n// route all audio through a filter and compressor\nconst lowpass = new Tone.Filter(800, \"lowpass\");\nconst compressor = new Tone.Compressor(-18);\nTone.Destination.chain(lowpass, compressor);\n"}]},"parameters":[{"id":2561,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"comment":{"text":"All arguments will be connected in a row and the Master will be routed through it."},"type":{"type":"reference","typeArguments":[{"type":"union","types":[{"type":"reference","name":"AudioNode"},{"type":"reference","id":1004,"name":"ToneAudioNode"}]}],"name":"Array"}}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/Destination.ts","line":91,"character":6}],"overwrites":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":2583,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2584,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":2585,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":2586,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":2587,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":2592,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2593,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":2594,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":2595,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":2596,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":2564,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2565,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Clean up"},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/core/context/Destination.ts","line":111,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":2597,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2598,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":2599,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":2622,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2623,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":2541,"name":"DestinationOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":2604,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2605,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":2602,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2603,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":2624,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2625,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":2626,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":2541,"name":"DestinationOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":2588,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2589,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":2613,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2614,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":2615,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":2590,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2591,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":2610,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2611,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":2612,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":2634,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2635,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":2616,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2617,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":2618,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":2553,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":2554,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":2541,"name":"DestinationOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/core/context/Destination.ts","line":58,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[2550]},{"title":"Properties","kind":1024,"children":[2600,2628,2547,2546,2548,2549,2627]},{"title":"Accessors","kind":262144,"children":[2608,2571,2575,2579,2632,2562,2555,2566,2568,2606]},{"title":"Methods","kind":2048,"children":[2559,2583,2592,2564,2597,2622,2604,2602,2624,2588,2613,2590,2610,2634,2616,2553]}],"sources":[{"fileName":"Tone/core/context/Destination.ts","line":29,"character":24},{"fileName":"Tone/core/context/Context.ts","line":17,"character":16},{"fileName":"Tone/core/context/BaseContext.ts","line":6,"character":16},{"fileName":"Tone/core/context/DummyContext.ts","line":6,"character":16},{"fileName":"Tone/index.ts","line":49,"character":24}],"type":{"type":"reference","id":2545,"name":"Destination"},"defaultValue":"getContext().destination","extendedTypes":[{"type":"reference","id":1004,"typeArguments":[{"type":"reference","id":2541,"name":"DestinationOptions"}],"name":"ToneAudioNode"}]},{"id":16075,"name":"Distortion","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A simple distortion effect using Tone.WaveShaper.\nAlgorithm from [this stackoverflow answer](http://stackoverflow.com/a/22313408).","tags":[{"tag":"example","text":"\nconst dist = new Tone.Distortion(0.8).toDestination();\nconst fm = new Tone.FMSynth().connect(dist);\nfm.triggerAttackRelease(\"A1\", \"8n\");"}]},"children":[{"id":16079,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":16080,"name":"new Distortion","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":16081,"name":"distortion","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The amount of distortion (nominal range of 0-1)\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}}],"type":{"type":"reference","id":16075,"name":"Distortion"},"overwrites":{"type":"reference","id":14472,"name":"Effect.__constructor"}},{"id":16082,"name":"new Distortion","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":16083,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":16070,"name":"DistortionOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":16075,"name":"Distortion"},"overwrites":{"type":"reference","id":14472,"name":"Effect.__constructor"}}],"sources":[{"fileName":"Tone/effect/Distortion.ts","line":32,"character":29},{"fileName":"Tone/effect/Distortion.ts","line":37,"character":34},{"fileName":"Tone/effect/Distortion.ts","line":38,"character":51}],"overwrites":{"type":"reference","id":14472,"name":"Effect.__constructor"}},{"id":16141,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":16169,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":16099,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The effect input node"},"sources":[{"fileName":"Tone/effect/Effect.ts","line":46,"character":6}],"type":{"type":"reference","id":1143,"name":"Gain"},"defaultValue":"new Gain({ context: this.context })","overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":14470,"name":"Effect.input"}},{"id":16076,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/effect/Distortion.ts","line":22,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Distortion\"","overwrites":{"type":"reference","id":14465,"name":"Effect.name"}},{"id":16100,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The effect output"},"sources":[{"fileName":"Tone/effect/Effect.ts","line":51,"character":7}],"type":{"type":"reference","id":14368,"name":"CrossFade"},"defaultValue":"this._dryWet","overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":14471,"name":"Effect.output"}},{"id":16096,"name":"wet","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The wet control is how much of the effected\nwill pass through to the output. 1 = 100% effected\nsignal, 0 = 100% dry signal."},"sources":[{"fileName":"Tone/effect/Effect.ts","line":31,"character":4}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"normalRange"}],"name":"Signal"},"defaultValue":"this._dryWet.fade","inheritedFrom":{"type":"reference","id":14467,"name":"Effect.wet"}},{"id":16168,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":16149,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":16150,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":16109,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":16110,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":16111,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":16112,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":16113,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":16114,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":16115,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":16116,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":16117,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":16118,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":16119,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":16120,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":16173,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":16174,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":16086,"name":"distortion","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The amount of distortion. Nominal range is between 0 and 1."},"getSignature":[{"id":16087,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The amount of distortion. Nominal range is between 0 and 1."},"type":{"type":"intrinsic","name":"number"}}],"setSignature":[{"id":16088,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The amount of distortion. Nominal range is between 0 and 1."},"parameters":[{"id":16089,"name":"amount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/effect/Distortion.ts","line":66,"character":15},{"fileName":"Tone/effect/Distortion.ts","line":69,"character":15}]},{"id":16104,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":16105,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":16106,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":16107,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":16090,"name":"oversample","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The oversampling of the effect. Can either be \"none\", \"2x\" or \"4x\"."},"getSignature":[{"id":16091,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The oversampling of the effect. Can either be \"none\", \"2x\" or \"4x\"."},"type":{"type":"reference","name":"OverSampleType"}}],"setSignature":[{"id":16092,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The oversampling of the effect. Can either be \"none\", \"2x\" or \"4x\"."},"parameters":[{"id":16093,"name":"oversampling","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"2x"},{"type":"stringLiteral","value":"4x"},{"type":"stringLiteral","value":"none"}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/effect/Distortion.ts","line":86,"character":15},{"fileName":"Tone/effect/Distortion.ts","line":89,"character":15}]},{"id":16147,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":16148,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":16135,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16136,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":16137,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":16121,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16122,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":16123,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":16124,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":16125,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":16130,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16131,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":16132,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":16133,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":16134,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":16094,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16095,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":14480,"name":"Effect.dispose"}}],"sources":[{"fileName":"Tone/effect/Distortion.ts","line":93,"character":8}],"overwrites":{"type":"reference","id":14480,"name":"Effect.dispose"}},{"id":16138,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16139,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":16140,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":16163,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16164,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":16070,"name":"DistortionOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":16145,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16146,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":16143,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16144,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":16165,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16166,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":16167,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":16070,"name":"DistortionOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":16126,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16127,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":16154,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16155,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":16156,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":16128,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16129,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":16151,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16152,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":16153,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":16175,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16176,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":16157,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16158,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":16159,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":16084,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":16085,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":16070,"name":"DistortionOptions"},"overwrites":{"type":"reference","id":14475,"name":"Effect.getDefaults"}}],"sources":[{"fileName":"Tone/effect/Distortion.ts","line":56,"character":19}],"overwrites":{"type":"reference","id":14475,"name":"Effect.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[16079]},{"title":"Properties","kind":1024,"children":[16141,16169,16099,16076,16100,16096,16168]},{"title":"Accessors","kind":262144,"children":[16149,16109,16113,16117,16173,16086,16104,16106,16090,16147]},{"title":"Methods","kind":2048,"children":[16135,16121,16130,16094,16138,16163,16145,16143,16165,16126,16154,16128,16151,16175,16157,16084]}],"sources":[{"fileName":"Tone/effect/Distortion.ts","line":20,"character":23}],"extendedTypes":[{"type":"reference","id":14463,"typeArguments":[{"type":"reference","id":16070,"name":"DistortionOptions"}],"name":"Effect"}]},{"id":2958,"name":"Draw","kind":128,"kindString":"Class","flags":{"isExported":true,"isConst":true},"comment":{"shortText":"Draw is useful for synchronizing visuals and audio events.\nCallbacks from Tone.Transport or any of the Tone.Event classes\nalways happen _before_ the scheduled time and are not synchronized\nto the animation frame so they are not good for triggering tightly\nsynchronized visuals and sound. Draw makes it easy to schedule\ncallbacks using the AudioContext time and uses requestAnimationFrame.\nDraw is used to synchronize the draw frame with the Transport's callbacks.\nSee [[Draw]]","tags":[{"tag":"example","text":"\nTone.Transport.schedule((time) => {\n\t// use the time argument to schedule a callback with Draw\n\tTone.Draw.schedule(() => {\n\t\t// do drawing or DOM manipulation here\n\t\tconsole.log(time);\n\t}, time);\n}, \"+0.5\");\nTone.Transport.start();"},{"tag":"category","text":"Core\n"}]},"children":[{"id":3011,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Pass in a constructor as the first argument"},"signatures":[{"id":3012,"name":"new Draw","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{"shortText":"Pass in a constructor as the first argument"},"parameters":[{"id":3013,"name":"context","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":3052,"name":"BaseContext"}}],"type":{"type":"reference","id":2958,"name":"Draw"},"inheritedFrom":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":3014,"name":"new Draw","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{"shortText":"Pass in a constructor as the first argument"},"parameters":[{"id":3015,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":2958,"name":"Draw"},"inheritedFrom":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":34,"character":39},{"fileName":"Tone/core/context/ToneWithContext.ts","line":39,"character":35},{"fileName":"Tone/core/context/ToneWithContext.ts","line":40,"character":56}],"inheritedFrom":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":2992,"name":"anticipation","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The amount of time before the scheduled time\nthat the callback can be invoked. Default is\nhalf the time of an animation frame (0.008 seconds)."},"sources":[{"fileName":"Tone/core/util/Draw.ts","line":42,"character":13}],"type":{"type":"reference","id":21,"name":"Seconds"},"defaultValue":"0.008"},{"id":3009,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":3044,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":2991,"name":"expiration","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The duration after which events are not invoked."},"sources":[{"fileName":"Tone/core/util/Draw.ts","line":35,"character":11}],"type":{"type":"reference","id":21,"name":"Seconds"},"defaultValue":"0.25"},{"id":2990,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/util/Draw.ts","line":30,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Draw\"","overwrites":{"type":"reference","name":"Tone.name"}},{"id":3043,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":3024,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":3025,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":3048,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":3049,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":3022,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":3023,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":3002,"name":"cancel","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":3003,"name":"cancel","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Cancel events scheduled after the given time"},"parameters":[{"id":3004,"name":"after","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"Time after which scheduled events will be removed from the scheduling timeline.\n"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/util/Draw.ts","line":86,"character":7}]},{"id":3007,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":3008,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":58,"name":"Tone.dispose"}}],"sources":[{"fileName":"Tone/core/util/Draw.ts","line":107,"character":8}],"overwrites":{"type":"reference","id":58,"name":"Tone.dispose"}},{"id":3038,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":3039,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":4791,"name":"ToneWithContextOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":3020,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":3021,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":3018,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":3019,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":2996,"name":"schedule","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2997,"name":"schedule","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Schedule a function at the given time to be invoked\non the nearest animation frame.","tags":[{"tag":"example","text":"\nTone.Transport.scheduleRepeat(time => {\n\tTone.Draw.schedule(() => console.log(time), time);\n}, 1);\nTone.Transport.start();\n"}]},"parameters":[{"id":2998,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"Callback is invoked at the given time."},"type":{"type":"reflection","declaration":{"id":2999,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3000,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/util/Draw.ts","line":70,"character":19}]}}},{"id":3001,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The time relative to the AudioContext time to invoke the callback."},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/util/Draw.ts","line":70,"character":9}]},{"id":3040,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":3041,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":3042,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":3029,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":3030,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":3031,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":3026,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":3027,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":3028,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":3050,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":3051,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":3032,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":3033,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":3034,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":3016,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":3017,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":4791,"name":"ToneWithContextOptions"},"overwrites":{"type":"reference","id":51,"name":"Tone.getDefaults"},"inheritedFrom":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":51,"character":19}],"overwrites":{"type":"reference","id":51,"name":"Tone.getDefaults"},"inheritedFrom":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[3011]},{"title":"Properties","kind":1024,"children":[2992,3009,3044,2991,2990,3043]},{"title":"Accessors","kind":262144,"children":[3024,3048,3022]},{"title":"Methods","kind":2048,"children":[3002,3007,3038,3020,3018,2996,3040,3029,3026,3050,3032,3016]}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":19,"character":9},{"fileName":"Tone/core/util/Draw.ts","line":28,"character":17},{"fileName":"Tone/core/context/BaseContext.ts","line":5,"character":9},{"fileName":"Tone/core/context/DummyContext.ts","line":5,"character":9},{"fileName":"Tone/index.ts","line":84,"character":17}],"type":{"type":"reference","name":"Draw"},"defaultValue":"getContext().draw","extendedTypes":[{"type":"reference","id":4793,"typeArguments":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}],"name":"ToneWithContext"}]},{"id":4189,"name":"DummyContext","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":4342,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":4305,"name":"isOffline","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/context/DummyContext.ts","line":200,"character":19}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","overwrites":{"type":"reference","id":3166,"name":"BaseContext.isOffline"}},{"id":4257,"name":"latencyHint","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/DummyContext.ts","line":136,"character":12}],"type":{"type":"intrinsic","name":"number"},"defaultValue":"0","overwrites":{"type":"reference","id":3120,"name":"BaseContext.latencyHint"}},{"id":4256,"name":"lookAhead","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/DummyContext.ts","line":134,"character":10}],"type":{"type":"intrinsic","name":"number"},"defaultValue":"0","overwrites":{"type":"reference","id":3119,"name":"BaseContext.lookAhead"}},{"id":4308,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/util/Emitter.ts","line":17,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Emitter\"","overwrites":{"type":"reference","name":"Tone.name"},"inheritedFrom":{"type":"reference","id":103,"name":"Emitter.name"}},{"id":4339,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":4283,"name":"currentTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":4284,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"reference","id":21,"name":"Seconds"},"overwrites":{"type":"reference","id":3146,"name":"BaseContext.currentTime"}}],"sources":[{"fileName":"Tone/core/context/DummyContext.ts","line":162,"character":16}],"overwrites":{"type":"reference","id":3146,"name":"BaseContext.currentTime"}},{"id":4297,"name":"destination","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":4298,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"reference","id":2545,"name":"Destination"},"overwrites":{"type":"reference","id":3158,"name":"BaseContext.destination"}}],"setSignature":[{"id":4299,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":4300,"name":"_d","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":2545,"name":"Destination"}}],"type":{"type":"intrinsic","name":"void"},"overwrites":{"type":"reference","id":3158,"name":"BaseContext.destination"}}],"sources":[{"fileName":"Tone/core/context/DummyContext.ts","line":187,"character":16},{"fileName":"Tone/core/context/DummyContext.ts","line":190,"character":16}],"overwrites":{"type":"reference","id":3158,"name":"BaseContext.destination"}},{"id":4346,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":4347,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":4293,"name":"draw","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":4294,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"reference","name":"Draw"},"overwrites":{"type":"reference","id":3156,"name":"BaseContext.draw"}}],"setSignature":[{"id":4295,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":4296,"name":"_d","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Draw"}}],"type":{"type":"intrinsic","name":"void"},"overwrites":{"type":"reference","id":3156,"name":"BaseContext.draw"}}],"sources":[{"fileName":"Tone/core/context/DummyContext.ts","line":182,"character":9},{"fileName":"Tone/core/context/DummyContext.ts","line":185,"character":9}],"overwrites":{"type":"reference","id":3156,"name":"BaseContext.draw"}},{"id":4289,"name":"listener","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":4290,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"reference","id":2647,"name":"Listener"},"overwrites":{"type":"reference","id":3152,"name":"BaseContext.listener"}}],"sources":[{"fileName":"Tone/core/context/DummyContext.ts","line":174,"character":13}],"overwrites":{"type":"reference","id":3152,"name":"BaseContext.listener"}},{"id":4250,"name":"rawContext","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":4251,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"reference","id":4181,"name":"AnyAudioContext"},"overwrites":{"type":"reference","id":3113,"name":"BaseContext.rawContext"}}],"sources":[{"fileName":"Tone/core/context/DummyContext.ts","line":126,"character":15}],"overwrites":{"type":"reference","id":3113,"name":"BaseContext.rawContext"}},{"id":4287,"name":"sampleRate","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":4288,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"overwrites":{"type":"reference","id":3150,"name":"BaseContext.sampleRate"}}],"sources":[{"fileName":"Tone/core/context/DummyContext.ts","line":170,"character":15}],"overwrites":{"type":"reference","id":3150,"name":"BaseContext.sampleRate"}},{"id":4285,"name":"state","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":4286,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"reference","name":"AudioContextState"},"overwrites":{"type":"reference","id":3148,"name":"BaseContext.state"}}],"sources":[{"fileName":"Tone/core/context/DummyContext.ts","line":166,"character":10}],"overwrites":{"type":"reference","id":3148,"name":"BaseContext.state"}},{"id":4291,"name":"transport","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":4292,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"reference","name":"Transport"},"overwrites":{"type":"reference","id":3154,"name":"BaseContext.transport"}}],"sources":[{"fileName":"Tone/core/context/DummyContext.ts","line":178,"character":14}],"overwrites":{"type":"reference","id":3154,"name":"BaseContext.transport"}},{"id":4252,"name":"addAudioWorkletModule","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4253,"name":"addAudioWorkletModule","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4254,"name":"_url","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"string"}},{"id":4255,"name":"_name","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise"},"overwrites":{"type":"reference","id":3115,"name":"BaseContext.addAudioWorkletModule"}}],"sources":[{"fileName":"Tone/core/context/DummyContext.ts","line":130,"character":28}],"overwrites":{"type":"reference","id":3115,"name":"BaseContext.addAudioWorkletModule"}},{"id":4277,"name":"clearInterval","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4278,"name":"clearInterval","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4279,"name":"_id","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":3140,"name":"BaseContext.clearInterval"}}],"sources":[{"fileName":"Tone/core/context/DummyContext.ts","line":154,"character":14}],"overwrites":{"type":"reference","id":3140,"name":"BaseContext.clearInterval"}},{"id":4267,"name":"clearTimeout","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4268,"name":"clearTimeout","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4269,"name":"_id","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":3130,"name":"BaseContext.clearTimeout"}}],"sources":[{"fileName":"Tone/core/context/DummyContext.ts","line":146,"character":13}],"overwrites":{"type":"reference","id":3130,"name":"BaseContext.clearTimeout"}},{"id":4190,"name":"createAnalyser","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4191,"name":"createAnalyser","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","name":"AnalyserNode"},"overwrites":{"type":"reference","id":3053,"name":"BaseContext.createAnalyser"}}],"sources":[{"fileName":"Tone/core/context/DummyContext.ts","line":14,"character":15}],"overwrites":{"type":"reference","id":3053,"name":"BaseContext.createAnalyser"}},{"id":4246,"name":"createAudioWorkletNode","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4247,"name":"createAudioWorkletNode","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4248,"name":"_name","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"string"}},{"id":4249,"name":"_options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","name":"AudioWorkletNodeOptions"}],"name":"Partial"}}],"type":{"type":"reference","name":"AudioWorkletNode"},"overwrites":{"type":"reference","id":3109,"name":"BaseContext.createAudioWorkletNode"}}],"sources":[{"fileName":"Tone/core/context/DummyContext.ts","line":119,"character":23}],"overwrites":{"type":"reference","id":3109,"name":"BaseContext.createAudioWorkletNode"}},{"id":4196,"name":"createBiquadFilter","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4197,"name":"createBiquadFilter","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","name":"BiquadFilterNode"},"overwrites":{"type":"reference","id":3059,"name":"BaseContext.createBiquadFilter"}}],"sources":[{"fileName":"Tone/core/context/DummyContext.ts","line":26,"character":19}],"overwrites":{"type":"reference","id":3059,"name":"BaseContext.createBiquadFilter"}},{"id":4198,"name":"createBuffer","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4199,"name":"createBuffer","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4200,"name":"_numberOfChannels","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}},{"id":4201,"name":"_length","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}},{"id":4202,"name":"_sampleRate","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","name":"AudioBuffer"},"overwrites":{"type":"reference","id":3061,"name":"BaseContext.createBuffer"}}],"sources":[{"fileName":"Tone/core/context/DummyContext.ts","line":30,"character":13}],"overwrites":{"type":"reference","id":3061,"name":"BaseContext.createBuffer"}},{"id":4194,"name":"createBufferSource","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4195,"name":"createBufferSource","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","name":"AudioBufferSourceNode"},"overwrites":{"type":"reference","id":3057,"name":"BaseContext.createBufferSource"}}],"sources":[{"fileName":"Tone/core/context/DummyContext.ts","line":22,"character":19}],"overwrites":{"type":"reference","id":3057,"name":"BaseContext.createBufferSource"}},{"id":4203,"name":"createChannelMerger","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4204,"name":"createChannelMerger","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4205,"name":"_numberOfInputs","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"number"},{"type":"intrinsic","name":"undefined"}]}}],"type":{"type":"reference","name":"ChannelMergerNode"},"overwrites":{"type":"reference","id":3066,"name":"BaseContext.createChannelMerger"}}],"sources":[{"fileName":"Tone/core/context/DummyContext.ts","line":38,"character":20}],"overwrites":{"type":"reference","id":3066,"name":"BaseContext.createChannelMerger"}},{"id":4206,"name":"createChannelSplitter","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4207,"name":"createChannelSplitter","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4208,"name":"_numberOfOutputs","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"number"},{"type":"intrinsic","name":"undefined"}]}}],"type":{"type":"reference","name":"ChannelSplitterNode"},"overwrites":{"type":"reference","id":3069,"name":"BaseContext.createChannelSplitter"}}],"sources":[{"fileName":"Tone/core/context/DummyContext.ts","line":44,"character":22}],"overwrites":{"type":"reference","id":3069,"name":"BaseContext.createChannelSplitter"}},{"id":4209,"name":"createConstantSource","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4210,"name":"createConstantSource","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","name":"ConstantSourceNode"},"overwrites":{"type":"reference","id":3072,"name":"BaseContext.createConstantSource"}}],"sources":[{"fileName":"Tone/core/context/DummyContext.ts","line":50,"character":21}],"overwrites":{"type":"reference","id":3072,"name":"BaseContext.createConstantSource"}},{"id":4211,"name":"createConvolver","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4212,"name":"createConvolver","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","name":"ConvolverNode"},"overwrites":{"type":"reference","id":3074,"name":"BaseContext.createConvolver"}}],"sources":[{"fileName":"Tone/core/context/DummyContext.ts","line":54,"character":16}],"overwrites":{"type":"reference","id":3074,"name":"BaseContext.createConvolver"}},{"id":4213,"name":"createDelay","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4214,"name":"createDelay","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4215,"name":"_maxDelayTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"number"},{"type":"intrinsic","name":"undefined"}]}}],"type":{"type":"reference","name":"DelayNode"},"overwrites":{"type":"reference","id":3076,"name":"BaseContext.createDelay"}}],"sources":[{"fileName":"Tone/core/context/DummyContext.ts","line":58,"character":12}],"overwrites":{"type":"reference","id":3076,"name":"BaseContext.createDelay"}},{"id":4216,"name":"createDynamicsCompressor","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4217,"name":"createDynamicsCompressor","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","name":"DynamicsCompressorNode"},"overwrites":{"type":"reference","id":3079,"name":"BaseContext.createDynamicsCompressor"}}],"sources":[{"fileName":"Tone/core/context/DummyContext.ts","line":62,"character":25}],"overwrites":{"type":"reference","id":3079,"name":"BaseContext.createDynamicsCompressor"}},{"id":4218,"name":"createGain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4219,"name":"createGain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","name":"GainNode"},"overwrites":{"type":"reference","id":3081,"name":"BaseContext.createGain"}}],"sources":[{"fileName":"Tone/core/context/DummyContext.ts","line":66,"character":11}],"overwrites":{"type":"reference","id":3081,"name":"BaseContext.createGain"}},{"id":4220,"name":"createIIRFilter","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4221,"name":"createIIRFilter","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4222,"name":"_feedForward","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"array","elementType":{"type":"intrinsic","name":"number"}},{"type":"reference","name":"Float32Array"}]}},{"id":4223,"name":"_feedback","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"array","elementType":{"type":"intrinsic","name":"number"}},{"type":"reference","name":"Float32Array"}]}}],"type":{"type":"reference","name":"IIRFilterNode"},"overwrites":{"type":"reference","id":3083,"name":"BaseContext.createIIRFilter"}}],"sources":[{"fileName":"Tone/core/context/DummyContext.ts","line":70,"character":16}],"overwrites":{"type":"reference","id":3083,"name":"BaseContext.createIIRFilter"}},{"id":4238,"name":"createMediaElementSource","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4239,"name":"createMediaElementSource","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4240,"name":"_element","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"HTMLMediaElement"}}],"type":{"type":"reference","name":"MediaElementAudioSourceNode"},"overwrites":{"type":"reference","id":3101,"name":"BaseContext.createMediaElementSource"}}],"sources":[{"fileName":"Tone/core/context/DummyContext.ts","line":101,"character":25}],"overwrites":{"type":"reference","id":3101,"name":"BaseContext.createMediaElementSource"}},{"id":4241,"name":"createMediaStreamDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4242,"name":"createMediaStreamDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","name":"MediaStreamAudioDestinationNode"},"overwrites":{"type":"reference","id":3104,"name":"BaseContext.createMediaStreamDestination"}}],"sources":[{"fileName":"Tone/core/context/DummyContext.ts","line":107,"character":29}],"overwrites":{"type":"reference","id":3104,"name":"BaseContext.createMediaStreamDestination"}},{"id":4235,"name":"createMediaStreamSource","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4236,"name":"createMediaStreamSource","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4237,"name":"_stream","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"MediaStream"}}],"type":{"type":"reference","name":"MediaStreamAudioSourceNode"},"overwrites":{"type":"reference","id":3098,"name":"BaseContext.createMediaStreamSource"}}],"sources":[{"fileName":"Tone/core/context/DummyContext.ts","line":97,"character":24}],"overwrites":{"type":"reference","id":3098,"name":"BaseContext.createMediaStreamSource"}},{"id":4192,"name":"createOscillator","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4193,"name":"createOscillator","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","name":"OscillatorNode"},"overwrites":{"type":"reference","id":3055,"name":"BaseContext.createOscillator"}}],"sources":[{"fileName":"Tone/core/context/DummyContext.ts","line":18,"character":17}],"overwrites":{"type":"reference","id":3055,"name":"BaseContext.createOscillator"}},{"id":4224,"name":"createPanner","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4225,"name":"createPanner","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","name":"PannerNode"},"overwrites":{"type":"reference","id":3087,"name":"BaseContext.createPanner"}}],"sources":[{"fileName":"Tone/core/context/DummyContext.ts","line":77,"character":13}],"overwrites":{"type":"reference","id":3087,"name":"BaseContext.createPanner"}},{"id":4226,"name":"createPeriodicWave","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4227,"name":"createPeriodicWave","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4228,"name":"_real","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"array","elementType":{"type":"intrinsic","name":"number"}},{"type":"reference","name":"Float32Array"}]}},{"id":4229,"name":"_imag","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"array","elementType":{"type":"intrinsic","name":"number"}},{"type":"reference","name":"Float32Array"}]}},{"id":4230,"name":"_constraints","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","name":"PeriodicWaveConstraints"},{"type":"intrinsic","name":"undefined"}]}}],"type":{"type":"reference","name":"PeriodicWave"},"overwrites":{"type":"reference","id":3089,"name":"BaseContext.createPeriodicWave"}}],"sources":[{"fileName":"Tone/core/context/DummyContext.ts","line":81,"character":19}],"overwrites":{"type":"reference","id":3089,"name":"BaseContext.createPeriodicWave"}},{"id":4231,"name":"createStereoPanner","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4232,"name":"createStereoPanner","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","name":"StereoPannerNode"},"overwrites":{"type":"reference","id":3094,"name":"BaseContext.createStereoPanner"}}],"sources":[{"fileName":"Tone/core/context/DummyContext.ts","line":89,"character":19}],"overwrites":{"type":"reference","id":3094,"name":"BaseContext.createStereoPanner"}},{"id":4233,"name":"createWaveShaper","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4234,"name":"createWaveShaper","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","name":"WaveShaperNode"},"overwrites":{"type":"reference","id":3096,"name":"BaseContext.createWaveShaper"}}],"sources":[{"fileName":"Tone/core/context/DummyContext.ts","line":93,"character":17}],"overwrites":{"type":"reference","id":3096,"name":"BaseContext.createWaveShaper"}},{"id":4243,"name":"decodeAudioData","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4244,"name":"decodeAudioData","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4245,"name":"_audioData","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"ArrayBuffer"}}],"type":{"type":"reference","typeArguments":[{"type":"reference","name":"AudioBuffer"}],"name":"Promise"},"overwrites":{"type":"reference","id":3106,"name":"BaseContext.decodeAudioData"}}],"sources":[{"fileName":"Tone/core/context/DummyContext.ts","line":111,"character":16}],"overwrites":{"type":"reference","id":3106,"name":"BaseContext.decodeAudioData"}},{"id":4337,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4338,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Clean up"},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":58,"name":"Tone.dispose"},"inheritedFrom":{"type":"reference","id":133,"name":"Emitter.dispose"}}],"sources":[{"fileName":"Tone/core/util/Emitter.ts","line":120,"character":8}],"overwrites":{"type":"reference","id":58,"name":"Tone.dispose"},"inheritedFrom":{"type":"reference","id":133,"name":"Emitter.dispose"}},{"id":4330,"name":"emit","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4331,"name":"emit","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Invoke all of the callbacks bound to the event\nwith any arguments passed in."},"parameters":[{"id":4332,"name":"event","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The name of the event."},"type":{"type":"intrinsic","name":"any"}},{"id":4333,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"comment":{"text":"The arguments to pass to the functions listening.\n"},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":126,"name":"Emitter.emit"}}],"sources":[{"fileName":"Tone/core/util/Emitter.ts","line":94,"character":5}],"inheritedFrom":{"type":"reference","id":126,"name":"Emitter.emit"}},{"id":4280,"name":"getConstant","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4281,"name":"getConstant","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4282,"name":"_val","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","name":"AudioBufferSourceNode"},"overwrites":{"type":"reference","id":3143,"name":"BaseContext.getConstant"}}],"sources":[{"fileName":"Tone/core/context/DummyContext.ts","line":158,"character":12}],"overwrites":{"type":"reference","id":3143,"name":"BaseContext.getConstant"}},{"id":4303,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4304,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"overwrites":{"type":"reference","id":3162,"name":"BaseContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/DummyContext.ts","line":196,"character":10}],"overwrites":{"type":"reference","id":3162,"name":"BaseContext.immediate"}},{"id":4301,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4302,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"overwrites":{"type":"reference","id":3160,"name":"BaseContext.now"}}],"sources":[{"fileName":"Tone/core/context/DummyContext.ts","line":192,"character":4}],"overwrites":{"type":"reference","id":3160,"name":"BaseContext.now"}},{"id":4323,"name":"off","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4324,"name":"off","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Remove the event listener."},"parameters":[{"id":4325,"name":"event","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The event to stop listening to."},"type":{"type":"union","types":[{"type":"stringLiteral","value":"statechange"},{"type":"stringLiteral","value":"tick"}]}},{"id":4326,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The callback which was bound to the event with Emitter.on.\n                  If no callback is given, all callbacks events are removed.\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"reflection","declaration":{"id":4327,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":4328,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4329,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"void"}}]}}]}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":119,"name":"Emitter.off"}}],"sources":[{"fileName":"Tone/core/util/Emitter.ts","line":66,"character":4}],"inheritedFrom":{"type":"reference","id":119,"name":"Emitter.off"}},{"id":4309,"name":"on","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4310,"name":"on","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Bind a callback to a specific event."},"parameters":[{"id":4311,"name":"event","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The name of the event to listen for."},"type":{"type":"union","types":[{"type":"stringLiteral","value":"statechange"},{"type":"stringLiteral","value":"tick"}]}},{"id":4312,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The callback to invoke when the event is emitted\n"},"type":{"type":"reflection","declaration":{"id":4313,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":4314,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4315,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/util/Emitter.ts","line":29,"character":31}]}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":105,"name":"Emitter.on"}}],"sources":[{"fileName":"Tone/core/util/Emitter.ts","line":29,"character":3}],"inheritedFrom":{"type":"reference","id":105,"name":"Emitter.on"}},{"id":4316,"name":"once","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4317,"name":"once","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Bind a callback which is only invoked once"},"parameters":[{"id":4318,"name":"event","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The name of the event to listen for."},"type":{"type":"union","types":[{"type":"stringLiteral","value":"statechange"},{"type":"stringLiteral","value":"tick"}]}},{"id":4319,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The callback to invoke when the event is emitted\n"},"type":{"type":"reflection","declaration":{"id":4320,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":4321,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4322,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/util/Emitter.ts","line":49,"character":33}]}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":112,"name":"Emitter.once"}}],"sources":[{"fileName":"Tone/core/util/Emitter.ts","line":49,"character":5}],"inheritedFrom":{"type":"reference","id":112,"name":"Emitter.once"}},{"id":4258,"name":"resume","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4259,"name":"resume","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise"},"overwrites":{"type":"reference","id":3121,"name":"BaseContext.resume"}}],"sources":[{"fileName":"Tone/core/context/DummyContext.ts","line":138,"character":7}],"overwrites":{"type":"reference","id":3121,"name":"BaseContext.resume"}},{"id":4270,"name":"setInterval","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4271,"name":"setInterval","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4272,"name":"_fn","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reflection","declaration":{"id":4273,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":4274,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4275,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/context/DummyContext.ts","line":150,"character":17}]}}},{"id":4276,"name":"_interval","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":21,"name":"Seconds"}}],"type":{"type":"intrinsic","name":"number"},"overwrites":{"type":"reference","id":3133,"name":"BaseContext.setInterval"}}],"sources":[{"fileName":"Tone/core/context/DummyContext.ts","line":150,"character":12}],"overwrites":{"type":"reference","id":3133,"name":"BaseContext.setInterval"}},{"id":4260,"name":"setTimeout","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4261,"name":"setTimeout","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4262,"name":"_fn","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reflection","declaration":{"id":4263,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":4264,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4265,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/context/DummyContext.ts","line":142,"character":16}]}}},{"id":4266,"name":"_timeout","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":21,"name":"Seconds"}}],"type":{"type":"intrinsic","name":"number"},"overwrites":{"type":"reference","id":3123,"name":"BaseContext.setTimeout"}}],"sources":[{"fileName":"Tone/core/context/DummyContext.ts","line":142,"character":11}],"overwrites":{"type":"reference","id":3123,"name":"BaseContext.setTimeout"}},{"id":4306,"name":"toJSON","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4307,"name":"toJSON","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","typeArguments":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"any"}],"name":"Record"},"inheritedFrom":{"type":"reference","id":2918,"name":"BaseContext.toJSON"}}],"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":157,"character":7}],"inheritedFrom":{"type":"reference","id":2918,"name":"BaseContext.toJSON"}},{"id":4348,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4349,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":4340,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":4341,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Returns all of the default options belonging to the class."},"type":{"type":"reference","id":47,"name":"BaseToneOptions"},"inheritedFrom":{"type":"reference","id":51,"name":"Tone.getDefaults"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":38,"character":19}],"inheritedFrom":{"type":"reference","id":51,"name":"Tone.getDefaults"}},{"id":4334,"name":"mixin","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":4335,"name":"mixin","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Add Emitter functions (on/off/emit) to the object"},"parameters":[{"id":4336,"name":"constr","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":130,"name":"Emitter.mixin"}}],"sources":[{"fileName":"Tone/core/util/Emitter.ts","line":109,"character":13}],"inheritedFrom":{"type":"reference","id":130,"name":"Emitter.mixin"}}],"groups":[{"title":"Properties","kind":1024,"children":[4342,4305,4257,4256,4308,4339]},{"title":"Accessors","kind":262144,"children":[4283,4297,4346,4293,4289,4250,4287,4285,4291]},{"title":"Methods","kind":2048,"children":[4252,4277,4267,4190,4246,4196,4198,4194,4203,4206,4209,4211,4213,4216,4218,4220,4238,4241,4235,4192,4224,4226,4231,4233,4243,4337,4330,4280,4303,4301,4323,4309,4316,4258,4270,4260,4306,4348,4340,4334]}],"sources":[{"fileName":"Tone/core/context/DummyContext.ts","line":10,"character":25}],"extendedTypes":[{"type":"reference","id":3052,"name":"BaseContext"}],"implementedTypes":[{"type":"reflection","declaration":{"id":4350,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":31,"character":11}]}}]},{"id":12037,"name":"DuoSynth","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"DuoSynth is a monophonic synth composed of two [[MonoSynths]] run in parallel with control over the\nfrequency ratio between the two voices and vibrato effect.","tags":[{"tag":"example","text":"\nconst duoSynth = new Tone.DuoSynth().toDestination();\nduoSynth.triggerAttackRelease(\"C4\", \"2n\");"}]},"children":[{"id":12048,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":12049,"name":"new DuoSynth","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":12050,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":12026,"name":"DuoSynthOptions"}],"name":"RecursivePartial"}}],"type":{"type":"reference","id":12037,"name":"DuoSynth"},"overwrites":{"type":"reference","id":10834,"name":"Monophonic.__constructor"}}],"sources":[{"fileName":"Tone/instrument/DuoSynth.ts","line":74,"character":43},{"fileName":"Tone/instrument/DuoSynth.ts","line":76,"character":58}],"overwrites":{"type":"reference","id":10834,"name":"Monophonic.__constructor"}},{"id":12135,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":12163,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":12040,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/instrument/DuoSynth.ts","line":33,"character":16}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"cents"}],"name":"Signal"},"overwrites":{"type":"reference","id":10833,"name":"Monophonic.detune"}},{"id":12039,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/instrument/DuoSynth.ts","line":32,"character":19}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"frequency"}],"name":"Signal"},"overwrites":{"type":"reference","id":10832,"name":"Monophonic.frequency"}},{"id":12045,"name":"harmonicity","kind":1024,"kindString":"Property","flags":{"isPublic":true,"isExported":true},"comment":{"shortText":"Harmonicity is the ratio between the two voices. A harmonicity of\n1 is no change. Harmonicity = 2 means a change of an octave.","tags":[{"tag":"example","text":"\nconst duoSynth = new Tone.DuoSynth().toDestination();\nduoSynth.triggerAttackRelease(\"C4\", \"2n\");\n// pitch voice1 an octave below voice0\nduoSynth.harmonicity.value = 0.5;\n"}]},"sources":[{"fileName":"Tone/instrument/DuoSynth.ts","line":64,"character":19}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"positive"}],"name":"Signal"}},{"id":12080,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The instrument only has an output"},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":26,"character":6}],"type":{"type":"intrinsic","name":"undefined"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":10711,"name":"Instrument.input"}},{"id":12038,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/instrument/DuoSynth.ts","line":30,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"DuoSynth\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":12066,"name":"onsilence","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Invoked when the release has finished and the output is silent."},"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":31,"character":10}],"type":{"type":"reference","id":10956,"name":"onSilenceCallback"},"inheritedFrom":{"type":"reference","id":10831,"name":"Monophonic.onsilence"}},{"id":12079,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":21,"character":7}],"type":{"type":"reference","id":1102,"name":"OutputNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":10710,"name":"Instrument.output"}},{"id":12065,"name":"portamento","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The glide time between notes."},"decorators":[{"name":"timeRange","type":{"type":"reference","id":8896,"name":"timeRange"},"arguments":{"min":"0"}}],"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":26,"character":11}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":10830,"name":"Monophonic.portamento"}},{"id":12043,"name":"vibratoAmount","kind":1024,"kindString":"Property","flags":{"isPublic":true,"isExported":true},"comment":{"shortText":"The amount of vibrato"},"sources":[{"fileName":"Tone/instrument/DuoSynth.ts","line":48,"character":21}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"normalRange"}],"name":"Param"}},{"id":12044,"name":"vibratoRate","kind":1024,"kindString":"Property","flags":{"isPublic":true,"isExported":true},"comment":{"shortText":"the vibrato frequency"},"sources":[{"fileName":"Tone/instrument/DuoSynth.ts","line":53,"character":19}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"frequency"}],"name":"Signal"}},{"id":12041,"name":"voice0","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"the first voice"},"sources":[{"fileName":"Tone/instrument/DuoSynth.ts","line":38,"character":16}],"type":{"type":"reference","id":11895,"name":"MonoSynth"}},{"id":12042,"name":"voice1","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"the second voice"},"sources":[{"fileName":"Tone/instrument/DuoSynth.ts","line":43,"character":16}],"type":{"type":"reference","id":11895,"name":"MonoSynth"}},{"id":12081,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The volume of the output in decibels.","tags":[{"tag":"example","text":"\nconst amSynth = new Tone.AMSynth().toDestination();\namSynth.volume.value = -6;\namSynth.triggerAttackRelease(\"G#3\", 0.2);\n"}]},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":35,"character":7}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"decibels"}],"name":"Param"},"inheritedFrom":{"type":"reference","id":10712,"name":"Instrument.volume"}},{"id":12162,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":12143,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":12144,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":12103,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":12104,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":12105,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":12106,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":12107,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":12108,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":12109,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":12110,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":12111,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":12112,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":12113,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":12114,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":12167,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":12168,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":12098,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":12099,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":12100,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":12101,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":12141,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":12142,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":12129,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12130,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":12131,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":12115,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12116,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":12117,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":12118,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":12119,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":12124,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12125,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":12126,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":12127,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":12128,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":12063,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12064,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":10746,"name":"Instrument.dispose"}}],"sources":[{"fileName":"Tone/instrument/DuoSynth.ts","line":203,"character":8}],"overwrites":{"type":"reference","id":10746,"name":"Instrument.dispose"}},{"id":12132,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12133,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":12134,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":12157,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12158,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":12026,"name":"DuoSynthOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":12051,"name":"getLevelAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12052,"name":"getLevelAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":12053,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":23,"name":"NormalRange"},"overwrites":{"type":"reference","id":10854,"name":"Monophonic.getLevelAtTime"}}],"sources":[{"fileName":"Tone/instrument/DuoSynth.ts","line":137,"character":15}],"overwrites":{"type":"reference","id":10854,"name":"Monophonic.getLevelAtTime"}},{"id":12139,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12140,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":12137,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12138,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":12159,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12160,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":12161,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":12026,"name":"DuoSynthOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":12075,"name":"setNote","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12076,"name":"setNote","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set the note at the given time. If no time is given, the note\nwill set immediately.","tags":[{"tag":"example","text":"\nconst synth = new Tone.Synth().toDestination();\nsynth.triggerAttack(\"C4\");\n// change to F#6 in one quarter note from now.\nsynth.setNote(\"F#6\", \"+4n\");\n"}]},"parameters":[{"id":12077,"name":"note","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The note to change to."},"type":{"type":"union","types":[{"type":"reference","id":32,"name":"Frequency"},{"type":"reference","id":4656,"name":"FrequencyClass"}]}},{"id":12078,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The time when the note should be set."},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":10857,"name":"Monophonic.setNote"}}],"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":124,"character":8}],"inheritedFrom":{"type":"reference","id":10857,"name":"Monophonic.setNote"}},{"id":12082,"name":"sync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12083,"name":"sync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Sync the instrument to the Transport. All subsequent calls of\n[[triggerAttack]] and [[triggerRelease]] will be scheduled along the transport.","tags":[{"tag":"example","text":"\nconst fmSynth = new Tone.FMSynth().toDestination();\nfmSynth.volume.value = -6;\nfmSynth.sync();\n// schedule 3 notes when the transport first starts\nfmSynth.triggerAttackRelease(\"C4\", \"8n\", 0);\nfmSynth.triggerAttackRelease(\"E4\", \"8n\", \"8n\");\nfmSynth.triggerAttackRelease(\"G4\", \"8n\", \"4n\");\n// start the transport to hear the notes\nTone.Transport.start();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":10720,"name":"Instrument.sync"}}],"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":82,"character":5}],"inheritedFrom":{"type":"reference","id":10720,"name":"Instrument.sync"}},{"id":12120,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12121,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":12148,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12149,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":12150,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":12122,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12123,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":12145,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12146,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":12147,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":12169,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12170,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":12151,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12152,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":12153,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":12067,"name":"triggerAttack","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12068,"name":"triggerAttack","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Trigger the attack of the note optionally with a given velocity.","tags":[{"tag":"example","text":"\nconst synth = new Tone.Synth().toDestination();\n// trigger the note a half second from now at half velocity\nsynth.triggerAttack(\"C4\", \"+0.5\", 0.5);\n"}]},"parameters":[{"id":12069,"name":"note","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The note to trigger."},"type":{"type":"union","types":[{"type":"reference","id":32,"name":"Frequency"},{"type":"reference","id":4656,"name":"FrequencyClass"}]}},{"id":12070,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the note should start."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":12071,"name":"velocity","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The velocity scaler determines how \"loud\" the note will be triggered."},"type":{"type":"reference","id":23,"name":"NormalRange"},"defaultValue":"1"}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":10736,"name":"Instrument.triggerAttack"},"inheritedFrom":{"type":"reference","id":10839,"name":"Monophonic.triggerAttack"}}],"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":71,"character":14}],"overwrites":{"type":"reference","id":10736,"name":"Instrument.triggerAttack"},"inheritedFrom":{"type":"reference","id":10839,"name":"Monophonic.triggerAttack"}},{"id":12092,"name":"triggerAttackRelease","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12093,"name":"triggerAttackRelease","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Trigger the attack and then the release after the duration.","tags":[{"tag":"example","text":"\nconst synth = new Tone.Synth().toDestination();\n// trigger \"C4\" for the duration of an 8th note\nsynth.triggerAttackRelease(\"C4\", \"8n\");\n"}]},"parameters":[{"id":12094,"name":"note","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The note to trigger."},"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":12095,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"How long the note should be held for before\n                        triggering the release. This value must be greater than 0."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":12096,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the note should be triggered."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":12097,"name":"velocity","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The velocity the note should be triggered at."},"type":{"type":"reference","id":23,"name":"NormalRange"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":10730,"name":"Instrument.triggerAttackRelease"}}],"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":145,"character":21}],"inheritedFrom":{"type":"reference","id":10730,"name":"Instrument.triggerAttackRelease"}},{"id":12072,"name":"triggerRelease","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12073,"name":"triggerRelease","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Trigger the release portion of the envelope","tags":[{"tag":"example","text":"\nconst synth = new Tone.Synth().toDestination();\nsynth.triggerAttack(\"C4\");\n// trigger the release a second from now\nsynth.triggerRelease(\"+1\");\n"}]},"parameters":[{"id":12074,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"If no time is given, the release happens immediatly"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":10742,"name":"Instrument.triggerRelease"},"inheritedFrom":{"type":"reference","id":10844,"name":"Monophonic.triggerRelease"}}],"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":88,"character":15}],"overwrites":{"type":"reference","id":10742,"name":"Instrument.triggerRelease"},"inheritedFrom":{"type":"reference","id":10844,"name":"Monophonic.triggerRelease"}},{"id":12090,"name":"unsync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12091,"name":"unsync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Unsync the instrument from the Transport"},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":10728,"name":"Instrument.unsync"}}],"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":122,"character":7}],"inheritedFrom":{"type":"reference","id":10728,"name":"Instrument.unsync"}},{"id":12054,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":12055,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":12026,"name":"DuoSynthOptions"},"overwrites":{"type":"reference","id":10837,"name":"Monophonic.getDefaults"}}],"sources":[{"fileName":"Tone/instrument/DuoSynth.ts","line":142,"character":19}],"overwrites":{"type":"reference","id":10837,"name":"Monophonic.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[12048]},{"title":"Properties","kind":1024,"children":[12135,12163,12040,12039,12045,12080,12038,12066,12079,12065,12043,12044,12041,12042,12081,12162]},{"title":"Accessors","kind":262144,"children":[12143,12103,12107,12111,12167,12098,12100,12141]},{"title":"Methods","kind":2048,"children":[12129,12115,12124,12063,12132,12157,12051,12139,12137,12159,12075,12082,12120,12148,12122,12145,12169,12151,12067,12092,12072,12090,12054]}],"sources":[{"fileName":"Tone/instrument/DuoSynth.ts","line":28,"character":21}],"extendedTypes":[{"type":"reference","id":10828,"typeArguments":[{"type":"reference","id":12026,"name":"DuoSynthOptions"}],"name":"Monophonic"}]},{"id":19845,"name":"EQ3","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"EQ3 provides 3 equalizer bins: Low/Mid/High."},"children":[{"id":19860,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":19861,"name":"new EQ3","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":19862,"name":"lowLevel","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":22,"name":"Decibels"}},{"id":19863,"name":"midLevel","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":22,"name":"Decibels"}},{"id":19864,"name":"highLevel","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":22,"name":"Decibels"}}],"type":{"type":"reference","id":19845,"name":"EQ3"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":19865,"name":"new EQ3","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":19866,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":19838,"name":"EQ3Options"}],"name":"Partial"}}],"type":{"type":"reference","id":19845,"name":"EQ3"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/component/filter/EQ3.ts","line":86,"character":51},{"fileName":"Tone/component/filter/EQ3.ts","line":88,"character":77},{"fileName":"Tone/component/filter/EQ3.ts","line":89,"character":43}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":19856,"name":"Q","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The Q value for all of the filters."},"sources":[{"fileName":"Tone/component/filter/EQ3.ts","line":74,"character":11}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"positive"}],"name":"Signal"}},{"id":19907,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":19935,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":19855,"name":"high","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The gain in decibels of the high part"},"sources":[{"fileName":"Tone/component/filter/EQ3.ts","line":69,"character":14}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"decibels"}],"name":"Param"}},{"id":19858,"name":"highFrequency","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The mid/high crossover frequency."},"sources":[{"fileName":"Tone/component/filter/EQ3.ts","line":84,"character":23}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"frequency"}],"name":"Signal"}},{"id":19847,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"the input"},"sources":[{"fileName":"Tone/component/filter/EQ3.ts","line":29,"character":15}],"type":{"type":"reference","id":19003,"name":"MultibandSplit"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":19853,"name":"low","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The gain in decibels of the low part"},"sources":[{"fileName":"Tone/component/filter/EQ3.ts","line":59,"character":13}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"decibels"}],"name":"Param"}},{"id":19857,"name":"lowFrequency","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The low/mid crossover frequency."},"sources":[{"fileName":"Tone/component/filter/EQ3.ts","line":79,"character":22}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"frequency"}],"name":"Signal"}},{"id":19854,"name":"mid","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The gain in decibels of the mid part"},"sources":[{"fileName":"Tone/component/filter/EQ3.ts","line":64,"character":13}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"decibels"}],"name":"Param"}},{"id":19846,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/filter/EQ3.ts","line":24,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"EQ3\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":19848,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"the output"},"sources":[{"fileName":"Tone/component/filter/EQ3.ts","line":34,"character":16}],"type":{"type":"reference","id":1143,"typeArguments":[{"type":"stringLiteral","value":"gain"}],"name":"Gain"},"defaultValue":"new Gain({ context: this.context })","overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":19934,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":19915,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":19916,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":19875,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":19876,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":19877,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":19878,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":19879,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":19880,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":19881,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":19882,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":19883,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":19884,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":19885,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":19886,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":19939,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":19940,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":19871,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":19872,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":19873,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":19874,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":19913,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":19914,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":19901,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19902,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":19903,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":19887,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19888,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":19889,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":19890,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":19891,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":19896,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19897,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":19898,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":19899,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":19900,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":19869,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19870,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Clean up."},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/component/filter/EQ3.ts","line":147,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":19904,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19905,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":19906,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":19929,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19930,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":19838,"name":"EQ3Options"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":19911,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19912,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":19909,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19910,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":19931,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19932,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":19933,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":19838,"name":"EQ3Options"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":19892,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19893,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":19920,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19921,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":19922,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":19894,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19895,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":19917,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19918,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":19919,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":19941,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19942,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":19923,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19924,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":19925,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":19867,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":19868,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":19838,"name":"EQ3Options"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/component/filter/EQ3.ts","line":134,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[19860]},{"title":"Properties","kind":1024,"children":[19856,19907,19935,19855,19858,19847,19853,19857,19854,19846,19848,19934]},{"title":"Accessors","kind":262144,"children":[19915,19875,19879,19883,19939,19871,19873,19913]},{"title":"Methods","kind":2048,"children":[19901,19887,19896,19869,19904,19929,19911,19909,19931,19892,19920,19894,19917,19941,19923,19867]}],"sources":[{"fileName":"Tone/component/filter/EQ3.ts","line":22,"character":16}],"extendedTypes":[{"type":"reference","id":1004,"typeArguments":[{"type":"reference","id":19838,"name":"EQ3Options"}],"name":"ToneAudioNode"}]},{"id":14463,"name":"Effect","kind":128,"kindString":"Class","flags":{"isExported":true,"isAbstract":true},"comment":{"shortText":"Effect is the base class for effects. Connect the effect between\nthe effectSend and effectReturn GainNodes, then control the amount of\neffect which goes to the output using the wet control."},"typeParameter":[{"id":14464,"name":"Options","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"reference","id":14460,"name":"EffectOptions"}}],"children":[{"id":14472,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":14473,"name":"new Effect","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":14474,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":14460,"name":"EffectOptions"}}],"type":{"type":"reference","id":14463,"name":"Effect"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/effect/Effect.ts","line":51,"character":23}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":14519,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":14547,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":14470,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The effect input node"},"sources":[{"fileName":"Tone/effect/Effect.ts","line":46,"character":6}],"type":{"type":"reference","id":1143,"name":"Gain"},"defaultValue":"new Gain({ context: this.context })","overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":14465,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/effect/Effect.ts","line":19,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Effect\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":14471,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The effect output"},"sources":[{"fileName":"Tone/effect/Effect.ts","line":51,"character":7}],"type":{"type":"reference","id":14368,"name":"CrossFade"},"defaultValue":"this._dryWet","overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":14467,"name":"wet","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The wet control is how much of the effected\nwill pass through to the output. 1 = 100% effected\nsignal, 0 = 100% dry signal."},"sources":[{"fileName":"Tone/effect/Effect.ts","line":31,"character":4}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"normalRange"}],"name":"Signal"},"defaultValue":"this._dryWet.fade"},{"id":14546,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":14527,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":14528,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":14487,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":14488,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":14489,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":14490,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":14491,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":14492,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":14493,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":14494,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":14495,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":14496,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":14497,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":14498,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":14551,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":14552,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":14482,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":14483,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":14484,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":14485,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":14525,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":14526,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":14513,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14514,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":14515,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":14499,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14500,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":14501,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":14502,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":14503,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":14508,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14509,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":14510,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":14511,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":14512,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":14480,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14481,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/effect/Effect.ts","line":80,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":14516,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14517,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":14518,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":14541,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14542,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":14460,"name":"EffectOptions"}},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":14523,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14524,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":14521,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14522,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":14543,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14544,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":14545,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":14460,"name":"EffectOptions"}}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":14504,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14505,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":14532,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14533,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":14534,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":14506,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14507,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":14529,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14530,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":14531,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":14553,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14554,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":14535,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14536,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":14537,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":14475,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":14476,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":14460,"name":"EffectOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/effect/Effect.ts","line":64,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[14472]},{"title":"Properties","kind":1024,"children":[14519,14547,14470,14465,14471,14467,14546]},{"title":"Accessors","kind":262144,"children":[14527,14487,14491,14495,14551,14482,14484,14525]},{"title":"Methods","kind":2048,"children":[14513,14499,14508,14480,14516,14541,14523,14521,14543,14504,14532,14506,14529,14553,14535,14475]}],"sources":[{"fileName":"Tone/effect/Effect.ts","line":16,"character":28}],"extendedTypes":[{"type":"reference","id":1004,"typeArguments":[{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":14460,"name":"EffectOptions"}}],"name":"ToneAudioNode"}],"extendedBy":[{"type":"reference","id":14561,"name":"LFOEffect"},{"type":"reference","id":15114,"name":"AutoWah"},{"type":"reference","id":15241,"name":"BitCrusher"},{"type":"reference","id":15440,"name":"Chebyshev"},{"type":"reference","id":16075,"name":"Distortion"},{"type":"reference","id":16181,"name":"FeedbackEffect"},{"type":"reference","id":16471,"name":"FrequencyShifter"},{"type":"reference","id":17251,"name":"Reverb"},{"type":"reference","id":17541,"name":"MidSideEffect"},{"type":"reference","id":17891,"name":"Vibrato"}]},{"id":101,"name":"Emitter","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Emitter gives classes which extend it\nthe ability to listen for and emit events.\nInspiration and reference from Jerome Etienne's [MicroEvent](https://github.com/jeromeetienne/microevent.js).\nMIT (c) 2011 Jerome Etienne."},"typeParameter":[{"id":102,"name":"EventType","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"string"}}],"children":[{"id":138,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":103,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/util/Emitter.ts","line":17,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Emitter\"","overwrites":{"type":"reference","name":"Tone.name"}},{"id":135,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":142,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":143,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":133,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":134,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Clean up"},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":58,"name":"Tone.dispose"}}],"sources":[{"fileName":"Tone/core/util/Emitter.ts","line":120,"character":8}],"overwrites":{"type":"reference","id":58,"name":"Tone.dispose"}},{"id":126,"name":"emit","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":127,"name":"emit","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Invoke all of the callbacks bound to the event\nwith any arguments passed in."},"parameters":[{"id":128,"name":"event","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The name of the event."},"type":{"type":"intrinsic","name":"any"}},{"id":129,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"comment":{"text":"The arguments to pass to the functions listening.\n"},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/util/Emitter.ts","line":94,"character":5}]},{"id":119,"name":"off","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":120,"name":"off","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Remove the event listener."},"parameters":[{"id":121,"name":"event","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The event to stop listening to."},"type":{"type":"typeParameter","name":"EventType","constraint":{"type":"intrinsic","name":"string"}}},{"id":122,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The callback which was bound to the event with Emitter.on.\n                  If no callback is given, all callbacks events are removed.\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"reflection","declaration":{"id":123,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":124,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":125,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"void"}}]}}]}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/util/Emitter.ts","line":66,"character":4}]},{"id":105,"name":"on","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":106,"name":"on","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Bind a callback to a specific event."},"parameters":[{"id":107,"name":"event","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The name of the event to listen for."},"type":{"type":"typeParameter","name":"EventType","constraint":{"type":"intrinsic","name":"string"}}},{"id":108,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The callback to invoke when the event is emitted\n"},"type":{"type":"reflection","declaration":{"id":109,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":110,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":111,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/util/Emitter.ts","line":29,"character":31}]}}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/util/Emitter.ts","line":29,"character":3}]},{"id":112,"name":"once","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":113,"name":"once","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Bind a callback which is only invoked once"},"parameters":[{"id":114,"name":"event","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The name of the event to listen for."},"type":{"type":"typeParameter","name":"EventType","constraint":{"type":"intrinsic","name":"string"}}},{"id":115,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The callback to invoke when the event is emitted\n"},"type":{"type":"reflection","declaration":{"id":116,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":117,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":118,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/util/Emitter.ts","line":49,"character":33}]}}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/util/Emitter.ts","line":49,"character":5}]},{"id":144,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":145,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":136,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":137,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Returns all of the default options belonging to the class."},"type":{"type":"reference","id":47,"name":"BaseToneOptions"},"inheritedFrom":{"type":"reference","id":51,"name":"Tone.getDefaults"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":38,"character":19}],"inheritedFrom":{"type":"reference","id":51,"name":"Tone.getDefaults"}},{"id":130,"name":"mixin","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":131,"name":"mixin","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Add Emitter functions (on/off/emit) to the object"},"parameters":[{"id":132,"name":"constr","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/util/Emitter.ts","line":109,"character":13}]}],"groups":[{"title":"Properties","kind":1024,"children":[138,103,135]},{"title":"Accessors","kind":262144,"children":[142]},{"title":"Methods","kind":2048,"children":[133,126,119,105,112,144,136,130]}],"sources":[{"fileName":"Tone/core/util/Emitter.ts","line":15,"character":20}],"extendedTypes":[{"type":"reference","id":48,"name":"Tone"}],"extendedBy":[{"type":"reference","id":3052,"name":"BaseContext"}],"implementedBy":[{"type":"reference","id":5156,"name":"Clock"},{"type":"reference","id":2190,"name":"Transport"}]},{"id":10546,"name":"Envelope","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Envelope is an [ADSR](https://en.wikipedia.org/wiki/Synthesizer#ADSR_envelope)\nenvelope generator. Envelope outputs a signal which\ncan be connected to an AudioParam or Tone.Signal.\n```\n          /\\\n         /  \\\n        /    \\\n       /      \\\n      /        \\___________\n     /                     \\\n    /                       \\\n   /                         \\\n  /                           \\\n```","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst env = new Tone.Envelope({\n\t\tattack: 0.1,\n\t\tdecay: 0.2,\n\t\tsustain: 0.5,\n\t\trelease: 0.8,\n\t}).toDestination();\n\tenv.triggerAttackRelease(0.5);\n}, 1.5, 1);"}]},"children":[{"id":10558,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":10559,"name":"new Envelope","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":10560,"name":"attack","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The amount of time it takes for the envelope to go from\n                       0 to it's maximum value."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":10561,"name":"decay","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The period of time after the attack that it takes for the envelope\n                     \tto fall to the sustain value. Value must be greater than 0."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":10562,"name":"sustain","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The percent of the maximum value that the envelope rests at until\n                              \tthe release is triggered."},"type":{"type":"reference","id":23,"name":"NormalRange"}},{"id":10563,"name":"release","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The amount of time after the release is triggered it takes to reach 0.\n                       \tValue must be greater than 0.\n"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":10546,"name":"Envelope"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":10564,"name":"new Envelope","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":10565,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":10537,"name":"EnvelopeOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":10546,"name":"Envelope"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":167,"character":42},{"fileName":"Tone/component/envelope/Envelope.ts","line":179,"character":81},{"fileName":"Tone/component/envelope/Envelope.ts","line":180,"character":48}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":10548,"name":"attack","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"When triggerAttack is called, the attack time is the amount of\ntime it takes for the envelope to reach it's maximum value.\n```\n          /\\\n         /X \\\n        /XX  \\\n       /XXX   \\\n      /XXXX    \\___________\n     /XXXXX                \\\n    /XXXXXX                 \\\n   /XXXXXXX                  \\\n  /XXXXXXXX                   \\\n```","tags":[{"tag":"min","text":"0"},{"tag":"max","text":"2\n"}]},"decorators":[{"name":"timeRange","type":{"type":"reference","id":8896,"name":"timeRange"},"arguments":{"min":"0"}}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":74,"character":7}],"type":{"type":"reference","id":31,"name":"Time"}},{"id":10651,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":10679,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":10549,"name":"decay","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"After the attack portion of the envelope, the value will fall\nover the duration of the decay time to it's sustain value.\n```\n          /\\\n         / X\\\n        /  XX\\\n       /   XXX\\\n      /    XXXX\\___________\n     /     XXXXX           \\\n    /      XXXXX            \\\n   /       XXXXX             \\\n  /        XXXXX              \\\n```","tags":[{"tag":"min","text":"0"},{"tag":"max","text":"2\n"}]},"decorators":[{"name":"timeRange","type":{"type":"reference","id":8896,"name":"timeRange"},"arguments":{"min":"0"}}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":94,"character":6}],"type":{"type":"reference","id":31,"name":"Time"}},{"id":10557,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Envelope has no input"},"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":167,"character":6}],"type":{"type":"union","types":[{"type":"reference","id":1101,"name":"InputNode"},{"type":"intrinsic","name":"undefined"}]},"defaultValue":"undefined","overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":10547,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":54,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Envelope\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":10556,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The output signal of the envelope"},"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":162,"character":7}],"type":{"type":"reference","id":1102,"name":"OutputNode"},"defaultValue":"this._sig","overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":10551,"name":"release","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"After triggerRelease is called, the envelope's\nvalue will fall to it's miminum value over the\nduration of the release time.\n```\n          /\\\n         /  \\\n        /    \\\n       /      \\\n      /        \\___________\n     /                    X\\\n    /                     XX\\\n   /                      XXX\\\n  /                       XXXX\\\n```","tags":[{"tag":"min","text":"0"},{"tag":"max","text":"5\n"}]},"decorators":[{"name":"timeRange","type":{"type":"reference","id":8896,"name":"timeRange"},"arguments":{"min":"0"}}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":134,"character":8}],"type":{"type":"reference","id":31,"name":"Time"}},{"id":10550,"name":"sustain","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The sustain value is the value\nwhich the envelope rests at after triggerAttack is\ncalled, but before triggerRelease is invoked.\n```\n          /\\\n         /  \\\n        /    \\\n       /      \\\n      /        \\___________\n     /          XXXXXXXXXXX\\\n    /           XXXXXXXXXXX \\\n   /            XXXXXXXXXXX  \\\n  /             XXXXXXXXXXX   \\\n```"},"decorators":[{"name":"range","type":{"type":"reference","id":8892,"name":"range"},"arguments":{"min":"0","max":"1"}}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":113,"character":8}],"type":{"type":"reference","id":23,"name":"NormalRange"}},{"id":10678,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":10579,"name":"attackCurve","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The shape of the attack.\nCan be any of these strings:\n* \"linear\"\n* \"exponential\"\n* \"sine\"\n* \"cosine\"\n* \"bounce\"\n* \"ripple\"\n* \"step\"","text":"Can also be an array which describes the curve. Values\nin the array are evenly subdivided and linearly\ninterpolated over the duration of the attack.","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst env = new Tone.Envelope(0.4).toDestination();\n\tenv.attackCurve = \"linear\";\n\tenv.triggerAttack();\n}, 1, 1);\n"}]},"getSignature":[{"id":10580,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The shape of the attack.\nCan be any of these strings:\n* \"linear\"\n* \"exponential\"\n* \"sine\"\n* \"cosine\"\n* \"bounce\"\n* \"ripple\"\n* \"step\"","text":"Can also be an array which describes the curve. Values\nin the array are evenly subdivided and linearly\ninterpolated over the duration of the attack.","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst env = new Tone.Envelope(0.4).toDestination();\n\tenv.attackCurve = \"linear\";\n\tenv.triggerAttack();\n}, 1, 1);\n"}]},"type":{"type":"reference","id":10700,"name":"EnvelopeCurve"}}],"setSignature":[{"id":10581,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The shape of the attack.\nCan be any of these strings:\n* \"linear\"\n* \"exponential\"\n* \"sine\"\n* \"cosine\"\n* \"bounce\"\n* \"ripple\"\n* \"step\"","text":"Can also be an array which describes the curve. Values\nin the array are evenly subdivided and linearly\ninterpolated over the duration of the attack.","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst env = new Tone.Envelope(0.4).toDestination();\n\tenv.attackCurve = \"linear\";\n\tenv.triggerAttack();\n}, 1, 1);\n"}]},"parameters":[{"id":10582,"name":"curve","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"array","elementType":{"type":"intrinsic","name":"number"}},{"type":"stringLiteral","value":"linear"},{"type":"stringLiteral","value":"exponential"},{"type":"stringLiteral","value":"sine"},{"type":"stringLiteral","value":"bounce"},{"type":"stringLiteral","value":"cosine"},{"type":"stringLiteral","value":"ripple"},{"type":"stringLiteral","value":"step"}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":286,"character":16},{"fileName":"Tone/component/envelope/Envelope.ts","line":289,"character":16}]},{"id":10659,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":10660,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":10624,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":10625,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":10626,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":10627,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":10628,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":10629,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":10630,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":10631,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":10632,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":10633,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":10634,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":10635,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":10587,"name":"decayCurve","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The shape of the decay either \"linear\" or \"exponential\"","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst env = new Tone.Envelope({\n\t\tsustain: 0.1,\n\t\tdecay: 0.5\n\t}).toDestination();\n\tenv.decayCurve = \"linear\";\n\tenv.triggerAttack();\n}, 1, 1);\n"}]},"getSignature":[{"id":10588,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The shape of the decay either \"linear\" or \"exponential\"","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst env = new Tone.Envelope({\n\t\tsustain: 0.1,\n\t\tdecay: 0.5\n\t}).toDestination();\n\tenv.decayCurve = \"linear\";\n\tenv.triggerAttack();\n}, 1, 1);\n"}]},"type":{"type":"reference","id":10698,"name":"BasicEnvelopeCurve"}}],"setSignature":[{"id":10589,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The shape of the decay either \"linear\" or \"exponential\"","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst env = new Tone.Envelope({\n\t\tsustain: 0.1,\n\t\tdecay: 0.5\n\t}).toDestination();\n\tenv.decayCurve = \"linear\";\n\tenv.triggerAttack();\n}, 1, 1);\n"}]},"parameters":[{"id":10590,"name":"curve","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"linear"},{"type":"stringLiteral","value":"exponential"}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":325,"character":15},{"fileName":"Tone/component/envelope/Envelope.ts","line":328,"character":15}]},{"id":10683,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":10684,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":10619,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":10620,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":10621,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":10622,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":10583,"name":"releaseCurve","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The shape of the release. See the attack curve types.","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst env = new Tone.Envelope({\n\t\trelease: 0.8\n\t}).toDestination();\n\tenv.triggerAttack();\n\t// release curve could also be defined by an array\n\tenv.releaseCurve = [1, 0.3, 0.4, 0.2, 0.7, 0];\n\tenv.triggerRelease(0.2);\n}, 1, 1);\n"}]},"getSignature":[{"id":10584,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The shape of the release. See the attack curve types.","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst env = new Tone.Envelope({\n\t\trelease: 0.8\n\t}).toDestination();\n\tenv.triggerAttack();\n\t// release curve could also be defined by an array\n\tenv.releaseCurve = [1, 0.3, 0.4, 0.2, 0.7, 0];\n\tenv.triggerRelease(0.2);\n}, 1, 1);\n"}]},"type":{"type":"reference","id":10700,"name":"EnvelopeCurve"}}],"setSignature":[{"id":10585,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The shape of the release. See the attack curve types.","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst env = new Tone.Envelope({\n\t\trelease: 0.8\n\t}).toDestination();\n\tenv.triggerAttack();\n\t// release curve could also be defined by an array\n\tenv.releaseCurve = [1, 0.3, 0.4, 0.2, 0.7, 0];\n\tenv.triggerRelease(0.2);\n}, 1, 1);\n"}]},"parameters":[{"id":10586,"name":"curve","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"array","elementType":{"type":"intrinsic","name":"number"}},{"type":"stringLiteral","value":"linear"},{"type":"stringLiteral","value":"exponential"},{"type":"stringLiteral","value":"sine"},{"type":"stringLiteral","value":"bounce"},{"type":"stringLiteral","value":"cosine"},{"type":"stringLiteral","value":"ripple"},{"type":"stringLiteral","value":"step"}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":306,"character":17},{"fileName":"Tone/component/envelope/Envelope.ts","line":309,"character":17}]},{"id":10657,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":10658,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":10568,"name":"value","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Read the current value of the envelope. Useful for\nsynchronizing visual output to the envelope."},"getSignature":[{"id":10569,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Read the current value of the envelope. Useful for\nsynchronizing visual output to the envelope."},"type":{"type":"reference","id":23,"name":"NormalRange"}}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":211,"character":10}]},{"id":10614,"name":"asArray","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10615,"name":"asArray","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Render the envelope curve to an array of the given length.\nGood for visualizing the envelope curve. Rescales the duration of the\nenvelope to fit the length."},"parameters":[{"id":10616,"name":"length","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"1024"}],"type":{"type":"reference","typeArguments":[{"type":"reference","name":"Float32Array"}],"name":"Promise"}}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":482,"character":14}]},{"id":10606,"name":"cancel","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10607,"name":"cancel","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Cancels all scheduled envelope changes after the given time."},"parameters":[{"id":10608,"name":"after","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":464,"character":7}]},{"id":10645,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10646,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":10647,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":10609,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10610,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the envelope to a destination node."},"parameters":[{"id":10611,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":10612,"name":"outputNumber","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":10613,"name":"inputNumber","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":472,"character":8}],"overwrites":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":10640,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10641,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":10642,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":10643,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":10644,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":10617,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10618,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":503,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":10648,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10649,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":10650,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":10673,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10674,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":10537,"name":"EnvelopeOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":10598,"name":"getValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10599,"name":"getValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the scheduled value at the given time. This will\nreturn the unconverted (raw) value.","tags":[{"tag":"example","text":"\nconst env = new Tone.Envelope(0.5, 1, 0.4, 2);\nenv.triggerAttackRelease(2);\nsetInterval(() => console.log(env.getValueAtTime(Tone.now())), 100);\n"}]},"parameters":[{"id":10600,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":23,"name":"NormalRange"}}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":438,"character":15}]},{"id":10655,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10656,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":10653,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10654,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":10675,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10676,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":10677,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":10537,"name":"EnvelopeOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":10636,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10637,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":10664,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10665,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":10666,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":10638,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10639,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":10661,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10662,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":10663,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":10685,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10686,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":10667,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10668,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":10669,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":10591,"name":"triggerAttack","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10592,"name":"triggerAttack","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Trigger the attack/decay portion of the ADSR envelope.","tags":[{"tag":"example","text":"\nconst env = new Tone.AmplitudeEnvelope().toDestination();\nconst osc = new Tone.Oscillator().connect(env).start();\n// trigger the attack 0.5 seconds from now with a velocity of 0.2\nenv.triggerAttack(\"+0.5\", 0.2);\n"}]},"parameters":[{"id":10593,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the attack should start."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":10594,"name":"velocity","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The velocity of the envelope scales the vales.\n                            number between 0-1"},"type":{"type":"reference","id":23,"name":"NormalRange"},"defaultValue":"1"}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":344,"character":14}]},{"id":10601,"name":"triggerAttackRelease","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10602,"name":"triggerAttackRelease","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"triggerAttackRelease is shorthand for triggerAttack, then waiting\nsome duration, then triggerRelease.","tags":[{"tag":"example","text":"\nconst env = new Tone.AmplitudeEnvelope().toDestination();\nconst osc = new Tone.Oscillator().connect(env).start();\n// trigger the release 0.5 seconds after the attack\nenv.triggerAttackRelease(0.5);\n"}]},"parameters":[{"id":10603,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The duration of the sustain."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":10604,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the attack should be triggered."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":10605,"name":"velocity","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The velocity of the envelope."},"type":{"type":"reference","id":23,"name":"NormalRange"},"defaultValue":"1"}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":454,"character":21}]},{"id":10595,"name":"triggerRelease","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10596,"name":"triggerRelease","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Triggers the release of the envelope.","tags":[{"tag":"example","text":"\nconst env = new Tone.AmplitudeEnvelope().toDestination();\nconst osc = new Tone.Oscillator({\n\ttype: \"sawtooth\"\n}).connect(env).start();\nenv.triggerAttack();\n// trigger the release half a second after the attack\nenv.triggerRelease(\"+0.5\");\n"}]},"parameters":[{"id":10597,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the release portion of the envelope should start."},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":409,"character":15}]},{"id":10566,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":10567,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":10537,"name":"EnvelopeOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":195,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[10558]},{"title":"Properties","kind":1024,"children":[10548,10651,10679,10549,10557,10547,10556,10551,10550,10678]},{"title":"Accessors","kind":262144,"children":[10579,10659,10624,10628,10632,10587,10683,10619,10621,10583,10657,10568]},{"title":"Methods","kind":2048,"children":[10614,10606,10645,10609,10640,10617,10648,10673,10598,10655,10653,10675,10636,10664,10638,10661,10685,10667,10591,10601,10595,10566]}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":52,"character":21}],"extendedTypes":[{"type":"reference","id":1004,"typeArguments":[{"type":"reference","id":10537,"name":"EnvelopeOptions"}],"name":"ToneAudioNode"}],"extendedBy":[{"type":"reference","id":10960,"name":"AmplitudeEnvelope"},{"type":"reference","id":11740,"name":"FrequencyEnvelope"}]},{"id":18300,"name":"FFT","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Get the current frequency data of the connected audio source using a fast Fourier transform."},"children":[{"id":18303,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":18304,"name":"new FFT","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":18305,"name":"size","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The size of the FFT. Value must be a power of two in the range 16 to 16384.\n"},"type":{"type":"reference","id":44,"name":"PowerOfTwo"}}],"type":{"type":"reference","id":18300,"name":"FFT"},"overwrites":{"type":"reference","id":18113,"name":"MeterBase.__constructor"}},{"id":18306,"name":"new FFT","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":18307,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":18295,"name":"FFTOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":18300,"name":"FFT"},"overwrites":{"type":"reference","id":18113,"name":"MeterBase.__constructor"}}],"sources":[{"fileName":"Tone/component/analysis/FFT.ts","line":27,"character":22},{"fileName":"Tone/component/analysis/FFT.ts","line":32,"character":32},{"fileName":"Tone/component/analysis/FFT.ts","line":33,"character":44}],"overwrites":{"type":"reference","id":18113,"name":"MeterBase.__constructor"}},{"id":18365,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":18393,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":18323,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The signal to be analysed"},"sources":[{"fileName":"Tone/component/analysis/MeterBase.ts","line":17,"character":6}],"type":{"type":"reference","id":1101,"name":"InputNode"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":18110,"name":"MeterBase.input"}},{"id":18301,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/analysis/FFT.ts","line":20,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"FFT\"","overwrites":{"type":"reference","id":18109,"name":"MeterBase.name"}},{"id":18302,"name":"normalRange","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"If the output should be in decibels or normal range between 0-1. If `normalRange` is false,\nthe output range will be the measured decibel value, otherwise the decibel value will be converted to\nthe range of 0-1"},"sources":[{"fileName":"Tone/component/analysis/FFT.ts","line":27,"character":12}],"type":{"type":"intrinsic","name":"boolean"}},{"id":18324,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The output is just a pass through of the input"},"sources":[{"fileName":"Tone/component/analysis/MeterBase.ts","line":22,"character":7}],"type":{"type":"reference","id":1102,"name":"OutputNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":18111,"name":"MeterBase.output"}},{"id":18392,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":18373,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":18374,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":18333,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":18334,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":18335,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":18336,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":18337,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":18338,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":18339,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":18340,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":18341,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":18342,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":18343,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":18344,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":18397,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":18398,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":18328,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":18329,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":18330,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":18331,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":18371,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":18372,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":18312,"name":"size","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The size of analysis. This must be a power of two in the range 16 to 16384.\nDetermines the size of the array returned by [[getValue]] (i.e. the number of\nfrequency bins). Large FFT sizes may be costly to compute."},"getSignature":[{"id":18313,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The size of analysis. This must be a power of two in the range 16 to 16384.\nDetermines the size of the array returned by [[getValue]] (i.e. the number of\nfrequency bins). Large FFT sizes may be costly to compute."},"type":{"type":"reference","id":44,"name":"PowerOfTwo"}}],"setSignature":[{"id":18314,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The size of analysis. This must be a power of two in the range 16 to 16384.\nDetermines the size of the array returned by [[getValue]] (i.e. the number of\nfrequency bins). Large FFT sizes may be costly to compute."},"parameters":[{"id":18315,"name":"size","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/component/analysis/FFT.ts","line":65,"character":9},{"fileName":"Tone/component/analysis/FFT.ts","line":68,"character":9}]},{"id":18316,"name":"smoothing","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"0 represents no time averaging with the last analysis frame."},"getSignature":[{"id":18317,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"0 represents no time averaging with the last analysis frame."},"type":{"type":"reference","id":23,"name":"NormalRange"}}],"setSignature":[{"id":18318,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"0 represents no time averaging with the last analysis frame."},"parameters":[{"id":18319,"name":"val","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/component/analysis/FFT.ts","line":75,"character":14},{"fileName":"Tone/component/analysis/FFT.ts","line":78,"character":14}]},{"id":18359,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18360,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":18361,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":18345,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18346,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":18347,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":18348,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":18349,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":18354,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18355,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":18356,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":18357,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":18358,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":18326,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18327,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"},"inheritedFrom":{"type":"reference","id":18116,"name":"MeterBase.dispose"}}],"sources":[{"fileName":"Tone/component/analysis/MeterBase.ts","line":40,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"},"inheritedFrom":{"type":"reference","id":18116,"name":"MeterBase.dispose"}},{"id":18362,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18363,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":18364,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":18387,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18388,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":18295,"name":"FFTOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":18320,"name":"getFrequencyOfIndex","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18321,"name":"getFrequencyOfIndex","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Returns the frequency value in hertz of each of the indices of the FFT's [[getValue]] response.","tags":[{"tag":"example","text":"\nconst fft = new Tone.FFT(32);\nconsole.log([0, 1, 2, 3, 4].map(index => fft.getFrequencyOfIndex(index)));\n"}]},"parameters":[{"id":18322,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","id":41,"name":"Hertz"}}],"sources":[{"fileName":"Tone/component/analysis/FFT.ts","line":88,"character":20}]},{"id":18310,"name":"getValue","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18311,"name":"getValue","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Gets the current frequency data from the connected audio source.\nReturns the frequency data of length [[size]] as a Float32Array of decibel values."},"type":{"type":"reference","name":"Float32Array"}}],"sources":[{"fileName":"Tone/component/analysis/FFT.ts","line":55,"character":9}]},{"id":18369,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18370,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":18367,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18368,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":18389,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18390,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":18391,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":18295,"name":"FFTOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":18350,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18351,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":18378,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18379,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":18380,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":18352,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18353,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":18375,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18376,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":18377,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":18399,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18400,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":18381,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18382,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":18383,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":18308,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":18309,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":18295,"name":"FFTOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/component/analysis/FFT.ts","line":43,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[18303]},{"title":"Properties","kind":1024,"children":[18365,18393,18323,18301,18302,18324,18392]},{"title":"Accessors","kind":262144,"children":[18373,18333,18337,18341,18397,18328,18330,18371,18312,18316]},{"title":"Methods","kind":2048,"children":[18359,18345,18354,18326,18362,18387,18320,18310,18369,18367,18389,18350,18378,18352,18375,18399,18381,18308]}],"sources":[{"fileName":"Tone/component/analysis/FFT.ts","line":18,"character":16}],"extendedTypes":[{"type":"reference","id":18107,"typeArguments":[{"type":"reference","id":18295,"name":"FFTOptions"}],"name":"MeterBase"}]},{"id":7524,"name":"FMOscillator","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"FMOscillator implements a frequency modulation synthesis\n```\n                                             +-------------+\n+---------------+        +-------------+     | Carrier Osc |\n| Modulator Osc +>-------> GainNode    |     |             +--->Output\n+---------------+        |             +>----> frequency   |\n                      +--> gain        |     +-------------+\n                      |  +-------------+\n+-----------------+   |\n| modulationIndex +>--+\n+-----------------+\n```","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst fmOsc = new Tone.FMOscillator({\n\t\tfrequency: 200,\n\t\ttype: \"square\",\n\t\tmodulationType: \"triangle\",\n\t\tharmonicity: 0.2,\n\t\tmodulationIndex: 3\n\t}).toDestination().start();\n}, 0.1, 1);"}]},"children":[{"id":7533,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":7534,"name":"new FMOscillator","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":7535,"name":"frequency","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The starting frequency of the oscillator."},"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":7536,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The type of the carrier oscillator."},"type":{"type":"reference","id":6554,"name":"ToneOscillatorType"}},{"id":7537,"name":"modulationType","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The type of the modulator oscillator.\n"},"type":{"type":"reference","id":6554,"name":"ToneOscillatorType"}}],"type":{"type":"reference","id":7524,"name":"FMOscillator"},"overwrites":{"type":"reference","id":5586,"name":"Source.__constructor"}},{"id":7538,"name":"new FMOscillator","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":7539,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":6557,"name":"FMConstructorOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":7524,"name":"FMOscillator"},"overwrites":{"type":"reference","id":5586,"name":"Source.__constructor"}}],"sources":[{"fileName":"Tone/source/oscillator/FMOscillator.ts","line":82,"character":4},{"fileName":"Tone/source/oscillator/FMOscillator.ts","line":89,"character":100},{"fileName":"Tone/source/oscillator/FMOscillator.ts","line":90,"character":54}],"overwrites":{"type":"reference","id":5586,"name":"Source.__constructor"}},{"id":7650,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":7678,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":7528,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/source/oscillator/FMOscillator.ts","line":51,"character":16}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"cents"}],"name":"Signal"},"implementationOf":{"type":"reference","id":6181,"name":"ToneOscillatorInterface.detune"}},{"id":7527,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/source/oscillator/FMOscillator.ts","line":50,"character":19}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"frequency"}],"name":"Signal"},"implementationOf":{"type":"reference","id":6180,"name":"ToneOscillatorInterface.frequency"}},{"id":7530,"name":"harmonicity","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"Harmonicity is the frequency ratio between the carrier and the modulator oscillators.\nA harmonicity of 1 gives both oscillators the same frequency.\nHarmonicity = 2 means a change of an octave.","tags":[{"tag":"example","text":"\nconst fmOsc = new Tone.FMOscillator(\"D2\").toDestination().start();\n// pitch the modulator an octave below carrier\nfmOsc.harmonicity.value = 0.5;\n"}]},"sources":[{"fileName":"Tone/source/oscillator/FMOscillator.ts","line":67,"character":21}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"positive"}],"name":"Signal"}},{"id":7581,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Sources have no inputs"},"sources":[{"fileName":"Tone/source/Source.ts","line":54,"character":6}],"type":{"type":"intrinsic","name":"undefined"},"defaultValue":"undefined","overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":5567,"name":"Source.input"}},{"id":7531,"name":"modulationIndex","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The modulation index which is in essence the depth or amount of the modulation. In other terms it is the\nratio of the frequency of the modulating signal (mf) to the amplitude of the\nmodulating signal (ma) -- as in ma/mf."},"sources":[{"fileName":"Tone/source/oscillator/FMOscillator.ts","line":74,"character":25}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"positive"}],"name":"Signal"}},{"id":7525,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/source/oscillator/FMOscillator.ts","line":43,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"FMOscillator\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":7583,"name":"onstop","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The callback to invoke when the source is stopped."},"sources":[{"fileName":"Tone/source/Source.ts","line":67,"character":7}],"type":{"type":"reference","id":5706,"name":"onStopCallback"},"inheritedFrom":{"type":"reference","id":5569,"name":"Source.onstop"}},{"id":7580,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The output note"},"sources":[{"fileName":"Tone/source/Source.ts","line":49,"character":7}],"type":{"type":"reference","id":1102,"name":"OutputNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":5566,"name":"Source.output"}},{"id":7582,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The volume of the output in decibels.","tags":[{"tag":"example","text":"\nconst source = new Tone.PWMOscillator().toDestination();\nsource.volume.value = -6;\n"}]},"sources":[{"fileName":"Tone/source/Source.ts","line":62,"character":7}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"decibels"}],"name":"Param"},"inheritedFrom":{"type":"reference","id":5568,"name":"Source.volume"}},{"id":7677,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":7555,"name":"baseType","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":7556,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"reference","name":"OscillatorType"}}],"setSignature":[{"id":7557,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":7558,"name":"baseType","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"OscillatorType"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/oscillator/FMOscillator.ts","line":180,"character":13},{"fileName":"Tone/source/oscillator/FMOscillator.ts","line":183,"character":13}],"implementationOf":{"type":"reference","id":6178,"name":"ToneOscillatorInterface.baseType"}},{"id":7658,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":7659,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":7618,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":7619,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":7620,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":7621,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":7622,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":7623,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":7624,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":7625,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":7626,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":7627,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":7628,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":7629,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":7682,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":7683,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":7563,"name":"modulationType","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The type of the modulator oscillator"},"getSignature":[{"id":7564,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The type of the modulator oscillator"},"type":{"type":"reference","id":6554,"name":"ToneOscillatorType"}}],"setSignature":[{"id":7565,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The type of the modulator oscillator"},"parameters":[{"id":7566,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":6554,"name":"ToneOscillatorType"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/oscillator/FMOscillator.ts","line":197,"character":19},{"fileName":"Tone/source/oscillator/FMOscillator.ts","line":200,"character":19}]},{"id":7592,"name":"mute","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Mute the output.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination().start();\n// mute the output\nosc.mute = true;\n"}]},"getSignature":[{"id":7593,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Mute the output.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination().start();\n// mute the output\nosc.mute = true;\n"}]},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":5593,"name":"Source.mute"}}],"setSignature":[{"id":7594,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"Mute the output.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination().start();\n// mute the output\nosc.mute = true;\n"}]},"parameters":[{"id":7595,"name":"mute","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":5593,"name":"Source.mute"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":148,"character":9},{"fileName":"Tone/source/Source.ts","line":151,"character":9}],"inheritedFrom":{"type":"reference","id":5593,"name":"Source.mute"}},{"id":7613,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":7614,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":7615,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":7616,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":7559,"name":"partialCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":7560,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"setSignature":[{"id":7561,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":7562,"name":"partialCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/oscillator/FMOscillator.ts","line":187,"character":17},{"fileName":"Tone/source/oscillator/FMOscillator.ts","line":190,"character":17}],"implementationOf":{"type":"reference","id":6184,"name":"ToneOscillatorInterface.partialCount"}},{"id":7571,"name":"partials","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":7572,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"number"}}}],"setSignature":[{"id":7573,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":7574,"name":"partials","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"number"}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/oscillator/FMOscillator.ts","line":212,"character":13},{"fileName":"Tone/source/oscillator/FMOscillator.ts","line":215,"character":13}],"implementationOf":{"type":"reference","id":6183,"name":"ToneOscillatorInterface.partials"}},{"id":7567,"name":"phase","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":7568,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"reference","id":37,"name":"Degrees"}}],"setSignature":[{"id":7569,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":7570,"name":"phase","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":37,"name":"Degrees"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/oscillator/FMOscillator.ts","line":204,"character":10},{"fileName":"Tone/source/oscillator/FMOscillator.ts","line":207,"character":10}],"implementationOf":{"type":"reference","id":6182,"name":"ToneOscillatorInterface.phase"}},{"id":7656,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":7657,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":7590,"name":"state","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Returns the playback state of the source, either \"started\" or \"stopped\".","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/ahntone_c3.mp3\", () => {\n\tplayer.start();\n\tconsole.log(player.state);\n}).toDestination();\n"}]},"getSignature":[{"id":7591,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Returns the playback state of the source, either \"started\" or \"stopped\".","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/ahntone_c3.mp3\", () => {\n\tplayer.start();\n\tconsole.log(player.state);\n}).toDestination();\n"}]},"type":{"type":"reference","id":705,"name":"BasicPlaybackState"},"inheritedFrom":{"type":"reference","id":5591,"name":"Source.state"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":129,"character":10}],"inheritedFrom":{"type":"reference","id":5591,"name":"Source.state"}},{"id":7551,"name":"type","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":7552,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"reference","id":6554,"name":"ToneOscillatorType"}}],"setSignature":[{"id":7553,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":7554,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":6554,"name":"ToneOscillatorType"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/oscillator/FMOscillator.ts","line":173,"character":9},{"fileName":"Tone/source/oscillator/FMOscillator.ts","line":176,"character":9}],"implementationOf":{"type":"reference","id":6179,"name":"ToneOscillatorInterface.type"}},{"id":7575,"name":"asArray","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7576,"name":"asArray","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":7577,"name":"length","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"1024"}],"type":{"type":"reference","typeArguments":[{"type":"reference","name":"Float32Array"}],"name":"Promise"},"implementationOf":{"type":"reference","id":6186,"name":"ToneOscillatorInterface.asArray"}}],"sources":[{"fileName":"Tone/source/oscillator/FMOscillator.ts","line":219,"character":14}],"implementationOf":{"type":"reference","id":6185,"name":"ToneOscillatorInterface.asArray"}},{"id":7644,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7645,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":7646,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":7630,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7631,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":7632,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":7633,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":7634,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":7639,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7640,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":7641,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":7642,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":7643,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":7578,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7579,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Clean up."},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":5630,"name":"Source.dispose"}}],"sources":[{"fileName":"Tone/source/oscillator/FMOscillator.ts","line":226,"character":8}],"overwrites":{"type":"reference","id":5630,"name":"Source.dispose"}},{"id":7647,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7648,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":7649,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":7672,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7673,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":6285,"name":"FMOscillatorOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":7654,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7655,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":7652,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7653,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":7604,"name":"restart","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7605,"name":"restart","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Restart the source."},"parameters":[{"id":7606,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":7607,"name":"offset","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":7608,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":5621,"name":"Source.restart"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":249,"character":8}],"inheritedFrom":{"type":"reference","id":5621,"name":"Source.restart"}},{"id":7674,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7675,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":7676,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":6285,"name":"FMOscillatorOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":7596,"name":"start","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7597,"name":"start","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Start the source at the specified time. If no time is given,\nstart the source now.","tags":[{"tag":"example","text":"\nconst source = new Tone.Oscillator().toDestination();\nsource.start(\"+0.5\"); // starts the source 0.5 seconds from now\n"}]},"parameters":[{"id":7598,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the source should be started."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":7599,"name":"offset","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":7600,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":5613,"name":"Source.start"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":180,"character":6}],"inheritedFrom":{"type":"reference","id":5613,"name":"Source.start"}},{"id":7601,"name":"stop","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7602,"name":"stop","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Stop the source at the specified time. If no time is given,\nstop the source now.","tags":[{"tag":"example","text":"\nconst source = new Tone.Oscillator().toDestination();\nsource.start();\nsource.stop(\"+0.5\"); // stops the source 0.5 seconds from now\n"}]},"parameters":[{"id":7603,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the source should be stopped."},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":5618,"name":"Source.stop"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":229,"character":5}],"inheritedFrom":{"type":"reference","id":5618,"name":"Source.stop"}},{"id":7609,"name":"sync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7610,"name":"sync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Sync the source to the Transport so that all subsequent\ncalls to `start` and `stop` are synced to the TransportTime\ninstead of the AudioContext time.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination();\n// sync the source so that it plays between 0 and 0.3 on the Transport's timeline\nosc.sync().start(0).stop(0.3);\n// start the transport.\nTone.Transport.start();\n// set it to loop once a second\nTone.Transport.loop = true;\nTone.Transport.loopEnd = 1;\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":5626,"name":"Source.sync"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":273,"character":5}],"inheritedFrom":{"type":"reference","id":5626,"name":"Source.sync"}},{"id":7635,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7636,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":7663,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7664,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":7665,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":7637,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7638,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":7660,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7661,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":7662,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":7684,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7685,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":7666,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7667,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":7668,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":7611,"name":"unsync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7612,"name":"unsync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Unsync the source to the Transport. See Source.sync"},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":5628,"name":"Source.unsync"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":310,"character":7}],"inheritedFrom":{"type":"reference","id":5628,"name":"Source.unsync"}},{"id":7540,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":7541,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":6285,"name":"FMOscillatorOptions"},"overwrites":{"type":"reference","id":5589,"name":"Source.getDefaults"}}],"sources":[{"fileName":"Tone/source/oscillator/FMOscillator.ts","line":143,"character":19}],"overwrites":{"type":"reference","id":5589,"name":"Source.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[7533]},{"title":"Properties","kind":1024,"children":[7650,7678,7528,7527,7530,7581,7531,7525,7583,7580,7582,7677]},{"title":"Accessors","kind":262144,"children":[7555,7658,7618,7622,7626,7682,7563,7592,7613,7615,7559,7571,7567,7656,7590,7551]},{"title":"Methods","kind":2048,"children":[7575,7644,7630,7639,7578,7647,7672,7654,7652,7604,7674,7596,7601,7609,7635,7663,7637,7660,7684,7666,7611,7540]}],"sources":[{"fileName":"Tone/source/oscillator/FMOscillator.ts","line":41,"character":25}],"extendedTypes":[{"type":"reference","id":5563,"typeArguments":[{"type":"reference","id":6285,"name":"FMOscillatorOptions"}],"name":"Source"}],"implementedTypes":[{"type":"reference","id":6177,"name":"ToneOscillatorInterface"}]},{"id":12183,"name":"FMSynth","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"FMSynth is composed of two Tone.Synths where one Tone.Synth modulates\nthe frequency of a second Tone.Synth. A lot of spectral content\ncan be explored using the modulationIndex parameter. Read more about\nfrequency modulation synthesis on Sound On Sound: [Part 1](https://web.archive.org/web/20160403123704/http://www.soundonsound.com/sos/apr00/articles/synthsecrets.htm), [Part 2](https://web.archive.org/web/20160403115835/http://www.soundonsound.com/sos/may00/articles/synth.htm).","tags":[{"tag":"example","text":"\nconst fmSynth = new Tone.FMSynth().toDestination();\nfmSynth.triggerAttackRelease(\"C5\", \"4n\");\n"}]},"children":[{"id":12186,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":12187,"name":"new FMSynth","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":12188,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":12171,"name":"FMSynthOptions"}],"name":"RecursivePartial"}}],"type":{"type":"reference","id":12183,"name":"FMSynth"},"overwrites":{"type":"reference","id":11252,"name":"ModulationSynth.__constructor"}}],"sources":[{"fileName":"Tone/instrument/FMSynth.ts","line":32,"character":36},{"fileName":"Tone/instrument/FMSynth.ts","line":34,"character":57}],"overwrites":{"type":"reference","id":11252,"name":"ModulationSynth.__constructor"}},{"id":12283,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":12311,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":12200,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The detune in cents"},"sources":[{"fileName":"Tone/instrument/ModulationSynth.ts","line":67,"character":16}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"cents"}],"name":"Signal"},"overwrites":{"type":"reference","id":10833,"name":"Monophonic.detune"},"inheritedFrom":{"type":"reference","id":11249,"name":"ModulationSynth.detune"}},{"id":12196,"name":"envelope","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The carrier's envelope"},"sources":[{"fileName":"Tone/instrument/ModulationSynth.ts","line":47,"character":18}],"type":{"type":"reference","id":10960,"name":"AmplitudeEnvelope"},"inheritedFrom":{"type":"reference","id":11245,"name":"ModulationSynth.envelope"}},{"id":12199,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The frequency control"},"sources":[{"fileName":"Tone/instrument/ModulationSynth.ts","line":62,"character":19}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"frequency"}],"name":"Signal"},"overwrites":{"type":"reference","id":10832,"name":"Monophonic.frequency"},"inheritedFrom":{"type":"reference","id":11248,"name":"ModulationSynth.frequency"}},{"id":12201,"name":"harmonicity","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"Harmonicity is the ratio between the two voices. A harmonicity of\n1 is no change. Harmonicity = 2 means a change of an octave.","tags":[{"tag":"example","text":"\nconst amSynth = new Tone.AMSynth().toDestination();\n// pitch the modulator an octave below oscillator\namSynth.harmonicity.value = 0.5;\namSynth.triggerAttackRelease(\"C5\", \"4n\");\n"}]},"sources":[{"fileName":"Tone/instrument/ModulationSynth.ts","line":78,"character":21}],"type":{"type":"reference","id":7189,"name":"Multiply"},"inheritedFrom":{"type":"reference","id":11250,"name":"ModulationSynth.harmonicity"}},{"id":12228,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The instrument only has an output"},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":26,"character":6}],"type":{"type":"intrinsic","name":"undefined"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":10711,"name":"Instrument.input"}},{"id":12197,"name":"modulation","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The modulator's oscillator which is applied to the amplitude of the oscillator"},"sources":[{"fileName":"Tone/instrument/ModulationSynth.ts","line":52,"character":20}],"type":{"type":"reference","id":8167,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"OmniOscillator"},"inheritedFrom":{"type":"reference","id":11246,"name":"ModulationSynth.modulation"}},{"id":12198,"name":"modulationEnvelope","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The modulator's envelope"},"sources":[{"fileName":"Tone/instrument/ModulationSynth.ts","line":57,"character":28}],"type":{"type":"reference","id":10960,"name":"AmplitudeEnvelope"},"inheritedFrom":{"type":"reference","id":11247,"name":"ModulationSynth.modulationEnvelope"}},{"id":12185,"name":"modulationIndex","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The modulation index which essentially the depth or amount of the modulation. It is the\nratio of the frequency of the modulating signal (mf) to the amplitude of the\nmodulating signal (ma) -- as in ma/mf."},"sources":[{"fileName":"Tone/instrument/FMSynth.ts","line":32,"character":25}],"type":{"type":"reference","id":7189,"name":"Multiply"}},{"id":12184,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/instrument/FMSynth.ts","line":25,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"FMSynth\"","overwrites":{"type":"reference","id":11241,"name":"ModulationSynth.name"}},{"id":12214,"name":"onsilence","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Invoked when the release has finished and the output is silent."},"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":31,"character":10}],"type":{"type":"reference","id":10956,"name":"onSilenceCallback"},"inheritedFrom":{"type":"reference","id":10831,"name":"Monophonic.onsilence"}},{"id":12195,"name":"oscillator","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The carrier's oscillator"},"sources":[{"fileName":"Tone/instrument/ModulationSynth.ts","line":42,"character":20}],"type":{"type":"reference","id":8167,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"OmniOscillator"},"inheritedFrom":{"type":"reference","id":11244,"name":"ModulationSynth.oscillator"}},{"id":12227,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":21,"character":7}],"type":{"type":"reference","id":1102,"name":"OutputNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":10710,"name":"Instrument.output"}},{"id":12213,"name":"portamento","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The glide time between notes."},"decorators":[{"name":"timeRange","type":{"type":"reference","id":8896,"name":"timeRange"},"arguments":{"min":"0"}}],"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":26,"character":11}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":10830,"name":"Monophonic.portamento"}},{"id":12229,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The volume of the output in decibels.","tags":[{"tag":"example","text":"\nconst amSynth = new Tone.AMSynth().toDestination();\namSynth.volume.value = -6;\namSynth.triggerAttackRelease(\"G#3\", 0.2);\n"}]},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":35,"character":7}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"decibels"}],"name":"Param"},"inheritedFrom":{"type":"reference","id":10712,"name":"Instrument.volume"}},{"id":12310,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":12291,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":12292,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":12251,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":12252,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":12253,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":12254,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":12255,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":12256,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":12257,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":12258,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":12259,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":12260,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":12261,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":12262,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":12315,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":12316,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":12246,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":12247,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":12248,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":12249,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":12289,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":12290,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":12277,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12278,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":12279,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":12263,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12264,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":12265,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":12266,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":12267,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":12272,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12273,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":12274,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":12275,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":12276,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":12191,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12192,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":11267,"name":"ModulationSynth.dispose"}}],"sources":[{"fileName":"Tone/instrument/FMSynth.ts","line":60,"character":8}],"overwrites":{"type":"reference","id":11267,"name":"ModulationSynth.dispose"}},{"id":12280,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12281,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":12282,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":12305,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12306,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":12171,"name":"FMSynthOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":12210,"name":"getLevelAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12211,"name":"getLevelAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":12212,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":23,"name":"NormalRange"},"overwrites":{"type":"reference","id":10854,"name":"Monophonic.getLevelAtTime"},"inheritedFrom":{"type":"reference","id":11264,"name":"ModulationSynth.getLevelAtTime"}}],"sources":[{"fileName":"Tone/instrument/ModulationSynth.ts","line":202,"character":15}],"overwrites":{"type":"reference","id":10854,"name":"Monophonic.getLevelAtTime"},"inheritedFrom":{"type":"reference","id":11264,"name":"ModulationSynth.getLevelAtTime"}},{"id":12287,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12288,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":12285,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12286,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":12307,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12308,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":12309,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":12171,"name":"FMSynthOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":12223,"name":"setNote","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12224,"name":"setNote","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set the note at the given time. If no time is given, the note\nwill set immediately.","tags":[{"tag":"example","text":"\nconst synth = new Tone.Synth().toDestination();\nsynth.triggerAttack(\"C4\");\n// change to F#6 in one quarter note from now.\nsynth.setNote(\"F#6\", \"+4n\");\n"}]},"parameters":[{"id":12225,"name":"note","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The note to change to."},"type":{"type":"union","types":[{"type":"reference","id":32,"name":"Frequency"},{"type":"reference","id":4656,"name":"FrequencyClass"}]}},{"id":12226,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The time when the note should be set."},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":10857,"name":"Monophonic.setNote"}}],"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":124,"character":8}],"inheritedFrom":{"type":"reference","id":10857,"name":"Monophonic.setNote"}},{"id":12230,"name":"sync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12231,"name":"sync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Sync the instrument to the Transport. All subsequent calls of\n[[triggerAttack]] and [[triggerRelease]] will be scheduled along the transport.","tags":[{"tag":"example","text":"\nconst fmSynth = new Tone.FMSynth().toDestination();\nfmSynth.volume.value = -6;\nfmSynth.sync();\n// schedule 3 notes when the transport first starts\nfmSynth.triggerAttackRelease(\"C4\", \"8n\", 0);\nfmSynth.triggerAttackRelease(\"E4\", \"8n\", \"8n\");\nfmSynth.triggerAttackRelease(\"G4\", \"8n\", \"4n\");\n// start the transport to hear the notes\nTone.Transport.start();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":10720,"name":"Instrument.sync"}}],"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":82,"character":5}],"inheritedFrom":{"type":"reference","id":10720,"name":"Instrument.sync"}},{"id":12268,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12269,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":12296,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12297,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":12298,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":12270,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12271,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":12293,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12294,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":12295,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":12317,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12318,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":12299,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12300,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":12301,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":12215,"name":"triggerAttack","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12216,"name":"triggerAttack","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Trigger the attack of the note optionally with a given velocity.","tags":[{"tag":"example","text":"\nconst synth = new Tone.Synth().toDestination();\n// trigger the note a half second from now at half velocity\nsynth.triggerAttack(\"C4\", \"+0.5\", 0.5);\n"}]},"parameters":[{"id":12217,"name":"note","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The note to trigger."},"type":{"type":"union","types":[{"type":"reference","id":32,"name":"Frequency"},{"type":"reference","id":4656,"name":"FrequencyClass"}]}},{"id":12218,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the note should start."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":12219,"name":"velocity","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The velocity scaler determines how \"loud\" the note will be triggered."},"type":{"type":"reference","id":23,"name":"NormalRange"},"defaultValue":"1"}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":10736,"name":"Instrument.triggerAttack"},"inheritedFrom":{"type":"reference","id":10839,"name":"Monophonic.triggerAttack"}}],"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":71,"character":14}],"overwrites":{"type":"reference","id":10736,"name":"Instrument.triggerAttack"},"inheritedFrom":{"type":"reference","id":10839,"name":"Monophonic.triggerAttack"}},{"id":12240,"name":"triggerAttackRelease","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12241,"name":"triggerAttackRelease","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Trigger the attack and then the release after the duration.","tags":[{"tag":"example","text":"\nconst synth = new Tone.Synth().toDestination();\n// trigger \"C4\" for the duration of an 8th note\nsynth.triggerAttackRelease(\"C4\", \"8n\");\n"}]},"parameters":[{"id":12242,"name":"note","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The note to trigger."},"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":12243,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"How long the note should be held for before\n                        triggering the release. This value must be greater than 0."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":12244,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the note should be triggered."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":12245,"name":"velocity","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The velocity the note should be triggered at."},"type":{"type":"reference","id":23,"name":"NormalRange"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":10730,"name":"Instrument.triggerAttackRelease"}}],"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":145,"character":21}],"inheritedFrom":{"type":"reference","id":10730,"name":"Instrument.triggerAttackRelease"}},{"id":12220,"name":"triggerRelease","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12221,"name":"triggerRelease","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Trigger the release portion of the envelope","tags":[{"tag":"example","text":"\nconst synth = new Tone.Synth().toDestination();\nsynth.triggerAttack(\"C4\");\n// trigger the release a second from now\nsynth.triggerRelease(\"+1\");\n"}]},"parameters":[{"id":12222,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"If no time is given, the release happens immediatly"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":10742,"name":"Instrument.triggerRelease"},"inheritedFrom":{"type":"reference","id":10844,"name":"Monophonic.triggerRelease"}}],"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":88,"character":15}],"overwrites":{"type":"reference","id":10742,"name":"Instrument.triggerRelease"},"inheritedFrom":{"type":"reference","id":10844,"name":"Monophonic.triggerRelease"}},{"id":12238,"name":"unsync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12239,"name":"unsync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Unsync the instrument from the Transport"},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":10728,"name":"Instrument.unsync"}}],"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":122,"character":7}],"inheritedFrom":{"type":"reference","id":10728,"name":"Instrument.unsync"}},{"id":12189,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":12190,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":12171,"name":"FMSynthOptions"},"overwrites":{"type":"reference","id":11255,"name":"ModulationSynth.getDefaults"}}],"sources":[{"fileName":"Tone/instrument/FMSynth.ts","line":54,"character":19}],"overwrites":{"type":"reference","id":11255,"name":"ModulationSynth.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[12186]},{"title":"Properties","kind":1024,"children":[12283,12311,12200,12196,12199,12201,12228,12197,12198,12185,12184,12214,12195,12227,12213,12229,12310]},{"title":"Accessors","kind":262144,"children":[12291,12251,12255,12259,12315,12246,12248,12289]},{"title":"Methods","kind":2048,"children":[12277,12263,12272,12191,12280,12305,12210,12287,12285,12307,12223,12230,12268,12296,12270,12293,12317,12299,12215,12240,12220,12238,12189]}],"sources":[{"fileName":"Tone/instrument/FMSynth.ts","line":24,"character":20}],"extendedTypes":[{"type":"reference","id":11239,"typeArguments":[{"type":"reference","id":12171,"name":"FMSynthOptions"}],"name":"ModulationSynth"}]},{"id":7837,"name":"FatOscillator","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"FatOscillator is an array of oscillators with detune spread between the oscillators","tags":[{"tag":"example","text":"\nconst fatOsc = new Tone.FatOscillator(\"Ab3\", \"sawtooth\", 40).toDestination().start();"}]},"children":[{"id":7847,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":7848,"name":"new FatOscillator","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":7849,"name":"frequency","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The oscillator's frequency."},"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":7850,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The type of the oscillator."},"type":{"type":"reference","id":6554,"name":"ToneOscillatorType"}},{"id":7851,"name":"spread","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The detune spread between the oscillators.\n"},"type":{"type":"reference","id":42,"name":"Cents"}}],"type":{"type":"reference","id":7837,"name":"FatOscillator"},"overwrites":{"type":"reference","id":5586,"name":"Source.__constructor"}},{"id":7852,"name":"new FatOscillator","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":7853,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":6559,"name":"FatConstructorOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":7837,"name":"FatOscillator"},"overwrites":{"type":"reference","id":5586,"name":"Source.__constructor"}}],"sources":[{"fileName":"Tone/source/oscillator/FatOscillator.ts","line":56,"character":31},{"fileName":"Tone/source/oscillator/FatOscillator.ts","line":63,"character":79},{"fileName":"Tone/source/oscillator/FatOscillator.ts","line":64,"character":55}],"overwrites":{"type":"reference","id":5586,"name":"Source.__constructor"}},{"id":7975,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":8003,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":7840,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/source/oscillator/FatOscillator.ts","line":26,"character":16}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"cents"}],"name":"Signal"},"implementationOf":{"type":"reference","id":6181,"name":"ToneOscillatorInterface.detune"}},{"id":7839,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/source/oscillator/FatOscillator.ts","line":25,"character":19}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"frequency"}],"name":"Signal"},"implementationOf":{"type":"reference","id":6180,"name":"ToneOscillatorInterface.frequency"}},{"id":7906,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Sources have no inputs"},"sources":[{"fileName":"Tone/source/Source.ts","line":54,"character":6}],"type":{"type":"intrinsic","name":"undefined"},"defaultValue":"undefined","overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":5567,"name":"Source.input"}},{"id":7838,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/source/oscillator/FatOscillator.ts","line":23,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"FatOscillator\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":7908,"name":"onstop","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The callback to invoke when the source is stopped."},"sources":[{"fileName":"Tone/source/Source.ts","line":67,"character":7}],"type":{"type":"reference","id":5706,"name":"onStopCallback"},"inheritedFrom":{"type":"reference","id":5569,"name":"Source.onstop"}},{"id":7905,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The output note"},"sources":[{"fileName":"Tone/source/Source.ts","line":49,"character":7}],"type":{"type":"reference","id":1102,"name":"OutputNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":5566,"name":"Source.output"}},{"id":7907,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The volume of the output in decibels.","tags":[{"tag":"example","text":"\nconst source = new Tone.PWMOscillator().toDestination();\nsource.volume.value = -6;\n"}]},"sources":[{"fileName":"Tone/source/Source.ts","line":62,"character":7}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"decibels"}],"name":"Param"},"inheritedFrom":{"type":"reference","id":5568,"name":"Source.volume"}},{"id":8002,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":7888,"name":"baseType","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":7889,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"reference","name":"OscillatorType"}}],"setSignature":[{"id":7890,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":7891,"name":"baseType","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"OscillatorType"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/oscillator/FatOscillator.ts","line":212,"character":13},{"fileName":"Tone/source/oscillator/FatOscillator.ts","line":215,"character":13}],"implementationOf":{"type":"reference","id":6178,"name":"ToneOscillatorInterface.baseType"}},{"id":7983,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":7984,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":7943,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":7944,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":7945,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":7946,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":7947,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":7948,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":7949,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":7950,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":7951,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":7952,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":7953,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":7954,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":7880,"name":"count","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of detuned oscillators. Must be an integer greater than 1.","tags":[{"tag":"example","text":"\nconst fatOsc = new Tone.FatOscillator(\"C#3\", \"sawtooth\").toDestination().start();\n// use 4 sawtooth oscillators\nfatOsc.count = 4;\n"}]},"getSignature":[{"id":7881,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of detuned oscillators. Must be an integer greater than 1.","tags":[{"tag":"example","text":"\nconst fatOsc = new Tone.FatOscillator(\"C#3\", \"sawtooth\").toDestination().start();\n// use 4 sawtooth oscillators\nfatOsc.count = 4;\n"}]},"type":{"type":"intrinsic","name":"number"}}],"setSignature":[{"id":7882,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The number of detuned oscillators. Must be an integer greater than 1.","tags":[{"tag":"example","text":"\nconst fatOsc = new Tone.FatOscillator(\"C#3\", \"sawtooth\").toDestination().start();\n// use 4 sawtooth oscillators\nfatOsc.count = 4;\n"}]},"parameters":[{"id":7883,"name":"count","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/oscillator/FatOscillator.ts","line":169,"character":10},{"fileName":"Tone/source/oscillator/FatOscillator.ts","line":172,"character":10}]},{"id":8007,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":8008,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":7917,"name":"mute","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Mute the output.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination().start();\n// mute the output\nosc.mute = true;\n"}]},"getSignature":[{"id":7918,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Mute the output.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination().start();\n// mute the output\nosc.mute = true;\n"}]},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":5593,"name":"Source.mute"}}],"setSignature":[{"id":7919,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"Mute the output.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination().start();\n// mute the output\nosc.mute = true;\n"}]},"parameters":[{"id":7920,"name":"mute","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":5593,"name":"Source.mute"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":148,"character":9},{"fileName":"Tone/source/Source.ts","line":151,"character":9}],"inheritedFrom":{"type":"reference","id":5593,"name":"Source.mute"}},{"id":7938,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":7939,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":7940,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":7941,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":7896,"name":"partialCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":7897,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"setSignature":[{"id":7898,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":7899,"name":"partialCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/oscillator/FatOscillator.ts","line":232,"character":17},{"fileName":"Tone/source/oscillator/FatOscillator.ts","line":235,"character":17}],"implementationOf":{"type":"reference","id":6184,"name":"ToneOscillatorInterface.partialCount"}},{"id":7892,"name":"partials","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":7893,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"number"}}}],"setSignature":[{"id":7894,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":7895,"name":"partials","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"number"}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/oscillator/FatOscillator.ts","line":220,"character":13},{"fileName":"Tone/source/oscillator/FatOscillator.ts","line":223,"character":13}],"implementationOf":{"type":"reference","id":6183,"name":"ToneOscillatorInterface.partials"}},{"id":7884,"name":"phase","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":7885,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"reference","id":37,"name":"Degrees"}}],"setSignature":[{"id":7886,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":7887,"name":"phase","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":37,"name":"Degrees"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/oscillator/FatOscillator.ts","line":204,"character":10},{"fileName":"Tone/source/oscillator/FatOscillator.ts","line":207,"character":10}],"implementationOf":{"type":"reference","id":6182,"name":"ToneOscillatorInterface.phase"}},{"id":7981,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":7982,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":7876,"name":"spread","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The detune spread between the oscillators. If \"count\" is\nset to 3 oscillators and the \"spread\" is set to 40,\nthe three oscillators would be detuned like this: [-20, 0, 20]\nfor a total detune spread of 40 cents.","tags":[{"tag":"example","text":"\nconst fatOsc = new Tone.FatOscillator().toDestination().start();\nfatOsc.spread = 70;\n"}]},"getSignature":[{"id":7877,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The detune spread between the oscillators. If \"count\" is\nset to 3 oscillators and the \"spread\" is set to 40,\nthe three oscillators would be detuned like this: [-20, 0, 20]\nfor a total detune spread of 40 cents.","tags":[{"tag":"example","text":"\nconst fatOsc = new Tone.FatOscillator().toDestination().start();\nfatOsc.spread = 70;\n"}]},"type":{"type":"reference","id":42,"name":"Cents"}}],"setSignature":[{"id":7878,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The detune spread between the oscillators. If \"count\" is\nset to 3 oscillators and the \"spread\" is set to 40,\nthe three oscillators would be detuned like this: [-20, 0, 20]\nfor a total detune spread of 40 cents.","tags":[{"tag":"example","text":"\nconst fatOsc = new Tone.FatOscillator().toDestination().start();\nfatOsc.spread = 70;\n"}]},"parameters":[{"id":7879,"name":"spread","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":42,"name":"Cents"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/oscillator/FatOscillator.ts","line":150,"character":11},{"fileName":"Tone/source/oscillator/FatOscillator.ts","line":153,"character":11}]},{"id":7915,"name":"state","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Returns the playback state of the source, either \"started\" or \"stopped\".","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/ahntone_c3.mp3\", () => {\n\tplayer.start();\n\tconsole.log(player.state);\n}).toDestination();\n"}]},"getSignature":[{"id":7916,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Returns the playback state of the source, either \"started\" or \"stopped\".","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/ahntone_c3.mp3\", () => {\n\tplayer.start();\n\tconsole.log(player.state);\n}).toDestination();\n"}]},"type":{"type":"reference","id":705,"name":"BasicPlaybackState"},"inheritedFrom":{"type":"reference","id":5591,"name":"Source.state"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":129,"character":10}],"inheritedFrom":{"type":"reference","id":5591,"name":"Source.state"}},{"id":7872,"name":"type","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The type of the oscillator"},"getSignature":[{"id":7873,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The type of the oscillator"},"type":{"type":"reference","id":6554,"name":"ToneOscillatorType"}}],"setSignature":[{"id":7874,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The type of the oscillator"},"parameters":[{"id":7875,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":6554,"name":"ToneOscillatorType"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/oscillator/FatOscillator.ts","line":133,"character":9},{"fileName":"Tone/source/oscillator/FatOscillator.ts","line":136,"character":9}],"implementationOf":{"type":"reference","id":6179,"name":"ToneOscillatorInterface.type"}},{"id":7900,"name":"asArray","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7901,"name":"asArray","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":7902,"name":"length","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"1024"}],"type":{"type":"reference","typeArguments":[{"type":"reference","name":"Float32Array"}],"name":"Promise"},"implementationOf":{"type":"reference","id":6186,"name":"ToneOscillatorInterface.asArray"}}],"sources":[{"fileName":"Tone/source/oscillator/FatOscillator.ts","line":241,"character":14}],"implementationOf":{"type":"reference","id":6185,"name":"ToneOscillatorInterface.asArray"}},{"id":7969,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7970,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":7971,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":7955,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7956,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":7957,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":7958,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":7959,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":7964,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7965,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":7966,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":7967,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":7968,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":7903,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7904,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Clean up."},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":5630,"name":"Source.dispose"}}],"sources":[{"fileName":"Tone/source/oscillator/FatOscillator.ts","line":248,"character":8}],"overwrites":{"type":"reference","id":5630,"name":"Source.dispose"}},{"id":7972,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7973,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":7974,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":7997,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7998,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":6402,"name":"FatOscillatorOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":7979,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7980,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":7977,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7978,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":7929,"name":"restart","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7930,"name":"restart","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Restart the source."},"parameters":[{"id":7931,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":7932,"name":"offset","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":7933,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":5621,"name":"Source.restart"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":249,"character":8}],"inheritedFrom":{"type":"reference","id":5621,"name":"Source.restart"}},{"id":7999,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8000,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":8001,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":6402,"name":"FatOscillatorOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":7921,"name":"start","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7922,"name":"start","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Start the source at the specified time. If no time is given,\nstart the source now.","tags":[{"tag":"example","text":"\nconst source = new Tone.Oscillator().toDestination();\nsource.start(\"+0.5\"); // starts the source 0.5 seconds from now\n"}]},"parameters":[{"id":7923,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the source should be started."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":7924,"name":"offset","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":7925,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":5613,"name":"Source.start"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":180,"character":6}],"inheritedFrom":{"type":"reference","id":5613,"name":"Source.start"}},{"id":7926,"name":"stop","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7927,"name":"stop","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Stop the source at the specified time. If no time is given,\nstop the source now.","tags":[{"tag":"example","text":"\nconst source = new Tone.Oscillator().toDestination();\nsource.start();\nsource.stop(\"+0.5\"); // stops the source 0.5 seconds from now\n"}]},"parameters":[{"id":7928,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the source should be stopped."},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":5618,"name":"Source.stop"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":229,"character":5}],"inheritedFrom":{"type":"reference","id":5618,"name":"Source.stop"}},{"id":7934,"name":"sync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7935,"name":"sync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Sync the source to the Transport so that all subsequent\ncalls to `start` and `stop` are synced to the TransportTime\ninstead of the AudioContext time.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination();\n// sync the source so that it plays between 0 and 0.3 on the Transport's timeline\nosc.sync().start(0).stop(0.3);\n// start the transport.\nTone.Transport.start();\n// set it to loop once a second\nTone.Transport.loop = true;\nTone.Transport.loopEnd = 1;\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":5626,"name":"Source.sync"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":273,"character":5}],"inheritedFrom":{"type":"reference","id":5626,"name":"Source.sync"}},{"id":7960,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7961,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":7988,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7989,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":7990,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":7962,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7963,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":7985,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7986,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":7987,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":8009,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8010,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":7991,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7992,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":7993,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":7936,"name":"unsync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7937,"name":"unsync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Unsync the source to the Transport. See Source.sync"},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":5628,"name":"Source.unsync"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":310,"character":7}],"inheritedFrom":{"type":"reference","id":5628,"name":"Source.unsync"}},{"id":7854,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":7855,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":6402,"name":"FatOscillatorOptions"},"overwrites":{"type":"reference","id":5589,"name":"Source.getDefaults"}}],"sources":[{"fileName":"Tone/source/oscillator/FatOscillator.ts","line":93,"character":19}],"overwrites":{"type":"reference","id":5589,"name":"Source.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[7847]},{"title":"Properties","kind":1024,"children":[7975,8003,7840,7839,7906,7838,7908,7905,7907,8002]},{"title":"Accessors","kind":262144,"children":[7888,7983,7943,7947,7951,7880,8007,7917,7938,7940,7896,7892,7884,7981,7876,7915,7872]},{"title":"Methods","kind":2048,"children":[7900,7969,7955,7964,7903,7972,7997,7979,7977,7929,7999,7921,7926,7934,7960,7988,7962,7985,8009,7991,7936,7854]}],"sources":[{"fileName":"Tone/source/oscillator/FatOscillator.ts","line":21,"character":26}],"extendedTypes":[{"type":"reference","id":5563,"typeArguments":[{"type":"reference","id":6402,"name":"FatOscillatorOptions"}],"name":"Source"}],"implementedTypes":[{"type":"reference","id":6177,"name":"ToneOscillatorInterface"}]},{"id":12854,"name":"FeedbackCombFilter","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Comb filters are basic building blocks for physical modeling. Read more\nabout comb filters on [CCRMA's website](https://ccrma.stanford.edu/~jos/pasp/Feedback_Comb_Filters.html).","text":"This comb filter is implemented with the AudioWorkletNode which allows it to have feedback delays less than the\nWeb Audio processing block of 128 samples. There is a polyfill for browsers that don't yet support the\nAudioWorkletNode, but it will add some latency and have slower performance than the AudioWorkletNode."},"children":[{"id":12860,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":12861,"name":"new FeedbackCombFilter","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":12862,"name":"delayTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The delay time of the filter."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":12863,"name":"resonance","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The amount of feedback the filter has.\n"},"type":{"type":"reference","id":23,"name":"NormalRange"}}],"type":{"type":"reference","id":12854,"name":"FeedbackCombFilter"},"overwrites":{"type":"reference","id":12762,"name":"ToneAudioWorklet.__constructor"}},{"id":12864,"name":"new FeedbackCombFilter","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":12865,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":12850,"name":"FeedbackCombFilterOptions"}],"name":"RecursivePartial"}}],"type":{"type":"reference","id":12854,"name":"FeedbackCombFilter"},"overwrites":{"type":"reference","id":12762,"name":"ToneAudioWorklet.__constructor"}}],"sources":[{"fileName":"Tone/component/filter/FeedbackCombFilter.ts","line":39,"character":23},{"fileName":"Tone/component/filter/FeedbackCombFilter.ts","line":45,"character":56},{"fileName":"Tone/component/filter/FeedbackCombFilter.ts","line":46,"character":68}],"overwrites":{"type":"reference","id":12762,"name":"ToneAudioWorklet.__constructor"}},{"id":12919,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":12947,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":12856,"name":"delayTime","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The amount of delay of the comb filter."},"sources":[{"fileName":"Tone/component/filter/FeedbackCombFilter.ts","line":31,"character":19}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"time"}],"name":"Param"}},{"id":12858,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/filter/FeedbackCombFilter.ts","line":38,"character":15}],"type":{"type":"reference","id":1143,"name":"Gain"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":12855,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/filter/FeedbackCombFilter.ts","line":26,"character":14}],"type":{"type":"stringLiteral","value":"FeedbackCombFilter"},"defaultValue":"\"FeedbackCombFilter\"","overwrites":{"type":"reference","id":12748,"name":"ToneAudioWorklet.name"}},{"id":12878,"name":"onprocessorerror","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Callback which is invoked when there is an error in the processing"},"sources":[{"fileName":"Tone/core/worklet/ToneAudioWorklet.ts","line":44,"character":17}],"type":{"type":"reflection","declaration":{"id":12879,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":12880,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":12881,"name":"e","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/worklet/ToneAudioWorklet.ts","line":44,"character":18}]}},"defaultValue":"noOp","inheritedFrom":{"type":"reference","id":12758,"name":"ToneAudioWorklet.onprocessorerror"}},{"id":12859,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/filter/FeedbackCombFilter.ts","line":39,"character":16}],"type":{"type":"reference","id":1143,"name":"Gain"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":12857,"name":"resonance","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The amount of feedback of the delayed signal."},"sources":[{"fileName":"Tone/component/filter/FeedbackCombFilter.ts","line":36,"character":19}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"normalRange"}],"name":"Param"}},{"id":12946,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":12927,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":12928,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":12887,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":12888,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":12889,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":12890,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":12891,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":12892,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":12893,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":12894,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":12895,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":12896,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":12897,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":12898,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":12951,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":12952,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":12882,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":12883,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":12884,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":12885,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":12925,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":12926,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":12913,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12914,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":12915,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":12899,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12900,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":12901,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":12902,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":12903,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":12908,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12909,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":12910,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":12911,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":12912,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":12873,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12874,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":12765,"name":"ToneAudioWorklet.dispose"}}],"sources":[{"fileName":"Tone/component/filter/FeedbackCombFilter.ts","line":97,"character":8}],"overwrites":{"type":"reference","id":12765,"name":"ToneAudioWorklet.dispose"}},{"id":12916,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12917,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":12918,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":12941,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12942,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":12850,"name":"FeedbackCombFilterOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":12923,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12924,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":12921,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12922,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":12870,"name":"onReady","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12871,"name":"onReady","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":12872,"name":"node","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"AudioWorkletNode"}}],"type":{"type":"intrinsic","name":"void"},"overwrites":{"type":"reference","name":"ToneAudioWorklet.onReady"}}],"sources":[{"fileName":"Tone/component/filter/FeedbackCombFilter.ts","line":89,"character":8}],"overwrites":{"type":"reference","name":"ToneAudioWorklet.onReady"}},{"id":12943,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12944,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":12945,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":12850,"name":"FeedbackCombFilterOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":12904,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12905,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":12932,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12933,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":12934,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":12906,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12907,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":12929,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12930,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":12931,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":12953,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12954,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":12935,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12936,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":12937,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":12868,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":12869,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"The default parameters"},"type":{"type":"reference","id":12850,"name":"FeedbackCombFilterOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/component/filter/FeedbackCombFilter.ts","line":82,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[12860]},{"title":"Properties","kind":1024,"children":[12919,12947,12856,12858,12855,12878,12859,12857,12946]},{"title":"Accessors","kind":262144,"children":[12927,12887,12891,12895,12951,12882,12884,12925]},{"title":"Methods","kind":2048,"children":[12913,12899,12908,12873,12916,12941,12923,12921,12870,12943,12904,12932,12906,12929,12953,12935,12868]}],"sources":[{"fileName":"Tone/component/filter/FeedbackCombFilter.ts","line":24,"character":31}],"extendedTypes":[{"type":"reference","id":12746,"typeArguments":[{"type":"reference","id":12850,"name":"FeedbackCombFilterOptions"}],"name":"ToneAudioWorklet"}]},{"id":16280,"name":"FeedbackDelay","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"FeedbackDelay is a DelayNode in which part of output signal is fed back into the delay.","tags":[{"tag":"param","text":"The delay applied to the incoming signal.","param":"delayTime"},{"tag":"param","text":"The amount of the effected signal which is fed back through the delay.","param":"feedback"},{"tag":"example","text":"\nconst feedbackDelay = new Tone.FeedbackDelay(\"8n\", 0.5).toDestination();\nconst tom = new Tone.MembraneSynth({\n\toctaves: 4,\n\tpitchDecay: 0.1\n}).connect(feedbackDelay);\ntom.triggerAttackRelease(\"A2\", \"32n\");"}]},"children":[{"id":16284,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":16285,"name":"new FeedbackDelay","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":16286,"name":"delayTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":16287,"name":"feedback","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":23,"name":"NormalRange"}}],"type":{"type":"reference","id":16280,"name":"FeedbackDelay"},"overwrites":{"type":"reference","id":16186,"name":"FeedbackEffect.__constructor"}},{"id":16288,"name":"new FeedbackDelay","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":16289,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":16274,"name":"FeedbackDelayOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":16280,"name":"FeedbackDelay"},"overwrites":{"type":"reference","id":16186,"name":"FeedbackEffect.__constructor"}}],"sources":[{"fileName":"Tone/effect/FeedbackDelay.ts","line":39,"character":35},{"fileName":"Tone/effect/FeedbackDelay.ts","line":41,"character":55},{"fileName":"Tone/effect/FeedbackDelay.ts","line":42,"character":54}],"overwrites":{"type":"reference","id":16186,"name":"FeedbackEffect.__constructor"}},{"id":16340,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":16368,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":16283,"name":"delayTime","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The delayTime of the FeedbackDelay."},"sources":[{"fileName":"Tone/effect/FeedbackDelay.ts","line":39,"character":19}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"time"}],"name":"Param"}},{"id":16294,"name":"feedback","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The amount of signal which is fed back into the effect input."},"sources":[{"fileName":"Tone/effect/FeedbackEffect.ts","line":37,"character":9}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"normalRange"}],"name":"Param"},"inheritedFrom":{"type":"reference","id":16185,"name":"FeedbackEffect.feedback"}},{"id":16298,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The effect input node"},"sources":[{"fileName":"Tone/effect/Effect.ts","line":46,"character":6}],"type":{"type":"reference","id":1143,"name":"Gain"},"defaultValue":"new Gain({ context: this.context })","overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":14470,"name":"Effect.input"}},{"id":16281,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/effect/FeedbackDelay.ts","line":29,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"FeedbackDelay\"","overwrites":{"type":"reference","id":16183,"name":"FeedbackEffect.name"}},{"id":16299,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The effect output"},"sources":[{"fileName":"Tone/effect/Effect.ts","line":51,"character":7}],"type":{"type":"reference","id":14368,"name":"CrossFade"},"defaultValue":"this._dryWet","overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":14471,"name":"Effect.output"}},{"id":16295,"name":"wet","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The wet control is how much of the effected\nwill pass through to the output. 1 = 100% effected\nsignal, 0 = 100% dry signal."},"sources":[{"fileName":"Tone/effect/Effect.ts","line":31,"character":4}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"normalRange"}],"name":"Signal"},"defaultValue":"this._dryWet.fade","inheritedFrom":{"type":"reference","id":14467,"name":"Effect.wet"}},{"id":16367,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":16348,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":16349,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":16308,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":16309,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":16310,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":16311,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":16312,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":16313,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":16314,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":16315,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":16316,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":16317,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":16318,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":16319,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":16372,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":16373,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":16303,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":16304,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":16305,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":16306,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":16346,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":16347,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":16334,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16335,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":16336,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":16320,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16321,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":16322,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":16323,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":16324,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":16329,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16330,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":16331,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":16332,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":16333,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":16292,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16293,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":16191,"name":"FeedbackEffect.dispose"}}],"sources":[{"fileName":"Tone/effect/FeedbackDelay.ts","line":67,"character":8}],"overwrites":{"type":"reference","id":16191,"name":"FeedbackEffect.dispose"}},{"id":16337,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16338,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":16339,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":16362,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16363,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":16274,"name":"FeedbackDelayOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":16344,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16345,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":16342,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16343,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":16364,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16365,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":16366,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":16274,"name":"FeedbackDelayOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":16325,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16326,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":16353,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16354,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":16355,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":16327,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16328,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":16350,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16351,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":16352,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":16374,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16375,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":16356,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16357,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":16358,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":16290,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":16291,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":16274,"name":"FeedbackDelayOptions"},"overwrites":{"type":"reference","id":16189,"name":"FeedbackEffect.getDefaults"}}],"sources":[{"fileName":"Tone/effect/FeedbackDelay.ts","line":60,"character":19}],"overwrites":{"type":"reference","id":16189,"name":"FeedbackEffect.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[16284]},{"title":"Properties","kind":1024,"children":[16340,16368,16283,16294,16298,16281,16299,16295,16367]},{"title":"Accessors","kind":262144,"children":[16348,16308,16312,16316,16372,16303,16305,16346]},{"title":"Methods","kind":2048,"children":[16334,16320,16329,16292,16337,16362,16344,16342,16364,16325,16353,16327,16350,16374,16356,16290]}],"sources":[{"fileName":"Tone/effect/FeedbackDelay.ts","line":27,"character":26}],"extendedTypes":[{"type":"reference","id":16181,"typeArguments":[{"type":"reference","id":16274,"name":"FeedbackDelayOptions"}],"name":"FeedbackEffect"}]},{"id":16181,"name":"FeedbackEffect","kind":128,"kindString":"Class","flags":{"isExported":true,"isAbstract":true},"comment":{"shortText":"FeedbackEffect provides a loop between an audio source and its own output.\nThis is a base-class for feedback effects."},"typeParameter":[{"id":16182,"name":"Options","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"reference","id":16177,"name":"FeedbackEffectOptions"}}],"children":[{"id":16186,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":16187,"name":"new FeedbackEffect","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":16188,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":16177,"name":"FeedbackEffectOptions"}}],"type":{"type":"reference","id":16181,"name":"FeedbackEffect"},"overwrites":{"type":"reference","id":14472,"name":"Effect.__constructor"}}],"sources":[{"fileName":"Tone/effect/FeedbackEffect.ts","line":37,"character":32}],"overwrites":{"type":"reference","id":14472,"name":"Effect.__constructor"}},{"id":16238,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":16266,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":16185,"name":"feedback","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The amount of signal which is fed back into the effect input."},"sources":[{"fileName":"Tone/effect/FeedbackEffect.ts","line":37,"character":9}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"normalRange"}],"name":"Param"}},{"id":16196,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The effect input node"},"sources":[{"fileName":"Tone/effect/Effect.ts","line":46,"character":6}],"type":{"type":"reference","id":1143,"name":"Gain"},"defaultValue":"new Gain({ context: this.context })","overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":14470,"name":"Effect.input"}},{"id":16183,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/effect/FeedbackEffect.ts","line":27,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"FeedbackEffect\"","overwrites":{"type":"reference","id":14465,"name":"Effect.name"}},{"id":16197,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The effect output"},"sources":[{"fileName":"Tone/effect/Effect.ts","line":51,"character":7}],"type":{"type":"reference","id":14368,"name":"CrossFade"},"defaultValue":"this._dryWet","overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":14471,"name":"Effect.output"}},{"id":16193,"name":"wet","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The wet control is how much of the effected\nwill pass through to the output. 1 = 100% effected\nsignal, 0 = 100% dry signal."},"sources":[{"fileName":"Tone/effect/Effect.ts","line":31,"character":4}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"normalRange"}],"name":"Signal"},"defaultValue":"this._dryWet.fade","inheritedFrom":{"type":"reference","id":14467,"name":"Effect.wet"}},{"id":16265,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":16246,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":16247,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":16206,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":16207,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":16208,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":16209,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":16210,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":16211,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":16212,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":16213,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":16214,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":16215,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":16216,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":16217,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":16270,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":16271,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":16201,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":16202,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":16203,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":16204,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":16244,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":16245,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":16232,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16233,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":16234,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":16218,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16219,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":16220,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":16221,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":16222,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":16227,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16228,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":16229,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":16230,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":16231,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":16191,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16192,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":14480,"name":"Effect.dispose"}}],"sources":[{"fileName":"Tone/effect/FeedbackEffect.ts","line":62,"character":8}],"overwrites":{"type":"reference","id":14480,"name":"Effect.dispose"}},{"id":16235,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16236,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":16237,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":16260,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16261,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":16177,"name":"FeedbackEffectOptions"}},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":16242,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16243,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":16240,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16241,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":16262,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16263,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":16264,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":16177,"name":"FeedbackEffectOptions"}}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":16223,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16224,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":16251,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16252,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":16253,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":16225,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16226,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":16248,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16249,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":16250,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":16272,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16273,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":16254,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16255,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":16256,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":16189,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":16190,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":16177,"name":"FeedbackEffectOptions"},"overwrites":{"type":"reference","id":14475,"name":"Effect.getDefaults"}}],"sources":[{"fileName":"Tone/effect/FeedbackEffect.ts","line":56,"character":19}],"overwrites":{"type":"reference","id":14475,"name":"Effect.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[16186]},{"title":"Properties","kind":1024,"children":[16238,16266,16185,16196,16183,16197,16193,16265]},{"title":"Accessors","kind":262144,"children":[16246,16206,16210,16214,16270,16201,16203,16244]},{"title":"Methods","kind":2048,"children":[16232,16218,16227,16191,16235,16260,16242,16240,16262,16223,16251,16225,16248,16272,16254,16189]}],"sources":[{"fileName":"Tone/effect/FeedbackEffect.ts","line":25,"character":36}],"extendedTypes":[{"type":"reference","id":14463,"typeArguments":[{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":16177,"name":"FeedbackEffectOptions"}}],"name":"Effect"}],"extendedBy":[{"type":"reference","id":16280,"name":"FeedbackDelay"},{"type":"reference","id":17009,"name":"PitchShift"}]},{"id":11618,"name":"Filter","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Tone.Filter is a filter which allows for all of the same native methods\nas the [BiquadFilterNode](http://webaudio.github.io/web-audio-api/#the-biquadfilternode-interface).\nTone.Filter has the added ability to set the filter rolloff at -12\n(default), -24 and -48.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter(1500, \"highpass\").toDestination();\nfilter.frequency.rampTo(20000, 10);\nconst noise = new Tone.Noise().connect(filter).start();"}]},"children":[{"id":11629,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":11630,"name":"new Filter","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":11631,"name":"frequency","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The cutoff frequency of the filter."},"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":11632,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The type of filter."},"type":{"type":"reference","name":"BiquadFilterType"}},{"id":11633,"name":"rolloff","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The drop in decibels per octave after the cutoff frequency\n"},"type":{"type":"reference","id":11724,"name":"FilterRollOff"}}],"type":{"type":"reference","id":11618,"name":"Filter"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":11634,"name":"new Filter","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":11635,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":11725,"name":"FilterOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":11618,"name":"Filter"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/component/filter/Filter.ts","line":60,"character":35},{"fileName":"Tone/component/filter/Filter.ts","line":67,"character":86},{"fileName":"Tone/component/filter/Filter.ts","line":68,"character":47}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":11625,"name":"Q","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The Q or Quality of the filter"},"sources":[{"fileName":"Tone/component/filter/Filter.ts","line":45,"character":11}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"positive"}],"name":"Signal"}},{"id":11688,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":11716,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":11627,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The detune parameter"},"sources":[{"fileName":"Tone/component/filter/Filter.ts","line":55,"character":16}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"cents"}],"name":"Signal"}},{"id":11626,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The cutoff frequency of the filter."},"sources":[{"fileName":"Tone/component/filter/Filter.ts","line":50,"character":19}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"frequency"}],"name":"Signal"}},{"id":11628,"name":"gain","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The gain of the filter, only used in certain filter types"},"sources":[{"fileName":"Tone/component/filter/Filter.ts","line":60,"character":14}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"decibels"}],"name":"Signal"}},{"id":11620,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/filter/Filter.ts","line":32,"character":15}],"type":{"type":"reference","id":1143,"typeArguments":[{"type":"stringLiteral","value":"gain"}],"name":"Gain"},"defaultValue":"new Gain({ context: this.context })","overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":11619,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/filter/Filter.ts","line":30,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Filter\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":11621,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/filter/Filter.ts","line":33,"character":16}],"type":{"type":"reference","id":1143,"typeArguments":[{"type":"stringLiteral","value":"gain"}],"name":"Gain"},"defaultValue":"new Gain({ context: this.context })","overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":11715,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":11696,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":11697,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":11656,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":11657,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":11658,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":11659,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":11660,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":11661,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":11662,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":11663,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":11664,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":11665,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":11666,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":11667,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":11720,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":11721,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":11651,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":11652,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":11653,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":11654,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":11642,"name":"rolloff","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The rolloff of the filter which is the drop in db\nper octave. Implemented internally by cascading filters.\nOnly accepts the values -12, -24, -48 and -96."},"getSignature":[{"id":11643,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The rolloff of the filter which is the drop in db\nper octave. Implemented internally by cascading filters.\nOnly accepts the values -12, -24, -48 and -96."},"type":{"type":"reference","id":11724,"name":"FilterRollOff"}}],"setSignature":[{"id":11644,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The rolloff of the filter which is the drop in db\nper octave. Implemented internally by cascading filters.\nOnly accepts the values -12, -24, -48 and -96."},"parameters":[{"id":11645,"name":"rolloff","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"unknown","name":"-12"},{"type":"unknown","name":"-24"},{"type":"unknown","name":"-48"},{"type":"unknown","name":"-96"}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/component/filter/Filter.ts","line":132,"character":12},{"fileName":"Tone/component/filter/Filter.ts","line":135,"character":12}]},{"id":11694,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":11695,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":11638,"name":"type","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The type of the filter. Types: \"lowpass\", \"highpass\",\n\"bandpass\", \"lowshelf\", \"highshelf\", \"notch\", \"allpass\", or \"peaking\"."},"getSignature":[{"id":11639,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The type of the filter. Types: \"lowpass\", \"highpass\",\n\"bandpass\", \"lowshelf\", \"highshelf\", \"notch\", \"allpass\", or \"peaking\"."},"type":{"type":"reference","name":"BiquadFilterType"}}],"setSignature":[{"id":11640,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The type of the filter. Types: \"lowpass\", \"highpass\",\n\"bandpass\", \"lowshelf\", \"highshelf\", \"notch\", \"allpass\", or \"peaking\"."},"parameters":[{"id":11641,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"BiquadFilterType"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/component/filter/Filter.ts","line":116,"character":9},{"fileName":"Tone/component/filter/Filter.ts","line":119,"character":9}]},{"id":11682,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11683,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":11684,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":11668,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11669,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":11670,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":11671,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":11672,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":11677,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11678,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":11679,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":11680,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":11681,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":11649,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11650,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Clean up."},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/component/filter/Filter.ts","line":190,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":11685,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11686,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":11687,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":11710,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11711,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":11725,"name":"FilterOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":11646,"name":"getFrequencyResponse","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11647,"name":"getFrequencyResponse","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the frequency response curve. This curve represents how the filter\nresponses to frequencies between 20hz-20khz.","returns":"The frequency response curve between 20-20kHz\n"},"parameters":[{"id":11648,"name":"len","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The number of values to return"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"128"}],"type":{"type":"reference","name":"Float32Array"}}],"sources":[{"fileName":"Tone/component/filter/Filter.ts","line":169,"character":21}]},{"id":11692,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11693,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":11690,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11691,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":11712,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11713,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":11714,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":11725,"name":"FilterOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":11673,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11674,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":11701,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11702,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":11703,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":11675,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11676,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":11698,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11699,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":11700,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":11722,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11723,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":11704,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11705,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":11706,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":11636,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":11637,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":11725,"name":"FilterOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/component/filter/Filter.ts","line":101,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[11629]},{"title":"Properties","kind":1024,"children":[11625,11688,11716,11627,11626,11628,11620,11619,11621,11715]},{"title":"Accessors","kind":262144,"children":[11696,11656,11660,11664,11720,11651,11653,11642,11694,11638]},{"title":"Methods","kind":2048,"children":[11682,11668,11677,11649,11685,11710,11646,11692,11690,11712,11673,11701,11675,11698,11722,11704,11636]}],"sources":[{"fileName":"Tone/component/filter/Filter.ts","line":28,"character":19}],"extendedTypes":[{"type":"reference","id":1004,"typeArguments":[{"type":"reference","id":11725,"name":"FilterOptions"}],"name":"ToneAudioNode"}]},{"id":15011,"name":"Follower","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Follower is a simple envelope follower.\nIt's implemented by applying a lowpass filter to the absolute value of the incoming signal.\n```\n         +-----+    +---------------+\nInput +--> Abs +----> OnePoleFilter +--> Output\n         +-----+    +---------------+\n```"},"children":[{"id":15018,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":15019,"name":"new Follower","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":15020,"name":"smoothing","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The rate of change of the follower.\n"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":15011,"name":"Follower"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":15021,"name":"new Follower","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":15022,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":15008,"name":"FollowerOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":15011,"name":"Follower"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/component/analysis/Follower.ts","line":41,"character":19},{"fileName":"Tone/component/analysis/Follower.ts","line":46,"character":31},{"fileName":"Tone/component/analysis/Follower.ts","line":47,"character":49}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":15069,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":15097,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":15013,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/analysis/Follower.ts","line":25,"character":15}],"type":{"type":"reference","id":1101,"name":"InputNode"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":15012,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/analysis/Follower.ts","line":23,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Follower\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":15014,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/analysis/Follower.ts","line":26,"character":16}],"type":{"type":"reference","id":1102,"name":"OutputNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":15096,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":15077,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":15078,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":15037,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":15038,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":15039,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":15040,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":15041,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":15042,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":15043,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":15044,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":15045,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":15046,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":15047,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":15048,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":15101,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":15102,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":15032,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":15033,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":15034,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":15035,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":15075,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":15076,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":15025,"name":"smoothing","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The amount of time it takes a value change to arrive at the updated value."},"getSignature":[{"id":15026,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The amount of time it takes a value change to arrive at the updated value."},"type":{"type":"reference","id":31,"name":"Time"}}],"setSignature":[{"id":15027,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The amount of time it takes a value change to arrive at the updated value."},"parameters":[{"id":15028,"name":"smoothing","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"number"},{"type":"reflection","declaration":{"id":15029,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true}}}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/component/analysis/Follower.ts","line":71,"character":14},{"fileName":"Tone/component/analysis/Follower.ts","line":74,"character":14}]},{"id":15063,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15064,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":15065,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":15049,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15050,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":15051,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":15052,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":15053,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":15058,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15059,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":15060,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":15061,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":15062,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":15030,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15031,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/component/analysis/Follower.ts","line":79,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":15066,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15067,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":15068,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":15091,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15092,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":15008,"name":"FollowerOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":15073,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15074,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":15071,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15072,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":15093,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15094,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":15095,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":15008,"name":"FollowerOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":15054,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15055,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":15082,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15083,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":15084,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":15056,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15057,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":15079,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15080,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":15081,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":15103,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15104,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":15085,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15086,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":15087,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":15023,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":15024,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":15008,"name":"FollowerOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/component/analysis/Follower.ts","line":62,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[15018]},{"title":"Properties","kind":1024,"children":[15069,15097,15013,15012,15014,15096]},{"title":"Accessors","kind":262144,"children":[15077,15037,15041,15045,15101,15032,15034,15075,15025]},{"title":"Methods","kind":2048,"children":[15063,15049,15058,15030,15066,15091,15073,15071,15093,15054,15082,15056,15079,15103,15085,15023]}],"sources":[{"fileName":"Tone/component/analysis/Follower.ts","line":21,"character":21}],"extendedTypes":[{"type":"reference","id":1004,"typeArguments":[{"type":"reference","id":15008,"name":"FollowerOptions"}],"name":"ToneAudioNode"}]},{"id":16576,"name":"Freeverb","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Freeverb is a reverb based on [Freeverb](https://ccrma.stanford.edu/~jos/pasp/Freeverb.html).\nRead more on reverb on [Sound On Sound](https://web.archive.org/web/20160404083902/http://www.soundonsound.com:80/sos/feb01/articles/synthsecrets.asp).\nFreeverb is now implemented with an AudioWorkletNode which may result on performance degradation on some platforms. Consider using [[Reverb]].","tags":[{"tag":"example","text":"\nconst freeverb = new Tone.Freeverb().toDestination();\nfreeverb.dampening = 1000;\n// routing synth through the reverb\nconst synth = new Tone.NoiseSynth().connect(freeverb);\nsynth.triggerAttackRelease(0.05);"}]},"children":[{"id":16582,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":16583,"name":"new Freeverb","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":16584,"name":"roomSize","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Correlated to the decay time."},"type":{"type":"reference","id":23,"name":"NormalRange"}},{"id":16585,"name":"dampening","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The cutoff frequency of a lowpass filter as part of the reverb.\n"},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":16576,"name":"Freeverb"},"overwrites":{"type":"reference","id":15736,"name":"StereoEffect.__constructor"}},{"id":16586,"name":"new Freeverb","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":16587,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":16571,"name":"FreeverbOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":16576,"name":"Freeverb"},"overwrites":{"type":"reference","id":15736,"name":"StereoEffect.__constructor"}}],"sources":[{"fileName":"Tone/effect/Freeverb.ts","line":57,"character":51},{"fileName":"Tone/effect/Freeverb.ts","line":63,"character":60},{"fileName":"Tone/effect/Freeverb.ts","line":64,"character":49}],"overwrites":{"type":"reference","id":15736,"name":"StereoEffect.__constructor"}},{"id":16644,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":16672,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":16596,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/effect/StereoEffect.ts","line":19,"character":15}],"type":{"type":"reference","id":1143,"name":"Gain"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":15730,"name":"StereoEffect.input"}},{"id":16577,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/effect/Freeverb.ts","line":37,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Freeverb\"","overwrites":{"type":"reference","id":15729,"name":"StereoEffect.name"}},{"id":16597,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/effect/StereoEffect.ts","line":20,"character":16}],"type":{"type":"reference","id":14368,"name":"CrossFade"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":15731,"name":"StereoEffect.output"}},{"id":16578,"name":"roomSize","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The roomSize value between 0 and 1. A larger roomSize will result in a longer decay."},"sources":[{"fileName":"Tone/effect/Freeverb.ts","line":42,"character":18}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"normalRange"}],"name":"Signal"}},{"id":16598,"name":"wet","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The wet control, i.e. how much of the effected\nwill pass through to the output."},"sources":[{"fileName":"Tone/effect/StereoEffect.ts","line":31,"character":13}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"normalRange"}],"name":"Signal"},"inheritedFrom":{"type":"reference","id":15733,"name":"StereoEffect.wet"}},{"id":16671,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":16652,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":16653,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":16612,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":16613,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":16614,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":16615,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":16616,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":16617,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":16618,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":16619,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":16620,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":16621,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":16622,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":16623,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":16590,"name":"dampening","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The amount of dampening of the reverberant signal."},"getSignature":[{"id":16591,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The amount of dampening of the reverberant signal."},"type":{"type":"reference","id":32,"name":"Frequency"}}],"setSignature":[{"id":16592,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The amount of dampening of the reverberant signal."},"parameters":[{"id":16593,"name":"d","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"number"}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/effect/Freeverb.ts","line":122,"character":14},{"fileName":"Tone/effect/Freeverb.ts","line":125,"character":14}]},{"id":16676,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":16677,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":16607,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":16608,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":16609,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":16610,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":16650,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":16651,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":16638,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16639,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":16640,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":16624,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16625,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":16626,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":16627,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":16628,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":16633,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16634,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":16635,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":16636,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":16637,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":16594,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16595,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":15747,"name":"StereoEffect.dispose"}}],"sources":[{"fileName":"Tone/effect/Freeverb.ts","line":129,"character":8}],"overwrites":{"type":"reference","id":15747,"name":"StereoEffect.dispose"}},{"id":16641,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16642,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":16643,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":16666,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16667,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":16571,"name":"FreeverbOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":16648,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16649,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":16646,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16647,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":16668,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16669,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":16670,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":16571,"name":"FreeverbOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":16629,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16630,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":16657,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16658,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":16659,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":16631,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16632,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":16654,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16655,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":16656,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":16678,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16679,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":16660,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16661,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":16662,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":16588,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":16589,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":16571,"name":"FreeverbOptions"},"overwrites":{"type":"reference","id":15745,"name":"StereoEffect.getDefaults"}}],"sources":[{"fileName":"Tone/effect/Freeverb.ts","line":111,"character":19}],"overwrites":{"type":"reference","id":15745,"name":"StereoEffect.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[16582]},{"title":"Properties","kind":1024,"children":[16644,16672,16596,16577,16597,16578,16598,16671]},{"title":"Accessors","kind":262144,"children":[16652,16612,16616,16620,16590,16676,16607,16609,16650]},{"title":"Methods","kind":2048,"children":[16638,16624,16633,16594,16641,16666,16648,16646,16668,16629,16657,16631,16654,16678,16660,16588]}],"sources":[{"fileName":"Tone/effect/Freeverb.ts","line":35,"character":21}],"extendedTypes":[{"type":"reference","id":15727,"typeArguments":[{"type":"reference","id":16571,"name":"FreeverbOptions"}],"name":"StereoEffect"}]},{"id":4656,"name":"FrequencyClass","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Frequency is a primitive type for encoding Frequency values.\nEventually all time values are evaluated to hertz using the `valueOf` method.","tags":[{"tag":"example","text":"\nTone.Frequency(\"C3\"); // 261\nTone.Frequency(38, \"midi\");\nTone.Frequency(\"C3\").transpose(4);"}]},"typeParameter":[{"id":4657,"name":"Type","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"children":[{"id":4714,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":4715,"name":"new FrequencyClass","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":4716,"name":"context","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The context associated with the time value. Used to compute\nTransport and context-relative timing."},"type":{"type":"reference","id":3052,"name":"BaseContext"}},{"id":4717,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The time value as a number, string or object"},"type":{"type":"reference","id":502,"name":"TimeValue"}},{"id":4718,"name":"units","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Unit values\n"},"type":{"type":"reference","id":45,"name":"Unit"}}],"type":{"type":"reference","id":4656,"name":"FrequencyClass"},"inheritedFrom":{"type":"reference","id":442,"name":"TimeBaseClass.__constructor"}}],"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":50,"character":43}],"inheritedFrom":{"type":"reference","id":442,"name":"TimeBaseClass.__constructor"}},{"id":4710,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":30,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":437,"name":"TimeBaseClass.context"}},{"id":4739,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":4659,"name":"defaultUnits","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/type/Frequency.ts","line":23,"character":22}],"type":{"type":"reference","id":4749,"name":"FrequencyUnit"},"defaultValue":"\"hz\"","overwrites":{"type":"reference","id":441,"name":"TimeBaseClass.defaultUnits"}},{"id":4658,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/type/Frequency.ts","line":21,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Frequency\"","overwrites":{"type":"reference","id":507,"name":"TimeClass.name"}},{"id":4736,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":4745,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":4746,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":4660,"name":"A4","kind":262144,"kindString":"Accessor","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The [concert tuning pitch](https://en.wikipedia.org/wiki/Concert_pitch) which is used\nto generate all the other pitch values from notes. A4's values in Hertz."},"getSignature":[{"id":4661,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The [concert tuning pitch](https://en.wikipedia.org/wiki/Concert_pitch) which is used\nto generate all the other pitch values from notes. A4's values in Hertz."},"type":{"type":"reference","id":41,"name":"Hertz"}}],"setSignature":[{"id":4662,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The [concert tuning pitch](https://en.wikipedia.org/wiki/Concert_pitch) which is used\nto generate all the other pitch values from notes. A4's values in Hertz."},"parameters":[{"id":4663,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":41,"name":"Hertz"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/type/Frequency.ts","line":29,"character":14},{"fileName":"Tone/core/type/Frequency.ts","line":32,"character":14}]},{"id":4743,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4744,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect and dispose."},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":58,"name":"Tone.dispose"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":83,"character":8}],"inheritedFrom":{"type":"reference","id":58,"name":"Tone.dispose"}},{"id":4727,"name":"fromType","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4728,"name":"fromType","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Coerce a time type into this units type."},"parameters":[{"id":4729,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"Any time type units\n"},"type":{"type":"reference","id":434,"typeArguments":[{"type":"intrinsic","name":"any"},{"type":"intrinsic","name":"any"}],"name":"TimeBaseClass"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":473,"name":"TimeBaseClass.fromType"}}],"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":270,"character":9}],"inheritedFrom":{"type":"reference","id":473,"name":"TimeBaseClass.fromType"}},{"id":4669,"name":"harmonize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4670,"name":"harmonize","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Takes an array of semitone intervals and returns\nan array of frequencies transposed by those intervals.","returns":"Returns an array of Frequencies","tags":[{"tag":"example","text":"\nTone.Frequency(\"A4\").harmonize([0, 3, 7]); // [\"A4\", \"C5\", \"E5\"]\n"}]},"parameters":[{"id":4671,"name":"intervals","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"array","elementType":{"type":"reference","id":25,"name":"Interval"}}}],"type":{"type":"array","elementType":{"type":"reference","id":4656,"name":"FrequencyClass"}}}],"sources":[{"fileName":"Tone/core/type/Frequency.ts","line":104,"character":10}]},{"id":4700,"name":"quantize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4701,"name":"quantize","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Quantize the time by the given subdivision. Optionally add a\npercentage which will move the time value towards the ideal\nquantized value by that percentage.","tags":[{"tag":"example","text":"\nTone.Time(21).quantize(2); // returns 22\nTone.Time(0.6).quantize(\"4n\", 0.5); // returns 0.55\n"}]},"parameters":[{"id":4702,"name":"subdiv","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The subdivision to quantize to"},"type":{"type":"reference","id":31,"name":"Time"}},{"id":4703,"name":"percent","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"Move the time value towards the quantized value by a percentage."},"type":{"type":"intrinsic","name":"number"},"defaultValue":"1"}],"type":{"type":"typeParameter","name":"Type","constraint":{"type":"intrinsic","name":"number"}},"inheritedFrom":{"type":"reference","id":510,"name":"TimeClass.quantize"}}],"sources":[{"fileName":"Tone/core/type/Time.ts","line":48,"character":9}],"inheritedFrom":{"type":"reference","id":510,"name":"TimeClass.quantize"}},{"id":4706,"name":"toBarsBeatsSixteenths","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4707,"name":"toBarsBeatsSixteenths","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the time encoded as Bars:Beats:Sixteenths."},"type":{"type":"reference","id":39,"name":"BarsBeatsSixteenths"},"inheritedFrom":{"type":"reference","id":516,"name":"TimeClass.toBarsBeatsSixteenths"}}],"sources":[{"fileName":"Tone/core/type/Time.ts","line":94,"character":22}],"inheritedFrom":{"type":"reference","id":516,"name":"TimeClass.toBarsBeatsSixteenths"}},{"id":4730,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4731,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the value in hertz"},"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":482,"name":"TimeBaseClass.toFrequency"}}],"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":307,"character":12}],"inheritedFrom":{"type":"reference","id":482,"name":"TimeBaseClass.toFrequency"}},{"id":4672,"name":"toMidi","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4673,"name":"toMidi","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the value of the frequency as a MIDI note","tags":[{"tag":"example","text":"\nTone.Frequency(\"C4\").toMidi(); // 60\n"}]},"type":{"type":"reference","id":3,"name":"MidiNote"},"overwrites":{"type":"reference","id":522,"name":"TimeClass.toMidi"}}],"sources":[{"fileName":"Tone/core/type/Frequency.ts","line":119,"character":7}],"overwrites":{"type":"reference","id":522,"name":"TimeClass.toMidi"}},{"id":4734,"name":"toMilliseconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4735,"name":"toMilliseconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the time in milliseconds."},"type":{"type":"reference","id":43,"name":"Milliseconds"},"inheritedFrom":{"type":"reference","id":486,"name":"TimeBaseClass.toMilliseconds"}}],"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":321,"character":15}],"inheritedFrom":{"type":"reference","id":486,"name":"TimeBaseClass.toMilliseconds"}},{"id":4704,"name":"toNotation","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4705,"name":"toNotation","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert a Time to Notation. The notation values are will be the\nclosest representation between 1m to 128th note.","tags":[{"tag":"example","text":"\n// if the Transport is at 120bpm:\nTone.Time(2).toNotation(); // returns \"1m\"\n"}]},"type":{"type":"reference","id":28,"name":"Subdivision"},"inheritedFrom":{"type":"reference","id":514,"name":"TimeClass.toNotation"}}],"sources":[{"fileName":"Tone/core/type/Time.ts","line":68,"character":11}],"inheritedFrom":{"type":"reference","id":514,"name":"TimeClass.toNotation"}},{"id":4674,"name":"toNote","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4675,"name":"toNote","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the value of the frequency in Scientific Pitch Notation","tags":[{"tag":"example","text":"\nTone.Frequency(69, \"midi\").toNote(); // \"A4\"\n"}]},"type":{"type":"reference","id":2,"name":"Note"}}],"sources":[{"fileName":"Tone/core/type/Frequency.ts","line":128,"character":7}]},{"id":4732,"name":"toSamples","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4733,"name":"toSamples","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the time in samples"},"type":{"type":"reference","id":40,"name":"Samples"},"inheritedFrom":{"type":"reference","id":484,"name":"TimeBaseClass.toSamples"}}],"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":314,"character":10}],"inheritedFrom":{"type":"reference","id":484,"name":"TimeBaseClass.toSamples"}},{"id":4676,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4677,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the duration of one cycle in seconds."},"type":{"type":"reference","id":21,"name":"Seconds"},"overwrites":{"type":"reference","id":520,"name":"TimeClass.toSeconds"}}],"sources":[{"fileName":"Tone/core/type/Frequency.ts","line":143,"character":10}],"overwrites":{"type":"reference","id":520,"name":"TimeClass.toSeconds"}},{"id":4747,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4748,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":4678,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4679,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the duration of one cycle in ticks"},"type":{"type":"reference","id":35,"name":"Ticks"},"overwrites":{"type":"reference","id":518,"name":"TimeClass.toTicks"}}],"sources":[{"fileName":"Tone/core/type/Frequency.ts","line":150,"character":8}],"overwrites":{"type":"reference","id":518,"name":"TimeClass.toTicks"}},{"id":4666,"name":"transpose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4667,"name":"transpose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Transposes the frequency by the given number of semitones.","returns":"A new transposed frequency","tags":[{"tag":"example","text":"\nTone.Frequency(\"A4\").transpose(3); // \"C5\"\n"}]},"parameters":[{"id":4668,"name":"interval","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":25,"name":"Interval"}}],"type":{"type":"reference","id":4656,"name":"FrequencyClass"}}],"sources":[{"fileName":"Tone/core/type/Frequency.ts","line":93,"character":10}]},{"id":4719,"name":"valueOf","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4720,"name":"valueOf","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Evaluate the time value. Returns the time in seconds."},"type":{"type":"typeParameter","name":"Type","constraint":{"type":"intrinsic","name":"number"}},"inheritedFrom":{"type":"reference","id":449,"name":"TimeBaseClass.valueOf"}}],"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":153,"character":8}],"inheritedFrom":{"type":"reference","id":449,"name":"TimeBaseClass.valueOf"}},{"id":4697,"name":"ftom","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":4698,"name":"ftom","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert a frequency value to a MIDI note."},"parameters":[{"id":4699,"name":"frequency","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The value to frequency value to convert.\n"},"type":{"type":"reference","id":41,"name":"Hertz"}}],"type":{"type":"reference","id":3,"name":"MidiNote"}}],"sources":[{"fileName":"Tone/core/type/Frequency.ts","line":208,"character":12}]},{"id":4737,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":4738,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Returns all of the default options belonging to the class."},"type":{"type":"reference","id":47,"name":"BaseToneOptions"},"inheritedFrom":{"type":"reference","id":51,"name":"Tone.getDefaults"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":38,"character":19}],"inheritedFrom":{"type":"reference","id":51,"name":"Tone.getDefaults"}},{"id":4694,"name":"mtof","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":4695,"name":"mtof","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert a MIDI note to frequency value.","returns":"The corresponding frequency value\n"},"parameters":[{"id":4696,"name":"midi","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The midi number to convert."},"type":{"type":"reference","id":3,"name":"MidiNote"}}],"type":{"type":"reference","id":41,"name":"Hertz"}}],"sources":[{"fileName":"Tone/core/type/Frequency.ts","line":200,"character":12}]}],"groups":[{"title":"Constructors","kind":512,"children":[4714]},{"title":"Properties","kind":1024,"children":[4710,4739,4659,4658,4736]},{"title":"Accessors","kind":262144,"children":[4745,4660]},{"title":"Methods","kind":2048,"children":[4743,4727,4669,4700,4706,4730,4672,4734,4704,4674,4732,4676,4747,4678,4666,4719,4697,4737,4694]}],"sources":[{"fileName":"Tone/core/type/Frequency.ts","line":19,"character":27}],"extendedTypes":[{"type":"reference","id":504,"typeArguments":[{"type":"typeParameter","name":"Type","constraint":{"type":"intrinsic","name":"number"}},{"type":"reference","id":4749,"name":"FrequencyUnit"}],"name":"TimeClass"}],"extendedBy":[{"type":"reference","id":5462,"name":"MidiClass"}]},{"id":11740,"name":"FrequencyEnvelope","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"FrequencyEnvelope is an [[Envelope]] which ramps between [[baseFrequency]]\nand [[octaves]]. It can also have an optional [[exponent]] to adjust the curve\nwhich it ramps.","tags":[{"tag":"example","text":"\nconst oscillator = new Tone.Oscillator().toDestination().start();\nconst freqEnv = new Tone.FrequencyEnvelope({\n\tattack: 0.2,\n\tbaseFrequency: \"C2\",\n\toctaves: 4\n});\nfreqEnv.connect(oscillator.frequency);\nfreqEnv.triggerAttack();"}]},"children":[{"id":11746,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":11747,"name":"new FrequencyEnvelope","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":11748,"name":"attack","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"the attack time in seconds"},"type":{"type":"reference","id":31,"name":"Time"}},{"id":11749,"name":"decay","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"the decay time in seconds"},"type":{"type":"reference","id":31,"name":"Time"}},{"id":11750,"name":"sustain","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"a percentage (0-1) of the full amplitude"},"type":{"type":"reference","id":23,"name":"NormalRange"}},{"id":11751,"name":"release","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"the release time in seconds\n"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":11740,"name":"FrequencyEnvelope"},"overwrites":{"type":"reference","id":10558,"name":"Envelope.__constructor"}},{"id":11752,"name":"new FrequencyEnvelope","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":11753,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":11728,"name":"FrequencyEnvelopeOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":11740,"name":"FrequencyEnvelope"},"overwrites":{"type":"reference","id":10558,"name":"Envelope.__constructor"}}],"sources":[{"fileName":"Tone/component/envelope/FrequencyEnvelope.ts","line":50,"character":24},{"fileName":"Tone/component/envelope/FrequencyEnvelope.ts","line":58,"character":81},{"fileName":"Tone/component/envelope/FrequencyEnvelope.ts","line":59,"character":57}],"overwrites":{"type":"reference","id":10558,"name":"Envelope.__constructor"}},{"id":11770,"name":"attack","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"When triggerAttack is called, the attack time is the amount of\ntime it takes for the envelope to reach it's maximum value.\n```\n          /\\\n         /X \\\n        /XX  \\\n       /XXX   \\\n      /XXXX    \\___________\n     /XXXXX                \\\n    /XXXXXX                 \\\n   /XXXXXXX                  \\\n  /XXXXXXXX                   \\\n```","tags":[{"tag":"min","text":"0"},{"tag":"max","text":"2\n"}]},"decorators":[{"name":"timeRange","type":{"type":"reference","id":8896,"name":"timeRange"},"arguments":{"min":"0"}}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":74,"character":7}],"type":{"type":"reference","id":31,"name":"Time"},"inheritedFrom":{"type":"reference","id":10548,"name":"Envelope.attack"}},{"id":11849,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":11877,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":11771,"name":"decay","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"After the attack portion of the envelope, the value will fall\nover the duration of the decay time to it's sustain value.\n```\n          /\\\n         / X\\\n        /  XX\\\n       /   XXX\\\n      /    XXXX\\___________\n     /     XXXXX           \\\n    /      XXXXX            \\\n   /       XXXXX             \\\n  /        XXXXX              \\\n```","tags":[{"tag":"min","text":"0"},{"tag":"max","text":"2\n"}]},"decorators":[{"name":"timeRange","type":{"type":"reference","id":8896,"name":"timeRange"},"arguments":{"min":"0"}}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":94,"character":6}],"type":{"type":"reference","id":31,"name":"Time"},"inheritedFrom":{"type":"reference","id":10549,"name":"Envelope.decay"}},{"id":11776,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Envelope has no input"},"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":167,"character":6}],"type":{"type":"union","types":[{"type":"reference","id":1101,"name":"InputNode"},{"type":"intrinsic","name":"undefined"}]},"defaultValue":"undefined","overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":10557,"name":"Envelope.input"}},{"id":11741,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/envelope/FrequencyEnvelope.ts","line":30,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"FrequencyEnvelope\"","overwrites":{"type":"reference","id":10547,"name":"Envelope.name"}},{"id":11775,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The output signal of the envelope"},"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":162,"character":7}],"type":{"type":"reference","id":1102,"name":"OutputNode"},"defaultValue":"this._sig","overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":10556,"name":"Envelope.output"}},{"id":11773,"name":"release","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"After triggerRelease is called, the envelope's\nvalue will fall to it's miminum value over the\nduration of the release time.\n```\n          /\\\n         /  \\\n        /    \\\n       /      \\\n      /        \\___________\n     /                    X\\\n    /                     XX\\\n   /                      XXX\\\n  /                       XXXX\\\n```","tags":[{"tag":"min","text":"0"},{"tag":"max","text":"5\n"}]},"decorators":[{"name":"timeRange","type":{"type":"reference","id":8896,"name":"timeRange"},"arguments":{"min":"0"}}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":134,"character":8}],"type":{"type":"reference","id":31,"name":"Time"},"inheritedFrom":{"type":"reference","id":10551,"name":"Envelope.release"}},{"id":11772,"name":"sustain","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The sustain value is the value\nwhich the envelope rests at after triggerAttack is\ncalled, but before triggerRelease is invoked.\n```\n          /\\\n         /  \\\n        /    \\\n       /      \\\n      /        \\___________\n     /          XXXXXXXXXXX\\\n    /           XXXXXXXXXXX \\\n   /            XXXXXXXXXXX  \\\n  /             XXXXXXXXXXX   \\\n```"},"decorators":[{"name":"range","type":{"type":"reference","id":8892,"name":"range"},"arguments":{"min":"0","max":"1"}}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":113,"character":8}],"type":{"type":"reference","id":23,"name":"NormalRange"},"inheritedFrom":{"type":"reference","id":10550,"name":"Envelope.sustain"}},{"id":11876,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":11779,"name":"attackCurve","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The shape of the attack.\nCan be any of these strings:\n* \"linear\"\n* \"exponential\"\n* \"sine\"\n* \"cosine\"\n* \"bounce\"\n* \"ripple\"\n* \"step\"","text":"Can also be an array which describes the curve. Values\nin the array are evenly subdivided and linearly\ninterpolated over the duration of the attack.","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst env = new Tone.Envelope(0.4).toDestination();\n\tenv.attackCurve = \"linear\";\n\tenv.triggerAttack();\n}, 1, 1);\n"}]},"getSignature":[{"id":11780,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The shape of the attack.\nCan be any of these strings:\n* \"linear\"\n* \"exponential\"\n* \"sine\"\n* \"cosine\"\n* \"bounce\"\n* \"ripple\"\n* \"step\"","text":"Can also be an array which describes the curve. Values\nin the array are evenly subdivided and linearly\ninterpolated over the duration of the attack.","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst env = new Tone.Envelope(0.4).toDestination();\n\tenv.attackCurve = \"linear\";\n\tenv.triggerAttack();\n}, 1, 1);\n"}]},"type":{"type":"reference","id":10700,"name":"EnvelopeCurve"},"inheritedFrom":{"type":"reference","id":10579,"name":"Envelope.attackCurve"}}],"setSignature":[{"id":11781,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The shape of the attack.\nCan be any of these strings:\n* \"linear\"\n* \"exponential\"\n* \"sine\"\n* \"cosine\"\n* \"bounce\"\n* \"ripple\"\n* \"step\"","text":"Can also be an array which describes the curve. Values\nin the array are evenly subdivided and linearly\ninterpolated over the duration of the attack.","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst env = new Tone.Envelope(0.4).toDestination();\n\tenv.attackCurve = \"linear\";\n\tenv.triggerAttack();\n}, 1, 1);\n"}]},"parameters":[{"id":11782,"name":"curve","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"array","elementType":{"type":"intrinsic","name":"number"}},{"type":"stringLiteral","value":"linear"},{"type":"stringLiteral","value":"exponential"},{"type":"stringLiteral","value":"sine"},{"type":"stringLiteral","value":"bounce"},{"type":"stringLiteral","value":"cosine"},{"type":"stringLiteral","value":"ripple"},{"type":"stringLiteral","value":"step"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":10579,"name":"Envelope.attackCurve"}}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":286,"character":16},{"fileName":"Tone/component/envelope/Envelope.ts","line":289,"character":16}],"inheritedFrom":{"type":"reference","id":10579,"name":"Envelope.attackCurve"}},{"id":11756,"name":"baseFrequency","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The envelope's minimum output value. This is the value which it\nstarts at."},"getSignature":[{"id":11757,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The envelope's minimum output value. This is the value which it\nstarts at."},"type":{"type":"reference","id":32,"name":"Frequency"}}],"setSignature":[{"id":11758,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The envelope's minimum output value. This is the value which it\nstarts at."},"parameters":[{"id":11759,"name":"min","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"number"}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/component/envelope/FrequencyEnvelope.ts","line":91,"character":18},{"fileName":"Tone/component/envelope/FrequencyEnvelope.ts","line":94,"character":18}]},{"id":11857,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":11858,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":11822,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":11823,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":11824,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":11825,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":11826,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":11827,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":11828,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":11829,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":11830,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":11831,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":11832,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":11833,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":11787,"name":"decayCurve","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The shape of the decay either \"linear\" or \"exponential\"","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst env = new Tone.Envelope({\n\t\tsustain: 0.1,\n\t\tdecay: 0.5\n\t}).toDestination();\n\tenv.decayCurve = \"linear\";\n\tenv.triggerAttack();\n}, 1, 1);\n"}]},"getSignature":[{"id":11788,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The shape of the decay either \"linear\" or \"exponential\"","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst env = new Tone.Envelope({\n\t\tsustain: 0.1,\n\t\tdecay: 0.5\n\t}).toDestination();\n\tenv.decayCurve = \"linear\";\n\tenv.triggerAttack();\n}, 1, 1);\n"}]},"type":{"type":"reference","id":10698,"name":"BasicEnvelopeCurve"},"inheritedFrom":{"type":"reference","id":10587,"name":"Envelope.decayCurve"}}],"setSignature":[{"id":11789,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The shape of the decay either \"linear\" or \"exponential\"","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst env = new Tone.Envelope({\n\t\tsustain: 0.1,\n\t\tdecay: 0.5\n\t}).toDestination();\n\tenv.decayCurve = \"linear\";\n\tenv.triggerAttack();\n}, 1, 1);\n"}]},"parameters":[{"id":11790,"name":"curve","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"linear"},{"type":"stringLiteral","value":"exponential"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":10587,"name":"Envelope.decayCurve"}}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":325,"character":15},{"fileName":"Tone/component/envelope/Envelope.ts","line":328,"character":15}],"inheritedFrom":{"type":"reference","id":10587,"name":"Envelope.decayCurve"}},{"id":11881,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":11882,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":11764,"name":"exponent","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The envelope's exponent value."},"getSignature":[{"id":11765,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The envelope's exponent value."},"type":{"type":"intrinsic","name":"number"}}],"setSignature":[{"id":11766,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The envelope's exponent value."},"parameters":[{"id":11767,"name":"exponent","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/component/envelope/FrequencyEnvelope.ts","line":118,"character":13},{"fileName":"Tone/component/envelope/FrequencyEnvelope.ts","line":121,"character":13}]},{"id":11817,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":11818,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":11819,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":11820,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":11760,"name":"octaves","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of octaves above the baseFrequency that the\nenvelope will scale to."},"getSignature":[{"id":11761,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of octaves above the baseFrequency that the\nenvelope will scale to."},"type":{"type":"intrinsic","name":"number"}}],"setSignature":[{"id":11762,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The number of octaves above the baseFrequency that the\nenvelope will scale to."},"parameters":[{"id":11763,"name":"octaves","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/component/envelope/FrequencyEnvelope.ts","line":107,"character":12},{"fileName":"Tone/component/envelope/FrequencyEnvelope.ts","line":110,"character":12}]},{"id":11783,"name":"releaseCurve","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The shape of the release. See the attack curve types.","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst env = new Tone.Envelope({\n\t\trelease: 0.8\n\t}).toDestination();\n\tenv.triggerAttack();\n\t// release curve could also be defined by an array\n\tenv.releaseCurve = [1, 0.3, 0.4, 0.2, 0.7, 0];\n\tenv.triggerRelease(0.2);\n}, 1, 1);\n"}]},"getSignature":[{"id":11784,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The shape of the release. See the attack curve types.","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst env = new Tone.Envelope({\n\t\trelease: 0.8\n\t}).toDestination();\n\tenv.triggerAttack();\n\t// release curve could also be defined by an array\n\tenv.releaseCurve = [1, 0.3, 0.4, 0.2, 0.7, 0];\n\tenv.triggerRelease(0.2);\n}, 1, 1);\n"}]},"type":{"type":"reference","id":10700,"name":"EnvelopeCurve"},"inheritedFrom":{"type":"reference","id":10583,"name":"Envelope.releaseCurve"}}],"setSignature":[{"id":11785,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The shape of the release. See the attack curve types.","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst env = new Tone.Envelope({\n\t\trelease: 0.8\n\t}).toDestination();\n\tenv.triggerAttack();\n\t// release curve could also be defined by an array\n\tenv.releaseCurve = [1, 0.3, 0.4, 0.2, 0.7, 0];\n\tenv.triggerRelease(0.2);\n}, 1, 1);\n"}]},"parameters":[{"id":11786,"name":"curve","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"array","elementType":{"type":"intrinsic","name":"number"}},{"type":"stringLiteral","value":"linear"},{"type":"stringLiteral","value":"exponential"},{"type":"stringLiteral","value":"sine"},{"type":"stringLiteral","value":"bounce"},{"type":"stringLiteral","value":"cosine"},{"type":"stringLiteral","value":"ripple"},{"type":"stringLiteral","value":"step"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":10583,"name":"Envelope.releaseCurve"}}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":306,"character":17},{"fileName":"Tone/component/envelope/Envelope.ts","line":309,"character":17}],"inheritedFrom":{"type":"reference","id":10583,"name":"Envelope.releaseCurve"}},{"id":11855,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":11856,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":11777,"name":"value","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Read the current value of the envelope. Useful for\nsynchronizing visual output to the envelope."},"getSignature":[{"id":11778,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Read the current value of the envelope. Useful for\nsynchronizing visual output to the envelope."},"type":{"type":"reference","id":23,"name":"NormalRange"},"inheritedFrom":{"type":"reference","id":10568,"name":"Envelope.value"}}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":211,"character":10}],"inheritedFrom":{"type":"reference","id":10568,"name":"Envelope.value"}},{"id":11814,"name":"asArray","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11815,"name":"asArray","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Render the envelope curve to an array of the given length.\nGood for visualizing the envelope curve. Rescales the duration of the\nenvelope to fit the length."},"parameters":[{"id":11816,"name":"length","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"1024"}],"type":{"type":"reference","typeArguments":[{"type":"reference","name":"Float32Array"}],"name":"Promise"},"inheritedFrom":{"type":"reference","id":10614,"name":"Envelope.asArray"}}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":482,"character":14}],"inheritedFrom":{"type":"reference","id":10614,"name":"Envelope.asArray"}},{"id":11806,"name":"cancel","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11807,"name":"cancel","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Cancels all scheduled envelope changes after the given time."},"parameters":[{"id":11808,"name":"after","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":10606,"name":"Envelope.cancel"}}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":464,"character":7}],"inheritedFrom":{"type":"reference","id":10606,"name":"Envelope.cancel"}},{"id":11843,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11844,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":11845,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":11809,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11810,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the envelope to a destination node."},"parameters":[{"id":11811,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":11812,"name":"outputNumber","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":11813,"name":"inputNumber","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"},"inheritedFrom":{"type":"reference","id":10609,"name":"Envelope.connect"}}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":472,"character":8}],"overwrites":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"},"inheritedFrom":{"type":"reference","id":10609,"name":"Envelope.connect"}},{"id":11838,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11839,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":11840,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":11841,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":11842,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":11768,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11769,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Clean up"},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":10617,"name":"Envelope.dispose"}}],"sources":[{"fileName":"Tone/component/envelope/FrequencyEnvelope.ts","line":128,"character":8}],"overwrites":{"type":"reference","id":10617,"name":"Envelope.dispose"}},{"id":11846,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11847,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":11848,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":11871,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11872,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":10537,"name":"EnvelopeOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":11798,"name":"getValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11799,"name":"getValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the scheduled value at the given time. This will\nreturn the unconverted (raw) value.","tags":[{"tag":"example","text":"\nconst env = new Tone.Envelope(0.5, 1, 0.4, 2);\nenv.triggerAttackRelease(2);\nsetInterval(() => console.log(env.getValueAtTime(Tone.now())), 100);\n"}]},"parameters":[{"id":11800,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":23,"name":"NormalRange"},"inheritedFrom":{"type":"reference","id":10598,"name":"Envelope.getValueAtTime"}}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":438,"character":15}],"inheritedFrom":{"type":"reference","id":10598,"name":"Envelope.getValueAtTime"}},{"id":11853,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11854,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":11851,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11852,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":11873,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11874,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":11875,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":10537,"name":"EnvelopeOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":11834,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11835,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":11862,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11863,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":11864,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":11836,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11837,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":11859,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11860,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":11861,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":11883,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11884,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":11865,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11866,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":11867,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":11791,"name":"triggerAttack","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11792,"name":"triggerAttack","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Trigger the attack/decay portion of the ADSR envelope.","tags":[{"tag":"example","text":"\nconst env = new Tone.AmplitudeEnvelope().toDestination();\nconst osc = new Tone.Oscillator().connect(env).start();\n// trigger the attack 0.5 seconds from now with a velocity of 0.2\nenv.triggerAttack(\"+0.5\", 0.2);\n"}]},"parameters":[{"id":11793,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the attack should start."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":11794,"name":"velocity","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The velocity of the envelope scales the vales.\n                            number between 0-1"},"type":{"type":"reference","id":23,"name":"NormalRange"},"defaultValue":"1"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":10591,"name":"Envelope.triggerAttack"}}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":344,"character":14}],"inheritedFrom":{"type":"reference","id":10591,"name":"Envelope.triggerAttack"}},{"id":11801,"name":"triggerAttackRelease","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11802,"name":"triggerAttackRelease","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"triggerAttackRelease is shorthand for triggerAttack, then waiting\nsome duration, then triggerRelease.","tags":[{"tag":"example","text":"\nconst env = new Tone.AmplitudeEnvelope().toDestination();\nconst osc = new Tone.Oscillator().connect(env).start();\n// trigger the release 0.5 seconds after the attack\nenv.triggerAttackRelease(0.5);\n"}]},"parameters":[{"id":11803,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The duration of the sustain."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":11804,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the attack should be triggered."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":11805,"name":"velocity","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The velocity of the envelope."},"type":{"type":"reference","id":23,"name":"NormalRange"},"defaultValue":"1"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":10601,"name":"Envelope.triggerAttackRelease"}}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":454,"character":21}],"inheritedFrom":{"type":"reference","id":10601,"name":"Envelope.triggerAttackRelease"}},{"id":11795,"name":"triggerRelease","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11796,"name":"triggerRelease","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Triggers the release of the envelope.","tags":[{"tag":"example","text":"\nconst env = new Tone.AmplitudeEnvelope().toDestination();\nconst osc = new Tone.Oscillator({\n\ttype: \"sawtooth\"\n}).connect(env).start();\nenv.triggerAttack();\n// trigger the release half a second after the attack\nenv.triggerRelease(\"+0.5\");\n"}]},"parameters":[{"id":11797,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the release portion of the envelope should start."},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":10595,"name":"Envelope.triggerRelease"}}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":409,"character":15}],"inheritedFrom":{"type":"reference","id":10595,"name":"Envelope.triggerRelease"}},{"id":11754,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":11755,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":11728,"name":"FrequencyEnvelopeOptions"},"overwrites":{"type":"reference","id":10566,"name":"Envelope.getDefaults"}}],"sources":[{"fileName":"Tone/component/envelope/FrequencyEnvelope.ts","line":79,"character":19}],"overwrites":{"type":"reference","id":10566,"name":"Envelope.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[11746]},{"title":"Properties","kind":1024,"children":[11770,11849,11877,11771,11776,11741,11775,11773,11772,11876]},{"title":"Accessors","kind":262144,"children":[11779,11756,11857,11822,11826,11830,11787,11881,11764,11817,11819,11760,11783,11855,11777]},{"title":"Methods","kind":2048,"children":[11814,11806,11843,11809,11838,11768,11846,11871,11798,11853,11851,11873,11834,11862,11836,11859,11883,11865,11791,11801,11795,11754]}],"sources":[{"fileName":"Tone/component/envelope/FrequencyEnvelope.ts","line":28,"character":30}],"extendedTypes":[{"type":"reference","id":10546,"name":"Envelope"}]},{"id":16471,"name":"FrequencyShifter","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"FrequencyShifter can be used to shift all frequencies of a signal by a fixed amount.\nThe amount can be changed at audio rate and the effect is applied in real time.\nThe frequency shifting is implemented with a technique called single side band modulation using a ring modulator.\nNote: Contrary to pitch shifting, all frequencies are shifted by the same amount,\ndestroying the harmonic relationship between them. This leads to the classic ring modulator timbre distortion.\nThe algorithm will produces some aliasing towards the high end, especially if your source material\ncontains a lot of high frequencies. Unfortunatelly the webaudio API does not support resampling\nbuffers in real time, so it is not possible to fix it properly. Depending on the use case it might\nbe an option to low pass filter your input before frequency shifting it to get ride of the aliasing.\nYou can find a very detailed description of the algorithm here: https://larzeitlin.github.io/RMFS/","tags":[{"tag":"example","text":"\nconst input = new Tone.Oscillator(230, \"sawtooth\").start();\nconst shift = new Tone.FrequencyShifter(42).toDestination();\ninput.connect(shift);"}]},"children":[{"id":16481,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":16482,"name":"new FrequencyShifter","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":16483,"name":"frequency","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The incoming signal is shifted by this frequency value.\n"},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":16471,"name":"FrequencyShifter"},"overwrites":{"type":"reference","id":14472,"name":"Effect.__constructor"}},{"id":16484,"name":"new FrequencyShifter","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":16485,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":16467,"name":"FrequencyShifterOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":16471,"name":"FrequencyShifter"},"overwrites":{"type":"reference","id":14472,"name":"Effect.__constructor"}}],"sources":[{"fileName":"Tone/effect/FrequencyShifter.ts","line":77,"character":42},{"fileName":"Tone/effect/FrequencyShifter.ts","line":82,"character":36},{"fileName":"Tone/effect/FrequencyShifter.ts","line":83,"character":57}],"overwrites":{"type":"reference","id":14472,"name":"Effect.__constructor"}},{"id":16535,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":16563,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":16473,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The ring modulators carrier frequency. This frequency determines\nby how many Hertz the input signal will be shifted up or down. Default is 0."},"sources":[{"fileName":"Tone/effect/FrequencyShifter.ts","line":42,"character":19}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"frequency"}],"name":"Signal"}},{"id":16493,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The effect input node"},"sources":[{"fileName":"Tone/effect/Effect.ts","line":46,"character":6}],"type":{"type":"reference","id":1143,"name":"Gain"},"defaultValue":"new Gain({ context: this.context })","overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":14470,"name":"Effect.input"}},{"id":16472,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/effect/FrequencyShifter.ts","line":36,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"FrequencyShifter\"","overwrites":{"type":"reference","id":14465,"name":"Effect.name"}},{"id":16494,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The effect output"},"sources":[{"fileName":"Tone/effect/Effect.ts","line":51,"character":7}],"type":{"type":"reference","id":14368,"name":"CrossFade"},"defaultValue":"this._dryWet","overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":14471,"name":"Effect.output"}},{"id":16490,"name":"wet","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The wet control is how much of the effected\nwill pass through to the output. 1 = 100% effected\nsignal, 0 = 100% dry signal."},"sources":[{"fileName":"Tone/effect/Effect.ts","line":31,"character":4}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"normalRange"}],"name":"Signal"},"defaultValue":"this._dryWet.fade","inheritedFrom":{"type":"reference","id":14467,"name":"Effect.wet"}},{"id":16562,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":16543,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":16544,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":16503,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":16504,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":16505,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":16506,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":16507,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":16508,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":16509,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":16510,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":16511,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":16512,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":16513,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":16514,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":16567,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":16568,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":16498,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":16499,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":16500,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":16501,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":16541,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":16542,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":16529,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16530,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":16531,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":16515,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16516,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":16517,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":16518,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":16519,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":16524,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16525,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":16526,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":16527,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":16528,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":16488,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16489,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":14480,"name":"Effect.dispose"}}],"sources":[{"fileName":"Tone/effect/FrequencyShifter.ts","line":143,"character":8}],"overwrites":{"type":"reference","id":14480,"name":"Effect.dispose"}},{"id":16532,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16533,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":16534,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":16557,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16558,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":16467,"name":"FrequencyShifterOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":16539,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16540,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":16537,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16538,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":16559,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16560,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":16561,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":16467,"name":"FrequencyShifterOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":16520,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16521,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":16548,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16549,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":16550,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":16522,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16523,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":16545,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16546,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":16547,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":16569,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16570,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":16551,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16552,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":16553,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":16486,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":16487,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":16467,"name":"FrequencyShifterOptions"},"overwrites":{"type":"reference","id":14475,"name":"Effect.getDefaults"}}],"sources":[{"fileName":"Tone/effect/FrequencyShifter.ts","line":137,"character":19}],"overwrites":{"type":"reference","id":14475,"name":"Effect.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[16481]},{"title":"Properties","kind":1024,"children":[16535,16563,16473,16493,16472,16494,16490,16562]},{"title":"Accessors","kind":262144,"children":[16543,16503,16507,16511,16567,16498,16500,16541]},{"title":"Methods","kind":2048,"children":[16529,16515,16524,16488,16532,16557,16539,16537,16559,16520,16548,16522,16545,16569,16551,16486]}],"sources":[{"fileName":"Tone/effect/FrequencyShifter.ts","line":34,"character":29}],"extendedTypes":[{"type":"reference","id":14463,"typeArguments":[{"type":"reference","id":16467,"name":"FrequencyShifterOptions"}],"name":"Effect"}]},{"id":1143,"name":"Gain","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A thin wrapper around the Native Web Audio GainNode.\nThe GainNode is a basic building block of the Web Audio\nAPI and is useful for routing audio and adjusting gains.","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst gainNode = new Tone.Gain(0).toDestination();\n\tconst osc = new Tone.Oscillator(30).connect(gainNode).start();\n\tgainNode.gain.rampTo(1, 0.1);\n\tgainNode.gain.rampTo(0, 0.4, 0.2);\n}, 0.7, 1);\n"}]},"typeParameter":[{"id":1144,"name":"TypeName","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"gain"},{"type":"stringLiteral","value":"decibels"},{"type":"stringLiteral","value":"normalRange"}]}}],"children":[{"id":1150,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":1151,"name":"new Gain","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":1152,"name":"gain","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The initial gain of the GainNode"},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"gain"},{"type":"stringLiteral","value":"decibels"},{"type":"stringLiteral","value":"normalRange"}]}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":1153,"name":"units","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The units of the gain parameter.\n"},"type":{"type":"reference","id":1144,"name":"TypeName"}}],"type":{"type":"reference","id":1143,"name":"Gain"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":1154,"name":"new Gain","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":1155,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":1135,"typeArguments":[{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"gain"},{"type":"stringLiteral","value":"decibels"},{"type":"stringLiteral","value":"normalRange"}]}}],"name":"GainOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":1143,"name":"Gain"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/core/context/Gain.ts","line":49,"character":44},{"fileName":"Tone/core/context/Gain.ts","line":55,"character":57},{"fileName":"Tone/core/context/Gain.ts","line":56,"character":55}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":1197,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":1225,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":1146,"name":"gain","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The gain parameter of the gain node.","tags":[{"tag":"example","text":"\nconst gainNode = new Tone.Gain(0).toDestination();\nconst osc = new Tone.Oscillator().connect(gainNode).start();\ngainNode.gain.rampTo(1, 0.1);\ngainNode.gain.rampTo(0, 2, \"+0.5\");\n"}]},"sources":[{"fileName":"Tone/core/context/Gain.ts","line":40,"character":14}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"gain"},{"type":"stringLiteral","value":"decibels"},{"type":"stringLiteral","value":"normalRange"}]}}],"name":"Param"}},{"id":1148,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/context/Gain.ts","line":48,"character":15}],"type":{"type":"reference","name":"GainNode"},"defaultValue":"this._gainNode","overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":1145,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/context/Gain.ts","line":30,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Gain\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":1149,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/context/Gain.ts","line":49,"character":16}],"type":{"type":"reference","name":"GainNode"},"defaultValue":"this._gainNode","overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":1224,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":1205,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":1206,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":1165,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":1166,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":1167,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":1168,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":1169,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":1170,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":1171,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":1172,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":1173,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":1174,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":1175,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":1176,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":1229,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":1230,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":1160,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":1161,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":1162,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":1163,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":1203,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":1204,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":1191,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1192,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":1193,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":1177,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1178,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":1179,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":1180,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":1181,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":1186,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1187,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":1188,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":1189,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":1190,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":1158,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1159,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Clean up."},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/core/context/Gain.ts","line":84,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":1194,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1195,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":1196,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":1219,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1220,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":1135,"typeArguments":[{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"gain"},{"type":"stringLiteral","value":"decibels"},{"type":"stringLiteral","value":"normalRange"}]}}],"name":"GainOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":1201,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1202,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":1199,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1200,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":1221,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1222,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":1223,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":1135,"typeArguments":[{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"gain"},{"type":"stringLiteral","value":"decibels"},{"type":"stringLiteral","value":"normalRange"}]}}],"name":"GainOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":1182,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1183,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":1210,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1211,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":1212,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":1184,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1185,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":1207,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1208,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":1209,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":1231,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1232,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":1213,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1214,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":1215,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":1156,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":1157,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":1135,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"GainOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/core/context/Gain.ts","line":73,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[1150]},{"title":"Properties","kind":1024,"children":[1197,1225,1146,1148,1145,1149,1224]},{"title":"Accessors","kind":262144,"children":[1205,1165,1169,1173,1229,1160,1162,1203]},{"title":"Methods","kind":2048,"children":[1191,1177,1186,1158,1194,1219,1201,1199,1221,1182,1210,1184,1207,1231,1213,1156]}],"sources":[{"fileName":"Tone/core/context/Gain.ts","line":28,"character":17}],"extendedTypes":[{"type":"reference","id":1004,"typeArguments":[{"type":"reference","id":1135,"typeArguments":[{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"gain"},{"type":"stringLiteral","value":"decibels"},{"type":"stringLiteral","value":"normalRange"}]}}],"name":"GainOptions"}],"name":"ToneAudioNode"}]},{"id":9543,"name":"GainToAudio","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"GainToAudio converts an input in NormalRange [0,1] to AudioRange [-1,1].\nSee [[AudioToGain]]."},"children":[{"id":9550,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":9551,"name":"new GainToAudio","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":9552,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":9543,"name":"GainToAudio"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"},"inheritedFrom":{"type":"reference","id":6909,"name":"SignalOperator.__constructor"}}],"sources":[{"fileName":"Tone/signal/SignalOperator.ts","line":10,"character":108},{"fileName":"Tone/signal/SignalOperator.ts","line":12,"character":41}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"},"inheritedFrom":{"type":"reference","id":6909,"name":"SignalOperator.__constructor"}},{"id":9590,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":9620,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":9546,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The NormalRange input [0, 1]"},"sources":[{"fileName":"Tone/signal/GainToAudio.ts","line":25,"character":6}],"type":{"type":"reference","id":6998,"name":"WaveShaper"},"defaultValue":"this._norm","overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":9544,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/signal/GainToAudio.ts","line":12,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"GainToAudio\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":9547,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The AudioRange output [-1, 1]"},"sources":[{"fileName":"Tone/signal/GainToAudio.ts","line":30,"character":7}],"type":{"type":"reference","id":6998,"name":"WaveShaper"},"defaultValue":"this._norm","overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":9619,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":9600,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":9601,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":9563,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":9564,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":9565,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":9566,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":9567,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":9568,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":9569,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":9570,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":9571,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":9572,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":9573,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":9574,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":9624,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":9625,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":9558,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":9559,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":9560,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":9561,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":9598,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":9599,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":9584,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9585,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":9586,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":9553,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9554,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":9555,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":9556,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":9557,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"},"inheritedFrom":{"type":"reference","id":6912,"name":"SignalOperator.connect"}}],"sources":[{"fileName":"Tone/signal/SignalOperator.ts","line":17,"character":8}],"overwrites":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"},"inheritedFrom":{"type":"reference","id":6912,"name":"SignalOperator.connect"}},{"id":9579,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9580,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":9581,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":9582,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":9583,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":9548,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9549,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"clean up"},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/signal/GainToAudio.ts","line":35,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":9587,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9588,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":9589,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":9614,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9615,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":9596,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9597,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":9594,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9595,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":9616,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9617,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":9618,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":9575,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9576,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":9605,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9606,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":9607,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":9577,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9578,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":9602,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9603,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":9604,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":9626,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9627,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":9608,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9609,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":9610,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":9592,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":9593,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":4791,"name":"ToneWithContextOptions"},"overwrites":{"type":"reference","id":51,"name":"Tone.getDefaults"},"inheritedFrom":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":51,"character":19}],"overwrites":{"type":"reference","id":51,"name":"Tone.getDefaults"},"inheritedFrom":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[9550]},{"title":"Properties","kind":1024,"children":[9590,9620,9546,9544,9547,9619]},{"title":"Accessors","kind":262144,"children":[9600,9563,9567,9571,9624,9558,9560,9598]},{"title":"Methods","kind":2048,"children":[9584,9553,9579,9548,9587,9614,9596,9594,9616,9575,9605,9577,9602,9626,9608,9592]}],"sources":[{"fileName":"Tone/signal/GainToAudio.ts","line":10,"character":24}],"extendedTypes":[{"type":"reference","id":6907,"typeArguments":[{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"}],"name":"SignalOperator"}]},{"id":19457,"name":"Gate","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Gate only passes a signal through when the incoming\nsignal exceeds a specified threshold. It uses [[Follower]] to follow the ampltiude\nof the incoming signal and compares it to the [[threshold]] value using [[GreaterThan]].","tags":[{"tag":"example","text":"\nconst gate = new Tone.Gate(-30, 0.2).toDestination();\nconst mic = new Tone.UserMedia().connect(gate);\n// the gate will only pass through the incoming\n// signal when it's louder than -30db"}]},"children":[{"id":19464,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":19465,"name":"new Gate","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":19466,"name":"threshold","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The threshold above which the gate will open."},"type":{"type":"reference","id":22,"name":"Decibels"}},{"id":19467,"name":"smoothing","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The follower's smoothing time\n"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":19457,"name":"Gate"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":19468,"name":"new Gate","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":19469,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":19453,"name":"GateOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":19457,"name":"Gate"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/component/dynamics/Gate.ts","line":46,"character":21},{"fileName":"Tone/component/dynamics/Gate.ts","line":52,"character":53},{"fileName":"Tone/component/dynamics/Gate.ts","line":53,"character":45}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":19520,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":19548,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":19459,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/dynamics/Gate.ts","line":30,"character":15}],"type":{"type":"reference","id":1004,"name":"ToneAudioNode"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":19458,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/dynamics/Gate.ts","line":28,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Gate\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":19460,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/dynamics/Gate.ts","line":31,"character":16}],"type":{"type":"reference","id":1004,"name":"ToneAudioNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":19547,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":19528,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":19529,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":19488,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":19489,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":19490,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":19491,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":19492,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":19493,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":19494,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":19495,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":19496,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":19497,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":19498,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":19499,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":19552,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":19553,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":19483,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":19484,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":19485,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":19486,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":19526,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":19527,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":19476,"name":"smoothing","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The attack/decay speed of the gate. See [[Follower.smoothing]]"},"getSignature":[{"id":19477,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The attack/decay speed of the gate. See [[Follower.smoothing]]"},"type":{"type":"reference","id":31,"name":"Time"}}],"setSignature":[{"id":19478,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The attack/decay speed of the gate. See [[Follower.smoothing]]"},"parameters":[{"id":19479,"name":"smoothingTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"number"},{"type":"reflection","declaration":{"id":19480,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true}}}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/component/dynamics/Gate.ts","line":95,"character":14},{"fileName":"Tone/component/dynamics/Gate.ts","line":98,"character":14}]},{"id":19472,"name":"threshold","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The threshold of the gate in decibels"},"getSignature":[{"id":19473,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The threshold of the gate in decibels"},"type":{"type":"reference","id":22,"name":"Decibels"}}],"setSignature":[{"id":19474,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The threshold of the gate in decibels"},"parameters":[{"id":19475,"name":"thresh","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/component/dynamics/Gate.ts","line":85,"character":14},{"fileName":"Tone/component/dynamics/Gate.ts","line":88,"character":14}]},{"id":19514,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19515,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":19516,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":19500,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19501,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":19502,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":19503,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":19504,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":19509,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19510,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":19511,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":19512,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":19513,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":19481,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19482,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/component/dynamics/Gate.ts","line":102,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":19517,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19518,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":19519,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":19542,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19543,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":19453,"name":"GateOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":19524,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19525,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":19522,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19523,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":19544,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19545,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":19546,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":19453,"name":"GateOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":19505,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19506,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":19533,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19534,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":19535,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":19507,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19508,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":19530,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19531,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":19532,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":19554,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19555,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":19536,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19537,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":19538,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":19470,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":19471,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":19453,"name":"GateOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/component/dynamics/Gate.ts","line":75,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[19464]},{"title":"Properties","kind":1024,"children":[19520,19548,19459,19458,19460,19547]},{"title":"Accessors","kind":262144,"children":[19528,19488,19492,19496,19552,19483,19485,19526,19476,19472]},{"title":"Methods","kind":2048,"children":[19514,19500,19509,19481,19517,19542,19524,19522,19544,19505,19533,19507,19530,19554,19536,19470]}],"sources":[{"fileName":"Tone/component/dynamics/Gate.ts","line":26,"character":17}],"extendedTypes":[{"type":"reference","id":1004,"typeArguments":[{"type":"reference","id":19453,"name":"GateOptions"}],"name":"ToneAudioNode"}]},{"id":9279,"name":"GrainPlayer","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"GrainPlayer implements [granular synthesis](https://en.wikipedia.org/wiki/Granular_synthesis).\nGranular Synthesis enables you to adjust pitch and playback rate independently. The grainSize is the\namount of time each small chunk of audio is played for and the overlap is the\namount of crossfading transition time between successive grains."},"children":[{"id":9291,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":9292,"name":"new GrainPlayer","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":9293,"name":"url","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Either the AudioBuffer or the url from which to load the AudioBuffer"},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"AudioBuffer"},{"type":"reference","id":4362,"name":"ToneAudioBuffer"}]}},{"id":9294,"name":"onload","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The function to invoke when the buffer is loaded.\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"reflection","declaration":{"id":9295,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":9296,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"void"}}]}}]}}],"type":{"type":"reference","id":9279,"name":"GrainPlayer"},"overwrites":{"type":"reference","id":5586,"name":"Source.__constructor"}},{"id":9297,"name":"new GrainPlayer","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":9298,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":9258,"name":"GrainPlayerOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":9279,"name":"GrainPlayer"},"overwrites":{"type":"reference","id":5586,"name":"Source.__constructor"}}],"sources":[{"fileName":"Tone/source/buffer/GrainPlayer.ts","line":84,"character":15},{"fileName":"Tone/source/buffer/GrainPlayer.ts","line":90,"character":80},{"fileName":"Tone/source/buffer/GrainPlayer.ts","line":91,"character":52}],"overwrites":{"type":"reference","id":5586,"name":"Source.__constructor"}},{"id":9281,"name":"buffer","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The audio buffer belonging to the player."},"sources":[{"fileName":"Tone/source/buffer/GrainPlayer.ts","line":39,"character":7}],"type":{"type":"reference","id":4362,"name":"ToneAudioBuffer"}},{"id":9422,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":9450,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":9289,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Adjust the pitch independently of the playbackRate."},"sources":[{"fileName":"Tone/source/buffer/GrainPlayer.ts","line":79,"character":7}],"type":{"type":"reference","id":42,"name":"Cents"}},{"id":9358,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Sources have no inputs"},"sources":[{"fileName":"Tone/source/Source.ts","line":54,"character":6}],"type":{"type":"intrinsic","name":"undefined"},"defaultValue":"undefined","overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":5567,"name":"Source.input"}},{"id":9290,"name":"loop","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"If the buffer should loop back to the loopStart when completed"},"sources":[{"fileName":"Tone/source/buffer/GrainPlayer.ts","line":84,"character":5}],"type":{"type":"intrinsic","name":"boolean"}},{"id":9280,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/source/buffer/GrainPlayer.ts","line":34,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"GrainPlayer\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":9360,"name":"onstop","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The callback to invoke when the source is stopped."},"sources":[{"fileName":"Tone/source/Source.ts","line":67,"character":7}],"type":{"type":"reference","id":5706,"name":"onStopCallback"},"inheritedFrom":{"type":"reference","id":5569,"name":"Source.onstop"}},{"id":9357,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The output note"},"sources":[{"fileName":"Tone/source/Source.ts","line":49,"character":7}],"type":{"type":"reference","id":1102,"name":"OutputNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":5566,"name":"Source.output"}},{"id":9359,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The volume of the output in decibels.","tags":[{"tag":"example","text":"\nconst source = new Tone.PWMOscillator().toDestination();\nsource.volume.value = -6;\n"}]},"sources":[{"fileName":"Tone/source/Source.ts","line":62,"character":7}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"decibels"}],"name":"Param"},"inheritedFrom":{"type":"reference","id":5568,"name":"Source.volume"}},{"id":9449,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":9430,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":9431,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":9390,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":9391,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":9392,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":9393,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":9394,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":9395,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":9396,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":9397,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":9398,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":9399,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":9400,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":9401,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":9454,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":9455,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":9343,"name":"grainSize","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The size of each chunk of audio that the\nbuffer is chopped into and played back at."},"getSignature":[{"id":9344,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The size of each chunk of audio that the\nbuffer is chopped into and played back at."},"type":{"type":"reference","id":31,"name":"Time"}}],"setSignature":[{"id":9345,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The size of each chunk of audio that the\nbuffer is chopped into and played back at."},"parameters":[{"id":9346,"name":"size","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"number"},{"type":"reflection","declaration":{"id":9347,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true}}}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/buffer/GrainPlayer.ts","line":288,"character":14},{"fileName":"Tone/source/buffer/GrainPlayer.ts","line":291,"character":14}]},{"id":9353,"name":"loaded","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"If all the buffer is loaded"},"getSignature":[{"id":9354,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"If all the buffer is loaded"},"type":{"type":"intrinsic","name":"boolean"}}],"sources":[{"fileName":"Tone/source/buffer/GrainPlayer.ts","line":311,"character":11}]},{"id":9334,"name":"loopEnd","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The loop end time."},"getSignature":[{"id":9335,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The loop end time."},"type":{"type":"reference","id":31,"name":"Time"}}],"setSignature":[{"id":9336,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The loop end time."},"parameters":[{"id":9337,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"number"},{"type":"reflection","declaration":{"id":9338,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true}}}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/buffer/GrainPlayer.ts","line":263,"character":12},{"fileName":"Tone/source/buffer/GrainPlayer.ts","line":266,"character":12}]},{"id":9329,"name":"loopStart","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The loop start time."},"getSignature":[{"id":9330,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The loop start time."},"type":{"type":"reference","id":31,"name":"Time"}}],"setSignature":[{"id":9331,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The loop start time."},"parameters":[{"id":9332,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"number"},{"type":"reflection","declaration":{"id":9333,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true}}}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/buffer/GrainPlayer.ts","line":250,"character":14},{"fileName":"Tone/source/buffer/GrainPlayer.ts","line":253,"character":14}]},{"id":9369,"name":"mute","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Mute the output.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination().start();\n// mute the output\nosc.mute = true;\n"}]},"getSignature":[{"id":9370,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Mute the output.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination().start();\n// mute the output\nosc.mute = true;\n"}]},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":5593,"name":"Source.mute"}}],"setSignature":[{"id":9371,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"Mute the output.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination().start();\n// mute the output\nosc.mute = true;\n"}]},"parameters":[{"id":9372,"name":"mute","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":5593,"name":"Source.mute"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":148,"character":9},{"fileName":"Tone/source/Source.ts","line":151,"character":9}],"inheritedFrom":{"type":"reference","id":5593,"name":"Source.mute"}},{"id":9385,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":9386,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":9387,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":9388,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":9348,"name":"overlap","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration of the cross-fade between successive grains."},"getSignature":[{"id":9349,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration of the cross-fade between successive grains."},"type":{"type":"reference","id":31,"name":"Time"}}],"setSignature":[{"id":9350,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The duration of the cross-fade between successive grains."},"parameters":[{"id":9351,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"number"},{"type":"reflection","declaration":{"id":9352,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true}}}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/buffer/GrainPlayer.ts","line":299,"character":12},{"fileName":"Tone/source/buffer/GrainPlayer.ts","line":302,"character":12}]},{"id":9325,"name":"playbackRate","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The playback rate of the sample"},"getSignature":[{"id":9326,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The playback rate of the sample"},"type":{"type":"reference","id":27,"name":"Positive"}}],"setSignature":[{"id":9327,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The playback rate of the sample"},"parameters":[{"id":9328,"name":"rate","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/buffer/GrainPlayer.ts","line":238,"character":17},{"fileName":"Tone/source/buffer/GrainPlayer.ts","line":241,"character":17}]},{"id":9339,"name":"reverse","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The direction the buffer should play in"},"getSignature":[{"id":9340,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The direction the buffer should play in"},"type":{"type":"intrinsic","name":"boolean"}}],"setSignature":[{"id":9341,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The direction the buffer should play in"},"parameters":[{"id":9342,"name":"rev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/buffer/GrainPlayer.ts","line":276,"character":12},{"fileName":"Tone/source/buffer/GrainPlayer.ts","line":280,"character":12}]},{"id":9428,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":9429,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":9367,"name":"state","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Returns the playback state of the source, either \"started\" or \"stopped\".","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/ahntone_c3.mp3\", () => {\n\tplayer.start();\n\tconsole.log(player.state);\n}).toDestination();\n"}]},"getSignature":[{"id":9368,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Returns the playback state of the source, either \"started\" or \"stopped\".","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/ahntone_c3.mp3\", () => {\n\tplayer.start();\n\tconsole.log(player.state);\n}).toDestination();\n"}]},"type":{"type":"reference","id":705,"name":"BasicPlaybackState"},"inheritedFrom":{"type":"reference","id":5591,"name":"Source.state"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":129,"character":10}],"inheritedFrom":{"type":"reference","id":5591,"name":"Source.state"}},{"id":9416,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9417,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":9418,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":9402,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9403,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":9404,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":9405,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":9406,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":9411,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9412,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":9413,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":9414,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":9415,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":9355,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9356,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":5630,"name":"Source.dispose"}}],"sources":[{"fileName":"Tone/source/buffer/GrainPlayer.ts","line":315,"character":8}],"overwrites":{"type":"reference","id":5630,"name":"Source.dispose"}},{"id":9419,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9420,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":9421,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":9444,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9445,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":9258,"name":"GrainPlayerOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":9426,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9427,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":9424,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9425,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":9306,"name":"restart","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9307,"name":"restart","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Stop and then restart the player from the beginning (or offset)"},"parameters":[{"id":9308,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the player should start."},"type":{"type":"reference","id":21,"name":"Seconds"}},{"id":9309,"name":"offset","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The offset from the beginning of the sample to start at."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":9310,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"How long the sample should play. If no duration is given,\n\t\t\t\t\tit will default to the full length of the sample (minus any offset)\n"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":5621,"name":"Source.restart"}}],"sources":[{"fileName":"Tone/source/buffer/GrainPlayer.ts","line":162,"character":8}],"overwrites":{"type":"reference","id":5621,"name":"Source.restart"}},{"id":9446,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9447,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":9448,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":9258,"name":"GrainPlayerOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":9373,"name":"start","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9374,"name":"start","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Start the source at the specified time. If no time is given,\nstart the source now.","tags":[{"tag":"example","text":"\nconst source = new Tone.Oscillator().toDestination();\nsource.start(\"+0.5\"); // starts the source 0.5 seconds from now\n"}]},"parameters":[{"id":9375,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the source should be started."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":9376,"name":"offset","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":9377,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":5613,"name":"Source.start"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":180,"character":6}],"inheritedFrom":{"type":"reference","id":5613,"name":"Source.start"}},{"id":9378,"name":"stop","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9379,"name":"stop","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Stop the source at the specified time. If no time is given,\nstop the source now.","tags":[{"tag":"example","text":"\nconst source = new Tone.Oscillator().toDestination();\nsource.start();\nsource.stop(\"+0.5\"); // stops the source 0.5 seconds from now\n"}]},"parameters":[{"id":9380,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the source should be stopped."},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":5618,"name":"Source.stop"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":229,"character":5}],"inheritedFrom":{"type":"reference","id":5618,"name":"Source.stop"}},{"id":9381,"name":"sync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9382,"name":"sync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Sync the source to the Transport so that all subsequent\ncalls to `start` and `stop` are synced to the TransportTime\ninstead of the AudioContext time.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination();\n// sync the source so that it plays between 0 and 0.3 on the Transport's timeline\nosc.sync().start(0).stop(0.3);\n// start the transport.\nTone.Transport.start();\n// set it to loop once a second\nTone.Transport.loop = true;\nTone.Transport.loopEnd = 1;\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":5626,"name":"Source.sync"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":273,"character":5}],"inheritedFrom":{"type":"reference","id":5626,"name":"Source.sync"}},{"id":9407,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9408,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":9435,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9436,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":9437,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":9409,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9410,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":9432,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9433,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":9434,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":9456,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9457,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":9438,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9439,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":9440,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":9383,"name":"unsync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9384,"name":"unsync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Unsync the source to the Transport. See Source.sync"},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":5628,"name":"Source.unsync"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":310,"character":7}],"inheritedFrom":{"type":"reference","id":5628,"name":"Source.unsync"}},{"id":9299,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":9300,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":9258,"name":"GrainPlayerOptions"},"overwrites":{"type":"reference","id":5589,"name":"Source.getDefaults"}}],"sources":[{"fileName":"Tone/source/buffer/GrainPlayer.ts","line":124,"character":19}],"overwrites":{"type":"reference","id":5589,"name":"Source.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[9291]},{"title":"Properties","kind":1024,"children":[9281,9422,9450,9289,9358,9290,9280,9360,9357,9359,9449]},{"title":"Accessors","kind":262144,"children":[9430,9390,9394,9398,9454,9343,9353,9334,9329,9369,9385,9387,9348,9325,9339,9428,9367]},{"title":"Methods","kind":2048,"children":[9416,9402,9411,9355,9419,9444,9426,9424,9306,9446,9373,9378,9381,9407,9435,9409,9432,9456,9438,9383,9299]}],"sources":[{"fileName":"Tone/source/buffer/GrainPlayer.ts","line":32,"character":24}],"extendedTypes":[{"type":"reference","id":5563,"typeArguments":[{"type":"reference","id":9258,"name":"GrainPlayerOptions"}],"name":"Source"}]},{"id":9974,"name":"GreaterThan","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Output 1 if the signal is greater than the value, otherwise outputs 0.\ncan compare two signals or a signal and a number.","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst gt = new Tone.GreaterThan(2).toDestination();\n\tconst sig = new Tone.Signal(4).connect(gt);\n}, 0.1, 1);"}]},"children":[{"id":9982,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":9983,"name":"new GreaterThan","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":9984,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The value to compare to\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}}],"type":{"type":"reference","id":9974,"name":"GreaterThan"},"overwrites":{"type":"reference","id":1511,"name":"Signal.__constructor"}},{"id":9985,"name":"new GreaterThan","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":9986,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":10147,"name":"GreaterThanOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":9974,"name":"GreaterThan"},"overwrites":{"type":"reference","id":1511,"name":"Signal.__constructor"}}],"sources":[{"fileName":"Tone/signal/GreaterThan.ts","line":51,"character":37},{"fileName":"Tone/signal/GreaterThan.ts","line":56,"character":29},{"fileName":"Tone/signal/GreaterThan.ts","line":57,"character":52}],"overwrites":{"type":"reference","id":1511,"name":"Signal.__constructor"}},{"id":9981,"name":"comparator","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The signal to compare to the incoming signal against.","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\t// change the comparison value\n\tconst gt = new Tone.GreaterThan(1.5).toDestination();\n\tconst signal = new Tone.Signal(1).connect(gt);\n\tgt.comparator.setValueAtTime(0.5, 0.1);\n}, 0.5, 1);\n"}]},"sources":[{"fileName":"Tone/signal/GreaterThan.ts","line":51,"character":20}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"number"}],"name":"Param"}},{"id":10111,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":10139,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":9977,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/signal/GreaterThan.ts","line":28,"character":15}],"type":{"type":"reference","id":1004,"name":"ToneAudioNode"},"overwrites":{"type":"reference","id":1510,"name":"Signal.input"}},{"id":9975,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/signal/GreaterThan.ts","line":24,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"GreaterThan\"","overwrites":{"type":"reference","id":1505,"name":"Signal.name"}},{"id":9978,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/signal/GreaterThan.ts","line":29,"character":16}],"type":{"type":"reference","id":1004,"name":"ToneAudioNode"},"overwrites":{"type":"reference","id":1508,"name":"Signal.output"}},{"id":9976,"name":"override","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/signal/GreaterThan.ts","line":26,"character":18}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","overwrites":{"type":"reference","id":1506,"name":"Signal.override"}},{"id":10138,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":10119,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":10120,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":10084,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":10085,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":10086,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":10087,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":10088,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":10089,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":10090,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":10091,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":10092,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":10093,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":10094,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":10095,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":10062,"name":"convert","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":10063,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":1590,"name":"Signal.convert"}}],"setSignature":[{"id":10064,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":10065,"name":"convert","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1590,"name":"Signal.convert"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":169,"character":12},{"fileName":"Tone/signal/Signal.ts","line":172,"character":12}],"inheritedFrom":{"type":"reference","id":1590,"name":"Signal.convert"}},{"id":10143,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":10144,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":10072,"name":"maxValue","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":10073,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1600,"name":"Signal.maxValue"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":187,"character":13}],"inheritedFrom":{"type":"reference","id":1600,"name":"Signal.maxValue"}},{"id":10074,"name":"minValue","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":10075,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1602,"name":"Signal.minValue"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":190,"character":13}],"inheritedFrom":{"type":"reference","id":1602,"name":"Signal.minValue"}},{"id":10079,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":10080,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":10081,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":10082,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":10068,"name":"overridden","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":10069,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":1596,"name":"Signal.overridden"}}],"setSignature":[{"id":10070,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":10071,"name":"overridden","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1596,"name":"Signal.overridden"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":180,"character":15},{"fileName":"Tone/signal/Signal.ts","line":183,"character":15}],"inheritedFrom":{"type":"reference","id":1596,"name":"Signal.overridden"}},{"id":10117,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":10118,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":10066,"name":"units","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":10067,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"reference","id":46,"name":"UnitName"},"inheritedFrom":{"type":"reference","id":1594,"name":"Signal.units"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":176,"character":10}],"inheritedFrom":{"type":"reference","id":1594,"name":"Signal.units"}},{"id":10058,"name":"value","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":10059,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"stringLiteral","value":"number"},"objectType":{"type":"reference","name":"UnitMap"}},"inheritedFrom":{"type":"reference","id":1586,"name":"Signal.value"}}],"setSignature":[{"id":10060,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":10061,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"stringLiteral","value":"number"},"objectType":{"type":"reference","name":"UnitMap"}}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1586,"name":"Signal.value"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":162,"character":10},{"fileName":"Tone/signal/Signal.ts","line":165,"character":10}],"inheritedFrom":{"type":"reference","id":1586,"name":"Signal.value"}},{"id":10076,"name":"apply","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10077,"name":"apply","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"See [[Param.apply]]."},"parameters":[{"id":10078,"name":"param","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"reference","id":826,"name":"Param"},{"type":"reference","name":"AudioParam"}]}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1604,"name":"Signal.apply"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":197,"character":6}],"inheritedFrom":{"type":"reference","id":1604,"name":"Signal.apply"}},{"id":10050,"name":"cancelAndHoldAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10051,"name":"cancelAndHoldAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":10052,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1578,"name":"Signal.cancelAndHoldAtTime"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":153,"character":20}],"inheritedFrom":{"type":"reference","id":1578,"name":"Signal.cancelAndHoldAtTime"}},{"id":10047,"name":"cancelScheduledValues","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10048,"name":"cancelScheduledValues","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":10049,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1575,"name":"Signal.cancelScheduledValues"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":149,"character":22}],"inheritedFrom":{"type":"reference","id":1575,"name":"Signal.cancelScheduledValues"}},{"id":10105,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10106,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":10107,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":9993,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9994,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":9995,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":9996,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":9997,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"},"inheritedFrom":{"type":"reference","id":1519,"name":"Signal.connect"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":87,"character":8}],"overwrites":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"},"inheritedFrom":{"type":"reference","id":1519,"name":"Signal.connect"}},{"id":10100,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10101,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":10102,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":10103,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":10104,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":9989,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9990,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1524,"name":"Signal.dispose"}}],"sources":[{"fileName":"Tone/signal/GreaterThan.ts","line":81,"character":8}],"overwrites":{"type":"reference","id":1524,"name":"Signal.dispose"}},{"id":10031,"name":"exponentialApproachValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10032,"name":"exponentialApproachValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":10033,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"stringLiteral","value":"number"},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":10034,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":10035,"name":"rampTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1559,"name":"Signal.exponentialApproachValueAtTime"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":137,"character":31}],"inheritedFrom":{"type":"reference","id":1559,"name":"Signal.exponentialApproachValueAtTime"}},{"id":10016,"name":"exponentialRampTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10017,"name":"exponentialRampTo","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":10018,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"stringLiteral","value":"number"},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":10019,"name":"rampTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":10020,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1544,"name":"Signal.exponentialRampTo"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":125,"character":18}],"inheritedFrom":{"type":"reference","id":1544,"name":"Signal.exponentialRampTo"}},{"id":10012,"name":"exponentialRampToValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10013,"name":"exponentialRampToValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":10014,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"stringLiteral","value":"number"},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":10015,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1540,"name":"Signal.exponentialRampToValueAtTime"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":121,"character":29}],"inheritedFrom":{"type":"reference","id":1540,"name":"Signal.exponentialRampToValueAtTime"}},{"id":10108,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10109,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":10110,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":10133,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10134,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":1495,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"SignalOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":10002,"name":"getValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10003,"name":"getValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":10004,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"indexedAccess","indexType":{"type":"stringLiteral","value":"number"},"objectType":{"type":"reference","name":"UnitMap"}},"inheritedFrom":{"type":"reference","id":1530,"name":"Signal.getValueAtTime"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":110,"character":15}],"inheritedFrom":{"type":"reference","id":1530,"name":"Signal.getValueAtTime"}},{"id":10115,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10116,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":10021,"name":"linearRampTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10022,"name":"linearRampTo","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":10023,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"stringLiteral","value":"number"},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":10024,"name":"rampTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":10025,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1549,"name":"Signal.linearRampTo"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":129,"character":13}],"inheritedFrom":{"type":"reference","id":1549,"name":"Signal.linearRampTo"}},{"id":10008,"name":"linearRampToValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10009,"name":"linearRampToValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":10010,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"stringLiteral","value":"number"},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":10011,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1536,"name":"Signal.linearRampToValueAtTime"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":117,"character":24}],"inheritedFrom":{"type":"reference","id":1536,"name":"Signal.linearRampToValueAtTime"}},{"id":10113,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10114,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":10053,"name":"rampTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10054,"name":"rampTo","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":10055,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"stringLiteral","value":"number"},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":10056,"name":"rampTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":10057,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1581,"name":"Signal.rampTo"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":157,"character":7}],"inheritedFrom":{"type":"reference","id":1581,"name":"Signal.rampTo"}},{"id":10135,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10136,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":10137,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":1495,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"SignalOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":10005,"name":"setRampPoint","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10006,"name":"setRampPoint","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":10007,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1533,"name":"Signal.setRampPoint"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":113,"character":13}],"inheritedFrom":{"type":"reference","id":1533,"name":"Signal.setRampPoint"}},{"id":10036,"name":"setTargetAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10037,"name":"setTargetAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":10038,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"stringLiteral","value":"number"},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":10039,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":10040,"name":"timeConstant","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1564,"name":"Signal.setTargetAtTime"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":141,"character":16}],"inheritedFrom":{"type":"reference","id":1564,"name":"Signal.setTargetAtTime"}},{"id":9998,"name":"setValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9999,"name":"setValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":10000,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"stringLiteral","value":"number"},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":10001,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1526,"name":"Signal.setValueAtTime"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":106,"character":15}],"inheritedFrom":{"type":"reference","id":1526,"name":"Signal.setValueAtTime"}},{"id":10041,"name":"setValueCurveAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10042,"name":"setValueCurveAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":10043,"name":"values","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"array","elementType":{"type":"indexedAccess","indexType":{"type":"stringLiteral","value":"number"},"objectType":{"type":"reference","name":"UnitMap"}}}},{"id":10044,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":10045,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":10046,"name":"scaling","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1569,"name":"Signal.setValueCurveAtTime"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":145,"character":20}],"inheritedFrom":{"type":"reference","id":1569,"name":"Signal.setValueCurveAtTime"}},{"id":10026,"name":"targetRampTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10027,"name":"targetRampTo","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":10028,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"stringLiteral","value":"number"},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":10029,"name":"rampTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":10030,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1554,"name":"Signal.targetRampTo"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":133,"character":13}],"inheritedFrom":{"type":"reference","id":1554,"name":"Signal.targetRampTo"}},{"id":10096,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10097,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":10124,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10125,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":10126,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":10098,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10099,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":10121,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10122,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":10123,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":10145,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10146,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":10127,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10128,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":10129,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":9987,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":9988,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":10147,"name":"GreaterThanOptions"},"overwrites":{"type":"reference","id":1517,"name":"Signal.getDefaults"}}],"sources":[{"fileName":"Tone/signal/GreaterThan.ts","line":75,"character":19}],"overwrites":{"type":"reference","id":1517,"name":"Signal.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[9982]},{"title":"Properties","kind":1024,"children":[9981,10111,10139,9977,9975,9978,9976,10138]},{"title":"Accessors","kind":262144,"children":[10119,10084,10088,10092,10062,10143,10072,10074,10079,10081,10068,10117,10066,10058]},{"title":"Methods","kind":2048,"children":[10076,10050,10047,10105,9993,10100,9989,10031,10016,10012,10108,10133,10002,10115,10021,10008,10113,10053,10135,10005,10036,9998,10041,10026,10096,10124,10098,10121,10145,10127,9987]}],"sources":[{"fileName":"Tone/signal/GreaterThan.ts","line":22,"character":24}],"extendedTypes":[{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"number"}],"name":"Signal"}],"implementedTypes":[{"type":"reference","id":739,"typeArguments":[{"type":"stringLiteral","value":"number"}],"name":"AbstractParam"}]},{"id":9887,"name":"GreaterThanZero","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"GreaterThanZero outputs 1 when the input is strictly greater than zero","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst gt0 = new Tone.GreaterThanZero().toDestination();\n\tconst sig = new Tone.Signal(0.5).connect(gt0);\n\tsig.setValueAtTime(-1, 0.05);\n}, 0.1, 1);"}]},"children":[{"id":9893,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":9894,"name":"new GreaterThanZero","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":9895,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":9973,"name":"GreaterThanZeroOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":9887,"name":"GreaterThanZero"},"overwrites":{"type":"reference","id":6909,"name":"SignalOperator.__constructor"}}],"sources":[{"fileName":"Tone/signal/GreaterThanZero.ts","line":35,"character":31},{"fileName":"Tone/signal/GreaterThanZero.ts","line":37,"character":56}],"overwrites":{"type":"reference","id":6909,"name":"SignalOperator.__constructor"}},{"id":9935,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":9965,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":9892,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/signal/GreaterThanZero.ts","line":35,"character":15}],"type":{"type":"reference","id":1004,"name":"ToneAudioNode"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":9888,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/signal/GreaterThanZero.ts","line":21,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"GreaterThanZero\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":9891,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/signal/GreaterThanZero.ts","line":34,"character":16}],"type":{"type":"reference","id":1004,"name":"ToneAudioNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":9964,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":9945,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":9946,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":9908,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":9909,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":9910,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":9911,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":9912,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":9913,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":9914,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":9915,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":9916,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":9917,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":9918,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":9919,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":9969,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":9970,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":9903,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":9904,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":9905,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":9906,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":9943,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":9944,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":9929,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9930,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":9931,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":9898,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9899,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":9900,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":9901,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":9902,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"},"inheritedFrom":{"type":"reference","id":6912,"name":"SignalOperator.connect"}}],"sources":[{"fileName":"Tone/signal/SignalOperator.ts","line":17,"character":8}],"overwrites":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"},"inheritedFrom":{"type":"reference","id":6912,"name":"SignalOperator.connect"}},{"id":9924,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9925,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":9926,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":9927,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":9928,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":9896,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9897,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/signal/GreaterThanZero.ts","line":61,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":9932,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9933,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":9934,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":9959,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9960,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":9973,"name":"GreaterThanZeroOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":9941,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9942,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":9939,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9940,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":9961,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9962,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":9963,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":9973,"name":"GreaterThanZeroOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":9920,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9921,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":9950,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9951,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":9952,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":9922,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9923,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":9947,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9948,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":9949,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":9971,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9972,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":9953,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9954,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":9955,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":9937,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":9938,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":4791,"name":"ToneWithContextOptions"},"overwrites":{"type":"reference","id":51,"name":"Tone.getDefaults"},"inheritedFrom":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":51,"character":19}],"overwrites":{"type":"reference","id":51,"name":"Tone.getDefaults"},"inheritedFrom":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[9893]},{"title":"Properties","kind":1024,"children":[9935,9965,9892,9888,9891,9964]},{"title":"Accessors","kind":262144,"children":[9945,9908,9912,9916,9969,9903,9905,9943]},{"title":"Methods","kind":2048,"children":[9929,9898,9924,9896,9932,9959,9941,9939,9961,9920,9950,9922,9947,9971,9953,9937]}],"sources":[{"fileName":"Tone/signal/GreaterThanZero.ts","line":19,"character":28}],"extendedTypes":[{"type":"reference","id":6907,"typeArguments":[{"type":"reference","id":9973,"name":"GreaterThanZeroOptions"}],"name":"SignalOperator"}]},{"id":10707,"name":"Instrument","kind":128,"kindString":"Class","flags":{"isExported":true,"isAbstract":true},"comment":{"shortText":"Base-class for all instruments"},"typeParameter":[{"id":10708,"name":"Options","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"reference","id":10704,"name":"InstrumentOptions"}}],"children":[{"id":10715,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":10716,"name":"new Instrument","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":10717,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":10704,"name":"InstrumentOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":10707,"name":"Instrument"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":46,"character":25},{"fileName":"Tone/instrument/Instrument.ts","line":48,"character":51}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":10786,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":10814,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":10711,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The instrument only has an output"},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":26,"character":6}],"type":{"type":"intrinsic","name":"undefined"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":10748,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isAbstract":true,"isReadonly":true},"comment":{"shortText":"The name of the class"},"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":30,"character":23}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"ToneAudioNode\"","overwrites":{"type":"reference","name":"Tone.name"},"inheritedFrom":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":10710,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":21,"character":7}],"type":{"type":"reference","id":1102,"name":"OutputNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":10712,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The volume of the output in decibels.","tags":[{"tag":"example","text":"\nconst amSynth = new Tone.AMSynth().toDestination();\namSynth.volume.value = -6;\namSynth.triggerAttackRelease(\"G#3\", 0.2);\n"}]},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":35,"character":7}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"decibels"}],"name":"Param"}},{"id":10813,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":10794,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":10795,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":10754,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":10755,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":10756,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":10757,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":10758,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":10759,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":10760,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":10761,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":10762,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":10763,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":10764,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":10765,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":10818,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":10819,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":10749,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":10750,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":10751,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":10752,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":10792,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":10793,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":10780,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10781,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":10782,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":10766,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10767,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":10768,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":10769,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":10770,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":10775,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10776,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":10777,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":10778,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":10779,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":10746,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10747,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"clean up","returns":"this\n"},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":173,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":10783,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10784,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":10785,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":10808,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10809,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":10704,"name":"InstrumentOptions"}},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":10790,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10791,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":10788,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10789,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":10810,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10811,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":10812,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":10704,"name":"InstrumentOptions"}}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":10720,"name":"sync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10721,"name":"sync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Sync the instrument to the Transport. All subsequent calls of\n[[triggerAttack]] and [[triggerRelease]] will be scheduled along the transport.","tags":[{"tag":"example","text":"\nconst fmSynth = new Tone.FMSynth().toDestination();\nfmSynth.volume.value = -6;\nfmSynth.sync();\n// schedule 3 notes when the transport first starts\nfmSynth.triggerAttackRelease(\"C4\", \"8n\", 0);\nfmSynth.triggerAttackRelease(\"E4\", \"8n\", \"8n\");\nfmSynth.triggerAttackRelease(\"G4\", \"8n\", \"4n\");\n// start the transport to hear the notes\nTone.Transport.start();\n"}]},"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":82,"character":5}]},{"id":10771,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10772,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":10799,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10800,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":10801,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":10773,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10774,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":10796,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10797,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":10798,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":10820,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10821,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":10802,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10803,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":10804,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":10736,"name":"triggerAttack","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":10737,"name":"triggerAttack","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Start the instrument's note."},"parameters":[{"id":10738,"name":"note","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"the note to trigger"},"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":10739,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"the time to trigger the ntoe"},"type":{"type":"reference","id":31,"name":"Time"}},{"id":10740,"name":"velocity","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"the velocity to trigger the note (betwee 0-1)\n"},"type":{"type":"reference","id":23,"name":"NormalRange"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":159,"character":23}]},{"id":10730,"name":"triggerAttackRelease","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10731,"name":"triggerAttackRelease","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Trigger the attack and then the release after the duration.","tags":[{"tag":"example","text":"\nconst synth = new Tone.Synth().toDestination();\n// trigger \"C4\" for the duration of an 8th note\nsynth.triggerAttackRelease(\"C4\", \"8n\");\n"}]},"parameters":[{"id":10732,"name":"note","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The note to trigger."},"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":10733,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"How long the note should be held for before\n                        triggering the release. This value must be greater than 0."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":10734,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the note should be triggered."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":10735,"name":"velocity","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The velocity the note should be triggered at."},"type":{"type":"reference","id":23,"name":"NormalRange"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":145,"character":21}]},{"id":10742,"name":"triggerRelease","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":10743,"name":"triggerRelease","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Trigger the release phase of the current note."},"parameters":[{"id":10744,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":166,"character":24}]},{"id":10728,"name":"unsync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10729,"name":"unsync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Unsync the instrument from the Transport"},"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":122,"character":7}]},{"id":10718,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":10719,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":10704,"name":"InstrumentOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":62,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[10715]},{"title":"Properties","kind":1024,"children":[10786,10814,10711,10748,10710,10712,10813]},{"title":"Accessors","kind":262144,"children":[10794,10754,10758,10762,10818,10749,10751,10792]},{"title":"Methods","kind":2048,"children":[10780,10766,10775,10746,10783,10808,10790,10788,10810,10720,10771,10799,10773,10796,10820,10802,10736,10730,10742,10728,10718]}],"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":15,"character":32}],"extendedTypes":[{"type":"reference","id":1004,"typeArguments":[{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":10704,"name":"InstrumentOptions"}}],"name":"ToneAudioNode"}],"extendedBy":[{"type":"reference","id":10828,"name":"Monophonic"},{"type":"reference","id":12627,"name":"NoiseSynth"},{"type":"reference","id":13171,"name":"PluckSynth"},{"type":"reference","id":13295,"name":"PolySynth"},{"type":"reference","id":13482,"name":"Sampler"}]},{"id":1906,"name":"IntervalNode","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Represents a node in the binary search tree, with the addition\nof a \"high\" value which keeps track of the highest value of\nits children.\nReferences:\nhttps://brooknovak.wordpress.com/2013/12/07/augmented-interval-tree-in-c/\nhttp://www.mif.vu.lt/~valdas/ALGORITMAI/LITERATURA/Cormen/Cormen.pdf","tags":[{"tag":"param","text":"","param":"low"},{"tag":"param","text":"\n","param":"high"}]},"children":[{"id":1915,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":1916,"name":"new IntervalNode","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":1917,"name":"low","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}},{"id":1918,"name":"high","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}},{"id":1919,"name":"event","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1840,"name":"IntervalTimelineEvent"}}],"type":{"type":"reference","id":1906,"name":"IntervalNode"}}],"sources":[{"fileName":"Tone/core/util/IntervalTimeline.ts","line":383,"character":12}]},{"id":1907,"name":"event","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/util/IntervalTimeline.ts","line":369,"character":6}],"type":{"type":"union","types":[{"type":"reference","id":1840,"name":"IntervalTimelineEvent"},{"type":"intrinsic","name":"null"}]}},{"id":1914,"name":"height","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/util/IntervalTimeline.ts","line":383,"character":7}],"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":1909,"name":"high","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/util/IntervalTimeline.ts","line":373,"character":5}],"type":{"type":"intrinsic","name":"number"}},{"id":1908,"name":"low","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/util/IntervalTimeline.ts","line":371,"character":4}],"type":{"type":"intrinsic","name":"number"}},{"id":1910,"name":"max","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/util/IntervalTimeline.ts","line":375,"character":4}],"type":{"type":"intrinsic","name":"number"}},{"id":1913,"name":"parent","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/util/IntervalTimeline.ts","line":381,"character":7}],"type":{"type":"union","types":[{"type":"reference","id":1906,"name":"IntervalNode"},{"type":"intrinsic","name":"null"}]},"defaultValue":"null"},{"id":1945,"name":"left","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"get/set the left node"},"getSignature":[{"id":1946,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"get/set the left node"},"type":{"type":"union","types":[{"type":"reference","id":1906,"name":"IntervalNode"},{"type":"intrinsic","name":"null"}]}}],"setSignature":[{"id":1947,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"get/set the left node"},"parameters":[{"id":1948,"name":"node","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"reference","id":1906,"name":"IntervalNode"},{"type":"intrinsic","name":"null"}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/util/IntervalTimeline.ts","line":531,"character":9},{"fileName":"Tone/core/util/IntervalTimeline.ts","line":535,"character":9}]},{"id":1949,"name":"right","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"get/set the right node"},"getSignature":[{"id":1950,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"get/set the right node"},"type":{"type":"union","types":[{"type":"reference","id":1906,"name":"IntervalNode"},{"type":"intrinsic","name":"null"}]}}],"setSignature":[{"id":1951,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"get/set the right node"},"parameters":[{"id":1952,"name":"node","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"reference","id":1906,"name":"IntervalNode"},{"type":"intrinsic","name":"null"}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/util/IntervalTimeline.ts","line":547,"character":10},{"fileName":"Tone/core/util/IntervalTimeline.ts","line":551,"character":10}]},{"id":1953,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1954,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"null out references."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/util/IntervalTimeline.ts","line":563,"character":8}]},{"id":1941,"name":"getBalance","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1942,"name":"getBalance","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"The balance is how the leafs are distributed on the node","returns":"Negative numbers are balanced to the right\n"},"type":{"type":"intrinsic","name":"number"}}],"sources":[{"fileName":"Tone/core/util/IntervalTimeline.ts","line":509,"character":11}]},{"id":1920,"name":"insert","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1921,"name":"insert","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Insert a node into the correct spot in the tree"},"parameters":[{"id":1922,"name":"node","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1906,"name":"IntervalNode"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/util/IntervalTimeline.ts","line":398,"character":7}]},{"id":1943,"name":"isLeftChild","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1944,"name":"isLeftChild","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"returns":"true if this node is the left child of its parent\n"},"type":{"type":"intrinsic","name":"boolean"}}],"sources":[{"fileName":"Tone/core/util/IntervalTimeline.ts","line":524,"character":12}]},{"id":1923,"name":"search","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1924,"name":"search","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Search the tree for nodes which overlap\nwith the given point"},"parameters":[{"id":1925,"name":"point","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The point to query"},"type":{"type":"intrinsic","name":"number"}},{"id":1926,"name":"results","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The array to put the results\n"},"type":{"type":"array","elementType":{"type":"reference","id":1906,"name":"IntervalNode"}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/util/IntervalTimeline.ts","line":418,"character":7}]},{"id":1927,"name":"searchAfter","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1928,"name":"searchAfter","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Search the tree for nodes which are less\nthan the given point"},"parameters":[{"id":1929,"name":"point","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The point to query"},"type":{"type":"intrinsic","name":"number"}},{"id":1930,"name":"results","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The array to put the results\n"},"type":{"type":"array","elementType":{"type":"reference","id":1906,"name":"IntervalNode"}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/util/IntervalTimeline.ts","line":449,"character":12}]},{"id":1931,"name":"traverse","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1932,"name":"traverse","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Invoke the callback on this element and both it's branches"},"parameters":[{"id":1933,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"\n"},"type":{"type":"reflection","declaration":{"id":1934,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":1935,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":1936,"name":"self","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1906,"name":"IntervalNode"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/util/IntervalTimeline.ts","line":467,"character":19}]}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/util/IntervalTimeline.ts","line":467,"character":9}]},{"id":1937,"name":"updateHeight","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1938,"name":"updateHeight","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Update the height of the node"},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/util/IntervalTimeline.ts","line":480,"character":13}]},{"id":1939,"name":"updateMax","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1940,"name":"updateMax","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Update the height of the node"},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/util/IntervalTimeline.ts","line":495,"character":10}]}],"groups":[{"title":"Constructors","kind":512,"children":[1915]},{"title":"Properties","kind":1024,"children":[1907,1914,1909,1908,1910,1913]},{"title":"Accessors","kind":262144,"children":[1945,1949]},{"title":"Methods","kind":2048,"children":[1953,1941,1920,1943,1923,1927,1931,1937,1939]}],"sources":[{"fileName":"Tone/core/util/IntervalTimeline.ts","line":366,"character":18}]},{"id":1845,"name":"IntervalTimeline","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Similar to Tone.Timeline, but all events represent\nintervals with both \"time\" and \"duration\" times. The\nevents are placed in a tree structure optimized\nfor querying an intersection point with the timeline\nevents. Internally uses an [Interval Tree](https://en.wikipedia.org/wiki/Interval_tree)\nto represent the data."},"children":[{"id":1898,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":1846,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/util/IntervalTimeline.ts","line":26,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"IntervalTimeline\"","overwrites":{"type":"reference","name":"Tone.name"}},{"id":1895,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":1902,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":1903,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":1855,"name":"length","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of items in the timeline.","tags":[{"tag":"readonly","text":"\n"}]},"getSignature":[{"id":1856,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of items in the timeline.","tags":[{"tag":"readonly","text":"\n"}]},"type":{"type":"intrinsic","name":"number"}}],"sources":[{"fileName":"Tone/core/util/IntervalTimeline.ts","line":88,"character":11}]},{"id":1849,"name":"add","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1850,"name":"add","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"The event to add to the timeline. All events must\nhave a time and duration value"},"parameters":[{"id":1851,"name":"event","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The event to add to the timeline\n"},"type":{"type":"reference","id":1840,"name":"IntervalTimelineEvent"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/util/IntervalTimeline.ts","line":43,"character":4}]},{"id":1857,"name":"cancel","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1858,"name":"cancel","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Remove events whose time time is after the given time"},"parameters":[{"id":1859,"name":"after","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The time to query.\n"},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/util/IntervalTimeline.ts","line":96,"character":7}]},{"id":1893,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1894,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Clean up"},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":58,"name":"Tone.dispose"}}],"sources":[{"fileName":"Tone/core/util/IntervalTimeline.ts","line":342,"character":8}],"overwrites":{"type":"reference","id":58,"name":"Tone.dispose"}},{"id":1882,"name":"forEach","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1883,"name":"forEach","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Iterate over everything in the timeline."},"parameters":[{"id":1884,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The callback to invoke with every item\n"},"type":{"type":"reference","id":1955,"name":"IteratorCallback"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/util/IntervalTimeline.ts","line":288,"character":8}]},{"id":1885,"name":"forEachAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1886,"name":"forEachAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Iterate over everything in the array in which the given time\noverlaps with the time and duration time of the event."},"parameters":[{"id":1887,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The time to check if items are overlapping"},"type":{"type":"intrinsic","name":"number"}},{"id":1888,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The callback to invoke with every item\n"},"type":{"type":"reference","id":1955,"name":"IteratorCallback"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/util/IntervalTimeline.ts","line":307,"character":14}]},{"id":1889,"name":"forEachFrom","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1890,"name":"forEachFrom","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Iterate over everything in the array in which the time is greater\nthan or equal to the given time."},"parameters":[{"id":1891,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The time to check if items are before"},"type":{"type":"intrinsic","name":"number"}},{"id":1892,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The callback to invoke with every item\n"},"type":{"type":"reference","id":1955,"name":"IteratorCallback"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/util/IntervalTimeline.ts","line":326,"character":12}]},{"id":1879,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1880,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get an event whose time and duration span the give time. Will\nreturn the match whose \"time\" value is closest to the given time.","returns":"The event which spans the desired time\n"},"parameters":[{"id":1881,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"union","types":[{"type":"reference","id":1840,"name":"IntervalTimelineEvent"},{"type":"intrinsic","name":"null"}]}}],"sources":[{"fileName":"Tone/core/util/IntervalTimeline.ts","line":267,"character":4}]},{"id":1852,"name":"remove","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1853,"name":"remove","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Remove an event from the timeline."},"parameters":[{"id":1854,"name":"event","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The event to remove from the timeline\n"},"type":{"type":"reference","id":1840,"name":"IntervalTimelineEvent"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/util/IntervalTimeline.ts","line":69,"character":7}]},{"id":1904,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1905,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":1896,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":1897,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Returns all of the default options belonging to the class."},"type":{"type":"reference","id":47,"name":"BaseToneOptions"},"inheritedFrom":{"type":"reference","id":51,"name":"Tone.getDefaults"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":38,"character":19}],"inheritedFrom":{"type":"reference","id":51,"name":"Tone.getDefaults"}}],"groups":[{"title":"Properties","kind":1024,"children":[1898,1846,1895]},{"title":"Accessors","kind":262144,"children":[1902,1855]},{"title":"Methods","kind":2048,"children":[1849,1857,1893,1882,1885,1889,1879,1852,1904,1896]}],"sources":[{"fileName":"Tone/core/util/IntervalTimeline.ts","line":24,"character":29}],"extendedTypes":[{"type":"reference","id":48,"name":"Tone"}]},{"id":16686,"name":"JCReverb","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"JCReverb is a simple [Schroeder Reverberator](https://ccrma.stanford.edu/~jos/pasp/Schroeder_Reverberators.html)\ntuned by John Chowning in 1970.\nIt is made up of three allpass filters and four [[FeedbackCombFilter]].\nJCReverb is now implemented with an AudioWorkletNode which may result on performance degradation on some platforms. Consider using [[Reverb]].","tags":[{"tag":"example","text":"\nconst reverb = new Tone.JCReverb(0.4).toDestination();\nconst delay = new Tone.FeedbackDelay(0.5);\n// connecting the synth to reverb through delay\nconst synth = new Tone.DuoSynth().chain(delay, reverb);\nsynth.triggerAttackRelease(\"A4\", \"8n\");\n"}]},"children":[{"id":16692,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":16693,"name":"new JCReverb","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":16694,"name":"roomSize","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Correlated to the decay time.\n"},"type":{"type":"reference","id":23,"name":"NormalRange"}}],"type":{"type":"reference","id":16686,"name":"JCReverb"},"overwrites":{"type":"reference","id":15736,"name":"StereoEffect.__constructor"}},{"id":16695,"name":"new JCReverb","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":16696,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":16682,"name":"JCReverbOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":16686,"name":"JCReverb"},"overwrites":{"type":"reference","id":15736,"name":"StereoEffect.__constructor"}}],"sources":[{"fileName":"Tone/effect/JCReverb.ts","line":64,"character":57},{"fileName":"Tone/effect/JCReverb.ts","line":69,"character":37},{"fileName":"Tone/effect/JCReverb.ts","line":70,"character":49}],"overwrites":{"type":"reference","id":15736,"name":"StereoEffect.__constructor"}},{"id":16749,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":16777,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":16701,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/effect/StereoEffect.ts","line":19,"character":15}],"type":{"type":"reference","id":1143,"name":"Gain"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":15730,"name":"StereoEffect.input"}},{"id":16687,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/effect/JCReverb.ts","line":44,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"JCReverb\"","overwrites":{"type":"reference","id":15729,"name":"StereoEffect.name"}},{"id":16702,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/effect/StereoEffect.ts","line":20,"character":16}],"type":{"type":"reference","id":14368,"name":"CrossFade"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":15731,"name":"StereoEffect.output"}},{"id":16688,"name":"roomSize","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"Room size control values."},"sources":[{"fileName":"Tone/effect/JCReverb.ts","line":49,"character":18}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"normalRange"}],"name":"Signal"}},{"id":16703,"name":"wet","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The wet control, i.e. how much of the effected\nwill pass through to the output."},"sources":[{"fileName":"Tone/effect/StereoEffect.ts","line":31,"character":13}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"normalRange"}],"name":"Signal"},"inheritedFrom":{"type":"reference","id":15733,"name":"StereoEffect.wet"}},{"id":16776,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":16757,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":16758,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":16717,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":16718,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":16719,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":16720,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":16721,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":16722,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":16723,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":16724,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":16725,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":16726,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":16727,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":16728,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":16781,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":16782,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":16712,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":16713,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":16714,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":16715,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":16755,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":16756,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":16743,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16744,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":16745,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":16729,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16730,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":16731,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":16732,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":16733,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":16738,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16739,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":16740,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":16741,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":16742,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":16699,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16700,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":15747,"name":"StereoEffect.dispose"}}],"sources":[{"fileName":"Tone/effect/JCReverb.ts","line":122,"character":8}],"overwrites":{"type":"reference","id":15747,"name":"StereoEffect.dispose"}},{"id":16746,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16747,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":16748,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":16771,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16772,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":16682,"name":"JCReverbOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":16753,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16754,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":16751,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16752,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":16773,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16774,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":16775,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":16682,"name":"JCReverbOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":16734,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16735,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":16762,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16763,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":16764,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":16736,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16737,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":16759,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16760,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":16761,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":16783,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16784,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":16765,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16766,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":16767,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":16697,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":16698,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":16682,"name":"JCReverbOptions"},"overwrites":{"type":"reference","id":15745,"name":"StereoEffect.getDefaults"}}],"sources":[{"fileName":"Tone/effect/JCReverb.ts","line":116,"character":19}],"overwrites":{"type":"reference","id":15745,"name":"StereoEffect.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[16692]},{"title":"Properties","kind":1024,"children":[16749,16777,16701,16687,16702,16688,16703,16776]},{"title":"Accessors","kind":262144,"children":[16757,16717,16721,16725,16781,16712,16714,16755]},{"title":"Methods","kind":2048,"children":[16743,16729,16738,16699,16746,16771,16753,16751,16773,16734,16762,16736,16759,16783,16765,16697]}],"sources":[{"fileName":"Tone/effect/JCReverb.ts","line":42,"character":21}],"extendedTypes":[{"type":"reference","id":15727,"typeArguments":[{"type":"reference","id":16682,"name":"JCReverbOptions"}],"name":"StereoEffect"}]},{"id":8745,"name":"LFO","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"LFO stands for low frequency oscillator. LFO produces an output signal\nwhich can be attached to an AudioParam or Tone.Signal\nin order to modulate that parameter with an oscillator. The LFO can\nalso be synced to the transport to start/stop and change when the tempo changes.","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst lfo = new Tone.LFO(\"4n\", 400, 4000).start().toDestination();\n}, 0.5, 1);"}]},"children":[{"id":8760,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":8761,"name":"new LFO","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":8762,"name":"frequency","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The frequency of the oscillation.\nTypically, LFOs will be in the frequency range of 0.1 to 10 hertz."},"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":8763,"name":"min","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The minimum output value of the LFO."},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}},{"id":8764,"name":"max","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The maximum value of the LFO.\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}}],"type":{"type":"reference","id":8745,"name":"LFO"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":8765,"name":"new LFO","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":8766,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":8886,"name":"LFOOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":8745,"name":"LFO"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/source/oscillator/LFO.ts","line":104,"character":41},{"fileName":"Tone/source/oscillator/LFO.ts","line":112,"character":64},{"fileName":"Tone/source/oscillator/LFO.ts","line":113,"character":44}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":8749,"name":"amplitude","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The amplitude of the LFO, which controls the output range between\nthe min and max output. For example if the min is -10 and the max\nis 10, setting the amplitude to 0.5 would make the LFO modulate\nbetween -5 and 5."},"sources":[{"fileName":"Tone/source/oscillator/LFO.ts","line":53,"character":19}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"normalRange"}],"name":"Param"}},{"id":8850,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":8758,"name":"convert","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"If the input value is converted using the [[units]]"},"sources":[{"fileName":"Tone/source/oscillator/LFO.ts","line":99,"character":8}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"true"},{"id":8878,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":8759,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The frequency value of the LFO"},"sources":[{"fileName":"Tone/source/oscillator/LFO.ts","line":104,"character":19}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"frequency"}],"name":"Signal"}},{"id":8756,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"There is no input node"},"sources":[{"fileName":"Tone/source/oscillator/LFO.ts","line":89,"character":15}],"type":{"type":"intrinsic","name":"undefined"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":8746,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/source/oscillator/LFO.ts","line":35,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"LFO\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":8755,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The output of the LFO"},"sources":[{"fileName":"Tone/source/oscillator/LFO.ts","line":84,"character":16}],"type":{"type":"reference","id":1102,"name":"OutputNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":8877,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":8858,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":8859,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":8823,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":8824,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":8825,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":8826,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":8827,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":8828,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":8829,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":8830,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":8831,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":8832,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":8833,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":8834,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":8882,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":8883,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":8785,"name":"max","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The maximum output of the LFO."},"getSignature":[{"id":8786,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The maximum output of the LFO."},"type":{"type":"intrinsic","name":"number"}}],"setSignature":[{"id":8787,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The maximum output of the LFO."},"parameters":[{"id":8788,"name":"max","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/oscillator/LFO.ts","line":232,"character":8},{"fileName":"Tone/source/oscillator/LFO.ts","line":235,"character":8}]},{"id":8781,"name":"min","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The minimum output of the LFO."},"getSignature":[{"id":8782,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The minimum output of the LFO."},"type":{"type":"intrinsic","name":"number"}}],"setSignature":[{"id":8783,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The minimum output of the LFO."},"parameters":[{"id":8784,"name":"min","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/oscillator/LFO.ts","line":221,"character":8},{"fileName":"Tone/source/oscillator/LFO.ts","line":224,"character":8}]},{"id":8818,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":8819,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":8820,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":8821,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":8793,"name":"partials","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The oscillator's partials array: See [[Oscillator.partials]]"},"getSignature":[{"id":8794,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The oscillator's partials array: See [[Oscillator.partials]]"},"type":{"type":"array","elementType":{"type":"intrinsic","name":"number"}}}],"setSignature":[{"id":8795,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The oscillator's partials array: See [[Oscillator.partials]]"},"parameters":[{"id":8796,"name":"partials","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"number"}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/oscillator/LFO.ts","line":254,"character":13},{"fileName":"Tone/source/oscillator/LFO.ts","line":257,"character":13}]},{"id":8797,"name":"phase","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The phase of the LFO."},"getSignature":[{"id":8798,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The phase of the LFO."},"type":{"type":"reference","id":37,"name":"Degrees"}}],"setSignature":[{"id":8799,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The phase of the LFO."},"parameters":[{"id":8800,"name":"phase","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/oscillator/LFO.ts","line":265,"character":10},{"fileName":"Tone/source/oscillator/LFO.ts","line":268,"character":10}]},{"id":8856,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":8857,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":8805,"name":"state","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Returns the playback state of the source, either \"started\" or \"stopped\"."},"getSignature":[{"id":8806,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Returns the playback state of the source, either \"started\" or \"stopped\"."},"type":{"type":"reference","id":705,"name":"BasicPlaybackState"}}],"sources":[{"fileName":"Tone/source/oscillator/LFO.ts","line":291,"character":10}]},{"id":8789,"name":"type","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The type of the oscillator: See [[Oscillator.type]]"},"getSignature":[{"id":8790,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The type of the oscillator: See [[Oscillator.type]]"},"type":{"type":"reference","id":6554,"name":"ToneOscillatorType"}}],"setSignature":[{"id":8791,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The type of the oscillator: See [[Oscillator.type]]"},"parameters":[{"id":8792,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"custom"},{"type":"stringLiteral","value":"sawtooth"},{"type":"stringLiteral","value":"sine"},{"type":"stringLiteral","value":"square"},{"type":"stringLiteral","value":"triangle"},{"type":"stringLiteral","value":"sine1"},{"type":"stringLiteral","value":"sine2"},{"type":"stringLiteral","value":"sine3"},{"type":"stringLiteral","value":"sine4"},{"type":"stringLiteral","value":"sine5"},{"type":"stringLiteral","value":"sine6"},{"type":"stringLiteral","value":"sine7"},{"type":"stringLiteral","value":"sine8"},{"type":"stringLiteral","value":"sine9"},{"type":"stringLiteral","value":"sine10"},{"type":"stringLiteral","value":"sine11"},{"type":"stringLiteral","value":"sine12"},{"type":"stringLiteral","value":"sine13"},{"type":"stringLiteral","value":"sine14"},{"type":"stringLiteral","value":"sine15"},{"type":"stringLiteral","value":"sine16"},{"type":"stringLiteral","value":"sine17"},{"type":"stringLiteral","value":"sine18"},{"type":"stringLiteral","value":"sine19"},{"type":"stringLiteral","value":"sine20"},{"type":"stringLiteral","value":"sine21"},{"type":"stringLiteral","value":"sine22"},{"type":"stringLiteral","value":"sine23"},{"type":"stringLiteral","value":"sine24"},{"type":"stringLiteral","value":"sine25"},{"type":"stringLiteral","value":"sine26"},{"type":"stringLiteral","value":"sine27"},{"type":"stringLiteral","value":"sine28"},{"type":"stringLiteral","value":"sine29"},{"type":"stringLiteral","value":"sine30"},{"type":"stringLiteral","value":"sine31"},{"type":"stringLiteral","value":"sine32"},{"type":"stringLiteral","value":"square1"},{"type":"stringLiteral","value":"square2"},{"type":"stringLiteral","value":"square3"},{"type":"stringLiteral","value":"square4"},{"type":"stringLiteral","value":"square5"},{"type":"stringLiteral","value":"square6"},{"type":"stringLiteral","value":"square7"},{"type":"stringLiteral","value":"square8"},{"type":"stringLiteral","value":"square9"},{"type":"stringLiteral","value":"square10"},{"type":"stringLiteral","value":"square11"},{"type":"stringLiteral","value":"square12"},{"type":"stringLiteral","value":"square13"},{"type":"stringLiteral","value":"square14"},{"type":"stringLiteral","value":"square15"},{"type":"stringLiteral","value":"square16"},{"type":"stringLiteral","value":"square17"},{"type":"stringLiteral","value":"square18"},{"type":"stringLiteral","value":"square19"},{"type":"stringLiteral","value":"square20"},{"type":"stringLiteral","value":"square21"},{"type":"stringLiteral","value":"square22"},{"type":"stringLiteral","value":"square23"},{"type":"stringLiteral","value":"square24"},{"type":"stringLiteral","value":"square25"},{"type":"stringLiteral","value":"square26"},{"type":"stringLiteral","value":"square27"},{"type":"stringLiteral","value":"square28"},{"type":"stringLiteral","value":"square29"},{"type":"stringLiteral","value":"square30"},{"type":"stringLiteral","value":"square31"},{"type":"stringLiteral","value":"square32"},{"type":"stringLiteral","value":"triangle1"},{"type":"stringLiteral","value":"triangle2"},{"type":"stringLiteral","value":"triangle3"},{"type":"stringLiteral","value":"triangle4"},{"type":"stringLiteral","value":"triangle5"},{"type":"stringLiteral","value":"triangle6"},{"type":"stringLiteral","value":"triangle7"},{"type":"stringLiteral","value":"triangle8"},{"type":"stringLiteral","value":"triangle9"},{"type":"stringLiteral","value":"triangle10"},{"type":"stringLiteral","value":"triangle11"},{"type":"stringLiteral","value":"triangle12"},{"type":"stringLiteral","value":"triangle13"},{"type":"stringLiteral","value":"triangle14"},{"type":"stringLiteral","value":"triangle15"},{"type":"stringLiteral","value":"triangle16"},{"type":"stringLiteral","value":"triangle17"},{"type":"stringLiteral","value":"triangle18"},{"type":"stringLiteral","value":"triangle19"},{"type":"stringLiteral","value":"triangle20"},{"type":"stringLiteral","value":"triangle21"},{"type":"stringLiteral","value":"triangle22"},{"type":"stringLiteral","value":"triangle23"},{"type":"stringLiteral","value":"triangle24"},{"type":"stringLiteral","value":"triangle25"},{"type":"stringLiteral","value":"triangle26"},{"type":"stringLiteral","value":"triangle27"},{"type":"stringLiteral","value":"triangle28"},{"type":"stringLiteral","value":"triangle29"},{"type":"stringLiteral","value":"triangle30"},{"type":"stringLiteral","value":"triangle31"},{"type":"stringLiteral","value":"triangle32"},{"type":"stringLiteral","value":"sawtooth1"},{"type":"stringLiteral","value":"sawtooth2"},{"type":"stringLiteral","value":"sawtooth3"},{"type":"stringLiteral","value":"sawtooth4"},{"type":"stringLiteral","value":"sawtooth5"},{"type":"stringLiteral","value":"sawtooth6"},{"type":"stringLiteral","value":"sawtooth7"},{"type":"stringLiteral","value":"sawtooth8"},{"type":"stringLiteral","value":"sawtooth9"},{"type":"stringLiteral","value":"sawtooth10"},{"type":"stringLiteral","value":"sawtooth11"},{"type":"stringLiteral","value":"sawtooth12"},{"type":"stringLiteral","value":"sawtooth13"},{"type":"stringLiteral","value":"sawtooth14"},{"type":"stringLiteral","value":"sawtooth15"},{"type":"stringLiteral","value":"sawtooth16"},{"type":"stringLiteral","value":"sawtooth17"},{"type":"stringLiteral","value":"sawtooth18"},{"type":"stringLiteral","value":"sawtooth19"},{"type":"stringLiteral","value":"sawtooth20"},{"type":"stringLiteral","value":"sawtooth21"},{"type":"stringLiteral","value":"sawtooth22"},{"type":"stringLiteral","value":"sawtooth23"},{"type":"stringLiteral","value":"sawtooth24"},{"type":"stringLiteral","value":"sawtooth25"},{"type":"stringLiteral","value":"sawtooth26"},{"type":"stringLiteral","value":"sawtooth27"},{"type":"stringLiteral","value":"sawtooth28"},{"type":"stringLiteral","value":"sawtooth29"},{"type":"stringLiteral","value":"sawtooth30"},{"type":"stringLiteral","value":"sawtooth31"},{"type":"stringLiteral","value":"sawtooth32"}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/oscillator/LFO.ts","line":243,"character":9},{"fileName":"Tone/source/oscillator/LFO.ts","line":246,"character":9}]},{"id":8801,"name":"units","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The output units of the LFO."},"getSignature":[{"id":8802,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The output units of the LFO."},"type":{"type":"reference","id":46,"name":"UnitName"}}],"setSignature":[{"id":8803,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The output units of the LFO."},"parameters":[{"id":8804,"name":"val","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"number"},{"type":"stringLiteral","value":"decibels"},{"type":"stringLiteral","value":"normalRange"},{"type":"stringLiteral","value":"audioRange"},{"type":"stringLiteral","value":"gain"},{"type":"stringLiteral","value":"positive"},{"type":"stringLiteral","value":"time"},{"type":"stringLiteral","value":"frequency"},{"type":"stringLiteral","value":"transportTime"},{"type":"stringLiteral","value":"ticks"},{"type":"stringLiteral","value":"bpm"},{"type":"stringLiteral","value":"degrees"},{"type":"stringLiteral","value":"radians"},{"type":"stringLiteral","value":"samples"},{"type":"stringLiteral","value":"hertz"},{"type":"stringLiteral","value":"cents"}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/oscillator/LFO.ts","line":276,"character":10},{"fileName":"Tone/source/oscillator/LFO.ts","line":279,"character":10}]},{"id":8844,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8845,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":8846,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":8807,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8808,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":8809,"name":"node","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"the destination to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":8810,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"the optional output number"},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}},{"id":8811,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"the input number\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/source/oscillator/LFO.ts","line":300,"character":8}],"overwrites":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":8839,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8840,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":8841,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":8842,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":8843,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":8816,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8817,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/source/oscillator/LFO.ts","line":321,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":8847,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8848,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":8849,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":8872,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8873,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":8886,"name":"LFOOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":8854,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8855,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":8852,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8853,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":8874,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8875,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":8876,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":8886,"name":"LFOOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":8769,"name":"start","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8770,"name":"start","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Start the LFO."},"parameters":[{"id":8771,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The time the LFO will start\n"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/source/oscillator/LFO.ts","line":169,"character":6}]},{"id":8772,"name":"stop","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8773,"name":"stop","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Stop the LFO."},"parameters":[{"id":8774,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The time the LFO will stop\n"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/source/oscillator/LFO.ts","line":180,"character":5}]},{"id":8775,"name":"sync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8776,"name":"sync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Sync the start/stop/pause to the transport\nand the frequency to the bpm of the transport","tags":[{"tag":"example","text":"\nconst lfo = new Tone.LFO(\"8n\");\nlfo.sync().start(0);\n// the rate of the LFO will always be an eighth note, even as the tempo changes\n"}]},"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/source/oscillator/LFO.ts","line":195,"character":5}]},{"id":8835,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8836,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":8863,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8864,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":8865,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":8837,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8838,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":8860,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8861,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":8862,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":8884,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8885,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":8866,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8867,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":8868,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":8777,"name":"unsync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8778,"name":"unsync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"unsync the LFO from transport control"},"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/source/oscillator/LFO.ts","line":204,"character":7}]},{"id":8767,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":8768,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":8886,"name":"LFOOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/source/oscillator/LFO.ts","line":154,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[8760]},{"title":"Properties","kind":1024,"children":[8749,8850,8758,8878,8759,8756,8746,8755,8877]},{"title":"Accessors","kind":262144,"children":[8858,8823,8827,8831,8882,8785,8781,8818,8820,8793,8797,8856,8805,8789,8801]},{"title":"Methods","kind":2048,"children":[8844,8807,8839,8816,8847,8872,8854,8852,8874,8769,8772,8775,8835,8863,8837,8860,8884,8866,8777,8767]}],"sources":[{"fileName":"Tone/source/oscillator/LFO.ts","line":33,"character":16}],"extendedTypes":[{"type":"reference","id":1004,"typeArguments":[{"type":"reference","id":8886,"name":"LFOOptions"}],"name":"ToneAudioNode"}]},{"id":14561,"name":"LFOEffect","kind":128,"kindString":"Class","flags":{"isExported":true,"isAbstract":true},"comment":{"shortText":"Base class for LFO-based effects."},"typeParameter":[{"id":14562,"name":"Options","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"reference","id":14555,"name":"LFOEffectOptions"}}],"children":[{"id":14567,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":14568,"name":"new LFOEffect","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":14569,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":14555,"name":"LFOEffectOptions"}}],"type":{"type":"reference","id":14561,"name":"LFOEffect"},"overwrites":{"type":"reference","id":14472,"name":"Effect.__constructor"}}],"sources":[{"fileName":"Tone/effect/LFOEffect.ts","line":36,"character":41}],"overwrites":{"type":"reference","id":14472,"name":"Effect.__constructor"}},{"id":14633,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":14661,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":14565,"name":"depth","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The range of the filter modulating between the min and max frequency.\n0 = no modulation. 1 = full modulation."},"sources":[{"fileName":"Tone/effect/LFOEffect.ts","line":31,"character":15}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"normalRange"}],"name":"Param"}},{"id":14566,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"How fast the filter modulates between min and max."},"sources":[{"fileName":"Tone/effect/LFOEffect.ts","line":36,"character":19}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"frequency"}],"name":"Signal"}},{"id":14591,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The effect input node"},"sources":[{"fileName":"Tone/effect/Effect.ts","line":46,"character":6}],"type":{"type":"reference","id":1143,"name":"Gain"},"defaultValue":"new Gain({ context: this.context })","overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":14470,"name":"Effect.input"}},{"id":14563,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/effect/LFOEffect.ts","line":20,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"LFOEffect\"","overwrites":{"type":"reference","id":14465,"name":"Effect.name"}},{"id":14592,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The effect output"},"sources":[{"fileName":"Tone/effect/Effect.ts","line":51,"character":7}],"type":{"type":"reference","id":14368,"name":"CrossFade"},"defaultValue":"this._dryWet","overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":14471,"name":"Effect.output"}},{"id":14588,"name":"wet","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The wet control is how much of the effected\nwill pass through to the output. 1 = 100% effected\nsignal, 0 = 100% dry signal."},"sources":[{"fileName":"Tone/effect/Effect.ts","line":31,"character":4}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"normalRange"}],"name":"Signal"},"defaultValue":"this._dryWet.fade","inheritedFrom":{"type":"reference","id":14467,"name":"Effect.wet"}},{"id":14660,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":14641,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":14642,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":14601,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":14602,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":14603,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":14604,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":14605,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":14606,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":14607,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":14608,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":14609,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":14610,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":14611,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":14612,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":14665,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":14666,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":14596,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":14597,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":14598,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":14599,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":14639,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":14640,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":14582,"name":"type","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The type of the LFO's oscillator: See [[Oscillator.type]]","tags":[{"tag":"example","text":"\nconst autoFilter = new Tone.AutoFilter().start().toDestination();\nconst noise = new Tone.Noise().start().connect(autoFilter);\nautoFilter.type = \"square\";\n"}]},"getSignature":[{"id":14583,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The type of the LFO's oscillator: See [[Oscillator.type]]","tags":[{"tag":"example","text":"\nconst autoFilter = new Tone.AutoFilter().start().toDestination();\nconst noise = new Tone.Noise().start().connect(autoFilter);\nautoFilter.type = \"square\";\n"}]},"type":{"type":"union","types":[{"type":"stringLiteral","value":"custom"},{"type":"stringLiteral","value":"sawtooth"},{"type":"stringLiteral","value":"sine"},{"type":"stringLiteral","value":"square"},{"type":"stringLiteral","value":"triangle"},{"type":"stringLiteral","value":"sine1"},{"type":"stringLiteral","value":"sine2"},{"type":"stringLiteral","value":"sine3"},{"type":"stringLiteral","value":"sine4"},{"type":"stringLiteral","value":"sine5"},{"type":"stringLiteral","value":"sine6"},{"type":"stringLiteral","value":"sine7"},{"type":"stringLiteral","value":"sine8"},{"type":"stringLiteral","value":"sine9"},{"type":"stringLiteral","value":"sine10"},{"type":"stringLiteral","value":"sine11"},{"type":"stringLiteral","value":"sine12"},{"type":"stringLiteral","value":"sine13"},{"type":"stringLiteral","value":"sine14"},{"type":"stringLiteral","value":"sine15"},{"type":"stringLiteral","value":"sine16"},{"type":"stringLiteral","value":"sine17"},{"type":"stringLiteral","value":"sine18"},{"type":"stringLiteral","value":"sine19"},{"type":"stringLiteral","value":"sine20"},{"type":"stringLiteral","value":"sine21"},{"type":"stringLiteral","value":"sine22"},{"type":"stringLiteral","value":"sine23"},{"type":"stringLiteral","value":"sine24"},{"type":"stringLiteral","value":"sine25"},{"type":"stringLiteral","value":"sine26"},{"type":"stringLiteral","value":"sine27"},{"type":"stringLiteral","value":"sine28"},{"type":"stringLiteral","value":"sine29"},{"type":"stringLiteral","value":"sine30"},{"type":"stringLiteral","value":"sine31"},{"type":"stringLiteral","value":"sine32"},{"type":"stringLiteral","value":"square1"},{"type":"stringLiteral","value":"square2"},{"type":"stringLiteral","value":"square3"},{"type":"stringLiteral","value":"square4"},{"type":"stringLiteral","value":"square5"},{"type":"stringLiteral","value":"square6"},{"type":"stringLiteral","value":"square7"},{"type":"stringLiteral","value":"square8"},{"type":"stringLiteral","value":"square9"},{"type":"stringLiteral","value":"square10"},{"type":"stringLiteral","value":"square11"},{"type":"stringLiteral","value":"square12"},{"type":"stringLiteral","value":"square13"},{"type":"stringLiteral","value":"square14"},{"type":"stringLiteral","value":"square15"},{"type":"stringLiteral","value":"square16"},{"type":"stringLiteral","value":"square17"},{"type":"stringLiteral","value":"square18"},{"type":"stringLiteral","value":"square19"},{"type":"stringLiteral","value":"square20"},{"type":"stringLiteral","value":"square21"},{"type":"stringLiteral","value":"square22"},{"type":"stringLiteral","value":"square23"},{"type":"stringLiteral","value":"square24"},{"type":"stringLiteral","value":"square25"},{"type":"stringLiteral","value":"square26"},{"type":"stringLiteral","value":"square27"},{"type":"stringLiteral","value":"square28"},{"type":"stringLiteral","value":"square29"},{"type":"stringLiteral","value":"square30"},{"type":"stringLiteral","value":"square31"},{"type":"stringLiteral","value":"square32"},{"type":"stringLiteral","value":"triangle1"},{"type":"stringLiteral","value":"triangle2"},{"type":"stringLiteral","value":"triangle3"},{"type":"stringLiteral","value":"triangle4"},{"type":"stringLiteral","value":"triangle5"},{"type":"stringLiteral","value":"triangle6"},{"type":"stringLiteral","value":"triangle7"},{"type":"stringLiteral","value":"triangle8"},{"type":"stringLiteral","value":"triangle9"},{"type":"stringLiteral","value":"triangle10"},{"type":"stringLiteral","value":"triangle11"},{"type":"stringLiteral","value":"triangle12"},{"type":"stringLiteral","value":"triangle13"},{"type":"stringLiteral","value":"triangle14"},{"type":"stringLiteral","value":"triangle15"},{"type":"stringLiteral","value":"triangle16"},{"type":"stringLiteral","value":"triangle17"},{"type":"stringLiteral","value":"triangle18"},{"type":"stringLiteral","value":"triangle19"},{"type":"stringLiteral","value":"triangle20"},{"type":"stringLiteral","value":"triangle21"},{"type":"stringLiteral","value":"triangle22"},{"type":"stringLiteral","value":"triangle23"},{"type":"stringLiteral","value":"triangle24"},{"type":"stringLiteral","value":"triangle25"},{"type":"stringLiteral","value":"triangle26"},{"type":"stringLiteral","value":"triangle27"},{"type":"stringLiteral","value":"triangle28"},{"type":"stringLiteral","value":"triangle29"},{"type":"stringLiteral","value":"triangle30"},{"type":"stringLiteral","value":"triangle31"},{"type":"stringLiteral","value":"triangle32"},{"type":"stringLiteral","value":"sawtooth1"},{"type":"stringLiteral","value":"sawtooth2"},{"type":"stringLiteral","value":"sawtooth3"},{"type":"stringLiteral","value":"sawtooth4"},{"type":"stringLiteral","value":"sawtooth5"},{"type":"stringLiteral","value":"sawtooth6"},{"type":"stringLiteral","value":"sawtooth7"},{"type":"stringLiteral","value":"sawtooth8"},{"type":"stringLiteral","value":"sawtooth9"},{"type":"stringLiteral","value":"sawtooth10"},{"type":"stringLiteral","value":"sawtooth11"},{"type":"stringLiteral","value":"sawtooth12"},{"type":"stringLiteral","value":"sawtooth13"},{"type":"stringLiteral","value":"sawtooth14"},{"type":"stringLiteral","value":"sawtooth15"},{"type":"stringLiteral","value":"sawtooth16"},{"type":"stringLiteral","value":"sawtooth17"},{"type":"stringLiteral","value":"sawtooth18"},{"type":"stringLiteral","value":"sawtooth19"},{"type":"stringLiteral","value":"sawtooth20"},{"type":"stringLiteral","value":"sawtooth21"},{"type":"stringLiteral","value":"sawtooth22"},{"type":"stringLiteral","value":"sawtooth23"},{"type":"stringLiteral","value":"sawtooth24"},{"type":"stringLiteral","value":"sawtooth25"},{"type":"stringLiteral","value":"sawtooth26"},{"type":"stringLiteral","value":"sawtooth27"},{"type":"stringLiteral","value":"sawtooth28"},{"type":"stringLiteral","value":"sawtooth29"},{"type":"stringLiteral","value":"sawtooth30"},{"type":"stringLiteral","value":"sawtooth31"},{"type":"stringLiteral","value":"sawtooth32"}]}}],"setSignature":[{"id":14584,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The type of the LFO's oscillator: See [[Oscillator.type]]","tags":[{"tag":"example","text":"\nconst autoFilter = new Tone.AutoFilter().start().toDestination();\nconst noise = new Tone.Noise().start().connect(autoFilter);\nautoFilter.type = \"square\";\n"}]},"parameters":[{"id":14585,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"custom"},{"type":"stringLiteral","value":"sawtooth"},{"type":"stringLiteral","value":"sine"},{"type":"stringLiteral","value":"square"},{"type":"stringLiteral","value":"triangle"},{"type":"stringLiteral","value":"sine1"},{"type":"stringLiteral","value":"sine2"},{"type":"stringLiteral","value":"sine3"},{"type":"stringLiteral","value":"sine4"},{"type":"stringLiteral","value":"sine5"},{"type":"stringLiteral","value":"sine6"},{"type":"stringLiteral","value":"sine7"},{"type":"stringLiteral","value":"sine8"},{"type":"stringLiteral","value":"sine9"},{"type":"stringLiteral","value":"sine10"},{"type":"stringLiteral","value":"sine11"},{"type":"stringLiteral","value":"sine12"},{"type":"stringLiteral","value":"sine13"},{"type":"stringLiteral","value":"sine14"},{"type":"stringLiteral","value":"sine15"},{"type":"stringLiteral","value":"sine16"},{"type":"stringLiteral","value":"sine17"},{"type":"stringLiteral","value":"sine18"},{"type":"stringLiteral","value":"sine19"},{"type":"stringLiteral","value":"sine20"},{"type":"stringLiteral","value":"sine21"},{"type":"stringLiteral","value":"sine22"},{"type":"stringLiteral","value":"sine23"},{"type":"stringLiteral","value":"sine24"},{"type":"stringLiteral","value":"sine25"},{"type":"stringLiteral","value":"sine26"},{"type":"stringLiteral","value":"sine27"},{"type":"stringLiteral","value":"sine28"},{"type":"stringLiteral","value":"sine29"},{"type":"stringLiteral","value":"sine30"},{"type":"stringLiteral","value":"sine31"},{"type":"stringLiteral","value":"sine32"},{"type":"stringLiteral","value":"square1"},{"type":"stringLiteral","value":"square2"},{"type":"stringLiteral","value":"square3"},{"type":"stringLiteral","value":"square4"},{"type":"stringLiteral","value":"square5"},{"type":"stringLiteral","value":"square6"},{"type":"stringLiteral","value":"square7"},{"type":"stringLiteral","value":"square8"},{"type":"stringLiteral","value":"square9"},{"type":"stringLiteral","value":"square10"},{"type":"stringLiteral","value":"square11"},{"type":"stringLiteral","value":"square12"},{"type":"stringLiteral","value":"square13"},{"type":"stringLiteral","value":"square14"},{"type":"stringLiteral","value":"square15"},{"type":"stringLiteral","value":"square16"},{"type":"stringLiteral","value":"square17"},{"type":"stringLiteral","value":"square18"},{"type":"stringLiteral","value":"square19"},{"type":"stringLiteral","value":"square20"},{"type":"stringLiteral","value":"square21"},{"type":"stringLiteral","value":"square22"},{"type":"stringLiteral","value":"square23"},{"type":"stringLiteral","value":"square24"},{"type":"stringLiteral","value":"square25"},{"type":"stringLiteral","value":"square26"},{"type":"stringLiteral","value":"square27"},{"type":"stringLiteral","value":"square28"},{"type":"stringLiteral","value":"square29"},{"type":"stringLiteral","value":"square30"},{"type":"stringLiteral","value":"square31"},{"type":"stringLiteral","value":"square32"},{"type":"stringLiteral","value":"triangle1"},{"type":"stringLiteral","value":"triangle2"},{"type":"stringLiteral","value":"triangle3"},{"type":"stringLiteral","value":"triangle4"},{"type":"stringLiteral","value":"triangle5"},{"type":"stringLiteral","value":"triangle6"},{"type":"stringLiteral","value":"triangle7"},{"type":"stringLiteral","value":"triangle8"},{"type":"stringLiteral","value":"triangle9"},{"type":"stringLiteral","value":"triangle10"},{"type":"stringLiteral","value":"triangle11"},{"type":"stringLiteral","value":"triangle12"},{"type":"stringLiteral","value":"triangle13"},{"type":"stringLiteral","value":"triangle14"},{"type":"stringLiteral","value":"triangle15"},{"type":"stringLiteral","value":"triangle16"},{"type":"stringLiteral","value":"triangle17"},{"type":"stringLiteral","value":"triangle18"},{"type":"stringLiteral","value":"triangle19"},{"type":"stringLiteral","value":"triangle20"},{"type":"stringLiteral","value":"triangle21"},{"type":"stringLiteral","value":"triangle22"},{"type":"stringLiteral","value":"triangle23"},{"type":"stringLiteral","value":"triangle24"},{"type":"stringLiteral","value":"triangle25"},{"type":"stringLiteral","value":"triangle26"},{"type":"stringLiteral","value":"triangle27"},{"type":"stringLiteral","value":"triangle28"},{"type":"stringLiteral","value":"triangle29"},{"type":"stringLiteral","value":"triangle30"},{"type":"stringLiteral","value":"triangle31"},{"type":"stringLiteral","value":"triangle32"},{"type":"stringLiteral","value":"sawtooth1"},{"type":"stringLiteral","value":"sawtooth2"},{"type":"stringLiteral","value":"sawtooth3"},{"type":"stringLiteral","value":"sawtooth4"},{"type":"stringLiteral","value":"sawtooth5"},{"type":"stringLiteral","value":"sawtooth6"},{"type":"stringLiteral","value":"sawtooth7"},{"type":"stringLiteral","value":"sawtooth8"},{"type":"stringLiteral","value":"sawtooth9"},{"type":"stringLiteral","value":"sawtooth10"},{"type":"stringLiteral","value":"sawtooth11"},{"type":"stringLiteral","value":"sawtooth12"},{"type":"stringLiteral","value":"sawtooth13"},{"type":"stringLiteral","value":"sawtooth14"},{"type":"stringLiteral","value":"sawtooth15"},{"type":"stringLiteral","value":"sawtooth16"},{"type":"stringLiteral","value":"sawtooth17"},{"type":"stringLiteral","value":"sawtooth18"},{"type":"stringLiteral","value":"sawtooth19"},{"type":"stringLiteral","value":"sawtooth20"},{"type":"stringLiteral","value":"sawtooth21"},{"type":"stringLiteral","value":"sawtooth22"},{"type":"stringLiteral","value":"sawtooth23"},{"type":"stringLiteral","value":"sawtooth24"},{"type":"stringLiteral","value":"sawtooth25"},{"type":"stringLiteral","value":"sawtooth26"},{"type":"stringLiteral","value":"sawtooth27"},{"type":"stringLiteral","value":"sawtooth28"},{"type":"stringLiteral","value":"sawtooth29"},{"type":"stringLiteral","value":"sawtooth30"},{"type":"stringLiteral","value":"sawtooth31"},{"type":"stringLiteral","value":"sawtooth32"}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/effect/LFOEffect.ts","line":101,"character":9},{"fileName":"Tone/effect/LFOEffect.ts","line":104,"character":9}]},{"id":14627,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14628,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":14629,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":14613,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14614,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":14615,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":14616,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":14617,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":14622,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14623,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":14624,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":14625,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":14626,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":14586,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14587,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":14480,"name":"Effect.dispose"}}],"sources":[{"fileName":"Tone/effect/LFOEffect.ts","line":108,"character":8}],"overwrites":{"type":"reference","id":14480,"name":"Effect.dispose"}},{"id":14630,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14631,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":14632,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":14655,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14656,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":14555,"name":"LFOEffectOptions"}},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":14637,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14638,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":14635,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14636,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":14657,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14658,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":14659,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":14555,"name":"LFOEffectOptions"}}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":14572,"name":"start","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14573,"name":"start","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Start the effect."},"parameters":[{"id":14574,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/effect/LFOEffect.ts","line":65,"character":6}]},{"id":14575,"name":"stop","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14576,"name":"stop","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Stop the lfo"},"parameters":[{"id":14577,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/effect/LFOEffect.ts","line":73,"character":5}]},{"id":14578,"name":"sync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14579,"name":"sync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Sync the filter to the transport. See [[LFO.sync]]"},"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/effect/LFOEffect.ts","line":81,"character":5}]},{"id":14618,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14619,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":14646,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14647,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":14648,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":14620,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14621,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":14643,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14644,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":14645,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":14667,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14668,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":14649,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14650,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":14651,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":14580,"name":"unsync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14581,"name":"unsync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Unsync the filter from the transport."},"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/effect/LFOEffect.ts","line":89,"character":7}]},{"id":14570,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":14571,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":14555,"name":"LFOEffectOptions"},"overwrites":{"type":"reference","id":14475,"name":"Effect.getDefaults"}}],"sources":[{"fileName":"Tone/effect/LFOEffect.ts","line":54,"character":19}],"overwrites":{"type":"reference","id":14475,"name":"Effect.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[14567]},{"title":"Properties","kind":1024,"children":[14633,14661,14565,14566,14591,14563,14592,14588,14660]},{"title":"Accessors","kind":262144,"children":[14641,14601,14605,14609,14665,14596,14598,14639,14582]},{"title":"Methods","kind":2048,"children":[14627,14613,14622,14586,14630,14655,14637,14635,14657,14572,14575,14578,14618,14646,14620,14643,14667,14649,14580,14570]}],"sources":[{"fileName":"Tone/effect/LFOEffect.ts","line":18,"character":31}],"extendedTypes":[{"type":"reference","id":14463,"typeArguments":[{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":14555,"name":"LFOEffectOptions"}}],"name":"Effect"}],"extendedBy":[{"type":"reference","id":14678,"name":"AutoFilter"},{"type":"reference","id":14898,"name":"AutoPanner"}]},{"id":19559,"name":"Limiter","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Limiter will limit the loudness of an incoming signal.\nUnder the hood it's composed of a [[Compressor]] with a fast attack\nand release and max compression ratio.","tags":[{"tag":"example","text":"\nconst limiter = new Tone.Limiter(-20).toDestination();\nconst oscillator = new Tone.Oscillator().connect(limiter);\noscillator.start();"}]},"children":[{"id":19565,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":19566,"name":"new Limiter","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":19567,"name":"threshold","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The threshold above which the gain reduction is applied.\n"},"type":{"type":"reference","id":22,"name":"Decibels"}}],"type":{"type":"reference","id":19559,"name":"Limiter"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":19568,"name":"new Limiter","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":19569,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":19556,"name":"LimiterOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":19559,"name":"Limiter"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/component/dynamics/Limiter.ts","line":35,"character":38},{"fileName":"Tone/component/dynamics/Limiter.ts","line":40,"character":35},{"fileName":"Tone/component/dynamics/Limiter.ts","line":41,"character":48}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":19613,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":19641,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":19561,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/dynamics/Limiter.ts","line":27,"character":15}],"type":{"type":"reference","id":1101,"name":"InputNode"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":19560,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/dynamics/Limiter.ts","line":25,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Limiter\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":19562,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/dynamics/Limiter.ts","line":28,"character":16}],"type":{"type":"reference","id":1102,"name":"OutputNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":19564,"name":"threshold","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/dynamics/Limiter.ts","line":35,"character":19}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"decibels"}],"name":"Param"}},{"id":19640,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":19621,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":19622,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":19581,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":19582,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":19583,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":19584,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":19585,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":19586,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":19587,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":19588,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":19589,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":19590,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":19591,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":19592,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":19645,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":19646,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":19576,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":19577,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":19578,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":19579,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":19572,"name":"reduction","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"A read-only decibel value for metering purposes, representing the current amount of gain\nreduction that the compressor is applying to the signal."},"getSignature":[{"id":19573,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"A read-only decibel value for metering purposes, representing the current amount of gain\nreduction that the compressor is applying to the signal."},"type":{"type":"reference","id":22,"name":"Decibels"}}],"sources":[{"fileName":"Tone/component/dynamics/Limiter.ts","line":68,"character":14}]},{"id":19619,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":19620,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":19607,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19608,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":19609,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":19593,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19594,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":19595,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":19596,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":19597,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":19602,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19603,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":19604,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":19605,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":19606,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":19574,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19575,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/component/dynamics/Limiter.ts","line":72,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":19610,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19611,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":19612,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":19635,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19636,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":19556,"name":"LimiterOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":19617,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19618,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":19615,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19616,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":19637,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19638,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":19639,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":19556,"name":"LimiterOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":19598,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19599,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":19626,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19627,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":19628,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":19600,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19601,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":19623,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19624,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":19625,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":19647,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19648,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":19629,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19630,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":19631,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":19570,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":19571,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":19556,"name":"LimiterOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/component/dynamics/Limiter.ts","line":58,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[19565]},{"title":"Properties","kind":1024,"children":[19613,19641,19561,19560,19562,19564,19640]},{"title":"Accessors","kind":262144,"children":[19621,19581,19585,19589,19645,19576,19578,19572,19619]},{"title":"Methods","kind":2048,"children":[19607,19593,19602,19574,19610,19635,19617,19615,19637,19598,19626,19600,19623,19647,19629,19570]}],"sources":[{"fileName":"Tone/component/dynamics/Limiter.ts","line":23,"character":20}],"extendedTypes":[{"type":"reference","id":1004,"typeArguments":[{"type":"reference","id":19556,"name":"LimiterOptions"}],"name":"ToneAudioNode"}]},{"id":2647,"name":"Listener","kind":128,"kindString":"Class","flags":{"isExported":true,"isConst":true},"comment":{"shortText":"Tone.Listener is a thin wrapper around the AudioListener. Listener combined\nwith [[Panner3D]] makes up the Web Audio API's 3D panning system. Panner3D allows you\nto place sounds in 3D and Listener allows you to navigate the 3D sound environment from\na first-person perspective. There is only one listener per audio context.\nThe [[Listener]] belonging to the global Tone.js Context."},"children":[{"id":2703,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Pass in a constructor as the first argument"},"signatures":[{"id":2704,"name":"new Listener","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{"shortText":"Pass in a constructor as the first argument"},"parameters":[{"id":2705,"name":"context","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":3052,"name":"BaseContext"}}],"type":{"type":"reference","id":2647,"name":"Listener"},"inheritedFrom":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":2706,"name":"new Listener","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{"shortText":"Pass in a constructor as the first argument"},"parameters":[{"id":2707,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":2647,"name":"Listener"},"inheritedFrom":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":34,"character":39},{"fileName":"Tone/core/context/ToneWithContext.ts","line":39,"character":35},{"fileName":"Tone/core/context/ToneWithContext.ts","line":40,"character":56}],"inheritedFrom":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":2701,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":2734,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":2654,"name":"forwardX","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/context/Listener.ts","line":48,"character":18}],"type":{"type":"reference","id":826,"name":"Param"},"defaultValue":"new Param({\n\t\tcontext: this.context,\n\t\tparam: this.context.rawContext.listener.forwardX,\n\t})"},{"id":2655,"name":"forwardY","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/context/Listener.ts","line":53,"character":18}],"type":{"type":"reference","id":826,"name":"Param"},"defaultValue":"new Param({\n\t\tcontext: this.context,\n\t\tparam: this.context.rawContext.listener.forwardY,\n\t})"},{"id":2656,"name":"forwardZ","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/context/Listener.ts","line":58,"character":18}],"type":{"type":"reference","id":826,"name":"Param"},"defaultValue":"new Param({\n\t\tcontext: this.context,\n\t\tparam: this.context.rawContext.listener.forwardZ,\n\t})"},{"id":2650,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/Listener.ts","line":31,"character":6}],"type":{"type":"intrinsic","name":"undefined"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":2648,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/context/Listener.ts","line":25,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Listener\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":2649,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The listener has no inputs or outputs."},"sources":[{"fileName":"Tone/core/context/Listener.ts","line":30,"character":7}],"type":{"type":"intrinsic","name":"undefined"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":2651,"name":"positionX","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/context/Listener.ts","line":33,"character":19}],"type":{"type":"reference","id":826,"name":"Param"},"defaultValue":"new Param({\n\t\tcontext: this.context,\n\t\tparam: this.context.rawContext.listener.positionX,\n\t})"},{"id":2652,"name":"positionY","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/context/Listener.ts","line":38,"character":19}],"type":{"type":"reference","id":826,"name":"Param"},"defaultValue":"new Param({\n\t\tcontext: this.context,\n\t\tparam: this.context.rawContext.listener.positionY,\n\t})"},{"id":2653,"name":"positionZ","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/context/Listener.ts","line":43,"character":19}],"type":{"type":"reference","id":826,"name":"Param"},"defaultValue":"new Param({\n\t\tcontext: this.context,\n\t\tparam: this.context.rawContext.listener.positionZ,\n\t})"},{"id":2657,"name":"upX","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/context/Listener.ts","line":63,"character":13}],"type":{"type":"reference","id":826,"name":"Param"},"defaultValue":"new Param({\n\t\tcontext: this.context,\n\t\tparam: this.context.rawContext.listener.upX,\n\t})"},{"id":2658,"name":"upY","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/context/Listener.ts","line":68,"character":13}],"type":{"type":"reference","id":826,"name":"Param"},"defaultValue":"new Param({\n\t\tcontext: this.context,\n\t\tparam: this.context.rawContext.listener.upY,\n\t})"},{"id":2659,"name":"upZ","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/context/Listener.ts","line":73,"character":13}],"type":{"type":"reference","id":826,"name":"Param"},"defaultValue":"new Param({\n\t\tcontext: this.context,\n\t\tparam: this.context.rawContext.listener.upZ,\n\t})"},{"id":2733,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":2714,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":2715,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":2669,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":2670,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":2671,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":2672,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":2673,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":2674,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":2675,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":2676,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":2677,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":2678,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":2679,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":2680,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":2738,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":2739,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":2664,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":2665,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":2666,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":2667,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":2712,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":2713,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":2695,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2696,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":2697,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":2681,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2682,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":2683,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":2684,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":2685,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":2690,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2691,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":2692,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":2693,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":2694,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":2662,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2663,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/core/context/Listener.ts","line":92,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":2698,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2699,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":2700,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":2728,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2729,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":2636,"name":"ListenerOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":2710,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2711,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":2708,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2709,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":2730,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2731,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":2732,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":2636,"name":"ListenerOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":2686,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2687,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":2719,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2720,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":2721,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":2688,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2689,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":2716,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2717,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":2718,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":2740,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2741,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":2722,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2723,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":2724,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":2660,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":2661,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":2636,"name":"ListenerOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/core/context/Listener.ts","line":78,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[2703]},{"title":"Properties","kind":1024,"children":[2701,2734,2654,2655,2656,2650,2648,2649,2651,2652,2653,2657,2658,2659,2733]},{"title":"Accessors","kind":262144,"children":[2714,2669,2673,2677,2738,2664,2666,2712]},{"title":"Methods","kind":2048,"children":[2695,2681,2690,2662,2698,2728,2710,2708,2730,2686,2719,2688,2716,2740,2722,2660]}],"sources":[{"fileName":"Tone/core/context/Listener.ts","line":23,"character":21},{"fileName":"Tone/core/context/Context.ts","line":18,"character":13},{"fileName":"Tone/core/context/BaseContext.ts","line":8,"character":13},{"fileName":"Tone/core/context/DummyContext.ts","line":8,"character":13},{"fileName":"Tone/index.ts","line":69,"character":21}],"type":{"type":"reference","id":2647,"name":"Listener"},"defaultValue":"getContext().listener","extendedTypes":[{"type":"reference","id":1004,"typeArguments":[{"type":"reference","id":2636,"name":"ListenerOptions"}],"name":"ToneAudioNode"}]},{"id":13765,"name":"Loop","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Loop creates a looped callback at the\nspecified interval. The callback can be\nstarted, stopped and scheduled along\nthe Transport's timeline.","tags":[{"tag":"example","text":"\nconst loop = new Tone.Loop((time) => {\n\t// triggered every eighth note.\n\tconsole.log(time);\n}, \"8n\").start(0);\nTone.Transport.start();"}]},"typeParameter":[{"id":13766,"name":"Options","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"reference","id":13753,"name":"LoopOptions"}}],"children":[{"id":13773,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":13774,"name":"new Loop","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":13775,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The callback to invoke at the time."},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"reflection","declaration":{"id":13776,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":13777,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":13778,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":21,"name":"Seconds"}}],"type":{"type":"intrinsic","name":"void"}}]}}]}},{"id":13779,"name":"interval","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The time between successive callback calls.\n"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":13765,"name":"Loop"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":13780,"name":"new Loop","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":13781,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":13753,"name":"LoopOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":13765,"name":"Loop"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/event/Loop.ts","line":43,"character":34},{"fileName":"Tone/event/Loop.ts","line":49,"character":66},{"fileName":"Tone/event/Loop.ts","line":50,"character":45}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":13769,"name":"callback","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The callback to invoke with the next event in the pattern"},"sources":[{"fileName":"Tone/event/Loop.ts","line":43,"character":9}],"type":{"type":"reflection","declaration":{"id":13770,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":13771,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":13772,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":21,"name":"Seconds"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/event/Loop.ts","line":43,"character":10}]}}},{"id":13828,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":13856,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":13767,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/event/Loop.ts","line":33,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Loop\"","overwrites":{"type":"reference","name":"Tone.name"}},{"id":13855,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":13836,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":13837,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":13860,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":13861,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":13809,"name":"humanize","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Random variation +/-0.01s to the scheduled time.\nOr give it a time value which it will randomize by."},"getSignature":[{"id":13810,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Random variation +/-0.01s to the scheduled time.\nOr give it a time value which it will randomize by."},"type":{"type":"union","types":[{"type":"intrinsic","name":"boolean"},{"type":"reference","id":31,"name":"Time"}]}}],"setSignature":[{"id":13811,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"Random variation +/-0.01s to the scheduled time.\nOr give it a time value which it will randomize by."},"parameters":[{"id":13812,"name":"variation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"number"},{"type":"intrinsic","name":"false"},{"type":"intrinsic","name":"true"},{"type":"reflection","declaration":{"id":13813,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true}}}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/event/Loop.ts","line":158,"character":13},{"fileName":"Tone/event/Loop.ts","line":161,"character":13}]},{"id":13800,"name":"interval","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The time between successive callbacks.","tags":[{"tag":"example","text":"\nconst loop = new Tone.Loop();\nloop.interval = \"8n\"; // loop every 8n\n"}]},"getSignature":[{"id":13801,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The time between successive callbacks.","tags":[{"tag":"example","text":"\nconst loop = new Tone.Loop();\nloop.interval = \"8n\"; // loop every 8n\n"}]},"type":{"type":"reference","id":31,"name":"Time"}}],"setSignature":[{"id":13802,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The time between successive callbacks.","tags":[{"tag":"example","text":"\nconst loop = new Tone.Loop();\nloop.interval = \"8n\"; // loop every 8n\n"}]},"parameters":[{"id":13803,"name":"interval","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"number"},{"type":"reflection","declaration":{"id":13804,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true}}}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/event/Loop.ts","line":136,"character":13},{"fileName":"Tone/event/Loop.ts","line":139,"character":13}]},{"id":13822,"name":"iterations","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of iterations of the loop. The default value is `Infinity` (loop forever)."},"getSignature":[{"id":13823,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of iterations of the loop. The default value is `Infinity` (loop forever)."},"type":{"type":"intrinsic","name":"number"}}],"setSignature":[{"id":13824,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The number of iterations of the loop. The default value is `Infinity` (loop forever)."},"parameters":[{"id":13825,"name":"iters","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/event/Loop.ts","line":190,"character":15},{"fileName":"Tone/event/Loop.ts","line":197,"character":15}]},{"id":13818,"name":"mute","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Muting the Loop means that no callbacks are invoked."},"getSignature":[{"id":13819,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Muting the Loop means that no callbacks are invoked."},"type":{"type":"intrinsic","name":"boolean"}}],"setSignature":[{"id":13820,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"Muting the Loop means that no callbacks are invoked."},"parameters":[{"id":13821,"name":"mute","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/event/Loop.ts","line":179,"character":9},{"fileName":"Tone/event/Loop.ts","line":183,"character":9}]},{"id":13805,"name":"playbackRate","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The playback rate of the loop. The normal playback rate is 1 (no change).\nA `playbackRate` of 2 would be twice as fast."},"getSignature":[{"id":13806,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The playback rate of the loop. The normal playback rate is 1 (no change).\nA `playbackRate` of 2 would be twice as fast."},"type":{"type":"reference","id":27,"name":"Positive"}}],"setSignature":[{"id":13807,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The playback rate of the loop. The normal playback rate is 1 (no change).\nA `playbackRate` of 2 would be twice as fast."},"parameters":[{"id":13808,"name":"rate","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/event/Loop.ts","line":147,"character":17},{"fileName":"Tone/event/Loop.ts","line":150,"character":17}]},{"id":13814,"name":"probability","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The probably of the callback being invoked."},"getSignature":[{"id":13815,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The probably of the callback being invoked."},"type":{"type":"reference","id":23,"name":"NormalRange"}}],"setSignature":[{"id":13816,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The probably of the callback being invoked."},"parameters":[{"id":13817,"name":"prob","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/event/Loop.ts","line":168,"character":16},{"fileName":"Tone/event/Loop.ts","line":172,"character":16}]},{"id":13798,"name":"progress","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The progress of the loop as a value between 0-1. 0, when the loop is stopped or done iterating."},"getSignature":[{"id":13799,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The progress of the loop as a value between 0-1. 0, when the loop is stopped or done iterating."},"type":{"type":"reference","id":23,"name":"NormalRange"}}],"sources":[{"fileName":"Tone/event/Loop.ts","line":126,"character":13}]},{"id":13834,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":13835,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":13796,"name":"state","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The state of the Loop, either started or stopped."},"getSignature":[{"id":13797,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The state of the Loop, either started or stopped."},"type":{"type":"reference","id":705,"name":"BasicPlaybackState"}}],"sources":[{"fileName":"Tone/event/Loop.ts","line":119,"character":10}]},{"id":13790,"name":"cancel","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13791,"name":"cancel","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Cancel all scheduled events greater than or equal to the given time"},"parameters":[{"id":13792,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The time after which events will be cancel.\n"},"type":{"type":"reference","id":34,"name":"TransportTime"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/event/Loop.ts","line":103,"character":7}]},{"id":13826,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13827,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":58,"name":"Tone.dispose"}}],"sources":[{"fileName":"Tone/event/Loop.ts","line":205,"character":8}],"overwrites":{"type":"reference","id":58,"name":"Tone.dispose"}},{"id":13850,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13851,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":13753,"name":"LoopOptions"}},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":13832,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13833,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":13830,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13831,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":13852,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13853,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":13854,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":13753,"name":"LoopOptions"}}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":13784,"name":"start","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13785,"name":"start","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Start the loop at the specified time along the Transport's timeline."},"parameters":[{"id":13786,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When to start the Loop.\n"},"type":{"type":"reference","id":34,"name":"TransportTime"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/event/Loop.ts","line":85,"character":6}]},{"id":13787,"name":"stop","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13788,"name":"stop","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Stop the loop at the given time."},"parameters":[{"id":13789,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When to stop the Loop.\n"},"type":{"type":"reference","id":34,"name":"TransportTime"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/event/Loop.ts","line":94,"character":5}]},{"id":13841,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13842,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":13843,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":13838,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13839,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":13840,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":13862,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13863,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":13844,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13845,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":13846,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":13782,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":13783,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":13753,"name":"LoopOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/event/Loop.ts","line":69,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[13773]},{"title":"Properties","kind":1024,"children":[13769,13828,13856,13767,13855]},{"title":"Accessors","kind":262144,"children":[13836,13860,13809,13800,13822,13818,13805,13814,13798,13834,13796]},{"title":"Methods","kind":2048,"children":[13790,13826,13850,13832,13830,13852,13784,13787,13841,13838,13862,13844,13782]}],"sources":[{"fileName":"Tone/event/Loop.ts","line":31,"character":17}],"extendedTypes":[{"type":"reference","id":4793,"typeArguments":[{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":13753,"name":"LoopOptions"}}],"name":"ToneWithContext"}],"extendedBy":[{"type":"reference","id":14103,"name":"Pattern"}]},{"id":13068,"name":"LowpassCombFilter","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A lowpass feedback comb filter. It is similar to\n[[FeedbackCombFilter]], but includes a lowpass filter."},"children":[{"id":13076,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":13077,"name":"new LowpassCombFilter","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":13078,"name":"delayTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The delay time of the comb filter"},"type":{"type":"reference","id":31,"name":"Time"}},{"id":13079,"name":"resonance","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The resonance (feedback) of the comb filter"},"type":{"type":"reference","id":23,"name":"NormalRange"}},{"id":13080,"name":"dampening","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The cutoff of the lowpass filter dampens the signal as it is fedback.\n"},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":13068,"name":"LowpassCombFilter"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":13081,"name":"new LowpassCombFilter","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":13082,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":13063,"name":"LowpassCombFilterOptions"}],"name":"RecursivePartial"}}],"type":{"type":"reference","id":13068,"name":"LowpassCombFilter"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/component/filter/LowpassCombFilter.ts","line":45,"character":29},{"fileName":"Tone/component/filter/LowpassCombFilter.ts","line":52,"character":79},{"fileName":"Tone/component/filter/LowpassCombFilter.ts","line":53,"character":67}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":13128,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":13156,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":13072,"name":"delayTime","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The delayTime of the comb filter."},"sources":[{"fileName":"Tone/component/filter/LowpassCombFilter.ts","line":37,"character":19}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"time"}],"name":"Param"}},{"id":13074,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/filter/LowpassCombFilter.ts","line":44,"character":15}],"type":{"type":"reference","id":1101,"name":"InputNode"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":13069,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/filter/LowpassCombFilter.ts","line":22,"character":14}],"type":{"type":"stringLiteral","value":"LowpassCombFilter"},"defaultValue":"\"LowpassCombFilter\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":13075,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/filter/LowpassCombFilter.ts","line":45,"character":16}],"type":{"type":"reference","id":1102,"name":"OutputNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":13073,"name":"resonance","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The amount of feedback of the delayed signal."},"sources":[{"fileName":"Tone/component/filter/LowpassCombFilter.ts","line":42,"character":19}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"normalRange"}],"name":"Param"}},{"id":13155,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":13136,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":13137,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":13096,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":13097,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":13098,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":13099,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":13100,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":13101,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":13102,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":13103,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":13104,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":13105,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":13106,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":13107,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":13085,"name":"dampening","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The dampening control of the feedback"},"getSignature":[{"id":13086,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The dampening control of the feedback"},"type":{"type":"reference","id":32,"name":"Frequency"}}],"setSignature":[{"id":13087,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The dampening control of the feedback"},"parameters":[{"id":13088,"name":"fq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"number"}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/component/filter/LowpassCombFilter.ts","line":87,"character":14},{"fileName":"Tone/component/filter/LowpassCombFilter.ts","line":90,"character":14}]},{"id":13160,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":13161,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":13091,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":13092,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":13093,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":13094,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":13134,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":13135,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":13122,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13123,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":13124,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":13108,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13109,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":13110,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":13111,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":13112,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":13117,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13118,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":13119,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":13120,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":13121,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":13089,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13090,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/component/filter/LowpassCombFilter.ts","line":94,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":13125,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13126,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":13127,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":13150,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13151,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":13063,"name":"LowpassCombFilterOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":13132,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13133,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":13130,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13131,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":13152,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13153,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":13154,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":13063,"name":"LowpassCombFilterOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":13113,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13114,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":13141,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13142,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":13143,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":13115,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13116,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":13138,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13139,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":13140,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":13162,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13163,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":13144,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13145,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":13146,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":13083,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":13084,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":13063,"name":"LowpassCombFilterOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/component/filter/LowpassCombFilter.ts","line":76,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[13076]},{"title":"Properties","kind":1024,"children":[13128,13156,13072,13074,13069,13075,13073,13155]},{"title":"Accessors","kind":262144,"children":[13136,13096,13100,13104,13085,13160,13091,13093,13134]},{"title":"Methods","kind":2048,"children":[13122,13108,13117,13089,13125,13150,13132,13130,13152,13113,13141,13115,13138,13162,13144,13083]}],"sources":[{"fileName":"Tone/component/filter/LowpassCombFilter.ts","line":20,"character":30}],"extendedTypes":[{"type":"reference","id":1004,"typeArguments":[{"type":"reference","id":13063,"name":"LowpassCombFilterOptions"}],"name":"ToneAudioNode"}]},{"id":12491,"name":"MembraneSynth","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"MembraneSynth makes kick and tom sounds using a single oscillator\nwith an amplitude envelope and frequency ramp. A Tone.OmniOscillator\nis routed through a Tone.AmplitudeEnvelope to the output. The drum\nquality of the sound comes from the frequency envelope applied\nduring MembraneSynth.triggerAttack(note). The frequency envelope\nstarts at <code>note * .octaves</code> and ramps to <code>note</code>\nover the duration of <code>.pitchDecay</code>.","tags":[{"tag":"example","text":"\nconst synth = new Tone.MembraneSynth().toDestination();\nsynth.triggerAttackRelease(\"C2\", \"8n\");"}]},"children":[{"id":12496,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":12497,"name":"new MembraneSynth","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":12498,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"the options available for the synth see defaults\n"},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":12481,"name":"MembraneSynthOptions"}],"name":"RecursivePartial"}}],"type":{"type":"reference","id":12491,"name":"MembraneSynth"},"overwrites":{"type":"reference","id":11105,"name":"Synth.__constructor"}}],"sources":[{"fileName":"Tone/instrument/MembraneSynth.ts","line":50,"character":25},{"fileName":"Tone/instrument/MembraneSynth.ts","line":55,"character":62}],"overwrites":{"type":"reference","id":11105,"name":"Synth.__constructor"}},{"id":12586,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":12614,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":12509,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The detune signal"},"sources":[{"fileName":"Tone/instrument/Synth.ts","line":48,"character":16}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"cents"}],"name":"Signal"},"overwrites":{"type":"reference","id":10833,"name":"Monophonic.detune"},"inheritedFrom":{"type":"reference","id":11103,"name":"Synth.detune"}},{"id":12510,"name":"envelope","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The envelope"},"sources":[{"fileName":"Tone/instrument/Synth.ts","line":53,"character":18}],"type":{"type":"reference","id":10960,"name":"AmplitudeEnvelope"},"inheritedFrom":{"type":"reference","id":11104,"name":"Synth.envelope"}},{"id":12508,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The frequency signal"},"sources":[{"fileName":"Tone/instrument/Synth.ts","line":43,"character":19}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"frequency"}],"name":"Signal"},"overwrites":{"type":"reference","id":10832,"name":"Monophonic.frequency"},"inheritedFrom":{"type":"reference","id":11102,"name":"Synth.frequency"}},{"id":12531,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The instrument only has an output"},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":26,"character":6}],"type":{"type":"intrinsic","name":"undefined"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":10711,"name":"Instrument.input"}},{"id":12492,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/instrument/MembraneSynth.ts","line":29,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"MembraneSynth\"","overwrites":{"type":"reference","id":11100,"name":"Synth.name"}},{"id":12493,"name":"octaves","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The number of octaves the pitch envelope ramps.","tags":[{"tag":"min","text":"0.5"},{"tag":"max","text":"8\n"}]},"decorators":[{"name":"range","type":{"type":"reference","id":8892,"name":"range"},"arguments":{"min":"0"}}],"sources":[{"fileName":"Tone/instrument/MembraneSynth.ts","line":37,"character":8}],"type":{"type":"reference","id":27,"name":"Positive"}},{"id":12521,"name":"onsilence","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Invoked when the release has finished and the output is silent."},"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":31,"character":10}],"type":{"type":"reference","id":10956,"name":"onSilenceCallback"},"inheritedFrom":{"type":"reference","id":10831,"name":"Monophonic.onsilence"}},{"id":12507,"name":"oscillator","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The oscillator."},"sources":[{"fileName":"Tone/instrument/Synth.ts","line":38,"character":20}],"type":{"type":"reference","id":8167,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"OmniOscillator"},"inheritedFrom":{"type":"reference","id":11101,"name":"Synth.oscillator"}},{"id":12530,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":21,"character":7}],"type":{"type":"reference","id":1102,"name":"OutputNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":10710,"name":"Instrument.output"}},{"id":12494,"name":"pitchDecay","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The amount of time the frequency envelope takes.","tags":[{"tag":"min","text":"0"},{"tag":"max","text":"0.5\n"}]},"decorators":[{"name":"timeRange","type":{"type":"reference","id":8896,"name":"timeRange"},"arguments":{"min":"0"}}],"sources":[{"fileName":"Tone/instrument/MembraneSynth.ts","line":45,"character":11}],"type":{"type":"reference","id":31,"name":"Time"}},{"id":12495,"name":"portamento","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"Portamento is ignored in this synth. use pitch decay instead."},"sources":[{"fileName":"Tone/instrument/MembraneSynth.ts","line":50,"character":20}],"type":{"type":"unknown","name":"0"},"defaultValue":"0","overwrites":{"type":"reference","id":10830,"name":"Monophonic.portamento"}},{"id":12532,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The volume of the output in decibels.","tags":[{"tag":"example","text":"\nconst amSynth = new Tone.AMSynth().toDestination();\namSynth.volume.value = -6;\namSynth.triggerAttackRelease(\"G#3\", 0.2);\n"}]},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":35,"character":7}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"decibels"}],"name":"Param"},"inheritedFrom":{"type":"reference","id":10712,"name":"Instrument.volume"}},{"id":12613,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":12594,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":12595,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":12554,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":12555,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":12556,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":12557,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":12558,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":12559,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":12560,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":12561,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":12562,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":12563,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":12564,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":12565,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":12618,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":12619,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":12549,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":12550,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":12551,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":12552,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":12592,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":12593,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":12580,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12581,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":12582,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":12566,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12567,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":12568,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":12569,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":12570,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":12575,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12576,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":12577,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":12578,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":12579,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":12505,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12506,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":11120,"name":"Synth.dispose"}}],"sources":[{"fileName":"Tone/instrument/MembraneSynth.ts","line":92,"character":8}],"overwrites":{"type":"reference","id":11120,"name":"Synth.dispose"}},{"id":12583,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12584,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":12585,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":12608,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12609,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":12481,"name":"MembraneSynthOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":12518,"name":"getLevelAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12519,"name":"getLevelAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":12520,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":23,"name":"NormalRange"},"overwrites":{"type":"reference","id":10854,"name":"Monophonic.getLevelAtTime"},"inheritedFrom":{"type":"reference","id":11117,"name":"Synth.getLevelAtTime"}}],"sources":[{"fileName":"Tone/instrument/Synth.ts","line":127,"character":15}],"overwrites":{"type":"reference","id":10854,"name":"Monophonic.getLevelAtTime"},"inheritedFrom":{"type":"reference","id":11117,"name":"Synth.getLevelAtTime"}},{"id":12590,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12591,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":12588,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12589,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":12610,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12611,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":12612,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":12481,"name":"MembraneSynthOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":12501,"name":"setNote","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12502,"name":"setNote","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":12503,"name":"note","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"reference","id":32,"name":"Frequency"},{"type":"reference","id":4656,"name":"FrequencyClass"}]}},{"id":12504,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":10857,"name":"Monophonic.setNote"}}],"sources":[{"fileName":"Tone/instrument/MembraneSynth.ts","line":83,"character":8}],"overwrites":{"type":"reference","id":10857,"name":"Monophonic.setNote"}},{"id":12533,"name":"sync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12534,"name":"sync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Sync the instrument to the Transport. All subsequent calls of\n[[triggerAttack]] and [[triggerRelease]] will be scheduled along the transport.","tags":[{"tag":"example","text":"\nconst fmSynth = new Tone.FMSynth().toDestination();\nfmSynth.volume.value = -6;\nfmSynth.sync();\n// schedule 3 notes when the transport first starts\nfmSynth.triggerAttackRelease(\"C4\", \"8n\", 0);\nfmSynth.triggerAttackRelease(\"E4\", \"8n\", \"8n\");\nfmSynth.triggerAttackRelease(\"G4\", \"8n\", \"4n\");\n// start the transport to hear the notes\nTone.Transport.start();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":10720,"name":"Instrument.sync"}}],"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":82,"character":5}],"inheritedFrom":{"type":"reference","id":10720,"name":"Instrument.sync"}},{"id":12571,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12572,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":12599,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12600,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":12601,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":12573,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12574,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":12596,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12597,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":12598,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":12620,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12621,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":12602,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12603,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":12604,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":12522,"name":"triggerAttack","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12523,"name":"triggerAttack","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Trigger the attack of the note optionally with a given velocity.","tags":[{"tag":"example","text":"\nconst synth = new Tone.Synth().toDestination();\n// trigger the note a half second from now at half velocity\nsynth.triggerAttack(\"C4\", \"+0.5\", 0.5);\n"}]},"parameters":[{"id":12524,"name":"note","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The note to trigger."},"type":{"type":"union","types":[{"type":"reference","id":32,"name":"Frequency"},{"type":"reference","id":4656,"name":"FrequencyClass"}]}},{"id":12525,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the note should start."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":12526,"name":"velocity","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The velocity scaler determines how \"loud\" the note will be triggered."},"type":{"type":"reference","id":23,"name":"NormalRange"},"defaultValue":"1"}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":10736,"name":"Instrument.triggerAttack"},"inheritedFrom":{"type":"reference","id":10839,"name":"Monophonic.triggerAttack"}}],"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":71,"character":14}],"overwrites":{"type":"reference","id":10736,"name":"Instrument.triggerAttack"},"inheritedFrom":{"type":"reference","id":10839,"name":"Monophonic.triggerAttack"}},{"id":12543,"name":"triggerAttackRelease","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12544,"name":"triggerAttackRelease","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Trigger the attack and then the release after the duration.","tags":[{"tag":"example","text":"\nconst synth = new Tone.Synth().toDestination();\n// trigger \"C4\" for the duration of an 8th note\nsynth.triggerAttackRelease(\"C4\", \"8n\");\n"}]},"parameters":[{"id":12545,"name":"note","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The note to trigger."},"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":12546,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"How long the note should be held for before\n                        triggering the release. This value must be greater than 0."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":12547,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the note should be triggered."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":12548,"name":"velocity","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The velocity the note should be triggered at."},"type":{"type":"reference","id":23,"name":"NormalRange"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":10730,"name":"Instrument.triggerAttackRelease"}}],"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":145,"character":21}],"inheritedFrom":{"type":"reference","id":10730,"name":"Instrument.triggerAttackRelease"}},{"id":12527,"name":"triggerRelease","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12528,"name":"triggerRelease","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Trigger the release portion of the envelope","tags":[{"tag":"example","text":"\nconst synth = new Tone.Synth().toDestination();\nsynth.triggerAttack(\"C4\");\n// trigger the release a second from now\nsynth.triggerRelease(\"+1\");\n"}]},"parameters":[{"id":12529,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"If no time is given, the release happens immediatly"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":10742,"name":"Instrument.triggerRelease"},"inheritedFrom":{"type":"reference","id":10844,"name":"Monophonic.triggerRelease"}}],"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":88,"character":15}],"overwrites":{"type":"reference","id":10742,"name":"Instrument.triggerRelease"},"inheritedFrom":{"type":"reference","id":10844,"name":"Monophonic.triggerRelease"}},{"id":12541,"name":"unsync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12542,"name":"unsync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Unsync the instrument from the Transport"},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":10728,"name":"Instrument.unsync"}}],"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":122,"character":7}],"inheritedFrom":{"type":"reference","id":10728,"name":"Instrument.unsync"}},{"id":12499,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":12500,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":12481,"name":"MembraneSynthOptions"},"overwrites":{"type":"reference","id":11108,"name":"Synth.getDefaults"}}],"sources":[{"fileName":"Tone/instrument/MembraneSynth.ts","line":66,"character":19}],"overwrites":{"type":"reference","id":11108,"name":"Synth.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[12496]},{"title":"Properties","kind":1024,"children":[12586,12614,12509,12510,12508,12531,12492,12493,12521,12507,12530,12494,12495,12532,12613]},{"title":"Accessors","kind":262144,"children":[12594,12554,12558,12562,12618,12549,12551,12592]},{"title":"Methods","kind":2048,"children":[12580,12566,12575,12505,12583,12608,12518,12590,12588,12610,12501,12533,12571,12599,12573,12596,12620,12602,12522,12543,12527,12541,12499]}],"sources":[{"fileName":"Tone/instrument/MembraneSynth.ts","line":27,"character":26}],"extendedTypes":[{"type":"reference","id":11098,"typeArguments":[{"type":"reference","id":12481,"name":"MembraneSynthOptions"}],"name":"Synth"}]},{"id":15640,"name":"Merge","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Merge brings multiple mono input channels into a single multichannel output channel.","tags":[{"tag":"example","text":"\nconst merge = new Tone.Merge().toDestination();\n// routing a sine tone in the left channel\nconst osc = new Tone.Oscillator().connect(merge, 0, 0).start();\n// and noise in the right channel\nconst noise = new Tone.Noise().connect(merge, 0, 1).start();;"}]},"children":[{"id":15645,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":15646,"name":"new Merge","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":15647,"name":"channels","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The number of channels to merge.\n"},"type":{"type":"reference","id":27,"name":"Positive"}}],"type":{"type":"reference","id":15640,"name":"Merge"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":15648,"name":"new Merge","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":15649,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":15637,"name":"MergeOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":15640,"name":"Merge"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/component/channel/Merge.ts","line":37,"character":35},{"fileName":"Tone/component/channel/Merge.ts","line":42,"character":34},{"fileName":"Tone/component/channel/Merge.ts","line":43,"character":46}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":15691,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":15719,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":15644,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"Multiple input connections combine into a single output."},"sources":[{"fileName":"Tone/component/channel/Merge.ts","line":37,"character":15}],"type":{"type":"reference","name":"ChannelMergerNode"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":15641,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/channel/Merge.ts","line":22,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Merge\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":15643,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The output is the input channels combined into a single (multichannel) output"},"sources":[{"fileName":"Tone/component/channel/Merge.ts","line":32,"character":16}],"type":{"type":"reference","name":"ChannelMergerNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":15718,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":15699,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":15700,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":15659,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":15660,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":15661,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":15662,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":15663,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":15664,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":15665,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":15666,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":15667,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":15668,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":15669,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":15670,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":15723,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":15724,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":15654,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":15655,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":15656,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":15657,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":15697,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":15698,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":15685,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15686,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":15687,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":15671,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15672,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":15673,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":15674,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":15675,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":15680,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15681,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":15682,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":15683,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":15684,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":15652,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15653,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/component/channel/Merge.ts","line":57,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":15688,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15689,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":15690,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":15713,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15714,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":15637,"name":"MergeOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":15695,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15696,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":15693,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15694,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":15715,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15716,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":15717,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":15637,"name":"MergeOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":15676,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15677,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":15704,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15705,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":15706,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":15678,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15679,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":15701,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15702,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":15703,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":15725,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15726,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":15707,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15708,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":15709,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":15650,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":15651,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":15637,"name":"MergeOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/component/channel/Merge.ts","line":51,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[15645]},{"title":"Properties","kind":1024,"children":[15691,15719,15644,15641,15643,15718]},{"title":"Accessors","kind":262144,"children":[15699,15659,15663,15667,15723,15654,15656,15697]},{"title":"Methods","kind":2048,"children":[15685,15671,15680,15652,15688,15713,15695,15693,15715,15676,15704,15678,15701,15725,15707,15650]}],"sources":[{"fileName":"Tone/component/channel/Merge.ts","line":20,"character":18}],"extendedTypes":[{"type":"reference","id":1004,"typeArguments":[{"type":"reference","id":15637,"name":"MergeOptions"}],"name":"ToneAudioNode"}]},{"id":12330,"name":"MetalSynth","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A highly inharmonic and spectrally complex source with a highpass filter\nand amplitude envelope which is good for making metallophone sounds.\nBased on CymbalSynth by [@polyrhythmatic](https://github.com/polyrhythmatic).\nInspiration from [Sound on Sound](https://shorturl.at/rSZ12)."},"children":[{"id":12341,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":12342,"name":"new MetalSynth","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":12343,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":12319,"name":"MetalSynthOptions"}],"name":"RecursivePartial"}}],"type":{"type":"reference","id":12330,"name":"MetalSynth"},"overwrites":{"type":"reference","id":10834,"name":"Monophonic.__constructor"}}],"sources":[{"fileName":"Tone/instrument/MetalSynth.ts","line":85,"character":29},{"fileName":"Tone/instrument/MetalSynth.ts","line":87,"character":59}],"overwrites":{"type":"reference","id":10834,"name":"Monophonic.__constructor"}},{"id":12444,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":12472,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":12333,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The detune applied to the oscillators"},"sources":[{"fileName":"Tone/instrument/MetalSynth.ts","line":47,"character":16}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"cents"}],"name":"Signal"},"overwrites":{"type":"reference","id":10833,"name":"Monophonic.detune"}},{"id":12340,"name":"envelope","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The envelope which is connected both to the\namplitude and a highpass filter's cutoff frequency.\nThe lower-limit of the filter is controlled by the [[resonance]]"},"sources":[{"fileName":"Tone/instrument/MetalSynth.ts","line":85,"character":18}],"type":{"type":"reference","id":10546,"name":"Envelope"}},{"id":12332,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The frequency of the cymbal"},"sources":[{"fileName":"Tone/instrument/MetalSynth.ts","line":42,"character":19}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"frequency"}],"name":"Signal"},"overwrites":{"type":"reference","id":10832,"name":"Monophonic.frequency"}},{"id":12389,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The instrument only has an output"},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":26,"character":6}],"type":{"type":"intrinsic","name":"undefined"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":10711,"name":"Instrument.input"}},{"id":12331,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/instrument/MetalSynth.ts","line":37,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"MetalSynth\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":12375,"name":"onsilence","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Invoked when the release has finished and the output is silent."},"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":31,"character":10}],"type":{"type":"reference","id":10956,"name":"onSilenceCallback"},"inheritedFrom":{"type":"reference","id":10831,"name":"Monophonic.onsilence"}},{"id":12388,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":21,"character":7}],"type":{"type":"reference","id":1102,"name":"OutputNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":10710,"name":"Instrument.output"}},{"id":12374,"name":"portamento","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The glide time between notes."},"decorators":[{"name":"timeRange","type":{"type":"reference","id":8896,"name":"timeRange"},"arguments":{"min":"0"}}],"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":26,"character":11}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":10830,"name":"Monophonic.portamento"}},{"id":12390,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The volume of the output in decibels.","tags":[{"tag":"example","text":"\nconst amSynth = new Tone.AMSynth().toDestination();\namSynth.volume.value = -6;\namSynth.triggerAttackRelease(\"G#3\", 0.2);\n"}]},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":35,"character":7}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"decibels"}],"name":"Param"},"inheritedFrom":{"type":"reference","id":10712,"name":"Instrument.volume"}},{"id":12471,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":12452,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":12453,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":12412,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":12413,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":12414,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":12415,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":12416,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":12417,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":12418,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":12419,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":12420,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":12421,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":12422,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":12423,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":12476,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":12477,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":12360,"name":"harmonicity","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The harmonicity of the oscillators which make up the source.\nsee Tone.FMOscillator.harmonicity","tags":[{"tag":"min","text":"0.1"},{"tag":"max","text":"10\n"}]},"getSignature":[{"id":12361,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The harmonicity of the oscillators which make up the source.\nsee Tone.FMOscillator.harmonicity","tags":[{"tag":"min","text":"0.1"},{"tag":"max","text":"10\n"}]},"type":{"type":"intrinsic","name":"number"}}],"setSignature":[{"id":12362,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The harmonicity of the oscillators which make up the source.\nsee Tone.FMOscillator.harmonicity","tags":[{"tag":"min","text":"0.1"},{"tag":"max","text":"10\n"}]},"parameters":[{"id":12363,"name":"val","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/instrument/MetalSynth.ts","line":225,"character":16},{"fileName":"Tone/instrument/MetalSynth.ts","line":228,"character":16}]},{"id":12356,"name":"modulationIndex","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The modulationIndex of the oscillators which make up the source.\nsee [[FMOscillator.modulationIndex]]","tags":[{"tag":"min","text":"1"},{"tag":"max","text":"100\n"}]},"getSignature":[{"id":12357,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The modulationIndex of the oscillators which make up the source.\nsee [[FMOscillator.modulationIndex]]","tags":[{"tag":"min","text":"1"},{"tag":"max","text":"100\n"}]},"type":{"type":"intrinsic","name":"number"}}],"setSignature":[{"id":12358,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The modulationIndex of the oscillators which make up the source.\nsee [[FMOscillator.modulationIndex]]","tags":[{"tag":"min","text":"1"},{"tag":"max","text":"100\n"}]},"parameters":[{"id":12359,"name":"val","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/instrument/MetalSynth.ts","line":212,"character":20},{"fileName":"Tone/instrument/MetalSynth.ts","line":215,"character":20}]},{"id":12407,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":12408,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":12409,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":12410,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":12368,"name":"octaves","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of octaves above the \"resonance\" frequency\nthat the filter ramps during the attack/decay envelope","tags":[{"tag":"min","text":"0"},{"tag":"max","text":"8\n"}]},"getSignature":[{"id":12369,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of octaves above the \"resonance\" frequency\nthat the filter ramps during the attack/decay envelope","tags":[{"tag":"min","text":"0"},{"tag":"max","text":"8\n"}]},"type":{"type":"intrinsic","name":"number"}}],"setSignature":[{"id":12370,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The number of octaves above the \"resonance\" frequency\nthat the filter ramps during the attack/decay envelope","tags":[{"tag":"min","text":"0"},{"tag":"max","text":"8\n"}]},"parameters":[{"id":12371,"name":"val","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/instrument/MetalSynth.ts","line":252,"character":12},{"fileName":"Tone/instrument/MetalSynth.ts","line":255,"character":12}]},{"id":12364,"name":"resonance","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The lower level of the highpass filter which is attached to the envelope.\nThis value should be between [0, 7000]","tags":[{"tag":"min","text":"0"},{"tag":"max","text":"7000\n"}]},"getSignature":[{"id":12365,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The lower level of the highpass filter which is attached to the envelope.\nThis value should be between [0, 7000]","tags":[{"tag":"min","text":"0"},{"tag":"max","text":"7000\n"}]},"type":{"type":"reference","id":32,"name":"Frequency"}}],"setSignature":[{"id":12366,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The lower level of the highpass filter which is attached to the envelope.\nThis value should be between [0, 7000]","tags":[{"tag":"min","text":"0"},{"tag":"max","text":"7000\n"}]},"parameters":[{"id":12367,"name":"val","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"number"}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/instrument/MetalSynth.ts","line":238,"character":14},{"fileName":"Tone/instrument/MetalSynth.ts","line":241,"character":14}]},{"id":12450,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":12451,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":12438,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12439,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":12440,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":12424,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12425,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":12426,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":12427,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":12428,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":12433,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12434,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":12435,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":12436,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":12437,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":12372,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12373,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":10746,"name":"Instrument.dispose"}}],"sources":[{"fileName":"Tone/instrument/MetalSynth.ts","line":260,"character":8}],"overwrites":{"type":"reference","id":10746,"name":"Instrument.dispose"}},{"id":12441,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12442,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":12443,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":12466,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12467,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":12319,"name":"MetalSynthOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":12353,"name":"getLevelAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12354,"name":"getLevelAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":12355,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":23,"name":"NormalRange"},"overwrites":{"type":"reference","id":10854,"name":"Monophonic.getLevelAtTime"}}],"sources":[{"fileName":"Tone/instrument/MetalSynth.ts","line":201,"character":15}],"overwrites":{"type":"reference","id":10854,"name":"Monophonic.getLevelAtTime"}},{"id":12448,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12449,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":12446,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12447,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":12468,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12469,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":12470,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":12319,"name":"MetalSynthOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":12384,"name":"setNote","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12385,"name":"setNote","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set the note at the given time. If no time is given, the note\nwill set immediately.","tags":[{"tag":"example","text":"\nconst synth = new Tone.Synth().toDestination();\nsynth.triggerAttack(\"C4\");\n// change to F#6 in one quarter note from now.\nsynth.setNote(\"F#6\", \"+4n\");\n"}]},"parameters":[{"id":12386,"name":"note","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The note to change to."},"type":{"type":"union","types":[{"type":"reference","id":32,"name":"Frequency"},{"type":"reference","id":4656,"name":"FrequencyClass"}]}},{"id":12387,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The time when the note should be set."},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":10857,"name":"Monophonic.setNote"}}],"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":124,"character":8}],"inheritedFrom":{"type":"reference","id":10857,"name":"Monophonic.setNote"}},{"id":12391,"name":"sync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12392,"name":"sync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Sync the instrument to the Transport. All subsequent calls of\n[[triggerAttack]] and [[triggerRelease]] will be scheduled along the transport.","tags":[{"tag":"example","text":"\nconst fmSynth = new Tone.FMSynth().toDestination();\nfmSynth.volume.value = -6;\nfmSynth.sync();\n// schedule 3 notes when the transport first starts\nfmSynth.triggerAttackRelease(\"C4\", \"8n\", 0);\nfmSynth.triggerAttackRelease(\"E4\", \"8n\", \"8n\");\nfmSynth.triggerAttackRelease(\"G4\", \"8n\", \"4n\");\n// start the transport to hear the notes\nTone.Transport.start();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":10720,"name":"Instrument.sync"}}],"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":82,"character":5}],"inheritedFrom":{"type":"reference","id":10720,"name":"Instrument.sync"}},{"id":12429,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12430,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":12457,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12458,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":12459,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":12431,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12432,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":12454,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12455,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":12456,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":12478,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12479,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":12460,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12461,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":12462,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":12376,"name":"triggerAttack","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12377,"name":"triggerAttack","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Trigger the attack of the note optionally with a given velocity.","tags":[{"tag":"example","text":"\nconst synth = new Tone.Synth().toDestination();\n// trigger the note a half second from now at half velocity\nsynth.triggerAttack(\"C4\", \"+0.5\", 0.5);\n"}]},"parameters":[{"id":12378,"name":"note","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The note to trigger."},"type":{"type":"union","types":[{"type":"reference","id":32,"name":"Frequency"},{"type":"reference","id":4656,"name":"FrequencyClass"}]}},{"id":12379,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the note should start."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":12380,"name":"velocity","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The velocity scaler determines how \"loud\" the note will be triggered."},"type":{"type":"reference","id":23,"name":"NormalRange"},"defaultValue":"1"}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":10736,"name":"Instrument.triggerAttack"},"inheritedFrom":{"type":"reference","id":10839,"name":"Monophonic.triggerAttack"}}],"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":71,"character":14}],"overwrites":{"type":"reference","id":10736,"name":"Instrument.triggerAttack"},"inheritedFrom":{"type":"reference","id":10839,"name":"Monophonic.triggerAttack"}},{"id":12401,"name":"triggerAttackRelease","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12402,"name":"triggerAttackRelease","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Trigger the attack and then the release after the duration.","tags":[{"tag":"example","text":"\nconst synth = new Tone.Synth().toDestination();\n// trigger \"C4\" for the duration of an 8th note\nsynth.triggerAttackRelease(\"C4\", \"8n\");\n"}]},"parameters":[{"id":12403,"name":"note","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The note to trigger."},"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":12404,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"How long the note should be held for before\n                        triggering the release. This value must be greater than 0."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":12405,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the note should be triggered."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":12406,"name":"velocity","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The velocity the note should be triggered at."},"type":{"type":"reference","id":23,"name":"NormalRange"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":10730,"name":"Instrument.triggerAttackRelease"}}],"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":145,"character":21}],"inheritedFrom":{"type":"reference","id":10730,"name":"Instrument.triggerAttackRelease"}},{"id":12381,"name":"triggerRelease","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12382,"name":"triggerRelease","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Trigger the release portion of the envelope","tags":[{"tag":"example","text":"\nconst synth = new Tone.Synth().toDestination();\nsynth.triggerAttack(\"C4\");\n// trigger the release a second from now\nsynth.triggerRelease(\"+1\");\n"}]},"parameters":[{"id":12383,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"If no time is given, the release happens immediatly"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":10742,"name":"Instrument.triggerRelease"},"inheritedFrom":{"type":"reference","id":10844,"name":"Monophonic.triggerRelease"}}],"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":88,"character":15}],"overwrites":{"type":"reference","id":10742,"name":"Instrument.triggerRelease"},"inheritedFrom":{"type":"reference","id":10844,"name":"Monophonic.triggerRelease"}},{"id":12399,"name":"unsync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12400,"name":"unsync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Unsync the instrument from the Transport"},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":10728,"name":"Instrument.unsync"}}],"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":122,"character":7}],"inheritedFrom":{"type":"reference","id":10728,"name":"Instrument.unsync"}},{"id":12344,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":12345,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":12319,"name":"MetalSynthOptions"},"overwrites":{"type":"reference","id":10837,"name":"Monophonic.getDefaults"}}],"sources":[{"fileName":"Tone/instrument/MetalSynth.ts","line":158,"character":19}],"overwrites":{"type":"reference","id":10837,"name":"Monophonic.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[12341]},{"title":"Properties","kind":1024,"children":[12444,12472,12333,12340,12332,12389,12331,12375,12388,12374,12390,12471]},{"title":"Accessors","kind":262144,"children":[12452,12412,12416,12420,12476,12360,12356,12407,12409,12368,12364,12450]},{"title":"Methods","kind":2048,"children":[12438,12424,12433,12372,12441,12466,12353,12448,12446,12468,12384,12391,12429,12457,12431,12454,12478,12460,12376,12401,12381,12399,12344]}],"sources":[{"fileName":"Tone/instrument/MetalSynth.ts","line":35,"character":23}],"extendedTypes":[{"type":"reference","id":10828,"typeArguments":[{"type":"reference","id":12319,"name":"MetalSynthOptions"}],"name":"Monophonic"}]},{"id":18199,"name":"Meter","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Meter gets the [RMS](https://en.wikipedia.org/wiki/Root_mean_square)\nof an input signal. It can also get the raw value of the input signal.","tags":[{"tag":"example","text":"\nconst meter = new Tone.Meter();\nconst mic = new Tone.UserMedia();\nmic.open();\n// connect mic to the meter\nmic.connect(meter);\n// the current level of the mic\nsetInterval(() => console.log(meter.getValue()), 100);"}]},"children":[{"id":18204,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":18205,"name":"new Meter","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":18206,"name":"smoothing","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The amount of smoothing applied between frames.\n"},"type":{"type":"reference","id":23,"name":"NormalRange"}}],"type":{"type":"reference","id":18199,"name":"Meter"},"overwrites":{"type":"reference","id":18113,"name":"MeterBase.__constructor"}},{"id":18207,"name":"new Meter","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":18208,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":18194,"name":"MeterOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":18199,"name":"Meter"},"overwrites":{"type":"reference","id":18113,"name":"MeterBase.__constructor"}}],"sources":[{"fileName":"Tone/component/analysis/Meter.ts","line":47,"character":18},{"fileName":"Tone/component/analysis/Meter.ts","line":52,"character":38},{"fileName":"Tone/component/analysis/Meter.ts","line":53,"character":46}],"overwrites":{"type":"reference","id":18113,"name":"MeterBase.__constructor"}},{"id":18259,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":18287,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":18219,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The signal to be analysed"},"sources":[{"fileName":"Tone/component/analysis/MeterBase.ts","line":17,"character":6}],"type":{"type":"reference","id":1101,"name":"InputNode"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":18110,"name":"MeterBase.input"}},{"id":18200,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/analysis/Meter.ts","line":30,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Meter\"","overwrites":{"type":"reference","id":18109,"name":"MeterBase.name"}},{"id":18201,"name":"normalRange","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"If the output should be in decibels or normal range between 0-1. If `normalRange` is false,\nthe output range will be the measured decibel value, otherwise the decibel value will be converted to\nthe range of 0-1"},"sources":[{"fileName":"Tone/component/analysis/Meter.ts","line":37,"character":12}],"type":{"type":"intrinsic","name":"boolean"}},{"id":18220,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The output is just a pass through of the input"},"sources":[{"fileName":"Tone/component/analysis/MeterBase.ts","line":22,"character":7}],"type":{"type":"reference","id":1102,"name":"OutputNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":18111,"name":"MeterBase.output"}},{"id":18202,"name":"smoothing","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"A value from between 0 and 1 where 0 represents no time averaging with the last analysis frame."},"sources":[{"fileName":"Tone/component/analysis/Meter.ts","line":42,"character":10}],"type":{"type":"intrinsic","name":"number"}},{"id":18286,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":18267,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":18268,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":18227,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":18228,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":18229,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":18230,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":18231,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":18232,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":18233,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":18234,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":18235,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":18236,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":18237,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":18238,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":18215,"name":"channels","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of channels of analysis."},"getSignature":[{"id":18216,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of channels of analysis."},"type":{"type":"intrinsic","name":"number"}}],"sources":[{"fileName":"Tone/component/analysis/Meter.ts","line":114,"character":13}]},{"id":18291,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":18292,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":18222,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":18223,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":18224,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":18225,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":18265,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":18266,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":18253,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18254,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":18255,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":18239,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18240,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":18241,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":18242,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":18243,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":18248,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18249,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":18250,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":18251,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":18252,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":18217,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18218,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":18116,"name":"MeterBase.dispose"}}],"sources":[{"fileName":"Tone/component/analysis/Meter.ts","line":118,"character":8}],"overwrites":{"type":"reference","id":18116,"name":"MeterBase.dispose"}},{"id":18256,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18257,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":18258,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":18281,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18282,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":18194,"name":"MeterOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":18211,"name":"getLevel","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18212,"name":"getLevel","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Use [[getValue]] instead. For the previous getValue behavior, use DCMeter.","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"union","types":[{"type":"intrinsic","name":"number"},{"type":"array","elementType":{"type":"intrinsic","name":"number"}}]}}],"sources":[{"fileName":"Tone/component/analysis/Meter.ts","line":81,"character":9}]},{"id":18213,"name":"getValue","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18214,"name":"getValue","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the current value of the incoming signal.\nOutput is in decibels when [[normalRange]] is `false`.\nIf [[channels]] = 1, then the output is a single number\nrepresenting the value of the input signal. When [[channels]] > 1,\nthen each channel is returned as a value in a number array."},"type":{"type":"union","types":[{"type":"intrinsic","name":"number"},{"type":"array","elementType":{"type":"intrinsic","name":"number"}}]}}],"sources":[{"fileName":"Tone/component/analysis/Meter.ts","line":93,"character":9}]},{"id":18263,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18264,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":18261,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18262,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":18283,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18284,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":18285,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":18194,"name":"MeterOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":18244,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18245,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":18272,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18273,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":18274,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":18246,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18247,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":18269,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18270,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":18271,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":18293,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18294,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":18275,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18276,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":18277,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":18209,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":18210,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":18194,"name":"MeterOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/component/analysis/Meter.ts","line":69,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[18204]},{"title":"Properties","kind":1024,"children":[18259,18287,18219,18200,18201,18220,18202,18286]},{"title":"Accessors","kind":262144,"children":[18267,18227,18231,18235,18215,18291,18222,18224,18265]},{"title":"Methods","kind":2048,"children":[18253,18239,18248,18217,18256,18281,18211,18213,18263,18261,18283,18244,18272,18246,18269,18293,18275,18209]}],"sources":[{"fileName":"Tone/component/analysis/Meter.ts","line":28,"character":18}],"extendedTypes":[{"type":"reference","id":18107,"typeArguments":[{"type":"reference","id":18194,"name":"MeterOptions"}],"name":"MeterBase"}]},{"id":18107,"name":"MeterBase","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"The base class for Metering classes."},"typeParameter":[{"id":18108,"name":"Options","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"reference","id":18193,"name":"MeterBaseOptions"}}],"children":[{"id":18113,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":18114,"name":"new MeterBase","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":18115,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":18193,"name":"MeterBaseOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":18107,"name":"MeterBase"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/component/analysis/MeterBase.ts","line":27,"character":31},{"fileName":"Tone/component/analysis/MeterBase.ts","line":29,"character":50}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":18155,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":18185,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":18110,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The signal to be analysed"},"sources":[{"fileName":"Tone/component/analysis/MeterBase.ts","line":17,"character":6}],"type":{"type":"reference","id":1101,"name":"InputNode"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":18109,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/analysis/MeterBase.ts","line":12,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"MeterBase\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":18111,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The output is just a pass through of the input"},"sources":[{"fileName":"Tone/component/analysis/MeterBase.ts","line":22,"character":7}],"type":{"type":"reference","id":1102,"name":"OutputNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":18184,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":18165,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":18166,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":18123,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":18124,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":18125,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":18126,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":18127,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":18128,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":18129,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":18130,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":18131,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":18132,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":18133,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":18134,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":18189,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":18190,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":18118,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":18119,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":18120,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":18121,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":18163,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":18164,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":18149,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18150,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":18151,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":18135,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18136,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":18137,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":18138,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":18139,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":18144,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18145,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":18146,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":18147,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":18148,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":18116,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18117,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/component/analysis/MeterBase.ts","line":40,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":18152,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18153,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":18154,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":18179,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18180,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":18193,"name":"MeterBaseOptions"}},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":18161,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18162,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":18159,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18160,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":18181,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18182,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":18183,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":18193,"name":"MeterBaseOptions"}}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":18140,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18141,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":18170,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18171,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":18172,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":18142,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18143,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":18167,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18168,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":18169,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":18191,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18192,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":18173,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18174,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":18175,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":18157,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":18158,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":4791,"name":"ToneWithContextOptions"},"overwrites":{"type":"reference","id":51,"name":"Tone.getDefaults"},"inheritedFrom":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":51,"character":19}],"overwrites":{"type":"reference","id":51,"name":"Tone.getDefaults"},"inheritedFrom":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[18113]},{"title":"Properties","kind":1024,"children":[18155,18185,18110,18109,18111,18184]},{"title":"Accessors","kind":262144,"children":[18165,18123,18127,18131,18189,18118,18120,18163]},{"title":"Methods","kind":2048,"children":[18149,18135,18144,18116,18152,18179,18161,18159,18181,18140,18170,18142,18167,18191,18173,18157]}],"sources":[{"fileName":"Tone/component/analysis/MeterBase.ts","line":10,"character":22}],"extendedTypes":[{"type":"reference","id":1004,"typeArguments":[{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":18193,"name":"MeterBaseOptions"}}],"name":"ToneAudioNode"}],"extendedBy":[{"type":"reference","id":18199,"name":"Meter"},{"type":"reference","id":18300,"name":"FFT"},{"type":"reference","id":18401,"name":"DCMeter"},{"type":"reference","id":18492,"name":"Waveform"}]},{"id":19653,"name":"MidSideCompressor","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"MidSideCompressor applies two different compressors to the [[mid]]\nand [[side]] signal components of the input. See [[MidSideSplit]] and [[MidSideMerge]]."},"children":[{"id":19661,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":19662,"name":"new MidSideCompressor","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":19663,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":19649,"name":"MidSideCompressorOptions"}],"name":"RecursivePartial"}}],"type":{"type":"reference","id":19653,"name":"MidSideCompressor"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/component/dynamics/MidSideCompressor.ts","line":43,"character":27},{"fileName":"Tone/component/dynamics/MidSideCompressor.ts","line":45,"character":67}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":19705,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":19733,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":19655,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/dynamics/MidSideCompressor.ts","line":22,"character":15}],"type":{"type":"reference","id":1101,"name":"InputNode"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":19659,"name":"mid","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The compression applied to the mid signal"},"sources":[{"fileName":"Tone/component/dynamics/MidSideCompressor.ts","line":38,"character":13}],"type":{"type":"reference","id":19358,"name":"Compressor"}},{"id":19654,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/dynamics/MidSideCompressor.ts","line":20,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"MidSideCompressor\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":19656,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/dynamics/MidSideCompressor.ts","line":23,"character":16}],"type":{"type":"reference","id":1102,"name":"OutputNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":19660,"name":"side","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The compression applied to the side signal"},"sources":[{"fileName":"Tone/component/dynamics/MidSideCompressor.ts","line":43,"character":14}],"type":{"type":"reference","id":19358,"name":"Compressor"}},{"id":19732,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":19713,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":19714,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":19673,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":19674,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":19675,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":19676,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":19677,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":19678,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":19679,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":19680,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":19681,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":19682,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":19683,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":19684,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":19737,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":19738,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":19668,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":19669,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":19670,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":19671,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":19711,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":19712,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":19699,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19700,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":19701,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":19685,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19686,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":19687,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":19688,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":19689,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":19694,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19695,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":19696,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":19697,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":19698,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":19666,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19667,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/component/dynamics/MidSideCompressor.ts","line":79,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":19702,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19703,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":19704,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":19727,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19728,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":19649,"name":"MidSideCompressorOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":19709,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19710,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":19707,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19708,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":19729,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19730,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":19731,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":19649,"name":"MidSideCompressorOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":19690,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19691,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":19718,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19719,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":19720,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":19692,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19693,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":19715,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19716,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":19717,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":19739,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19740,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":19721,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19722,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":19723,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":19664,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":19665,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":19649,"name":"MidSideCompressorOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/component/dynamics/MidSideCompressor.ts","line":60,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[19661]},{"title":"Properties","kind":1024,"children":[19705,19733,19655,19659,19654,19656,19660,19732]},{"title":"Accessors","kind":262144,"children":[19713,19673,19677,19681,19737,19668,19670,19711]},{"title":"Methods","kind":2048,"children":[19699,19685,19694,19666,19702,19727,19709,19707,19729,19690,19718,19692,19715,19739,19721,19664]}],"sources":[{"fileName":"Tone/component/dynamics/MidSideCompressor.ts","line":18,"character":30}],"extendedTypes":[{"type":"reference","id":1004,"typeArguments":[{"type":"reference","id":19649,"name":"MidSideCompressorOptions"}],"name":"ToneAudioNode"}]},{"id":17541,"name":"MidSideEffect","kind":128,"kindString":"Class","flags":{"isExported":true,"isAbstract":true},"comment":{"shortText":"Mid/Side processing separates the the 'mid' signal\n(which comes out of both the left and the right channel)\nand the 'side' (which only comes out of the the side channels)\nand effects them separately before being recombined.\nApplies a Mid/Side seperation and recombination.\nAlgorithm found in [kvraudio forums](http://www.kvraudio.com/forum/viewtopic.php?t=212587).\nThis is a base-class for Mid/Side Effects."},"typeParameter":[{"id":17542,"name":"Options","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"reference","id":17644,"name":"MidSideEffectOptions"}}],"children":[{"id":17550,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":17551,"name":"new MidSideEffect","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":17552,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":17644,"name":"MidSideEffectOptions"}}],"type":{"type":"reference","id":17541,"name":"MidSideEffect"},"overwrites":{"type":"reference","id":14472,"name":"Effect.__constructor"}}],"sources":[{"fileName":"Tone/effect/MidSideEffect.ts","line":50,"character":38}],"overwrites":{"type":"reference","id":14472,"name":"Effect.__constructor"}},{"id":17608,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":17636,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":17564,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The effect input node"},"sources":[{"fileName":"Tone/effect/Effect.ts","line":46,"character":6}],"type":{"type":"reference","id":1143,"name":"Gain"},"defaultValue":"new Gain({ context: this.context })","overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":14470,"name":"Effect.input"}},{"id":17543,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/effect/MidSideEffect.ts","line":20,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"MidSideEffect\"","overwrites":{"type":"reference","id":14465,"name":"Effect.name"}},{"id":17565,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The effect output"},"sources":[{"fileName":"Tone/effect/Effect.ts","line":51,"character":7}],"type":{"type":"reference","id":14368,"name":"CrossFade"},"defaultValue":"this._dryWet","overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":14471,"name":"Effect.output"}},{"id":17561,"name":"wet","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The wet control is how much of the effected\nwill pass through to the output. 1 = 100% effected\nsignal, 0 = 100% dry signal."},"sources":[{"fileName":"Tone/effect/Effect.ts","line":31,"character":4}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"normalRange"}],"name":"Signal"},"defaultValue":"this._dryWet.fade","inheritedFrom":{"type":"reference","id":14467,"name":"Effect.wet"}},{"id":17635,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":17616,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":17617,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":17576,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":17577,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":17578,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":17579,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":17580,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":17581,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":17582,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":17583,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":17584,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":17585,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":17586,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":17587,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":17640,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":17641,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":17571,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":17572,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":17573,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":17574,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":17614,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":17615,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":17602,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17603,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":17604,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":17588,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17589,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":17590,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":17591,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":17592,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":17597,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17598,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":17599,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":17600,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":17601,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":17559,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17560,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":14480,"name":"Effect.dispose"}}],"sources":[{"fileName":"Tone/effect/MidSideEffect.ts","line":82,"character":8}],"overwrites":{"type":"reference","id":14480,"name":"Effect.dispose"}},{"id":17605,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17606,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":17607,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":17630,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17631,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":17644,"name":"MidSideEffectOptions"}},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":17612,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17613,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":17610,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17611,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":17632,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17633,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":17634,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":17644,"name":"MidSideEffectOptions"}}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":17593,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17594,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":17621,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17622,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":17623,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":17595,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17596,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":17618,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17619,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":17620,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":17642,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17643,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":17624,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17625,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":17626,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":17566,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":17567,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":14460,"name":"EffectOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"},"inheritedFrom":{"type":"reference","id":14475,"name":"Effect.getDefaults"}}],"sources":[{"fileName":"Tone/effect/Effect.ts","line":64,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"},"inheritedFrom":{"type":"reference","id":14475,"name":"Effect.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[17550]},{"title":"Properties","kind":1024,"children":[17608,17636,17564,17543,17565,17561,17635]},{"title":"Accessors","kind":262144,"children":[17616,17576,17580,17584,17640,17571,17573,17614]},{"title":"Methods","kind":2048,"children":[17602,17588,17597,17559,17605,17630,17612,17610,17632,17593,17621,17595,17618,17642,17624,17566]}],"sources":[{"fileName":"Tone/effect/MidSideEffect.ts","line":18,"character":35}],"extendedTypes":[{"type":"reference","id":14463,"typeArguments":[{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":17644,"name":"MidSideEffectOptions"}}],"name":"Effect"}],"extendedBy":[{"type":"reference","id":17649,"name":"StereoWidener"}]},{"id":17449,"name":"MidSideMerge","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"MidSideMerge merges the mid and side signal after they've been separated by [[MidSideSplit]]\n```\nMid = (Left+Right)/sqrt(2);   // obtain mid-signal from left and right\nSide = (Left-Right)/sqrt(2);   // obtain side-signal from left and right\n```"},"children":[{"id":17460,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":17461,"name":"new MidSideMerge","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":17462,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":17540,"name":"MidSideMergeOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":17449,"name":"MidSideMerge"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/component/channel/MidSideMerge.ts","line":66,"character":30},{"fileName":"Tone/component/channel/MidSideMerge.ts","line":68,"character":53}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":17502,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":17532,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":17451,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"There is no input, connect sources to either [[mid]] or [[side]] inputs."},"sources":[{"fileName":"Tone/component/channel/MidSideMerge.ts","line":26,"character":15}],"type":{"type":"intrinsic","name":"undefined"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":17454,"name":"mid","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The \"mid\" input."},"sources":[{"fileName":"Tone/component/channel/MidSideMerge.ts","line":41,"character":13}],"type":{"type":"reference","id":1004,"name":"ToneAudioNode"}},{"id":17450,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/channel/MidSideMerge.ts","line":21,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"MidSideMerge\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":17452,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The merged signal"},"sources":[{"fileName":"Tone/component/channel/MidSideMerge.ts","line":31,"character":16}],"type":{"type":"reference","id":15640,"name":"Merge"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":17455,"name":"side","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The \"side\" input."},"sources":[{"fileName":"Tone/component/channel/MidSideMerge.ts","line":46,"character":14}],"type":{"type":"reference","id":1004,"name":"ToneAudioNode"}},{"id":17531,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":17512,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":17513,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":17470,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":17471,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":17472,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":17473,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":17474,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":17475,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":17476,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":17477,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":17478,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":17479,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":17480,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":17481,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":17536,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":17537,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":17465,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":17466,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":17467,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":17468,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":17510,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":17511,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":17496,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17497,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":17498,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":17482,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17483,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":17484,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":17485,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":17486,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":17491,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17492,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":17493,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":17494,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":17495,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":17463,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17464,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/component/channel/MidSideMerge.ts","line":95,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":17499,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17500,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":17501,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":17526,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17527,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":17540,"name":"MidSideMergeOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":17508,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17509,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":17506,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17507,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":17528,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17529,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":17530,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":17540,"name":"MidSideMergeOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":17487,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17488,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":17517,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17518,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":17519,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":17489,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17490,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":17514,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17515,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":17516,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":17538,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17539,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":17520,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17521,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":17522,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":17504,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":17505,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":4791,"name":"ToneWithContextOptions"},"overwrites":{"type":"reference","id":51,"name":"Tone.getDefaults"},"inheritedFrom":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":51,"character":19}],"overwrites":{"type":"reference","id":51,"name":"Tone.getDefaults"},"inheritedFrom":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[17460]},{"title":"Properties","kind":1024,"children":[17502,17532,17451,17454,17450,17452,17455,17531]},{"title":"Accessors","kind":262144,"children":[17512,17470,17474,17478,17536,17465,17467,17510]},{"title":"Methods","kind":2048,"children":[17496,17482,17491,17463,17499,17526,17508,17506,17528,17487,17517,17489,17514,17538,17520,17504]}],"sources":[{"fileName":"Tone/component/channel/MidSideMerge.ts","line":19,"character":25}],"extendedTypes":[{"type":"reference","id":1004,"typeArguments":[{"type":"reference","id":17540,"name":"MidSideMergeOptions"}],"name":"ToneAudioNode"}]},{"id":17359,"name":"MidSideSplit","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Mid/Side processing separates the the 'mid' signal (which comes out of both the left and the right channel)\nand the 'side' (which only comes out of the the side channels).\n```\nMid = (Left+Right)/sqrt(2);   // obtain mid-signal from left and right\nSide = (Left-Right)/sqrt(2);   // obtain side-signal from left and right\n```"},"children":[{"id":17368,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":17369,"name":"new MidSideSplit","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":17370,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":17448,"name":"MidSideSplitOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":17359,"name":"MidSideSplit"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/component/channel/MidSideSplit.ts","line":52,"character":30},{"fileName":"Tone/component/channel/MidSideSplit.ts","line":54,"character":53}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":17410,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":17440,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":17361,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/channel/MidSideSplit.ts","line":23,"character":15}],"type":{"type":"reference","id":15550,"name":"Split"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":17366,"name":"mid","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The \"mid\" output. `(Left+Right)/sqrt(2)`"},"sources":[{"fileName":"Tone/component/channel/MidSideSplit.ts","line":47,"character":13}],"type":{"type":"reference","id":1004,"name":"ToneAudioNode"}},{"id":17360,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/channel/MidSideSplit.ts","line":21,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"MidSideSplit\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":17362,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"There is no output node, use either [[mid]] or [[side]] outputs."},"sources":[{"fileName":"Tone/component/channel/MidSideSplit.ts","line":28,"character":16}],"type":{"type":"intrinsic","name":"undefined"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":17367,"name":"side","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The \"side\" output. `(Left-Right)/sqrt(2)`"},"sources":[{"fileName":"Tone/component/channel/MidSideSplit.ts","line":52,"character":14}],"type":{"type":"reference","id":1004,"name":"ToneAudioNode"}},{"id":17439,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":17420,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":17421,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":17378,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":17379,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":17380,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":17381,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":17382,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":17383,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":17384,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":17385,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":17386,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":17387,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":17388,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":17389,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":17444,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":17445,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":17373,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":17374,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":17375,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":17376,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":17418,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":17419,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":17404,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17405,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":17406,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":17390,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17391,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":17392,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":17393,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":17394,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":17399,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17400,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":17401,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":17402,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":17403,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":17371,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17372,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/component/channel/MidSideSplit.ts","line":81,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":17407,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17408,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":17409,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":17434,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17435,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":17448,"name":"MidSideSplitOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":17416,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17417,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":17414,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17415,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":17436,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17437,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":17438,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":17448,"name":"MidSideSplitOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":17395,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17396,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":17425,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17426,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":17427,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":17397,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17398,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":17422,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17423,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":17424,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":17446,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17447,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":17428,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17429,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":17430,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":17412,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":17413,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":4791,"name":"ToneWithContextOptions"},"overwrites":{"type":"reference","id":51,"name":"Tone.getDefaults"},"inheritedFrom":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":51,"character":19}],"overwrites":{"type":"reference","id":51,"name":"Tone.getDefaults"},"inheritedFrom":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[17368]},{"title":"Properties","kind":1024,"children":[17410,17440,17361,17366,17360,17362,17367,17439]},{"title":"Accessors","kind":262144,"children":[17420,17378,17382,17386,17444,17373,17375,17418]},{"title":"Methods","kind":2048,"children":[17404,17390,17399,17371,17407,17434,17416,17414,17436,17395,17425,17397,17422,17446,17428,17412]}],"sources":[{"fileName":"Tone/component/channel/MidSideSplit.ts","line":19,"character":25}],"extendedTypes":[{"type":"reference","id":1004,"typeArguments":[{"type":"reference","id":17448,"name":"MidSideSplitOptions"}],"name":"ToneAudioNode"}]},{"id":5462,"name":"MidiClass","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Midi is a primitive type for encoding Time values.\nMidi can be constructed with or without the `new` keyword. Midi can be passed\ninto the parameter of any method which takes time as an argument."},"children":[{"id":5521,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":5522,"name":"new MidiClass","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":5523,"name":"context","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The context associated with the time value. Used to compute\nTransport and context-relative timing."},"type":{"type":"reference","id":3052,"name":"BaseContext"}},{"id":5524,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The time value as a number, string or object"},"type":{"type":"reference","id":502,"name":"TimeValue"}},{"id":5525,"name":"units","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Unit values\n"},"type":{"type":"reference","id":45,"name":"Unit"}}],"type":{"type":"reference","id":5462,"name":"MidiClass"},"inheritedFrom":{"type":"reference","id":442,"name":"TimeBaseClass.__constructor"}}],"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":50,"character":43}],"inheritedFrom":{"type":"reference","id":442,"name":"TimeBaseClass.__constructor"}},{"id":5517,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":30,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":437,"name":"TimeBaseClass.context"}},{"id":5544,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":5464,"name":"defaultUnits","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/type/Midi.ts","line":17,"character":22}],"type":{"type":"stringLiteral","value":"midi"},"defaultValue":"\"midi\"","overwrites":{"type":"reference","id":4659,"name":"FrequencyClass.defaultUnits"}},{"id":5463,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/type/Midi.ts","line":15,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"MidiClass\"","overwrites":{"type":"reference","id":4658,"name":"FrequencyClass.name"}},{"id":5541,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":5550,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":5551,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":5484,"name":"A4","kind":262144,"kindString":"Accessor","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The [concert tuning pitch](https://en.wikipedia.org/wiki/Concert_pitch) which is used\nto generate all the other pitch values from notes. A4's values in Hertz."},"getSignature":[{"id":5485,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The [concert tuning pitch](https://en.wikipedia.org/wiki/Concert_pitch) which is used\nto generate all the other pitch values from notes. A4's values in Hertz."},"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":4660,"name":"FrequencyClass.A4"}}],"setSignature":[{"id":5486,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The [concert tuning pitch](https://en.wikipedia.org/wiki/Concert_pitch) which is used\nto generate all the other pitch values from notes. A4's values in Hertz."},"parameters":[{"id":5487,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":41,"name":"Hertz"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":4660,"name":"FrequencyClass.A4"}}],"sources":[{"fileName":"Tone/core/type/Frequency.ts","line":29,"character":14},{"fileName":"Tone/core/type/Frequency.ts","line":32,"character":14}],"inheritedFrom":{"type":"reference","id":4660,"name":"FrequencyClass.A4"}},{"id":5548,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5549,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect and dispose."},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":58,"name":"Tone.dispose"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":83,"character":8}],"inheritedFrom":{"type":"reference","id":58,"name":"Tone.dispose"}},{"id":5534,"name":"fromType","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5535,"name":"fromType","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Coerce a time type into this units type."},"parameters":[{"id":5536,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"Any time type units\n"},"type":{"type":"reference","id":434,"typeArguments":[{"type":"intrinsic","name":"any"},{"type":"intrinsic","name":"any"}],"name":"TimeBaseClass"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":473,"name":"TimeBaseClass.fromType"}}],"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":270,"character":9}],"inheritedFrom":{"type":"reference","id":473,"name":"TimeBaseClass.fromType"}},{"id":5490,"name":"harmonize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5491,"name":"harmonize","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Takes an array of semitone intervals and returns\nan array of frequencies transposed by those intervals.","returns":"Returns an array of Frequencies","tags":[{"tag":"example","text":"\nTone.Frequency(\"A4\").harmonize([0, 3, 7]); // [\"A4\", \"C5\", \"E5\"]\n"}]},"parameters":[{"id":5492,"name":"intervals","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"array","elementType":{"type":"reference","id":25,"name":"Interval"}}}],"type":{"type":"array","elementType":{"type":"reference","id":4656,"name":"FrequencyClass"}},"inheritedFrom":{"type":"reference","id":4669,"name":"FrequencyClass.harmonize"}}],"sources":[{"fileName":"Tone/core/type/Frequency.ts","line":104,"character":10}],"inheritedFrom":{"type":"reference","id":4669,"name":"FrequencyClass.harmonize"}},{"id":5507,"name":"quantize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5508,"name":"quantize","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Quantize the time by the given subdivision. Optionally add a\npercentage which will move the time value towards the ideal\nquantized value by that percentage.","tags":[{"tag":"example","text":"\nTone.Time(21).quantize(2); // returns 22\nTone.Time(0.6).quantize(\"4n\", 0.5); // returns 0.55\n"}]},"parameters":[{"id":5509,"name":"subdiv","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The subdivision to quantize to"},"type":{"type":"reference","id":31,"name":"Time"}},{"id":5510,"name":"percent","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"Move the time value towards the quantized value by a percentage."},"type":{"type":"intrinsic","name":"number"},"defaultValue":"1"}],"type":{"type":"reference","id":3,"name":"MidiNote"},"inheritedFrom":{"type":"reference","id":510,"name":"TimeClass.quantize"}}],"sources":[{"fileName":"Tone/core/type/Time.ts","line":48,"character":9}],"inheritedFrom":{"type":"reference","id":510,"name":"TimeClass.quantize"}},{"id":5513,"name":"toBarsBeatsSixteenths","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5514,"name":"toBarsBeatsSixteenths","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the time encoded as Bars:Beats:Sixteenths."},"type":{"type":"reference","id":39,"name":"BarsBeatsSixteenths"},"inheritedFrom":{"type":"reference","id":516,"name":"TimeClass.toBarsBeatsSixteenths"}}],"sources":[{"fileName":"Tone/core/type/Time.ts","line":94,"character":22}],"inheritedFrom":{"type":"reference","id":516,"name":"TimeClass.toBarsBeatsSixteenths"}},{"id":5479,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5480,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the value of the frequency as a MIDI note","tags":[{"tag":"example","text":"\nTone.Midi(60).toFrequency(); // 261.6255653005986\n"}]},"type":{"type":"reference","id":41,"name":"Hertz"},"overwrites":{"type":"reference","id":482,"name":"TimeBaseClass.toFrequency"}}],"sources":[{"fileName":"Tone/core/type/Midi.ts","line":61,"character":12}],"overwrites":{"type":"reference","id":482,"name":"TimeBaseClass.toFrequency"}},{"id":5477,"name":"toMidi","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5478,"name":"toMidi","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the value of the frequency as a MIDI note","tags":[{"tag":"example","text":"\nTone.Midi(60).toMidi(); // 60\n"}]},"type":{"type":"reference","id":3,"name":"MidiNote"},"overwrites":{"type":"reference","id":4672,"name":"FrequencyClass.toMidi"}}],"sources":[{"fileName":"Tone/core/type/Midi.ts","line":52,"character":7}],"overwrites":{"type":"reference","id":4672,"name":"FrequencyClass.toMidi"}},{"id":5539,"name":"toMilliseconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5540,"name":"toMilliseconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the time in milliseconds."},"type":{"type":"reference","id":43,"name":"Milliseconds"},"inheritedFrom":{"type":"reference","id":486,"name":"TimeBaseClass.toMilliseconds"}}],"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":321,"character":15}],"inheritedFrom":{"type":"reference","id":486,"name":"TimeBaseClass.toMilliseconds"}},{"id":5511,"name":"toNotation","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5512,"name":"toNotation","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert a Time to Notation. The notation values are will be the\nclosest representation between 1m to 128th note.","tags":[{"tag":"example","text":"\n// if the Transport is at 120bpm:\nTone.Time(2).toNotation(); // returns \"1m\"\n"}]},"type":{"type":"reference","id":28,"name":"Subdivision"},"inheritedFrom":{"type":"reference","id":514,"name":"TimeClass.toNotation"}}],"sources":[{"fileName":"Tone/core/type/Time.ts","line":68,"character":11}],"inheritedFrom":{"type":"reference","id":514,"name":"TimeClass.toNotation"}},{"id":5493,"name":"toNote","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5494,"name":"toNote","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the value of the frequency in Scientific Pitch Notation","tags":[{"tag":"example","text":"\nTone.Frequency(69, \"midi\").toNote(); // \"A4\"\n"}]},"type":{"type":"reference","id":2,"name":"Note"},"inheritedFrom":{"type":"reference","id":4674,"name":"FrequencyClass.toNote"}}],"sources":[{"fileName":"Tone/core/type/Frequency.ts","line":128,"character":7}],"inheritedFrom":{"type":"reference","id":4674,"name":"FrequencyClass.toNote"}},{"id":5537,"name":"toSamples","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5538,"name":"toSamples","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the time in samples"},"type":{"type":"reference","id":40,"name":"Samples"},"inheritedFrom":{"type":"reference","id":484,"name":"TimeBaseClass.toSamples"}}],"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":314,"character":10}],"inheritedFrom":{"type":"reference","id":484,"name":"TimeBaseClass.toSamples"}},{"id":5495,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5496,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the duration of one cycle in seconds."},"type":{"type":"reference","id":21,"name":"Seconds"},"overwrites":{"type":"reference","id":520,"name":"TimeClass.toSeconds"},"inheritedFrom":{"type":"reference","id":4676,"name":"FrequencyClass.toSeconds"}}],"sources":[{"fileName":"Tone/core/type/Frequency.ts","line":143,"character":10}],"overwrites":{"type":"reference","id":520,"name":"TimeClass.toSeconds"},"inheritedFrom":{"type":"reference","id":4676,"name":"FrequencyClass.toSeconds"}},{"id":5552,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5553,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":5497,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5498,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the duration of one cycle in ticks"},"type":{"type":"reference","id":35,"name":"Ticks"},"overwrites":{"type":"reference","id":518,"name":"TimeClass.toTicks"},"inheritedFrom":{"type":"reference","id":4678,"name":"FrequencyClass.toTicks"}}],"sources":[{"fileName":"Tone/core/type/Frequency.ts","line":150,"character":8}],"overwrites":{"type":"reference","id":518,"name":"TimeClass.toTicks"},"inheritedFrom":{"type":"reference","id":4678,"name":"FrequencyClass.toTicks"}},{"id":5481,"name":"transpose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5482,"name":"transpose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Transposes the frequency by the given number of semitones.","returns":"A new transposed MidiClass","tags":[{"tag":"example","text":"\nTone.Midi(\"A4\").transpose(3); // \"C5\"\n"}]},"parameters":[{"id":5483,"name":"interval","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":25,"name":"Interval"}}],"type":{"type":"reference","id":5462,"name":"MidiClass"},"overwrites":{"type":"reference","id":4666,"name":"FrequencyClass.transpose"}}],"sources":[{"fileName":"Tone/core/type/Midi.ts","line":71,"character":10}],"overwrites":{"type":"reference","id":4666,"name":"FrequencyClass.transpose"}},{"id":5526,"name":"valueOf","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5527,"name":"valueOf","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Evaluate the time value. Returns the time in seconds."},"type":{"type":"reference","id":3,"name":"MidiNote"},"inheritedFrom":{"type":"reference","id":449,"name":"TimeBaseClass.valueOf"}}],"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":153,"character":8}],"inheritedFrom":{"type":"reference","id":449,"name":"TimeBaseClass.valueOf"}},{"id":5504,"name":"ftom","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":5505,"name":"ftom","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert a frequency value to a MIDI note."},"parameters":[{"id":5506,"name":"frequency","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The value to frequency value to convert.\n"},"type":{"type":"reference","id":41,"name":"Hertz"}}],"type":{"type":"reference","id":3,"name":"MidiNote"},"inheritedFrom":{"type":"reference","id":4697,"name":"FrequencyClass.ftom"}}],"sources":[{"fileName":"Tone/core/type/Frequency.ts","line":208,"character":12}],"inheritedFrom":{"type":"reference","id":4697,"name":"FrequencyClass.ftom"}},{"id":5542,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":5543,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Returns all of the default options belonging to the class."},"type":{"type":"reference","id":47,"name":"BaseToneOptions"},"inheritedFrom":{"type":"reference","id":51,"name":"Tone.getDefaults"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":38,"character":19}],"inheritedFrom":{"type":"reference","id":51,"name":"Tone.getDefaults"}},{"id":5501,"name":"mtof","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":5502,"name":"mtof","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert a MIDI note to frequency value.","returns":"The corresponding frequency value\n"},"parameters":[{"id":5503,"name":"midi","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The midi number to convert."},"type":{"type":"reference","id":3,"name":"MidiNote"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":4694,"name":"FrequencyClass.mtof"}}],"sources":[{"fileName":"Tone/core/type/Frequency.ts","line":200,"character":12}],"inheritedFrom":{"type":"reference","id":4694,"name":"FrequencyClass.mtof"}}],"groups":[{"title":"Constructors","kind":512,"children":[5521]},{"title":"Properties","kind":1024,"children":[5517,5544,5464,5463,5541]},{"title":"Accessors","kind":262144,"children":[5550,5484]},{"title":"Methods","kind":2048,"children":[5548,5534,5490,5507,5513,5479,5477,5539,5511,5493,5537,5495,5552,5497,5481,5526,5504,5542,5501]}],"sources":[{"fileName":"Tone/core/type/Midi.ts","line":13,"character":22}],"extendedTypes":[{"type":"reference","id":4656,"typeArguments":[{"type":"reference","id":3,"name":"MidiNote"}],"name":"FrequencyClass"}]},{"id":11239,"name":"ModulationSynth","kind":128,"kindString":"Class","flags":{"isExported":true,"isAbstract":true},"comment":{"shortText":"Base class for both AM and FM synths"},"typeParameter":[{"id":11240,"name":"Options","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"reference","id":11228,"name":"ModulationSynthOptions"}}],"children":[{"id":11252,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":11253,"name":"new ModulationSynth","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":11254,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":11228,"name":"ModulationSynthOptions"}],"name":"RecursivePartial"}}],"type":{"type":"reference","id":11239,"name":"ModulationSynth"},"overwrites":{"type":"reference","id":10834,"name":"Monophonic.__constructor"}}],"sources":[{"fileName":"Tone/instrument/ModulationSynth.ts","line":83,"character":33},{"fileName":"Tone/instrument/ModulationSynth.ts","line":85,"character":65}],"overwrites":{"type":"reference","id":10834,"name":"Monophonic.__constructor"}},{"id":11339,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":11367,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":11249,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The detune in cents"},"sources":[{"fileName":"Tone/instrument/ModulationSynth.ts","line":67,"character":16}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"cents"}],"name":"Signal"},"overwrites":{"type":"reference","id":10833,"name":"Monophonic.detune"}},{"id":11245,"name":"envelope","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The carrier's envelope"},"sources":[{"fileName":"Tone/instrument/ModulationSynth.ts","line":47,"character":18}],"type":{"type":"reference","id":10960,"name":"AmplitudeEnvelope"}},{"id":11248,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The frequency control"},"sources":[{"fileName":"Tone/instrument/ModulationSynth.ts","line":62,"character":19}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"frequency"}],"name":"Signal"},"overwrites":{"type":"reference","id":10832,"name":"Monophonic.frequency"}},{"id":11250,"name":"harmonicity","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"Harmonicity is the ratio between the two voices. A harmonicity of\n1 is no change. Harmonicity = 2 means a change of an octave.","tags":[{"tag":"example","text":"\nconst amSynth = new Tone.AMSynth().toDestination();\n// pitch the modulator an octave below oscillator\namSynth.harmonicity.value = 0.5;\namSynth.triggerAttackRelease(\"C5\", \"4n\");\n"}]},"sources":[{"fileName":"Tone/instrument/ModulationSynth.ts","line":78,"character":21}],"type":{"type":"reference","id":7189,"name":"Multiply"}},{"id":11284,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The instrument only has an output"},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":26,"character":6}],"type":{"type":"intrinsic","name":"undefined"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":10711,"name":"Instrument.input"}},{"id":11246,"name":"modulation","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The modulator's oscillator which is applied to the amplitude of the oscillator"},"sources":[{"fileName":"Tone/instrument/ModulationSynth.ts","line":52,"character":20}],"type":{"type":"reference","id":8167,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"OmniOscillator"}},{"id":11247,"name":"modulationEnvelope","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The modulator's envelope"},"sources":[{"fileName":"Tone/instrument/ModulationSynth.ts","line":57,"character":28}],"type":{"type":"reference","id":10960,"name":"AmplitudeEnvelope"}},{"id":11241,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/instrument/ModulationSynth.ts","line":26,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"ModulationSynth\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":11270,"name":"onsilence","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Invoked when the release has finished and the output is silent."},"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":31,"character":10}],"type":{"type":"reference","id":10956,"name":"onSilenceCallback"},"inheritedFrom":{"type":"reference","id":10831,"name":"Monophonic.onsilence"}},{"id":11244,"name":"oscillator","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The carrier's oscillator"},"sources":[{"fileName":"Tone/instrument/ModulationSynth.ts","line":42,"character":20}],"type":{"type":"reference","id":8167,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"OmniOscillator"}},{"id":11283,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":21,"character":7}],"type":{"type":"reference","id":1102,"name":"OutputNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":10710,"name":"Instrument.output"}},{"id":11269,"name":"portamento","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The glide time between notes."},"decorators":[{"name":"timeRange","type":{"type":"reference","id":8896,"name":"timeRange"},"arguments":{"min":"0"}}],"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":26,"character":11}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":10830,"name":"Monophonic.portamento"}},{"id":11285,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The volume of the output in decibels.","tags":[{"tag":"example","text":"\nconst amSynth = new Tone.AMSynth().toDestination();\namSynth.volume.value = -6;\namSynth.triggerAttackRelease(\"G#3\", 0.2);\n"}]},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":35,"character":7}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"decibels"}],"name":"Param"},"inheritedFrom":{"type":"reference","id":10712,"name":"Instrument.volume"}},{"id":11366,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":11347,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":11348,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":11307,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":11308,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":11309,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":11310,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":11311,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":11312,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":11313,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":11314,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":11315,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":11316,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":11317,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":11318,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":11371,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":11372,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":11302,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":11303,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":11304,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":11305,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":11345,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":11346,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":11333,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11334,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":11335,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":11319,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11320,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":11321,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":11322,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":11323,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":11328,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11329,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":11330,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":11331,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":11332,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":11267,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11268,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":10746,"name":"Instrument.dispose"}}],"sources":[{"fileName":"Tone/instrument/ModulationSynth.ts","line":207,"character":8}],"overwrites":{"type":"reference","id":10746,"name":"Instrument.dispose"}},{"id":11336,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11337,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":11338,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":11361,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11362,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":11228,"name":"ModulationSynthOptions"}},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":11264,"name":"getLevelAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11265,"name":"getLevelAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":11266,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":23,"name":"NormalRange"},"overwrites":{"type":"reference","id":10854,"name":"Monophonic.getLevelAtTime"}}],"sources":[{"fileName":"Tone/instrument/ModulationSynth.ts","line":202,"character":15}],"overwrites":{"type":"reference","id":10854,"name":"Monophonic.getLevelAtTime"}},{"id":11343,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11344,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":11341,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11342,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":11363,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11364,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":11365,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":11228,"name":"ModulationSynthOptions"}}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":11279,"name":"setNote","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11280,"name":"setNote","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set the note at the given time. If no time is given, the note\nwill set immediately.","tags":[{"tag":"example","text":"\nconst synth = new Tone.Synth().toDestination();\nsynth.triggerAttack(\"C4\");\n// change to F#6 in one quarter note from now.\nsynth.setNote(\"F#6\", \"+4n\");\n"}]},"parameters":[{"id":11281,"name":"note","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The note to change to."},"type":{"type":"union","types":[{"type":"reference","id":32,"name":"Frequency"},{"type":"reference","id":4656,"name":"FrequencyClass"}]}},{"id":11282,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The time when the note should be set."},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":10857,"name":"Monophonic.setNote"}}],"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":124,"character":8}],"inheritedFrom":{"type":"reference","id":10857,"name":"Monophonic.setNote"}},{"id":11286,"name":"sync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11287,"name":"sync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Sync the instrument to the Transport. All subsequent calls of\n[[triggerAttack]] and [[triggerRelease]] will be scheduled along the transport.","tags":[{"tag":"example","text":"\nconst fmSynth = new Tone.FMSynth().toDestination();\nfmSynth.volume.value = -6;\nfmSynth.sync();\n// schedule 3 notes when the transport first starts\nfmSynth.triggerAttackRelease(\"C4\", \"8n\", 0);\nfmSynth.triggerAttackRelease(\"E4\", \"8n\", \"8n\");\nfmSynth.triggerAttackRelease(\"G4\", \"8n\", \"4n\");\n// start the transport to hear the notes\nTone.Transport.start();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":10720,"name":"Instrument.sync"}}],"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":82,"character":5}],"inheritedFrom":{"type":"reference","id":10720,"name":"Instrument.sync"}},{"id":11324,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11325,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":11352,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11353,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":11354,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":11326,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11327,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":11349,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11350,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":11351,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":11373,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11374,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":11355,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11356,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":11357,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":11271,"name":"triggerAttack","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11272,"name":"triggerAttack","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Trigger the attack of the note optionally with a given velocity.","tags":[{"tag":"example","text":"\nconst synth = new Tone.Synth().toDestination();\n// trigger the note a half second from now at half velocity\nsynth.triggerAttack(\"C4\", \"+0.5\", 0.5);\n"}]},"parameters":[{"id":11273,"name":"note","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The note to trigger."},"type":{"type":"union","types":[{"type":"reference","id":32,"name":"Frequency"},{"type":"reference","id":4656,"name":"FrequencyClass"}]}},{"id":11274,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the note should start."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":11275,"name":"velocity","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The velocity scaler determines how \"loud\" the note will be triggered."},"type":{"type":"reference","id":23,"name":"NormalRange"},"defaultValue":"1"}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":10736,"name":"Instrument.triggerAttack"},"inheritedFrom":{"type":"reference","id":10839,"name":"Monophonic.triggerAttack"}}],"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":71,"character":14}],"overwrites":{"type":"reference","id":10736,"name":"Instrument.triggerAttack"},"inheritedFrom":{"type":"reference","id":10839,"name":"Monophonic.triggerAttack"}},{"id":11296,"name":"triggerAttackRelease","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11297,"name":"triggerAttackRelease","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Trigger the attack and then the release after the duration.","tags":[{"tag":"example","text":"\nconst synth = new Tone.Synth().toDestination();\n// trigger \"C4\" for the duration of an 8th note\nsynth.triggerAttackRelease(\"C4\", \"8n\");\n"}]},"parameters":[{"id":11298,"name":"note","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The note to trigger."},"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":11299,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"How long the note should be held for before\n                        triggering the release. This value must be greater than 0."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":11300,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the note should be triggered."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":11301,"name":"velocity","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The velocity the note should be triggered at."},"type":{"type":"reference","id":23,"name":"NormalRange"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":10730,"name":"Instrument.triggerAttackRelease"}}],"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":145,"character":21}],"inheritedFrom":{"type":"reference","id":10730,"name":"Instrument.triggerAttackRelease"}},{"id":11276,"name":"triggerRelease","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11277,"name":"triggerRelease","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Trigger the release portion of the envelope","tags":[{"tag":"example","text":"\nconst synth = new Tone.Synth().toDestination();\nsynth.triggerAttack(\"C4\");\n// trigger the release a second from now\nsynth.triggerRelease(\"+1\");\n"}]},"parameters":[{"id":11278,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"If no time is given, the release happens immediatly"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":10742,"name":"Instrument.triggerRelease"},"inheritedFrom":{"type":"reference","id":10844,"name":"Monophonic.triggerRelease"}}],"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":88,"character":15}],"overwrites":{"type":"reference","id":10742,"name":"Instrument.triggerRelease"},"inheritedFrom":{"type":"reference","id":10844,"name":"Monophonic.triggerRelease"}},{"id":11294,"name":"unsync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11295,"name":"unsync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Unsync the instrument from the Transport"},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":10728,"name":"Instrument.unsync"}}],"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":122,"character":7}],"inheritedFrom":{"type":"reference","id":10728,"name":"Instrument.unsync"}},{"id":11255,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":11256,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":11228,"name":"ModulationSynthOptions"},"overwrites":{"type":"reference","id":10837,"name":"Monophonic.getDefaults"}}],"sources":[{"fileName":"Tone/instrument/ModulationSynth.ts","line":131,"character":19}],"overwrites":{"type":"reference","id":10837,"name":"Monophonic.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[11252]},{"title":"Properties","kind":1024,"children":[11339,11367,11249,11245,11248,11250,11284,11246,11247,11241,11270,11244,11283,11269,11285,11366]},{"title":"Accessors","kind":262144,"children":[11347,11307,11311,11315,11371,11302,11304,11345]},{"title":"Methods","kind":2048,"children":[11333,11319,11328,11267,11336,11361,11264,11343,11341,11363,11279,11286,11324,11352,11326,11349,11373,11355,11271,11296,11276,11294,11255]}],"sources":[{"fileName":"Tone/instrument/ModulationSynth.ts","line":24,"character":37}],"extendedTypes":[{"type":"reference","id":10828,"typeArguments":[{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":11228,"name":"ModulationSynthOptions"}}],"name":"Monophonic"}],"extendedBy":[{"type":"reference","id":11375,"name":"AMSynth"},{"type":"reference","id":12183,"name":"FMSynth"}]},{"id":18912,"name":"Mono","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Mono coerces the incoming mono or stereo signal into a mono signal\nwhere both left and right channels have the same value. This can be useful\nfor [stereo imaging](https://en.wikipedia.org/wiki/Stereo_imaging)."},"children":[{"id":18917,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":18918,"name":"new Mono","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":18919,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":18997,"name":"MonoOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":18912,"name":"Mono"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/component/channel/Mono.ts","line":31,"character":22},{"fileName":"Tone/component/channel/Mono.ts","line":33,"character":45}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":18959,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":18989,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":18916,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The stereo signal to sum to mono"},"sources":[{"fileName":"Tone/component/channel/Mono.ts","line":31,"character":15}],"type":{"type":"reference","id":1143,"name":"Gain"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":18913,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/channel/Mono.ts","line":16,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Mono\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":18915,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The summed output of the multiple inputs"},"sources":[{"fileName":"Tone/component/channel/Mono.ts","line":26,"character":16}],"type":{"type":"reference","id":1102,"name":"OutputNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":18988,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":18969,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":18970,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":18927,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":18928,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":18929,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":18930,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":18931,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":18932,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":18933,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":18934,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":18935,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":18936,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":18937,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":18938,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":18993,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":18994,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":18922,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":18923,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":18924,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":18925,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":18967,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":18968,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":18953,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18954,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":18955,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":18939,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18940,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":18941,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":18942,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":18943,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":18948,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18949,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":18950,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":18951,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":18952,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":18920,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18921,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/component/channel/Mono.ts","line":49,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":18956,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18957,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":18958,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":18983,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18984,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":18997,"name":"MonoOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":18965,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18966,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":18963,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18964,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":18985,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18986,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":18987,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":18997,"name":"MonoOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":18944,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18945,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":18974,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18975,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":18976,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":18946,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18947,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":18971,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18972,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":18973,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":18995,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18996,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":18977,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18978,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":18979,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":18961,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":18962,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":4791,"name":"ToneWithContextOptions"},"overwrites":{"type":"reference","id":51,"name":"Tone.getDefaults"},"inheritedFrom":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":51,"character":19}],"overwrites":{"type":"reference","id":51,"name":"Tone.getDefaults"},"inheritedFrom":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[18917]},{"title":"Properties","kind":1024,"children":[18959,18989,18916,18913,18915,18988]},{"title":"Accessors","kind":262144,"children":[18969,18927,18931,18935,18993,18922,18924,18967]},{"title":"Methods","kind":2048,"children":[18953,18939,18948,18920,18956,18983,18965,18963,18985,18944,18974,18946,18971,18995,18977,18961]}],"sources":[{"fileName":"Tone/component/channel/Mono.ts","line":14,"character":17}],"extendedTypes":[{"type":"reference","id":1004,"typeArguments":[{"type":"reference","id":18997,"name":"MonoOptions"}],"name":"ToneAudioNode"}]},{"id":11895,"name":"MonoSynth","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"MonoSynth is composed of one `oscillator`, one `filter`, and two `envelopes`.\nThe amplitude of the Oscillator and the cutoff frequency of the\nFilter are controlled by Envelopes.\n<img src=\"https://docs.google.com/drawings/d/1gaY1DF9_Hzkodqf8JI1Cg2VZfwSElpFQfI94IQwad38/pub?w=924&h=240\">","tags":[{"tag":"example","text":"\nconst synth = new Tone.MonoSynth({\n\toscillator: {\n\t\ttype: \"square\"\n\t},\n\tenvelope: {\n\t\tattack: 0.1\n\t}\n}).toDestination();\nsynth.triggerAttackRelease(\"C4\", \"8n\");"}]},"children":[{"id":11903,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":11904,"name":"new MonoSynth","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":11905,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":11885,"name":"MonoSynthOptions"}],"name":"RecursivePartial"}}],"type":{"type":"reference","id":11895,"name":"MonoSynth"},"overwrites":{"type":"reference","id":10834,"name":"Monophonic.__constructor"}}],"sources":[{"fileName":"Tone/instrument/MonoSynth.ts","line":71,"character":38},{"fileName":"Tone/instrument/MonoSynth.ts","line":73,"character":59}],"overwrites":{"type":"reference","id":10834,"name":"Monophonic.__constructor"}},{"id":11990,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":12018,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":11899,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The detune control."},"sources":[{"fileName":"Tone/instrument/MonoSynth.ts","line":56,"character":16}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"cents"}],"name":"Signal"},"overwrites":{"type":"reference","id":10833,"name":"Monophonic.detune"}},{"id":11902,"name":"envelope","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The amplitude envelope."},"sources":[{"fileName":"Tone/instrument/MonoSynth.ts","line":71,"character":18}],"type":{"type":"reference","id":10960,"name":"AmplitudeEnvelope"}},{"id":11900,"name":"filter","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The filter."},"sources":[{"fileName":"Tone/instrument/MonoSynth.ts","line":61,"character":16}],"type":{"type":"reference","id":11618,"name":"Filter"}},{"id":11901,"name":"filterEnvelope","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The filter envelope."},"sources":[{"fileName":"Tone/instrument/MonoSynth.ts","line":66,"character":24}],"type":{"type":"reference","id":11740,"name":"FrequencyEnvelope"}},{"id":11898,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The frequency control."},"sources":[{"fileName":"Tone/instrument/MonoSynth.ts","line":51,"character":19}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"frequency"}],"name":"Signal"},"overwrites":{"type":"reference","id":10832,"name":"Monophonic.frequency"}},{"id":11935,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The instrument only has an output"},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":26,"character":6}],"type":{"type":"intrinsic","name":"undefined"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":10711,"name":"Instrument.input"}},{"id":11896,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/instrument/MonoSynth.ts","line":41,"character":14}],"type":{"type":"stringLiteral","value":"MonoSynth"},"defaultValue":"\"MonoSynth\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":11921,"name":"onsilence","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Invoked when the release has finished and the output is silent."},"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":31,"character":10}],"type":{"type":"reference","id":10956,"name":"onSilenceCallback"},"inheritedFrom":{"type":"reference","id":10831,"name":"Monophonic.onsilence"}},{"id":11897,"name":"oscillator","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The oscillator."},"sources":[{"fileName":"Tone/instrument/MonoSynth.ts","line":46,"character":20}],"type":{"type":"reference","id":8167,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"OmniOscillator"}},{"id":11934,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":21,"character":7}],"type":{"type":"reference","id":1102,"name":"OutputNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":10710,"name":"Instrument.output"}},{"id":11920,"name":"portamento","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The glide time between notes."},"decorators":[{"name":"timeRange","type":{"type":"reference","id":8896,"name":"timeRange"},"arguments":{"min":"0"}}],"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":26,"character":11}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":10830,"name":"Monophonic.portamento"}},{"id":11936,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The volume of the output in decibels.","tags":[{"tag":"example","text":"\nconst amSynth = new Tone.AMSynth().toDestination();\namSynth.volume.value = -6;\namSynth.triggerAttackRelease(\"G#3\", 0.2);\n"}]},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":35,"character":7}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"decibels"}],"name":"Param"},"inheritedFrom":{"type":"reference","id":10712,"name":"Instrument.volume"}},{"id":12017,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":11998,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":11999,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":11958,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":11959,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":11960,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":11961,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":11962,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":11963,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":11964,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":11965,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":11966,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":11967,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":11968,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":11969,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":12022,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":12023,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":11953,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":11954,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":11955,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":11956,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":11996,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":11997,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":11984,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11985,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":11986,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":11970,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11971,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":11972,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":11973,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":11974,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":11979,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11980,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":11981,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":11982,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":11983,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":11918,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11919,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":10746,"name":"Instrument.dispose"}}],"sources":[{"fileName":"Tone/instrument/MonoSynth.ts","line":169,"character":8}],"overwrites":{"type":"reference","id":10746,"name":"Instrument.dispose"}},{"id":11987,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11988,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":11989,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":12012,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12013,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":11885,"name":"MonoSynthOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":11915,"name":"getLevelAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11916,"name":"getLevelAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":11917,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":23,"name":"NormalRange"},"overwrites":{"type":"reference","id":10854,"name":"Monophonic.getLevelAtTime"}}],"sources":[{"fileName":"Tone/instrument/MonoSynth.ts","line":164,"character":15}],"overwrites":{"type":"reference","id":10854,"name":"Monophonic.getLevelAtTime"}},{"id":11994,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11995,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":11992,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11993,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":12014,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12015,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":12016,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":11885,"name":"MonoSynthOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":11930,"name":"setNote","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11931,"name":"setNote","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set the note at the given time. If no time is given, the note\nwill set immediately.","tags":[{"tag":"example","text":"\nconst synth = new Tone.Synth().toDestination();\nsynth.triggerAttack(\"C4\");\n// change to F#6 in one quarter note from now.\nsynth.setNote(\"F#6\", \"+4n\");\n"}]},"parameters":[{"id":11932,"name":"note","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The note to change to."},"type":{"type":"union","types":[{"type":"reference","id":32,"name":"Frequency"},{"type":"reference","id":4656,"name":"FrequencyClass"}]}},{"id":11933,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The time when the note should be set."},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":10857,"name":"Monophonic.setNote"}}],"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":124,"character":8}],"inheritedFrom":{"type":"reference","id":10857,"name":"Monophonic.setNote"}},{"id":11937,"name":"sync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11938,"name":"sync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Sync the instrument to the Transport. All subsequent calls of\n[[triggerAttack]] and [[triggerRelease]] will be scheduled along the transport.","tags":[{"tag":"example","text":"\nconst fmSynth = new Tone.FMSynth().toDestination();\nfmSynth.volume.value = -6;\nfmSynth.sync();\n// schedule 3 notes when the transport first starts\nfmSynth.triggerAttackRelease(\"C4\", \"8n\", 0);\nfmSynth.triggerAttackRelease(\"E4\", \"8n\", \"8n\");\nfmSynth.triggerAttackRelease(\"G4\", \"8n\", \"4n\");\n// start the transport to hear the notes\nTone.Transport.start();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":10720,"name":"Instrument.sync"}}],"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":82,"character":5}],"inheritedFrom":{"type":"reference","id":10720,"name":"Instrument.sync"}},{"id":11975,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11976,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":12003,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12004,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":12005,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":11977,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11978,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":12000,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12001,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":12002,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":12024,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12025,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":12006,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12007,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":12008,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":11922,"name":"triggerAttack","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11923,"name":"triggerAttack","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Trigger the attack of the note optionally with a given velocity.","tags":[{"tag":"example","text":"\nconst synth = new Tone.Synth().toDestination();\n// trigger the note a half second from now at half velocity\nsynth.triggerAttack(\"C4\", \"+0.5\", 0.5);\n"}]},"parameters":[{"id":11924,"name":"note","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The note to trigger."},"type":{"type":"union","types":[{"type":"reference","id":32,"name":"Frequency"},{"type":"reference","id":4656,"name":"FrequencyClass"}]}},{"id":11925,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the note should start."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":11926,"name":"velocity","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The velocity scaler determines how \"loud\" the note will be triggered."},"type":{"type":"reference","id":23,"name":"NormalRange"},"defaultValue":"1"}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":10736,"name":"Instrument.triggerAttack"},"inheritedFrom":{"type":"reference","id":10839,"name":"Monophonic.triggerAttack"}}],"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":71,"character":14}],"overwrites":{"type":"reference","id":10736,"name":"Instrument.triggerAttack"},"inheritedFrom":{"type":"reference","id":10839,"name":"Monophonic.triggerAttack"}},{"id":11947,"name":"triggerAttackRelease","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11948,"name":"triggerAttackRelease","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Trigger the attack and then the release after the duration.","tags":[{"tag":"example","text":"\nconst synth = new Tone.Synth().toDestination();\n// trigger \"C4\" for the duration of an 8th note\nsynth.triggerAttackRelease(\"C4\", \"8n\");\n"}]},"parameters":[{"id":11949,"name":"note","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The note to trigger."},"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":11950,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"How long the note should be held for before\n                        triggering the release. This value must be greater than 0."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":11951,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the note should be triggered."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":11952,"name":"velocity","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The velocity the note should be triggered at."},"type":{"type":"reference","id":23,"name":"NormalRange"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":10730,"name":"Instrument.triggerAttackRelease"}}],"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":145,"character":21}],"inheritedFrom":{"type":"reference","id":10730,"name":"Instrument.triggerAttackRelease"}},{"id":11927,"name":"triggerRelease","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11928,"name":"triggerRelease","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Trigger the release portion of the envelope","tags":[{"tag":"example","text":"\nconst synth = new Tone.Synth().toDestination();\nsynth.triggerAttack(\"C4\");\n// trigger the release a second from now\nsynth.triggerRelease(\"+1\");\n"}]},"parameters":[{"id":11929,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"If no time is given, the release happens immediatly"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":10742,"name":"Instrument.triggerRelease"},"inheritedFrom":{"type":"reference","id":10844,"name":"Monophonic.triggerRelease"}}],"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":88,"character":15}],"overwrites":{"type":"reference","id":10742,"name":"Instrument.triggerRelease"},"inheritedFrom":{"type":"reference","id":10844,"name":"Monophonic.triggerRelease"}},{"id":11945,"name":"unsync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11946,"name":"unsync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Unsync the instrument from the Transport"},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":10728,"name":"Instrument.unsync"}}],"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":122,"character":7}],"inheritedFrom":{"type":"reference","id":10728,"name":"Instrument.unsync"}},{"id":11906,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":11907,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":11885,"name":"MonoSynthOptions"},"overwrites":{"type":"reference","id":10837,"name":"Monophonic.getDefaults"}}],"sources":[{"fileName":"Tone/instrument/MonoSynth.ts","line":98,"character":19}],"overwrites":{"type":"reference","id":10837,"name":"Monophonic.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[11903]},{"title":"Properties","kind":1024,"children":[11990,12018,11899,11902,11900,11901,11898,11935,11896,11921,11897,11934,11920,11936,12017]},{"title":"Accessors","kind":262144,"children":[11998,11958,11962,11966,12022,11953,11955,11996]},{"title":"Methods","kind":2048,"children":[11984,11970,11979,11918,11987,12012,11915,11994,11992,12014,11930,11937,11975,12003,11977,12000,12024,12006,11922,11947,11927,11945,11906]}],"sources":[{"fileName":"Tone/instrument/MonoSynth.ts","line":39,"character":22}],"extendedTypes":[{"type":"reference","id":10828,"typeArguments":[{"type":"reference","id":11885,"name":"MonoSynthOptions"}],"name":"Monophonic"}]},{"id":10828,"name":"Monophonic","kind":128,"kindString":"Class","flags":{"isExported":true,"isAbstract":true},"comment":{"shortText":"Abstract base class for other monophonic instruments to extend."},"typeParameter":[{"id":10829,"name":"Options","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"reference","id":10822,"name":"MonophonicOptions"}}],"children":[{"id":10834,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":10835,"name":"new Monophonic","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":10836,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":10822,"name":"MonophonicOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":10828,"name":"Monophonic"},"overwrites":{"type":"reference","id":10715,"name":"Instrument.__constructor"}}],"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":41,"character":43},{"fileName":"Tone/instrument/Monophonic.ts","line":43,"character":51}],"overwrites":{"type":"reference","id":10715,"name":"Instrument.__constructor"}},{"id":10920,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":10948,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":10833,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true,"isAbstract":true,"isReadonly":true},"comment":{"shortText":"The instrument's detune control signal."},"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":41,"character":25}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"cents"}],"name":"Signal"}},{"id":10832,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true,"isAbstract":true,"isReadonly":true},"comment":{"shortText":"The instrument's frequency signal."},"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":36,"character":28}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"frequency"}],"name":"Signal"}},{"id":10862,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The instrument only has an output"},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":26,"character":6}],"type":{"type":"intrinsic","name":"undefined"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":10711,"name":"Instrument.input"}},{"id":10882,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isAbstract":true,"isReadonly":true},"comment":{"shortText":"The name of the class"},"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":30,"character":23}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"ToneAudioNode\"","overwrites":{"type":"reference","name":"Tone.name"},"inheritedFrom":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":10831,"name":"onsilence","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Invoked when the release has finished and the output is silent."},"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":31,"character":10}],"type":{"type":"reference","id":10956,"name":"onSilenceCallback"}},{"id":10861,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":21,"character":7}],"type":{"type":"reference","id":1102,"name":"OutputNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":10710,"name":"Instrument.output"}},{"id":10830,"name":"portamento","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The glide time between notes."},"decorators":[{"name":"timeRange","type":{"type":"reference","id":8896,"name":"timeRange"},"arguments":{"min":"0"}}],"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":26,"character":11}],"type":{"type":"reference","id":21,"name":"Seconds"}},{"id":10863,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The volume of the output in decibels.","tags":[{"tag":"example","text":"\nconst amSynth = new Tone.AMSynth().toDestination();\namSynth.volume.value = -6;\namSynth.triggerAttackRelease(\"G#3\", 0.2);\n"}]},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":35,"character":7}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"decibels"}],"name":"Param"},"inheritedFrom":{"type":"reference","id":10712,"name":"Instrument.volume"}},{"id":10947,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":10928,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":10929,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":10888,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":10889,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":10890,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":10891,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":10892,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":10893,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":10894,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":10895,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":10896,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":10897,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":10898,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":10899,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":10952,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":10953,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":10883,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":10884,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":10885,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":10886,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":10926,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":10927,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":10914,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10915,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":10916,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":10900,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10901,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":10902,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":10903,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":10904,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":10909,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10910,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":10911,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":10912,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":10913,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":10880,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10881,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"clean up","returns":"this\n"},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"},"inheritedFrom":{"type":"reference","id":10746,"name":"Instrument.dispose"}}],"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":173,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"},"inheritedFrom":{"type":"reference","id":10746,"name":"Instrument.dispose"}},{"id":10917,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10918,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":10919,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":10942,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10943,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":10822,"name":"MonophonicOptions"}},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":10854,"name":"getLevelAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":10855,"name":"getLevelAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the level of the output at the given time. Measures\nthe envelope(s) value at the time.","returns":"The output level between 0-1\n"},"parameters":[{"id":10856,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The time to query the envelope value"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":23,"name":"NormalRange"}}],"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":111,"character":24}]},{"id":10924,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10925,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":10922,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10923,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":10944,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10945,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":10946,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":10822,"name":"MonophonicOptions"}}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":10857,"name":"setNote","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10858,"name":"setNote","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set the note at the given time. If no time is given, the note\nwill set immediately.","tags":[{"tag":"example","text":"\nconst synth = new Tone.Synth().toDestination();\nsynth.triggerAttack(\"C4\");\n// change to F#6 in one quarter note from now.\nsynth.setNote(\"F#6\", \"+4n\");\n"}]},"parameters":[{"id":10859,"name":"note","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The note to change to."},"type":{"type":"union","types":[{"type":"reference","id":32,"name":"Frequency"},{"type":"reference","id":4656,"name":"FrequencyClass"}]}},{"id":10860,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The time when the note should be set."},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":124,"character":8}]},{"id":10864,"name":"sync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10865,"name":"sync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Sync the instrument to the Transport. All subsequent calls of\n[[triggerAttack]] and [[triggerRelease]] will be scheduled along the transport.","tags":[{"tag":"example","text":"\nconst fmSynth = new Tone.FMSynth().toDestination();\nfmSynth.volume.value = -6;\nfmSynth.sync();\n// schedule 3 notes when the transport first starts\nfmSynth.triggerAttackRelease(\"C4\", \"8n\", 0);\nfmSynth.triggerAttackRelease(\"E4\", \"8n\", \"8n\");\nfmSynth.triggerAttackRelease(\"G4\", \"8n\", \"4n\");\n// start the transport to hear the notes\nTone.Transport.start();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":10720,"name":"Instrument.sync"}}],"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":82,"character":5}],"inheritedFrom":{"type":"reference","id":10720,"name":"Instrument.sync"}},{"id":10905,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10906,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":10933,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10934,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":10935,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":10907,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10908,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":10930,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10931,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":10932,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":10954,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10955,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":10936,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10937,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":10938,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":10839,"name":"triggerAttack","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10840,"name":"triggerAttack","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Trigger the attack of the note optionally with a given velocity.","tags":[{"tag":"example","text":"\nconst synth = new Tone.Synth().toDestination();\n// trigger the note a half second from now at half velocity\nsynth.triggerAttack(\"C4\", \"+0.5\", 0.5);\n"}]},"parameters":[{"id":10841,"name":"note","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The note to trigger."},"type":{"type":"union","types":[{"type":"reference","id":32,"name":"Frequency"},{"type":"reference","id":4656,"name":"FrequencyClass"}]}},{"id":10842,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the note should start."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":10843,"name":"velocity","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The velocity scaler determines how \"loud\" the note will be triggered."},"type":{"type":"reference","id":23,"name":"NormalRange"},"defaultValue":"1"}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":10736,"name":"Instrument.triggerAttack"}}],"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":71,"character":14}],"overwrites":{"type":"reference","id":10736,"name":"Instrument.triggerAttack"}},{"id":10874,"name":"triggerAttackRelease","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10875,"name":"triggerAttackRelease","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Trigger the attack and then the release after the duration.","tags":[{"tag":"example","text":"\nconst synth = new Tone.Synth().toDestination();\n// trigger \"C4\" for the duration of an 8th note\nsynth.triggerAttackRelease(\"C4\", \"8n\");\n"}]},"parameters":[{"id":10876,"name":"note","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The note to trigger."},"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":10877,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"How long the note should be held for before\n                        triggering the release. This value must be greater than 0."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":10878,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the note should be triggered."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":10879,"name":"velocity","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The velocity the note should be triggered at."},"type":{"type":"reference","id":23,"name":"NormalRange"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":10730,"name":"Instrument.triggerAttackRelease"}}],"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":145,"character":21}],"inheritedFrom":{"type":"reference","id":10730,"name":"Instrument.triggerAttackRelease"}},{"id":10844,"name":"triggerRelease","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10845,"name":"triggerRelease","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Trigger the release portion of the envelope","tags":[{"tag":"example","text":"\nconst synth = new Tone.Synth().toDestination();\nsynth.triggerAttack(\"C4\");\n// trigger the release a second from now\nsynth.triggerRelease(\"+1\");\n"}]},"parameters":[{"id":10846,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"If no time is given, the release happens immediatly"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":10742,"name":"Instrument.triggerRelease"}}],"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":88,"character":15}],"overwrites":{"type":"reference","id":10742,"name":"Instrument.triggerRelease"}},{"id":10872,"name":"unsync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10873,"name":"unsync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Unsync the instrument from the Transport"},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":10728,"name":"Instrument.unsync"}}],"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":122,"character":7}],"inheritedFrom":{"type":"reference","id":10728,"name":"Instrument.unsync"}},{"id":10837,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":10838,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":10822,"name":"MonophonicOptions"},"overwrites":{"type":"reference","id":10718,"name":"Instrument.getDefaults"}}],"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":53,"character":19}],"overwrites":{"type":"reference","id":10718,"name":"Instrument.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[10834]},{"title":"Properties","kind":1024,"children":[10920,10948,10833,10832,10862,10882,10831,10861,10830,10863,10947]},{"title":"Accessors","kind":262144,"children":[10928,10888,10892,10896,10952,10883,10885,10926]},{"title":"Methods","kind":2048,"children":[10914,10900,10909,10880,10917,10942,10854,10924,10922,10944,10857,10864,10905,10933,10907,10930,10954,10936,10839,10874,10844,10872,10837]}],"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":20,"character":32}],"extendedTypes":[{"type":"reference","id":10707,"typeArguments":[{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":10822,"name":"MonophonicOptions"}}],"name":"Instrument"}],"extendedBy":[{"type":"reference","id":11098,"name":"Synth"},{"type":"reference","id":11239,"name":"ModulationSynth"},{"type":"reference","id":11895,"name":"MonoSynth"},{"type":"reference","id":12037,"name":"DuoSynth"},{"type":"reference","id":12330,"name":"MetalSynth"}]},{"id":19748,"name":"MultibandCompressor","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A compressor with separate controls over low/mid/high dynamics. See [[Compressor]] and [[MultibandSplit]]","tags":[{"tag":"example","text":"\nconst multiband = new Tone.MultibandCompressor({\n\tlowFrequency: 200,\n\thighFrequency: 1300,\n\tlow: {\n\t\tthreshold: -12\n\t}\n});"}]},"children":[{"id":19758,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":19759,"name":"new MultibandCompressor","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":19760,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":19741,"name":"MultibandCompressorOptions"}],"name":"RecursivePartial"}}],"type":{"type":"reference","id":19748,"name":"MultibandCompressor"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/component/dynamics/MultibandCompressor.ts","line":66,"character":27},{"fileName":"Tone/component/dynamics/MultibandCompressor.ts","line":68,"character":69}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":19802,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":19830,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":19757,"name":"high","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The compressor applied to the high frequencies"},"sources":[{"fileName":"Tone/component/dynamics/MultibandCompressor.ts","line":66,"character":14}],"type":{"type":"reference","id":19358,"name":"Compressor"}},{"id":19754,"name":"highFrequency","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"mid/high crossover frequency."},"sources":[{"fileName":"Tone/component/dynamics/MultibandCompressor.ts","line":51,"character":23}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"frequency"}],"name":"Signal"}},{"id":19750,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/dynamics/MultibandCompressor.ts","line":35,"character":15}],"type":{"type":"reference","id":1101,"name":"InputNode"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":19755,"name":"low","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The compressor applied to the low frequencies"},"sources":[{"fileName":"Tone/component/dynamics/MultibandCompressor.ts","line":56,"character":13}],"type":{"type":"reference","id":19358,"name":"Compressor"}},{"id":19753,"name":"lowFrequency","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"low/mid crossover frequency."},"sources":[{"fileName":"Tone/component/dynamics/MultibandCompressor.ts","line":46,"character":22}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"frequency"}],"name":"Signal"}},{"id":19756,"name":"mid","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The compressor applied to the mid frequencies"},"sources":[{"fileName":"Tone/component/dynamics/MultibandCompressor.ts","line":61,"character":13}],"type":{"type":"reference","id":19358,"name":"Compressor"}},{"id":19749,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/dynamics/MultibandCompressor.ts","line":33,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"MultibandCompressor\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":19751,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/dynamics/MultibandCompressor.ts","line":36,"character":16}],"type":{"type":"reference","id":1004,"name":"ToneAudioNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":19829,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":19810,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":19811,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":19770,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":19771,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":19772,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":19773,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":19774,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":19775,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":19776,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":19777,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":19778,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":19779,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":19780,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":19781,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":19834,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":19835,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":19765,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":19766,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":19767,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":19768,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":19808,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":19809,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":19796,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19797,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":19798,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":19782,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19783,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":19784,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":19785,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":19786,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":19791,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19792,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":19793,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":19794,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":19795,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":19763,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19764,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/component/dynamics/MultibandCompressor.ts","line":121,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":19799,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19800,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":19801,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":19824,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19825,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":19741,"name":"MultibandCompressorOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":19806,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19807,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":19804,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19805,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":19826,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19827,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":19828,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":19741,"name":"MultibandCompressorOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":19787,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19788,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":19815,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19816,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":19817,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":19789,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19790,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":19812,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19813,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":19814,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":19836,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19837,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":19818,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19819,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":19820,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":19761,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":19762,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":19741,"name":"MultibandCompressorOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/component/dynamics/MultibandCompressor.ts","line":93,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[19758]},{"title":"Properties","kind":1024,"children":[19802,19830,19757,19754,19750,19755,19753,19756,19749,19751,19829]},{"title":"Accessors","kind":262144,"children":[19810,19770,19774,19778,19834,19765,19767,19808]},{"title":"Methods","kind":2048,"children":[19796,19782,19791,19763,19799,19824,19806,19804,19826,19787,19815,19789,19812,19836,19818,19761]}],"sources":[{"fileName":"Tone/component/dynamics/MultibandCompressor.ts","line":31,"character":32}],"extendedTypes":[{"type":"reference","id":1004,"typeArguments":[{"type":"reference","id":19741,"name":"MultibandCompressorOptions"}],"name":"ToneAudioNode"}]},{"id":19003,"name":"MultibandSplit","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Split the incoming signal into three bands (low, mid, high)\nwith two crossover frequency controls.\n```\n           +----------------------+\n         +-> input < lowFrequency +------------------> low\n         | +----------------------+\n         |\n         | +--------------------------------------+\ninput ---+-> lowFrequency < input < highFrequency +--> mid\n         | +--------------------------------------+\n         |\n         | +-----------------------+\n         +-> highFrequency < input +-----------------> high\n           +-----------------------+\n```"},"children":[{"id":19015,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":19016,"name":"new MultibandSplit","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":19017,"name":"lowFrequency","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"the low/mid crossover frequency"},"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":19018,"name":"highFrequency","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"the mid/high crossover frequency\n"},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":19003,"name":"MultibandSplit"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":19019,"name":"new MultibandSplit","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":19020,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":18998,"name":"MultibandSplitOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":19003,"name":"MultibandSplit"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/component/channel/MultibandSplit.ts","line":98,"character":32},{"fileName":"Tone/component/channel/MultibandSplit.ts","line":104,"character":66},{"fileName":"Tone/component/channel/MultibandSplit.ts","line":105,"character":55}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":19014,"name":"Q","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The Q or Quality of the filter"},"sources":[{"fileName":"Tone/component/channel/MultibandSplit.ts","line":98,"character":11}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"positive"}],"name":"Signal"}},{"id":19061,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":19089,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":19010,"name":"high","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The high band output."},"sources":[{"fileName":"Tone/component/channel/MultibandSplit.ts","line":77,"character":14}],"type":{"type":"reference","id":11618,"name":"Filter"},"defaultValue":"new Filter({\n\t\tcontext: this.context,\n\t\tfrequency: 0,\n\t\ttype: \"highpass\",\n\t})"},{"id":19012,"name":"highFrequency","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The mid/high crossover frequency."},"sources":[{"fileName":"Tone/component/channel/MultibandSplit.ts","line":91,"character":23}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"frequency"}],"name":"Signal"}},{"id":19005,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"the input"},"sources":[{"fileName":"Tone/component/channel/MultibandSplit.ts","line":40,"character":15}],"type":{"type":"reference","id":1143,"typeArguments":[{"type":"stringLiteral","value":"gain"}],"name":"Gain"},"defaultValue":"new Gain({ context: this.context })","overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":19007,"name":"low","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The low band."},"sources":[{"fileName":"Tone/component/channel/MultibandSplit.ts","line":50,"character":13}],"type":{"type":"reference","id":11618,"name":"Filter"},"defaultValue":"new Filter({\n\t\tcontext: this.context,\n\t\tfrequency: 0,\n\t\ttype: \"lowpass\",\n\t})"},{"id":19011,"name":"lowFrequency","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The low/mid crossover frequency."},"sources":[{"fileName":"Tone/component/channel/MultibandSplit.ts","line":86,"character":22}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"frequency"}],"name":"Signal"}},{"id":19009,"name":"mid","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The mid band output."},"sources":[{"fileName":"Tone/component/channel/MultibandSplit.ts","line":68,"character":13}],"type":{"type":"reference","id":11618,"name":"Filter"},"defaultValue":"new Filter({\n\t\tcontext: this.context,\n\t\tfrequency: 0,\n\t\ttype: \"lowpass\",\n\t})"},{"id":19004,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/channel/MultibandSplit.ts","line":35,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"MultibandSplit\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":19006,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"no output node, use either low, mid or high outputs"},"sources":[{"fileName":"Tone/component/channel/MultibandSplit.ts","line":45,"character":16}],"type":{"type":"intrinsic","name":"undefined"},"defaultValue":"undefined","overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":19088,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":19069,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":19070,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":19029,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":19030,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":19031,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":19032,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":19033,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":19034,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":19035,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":19036,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":19037,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":19038,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":19039,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":19040,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":19093,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":19094,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":19025,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":19026,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":19027,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":19028,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":19067,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":19068,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":19055,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19056,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":19057,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":19041,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19042,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":19043,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":19044,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":19045,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":19050,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19051,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":19052,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":19053,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":19054,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":19023,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19024,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Clean up."},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/component/channel/MultibandSplit.ts","line":153,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":19058,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19059,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":19060,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":19083,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19084,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":18998,"name":"MultibandSplitOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":19065,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19066,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":19063,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19064,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":19085,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19086,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":19087,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":18998,"name":"MultibandSplitOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":19046,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19047,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":19074,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19075,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":19076,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":19048,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19049,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":19071,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19072,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":19073,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":19095,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19096,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":19077,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19078,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":19079,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":19021,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":19022,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":18998,"name":"MultibandSplitOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/component/channel/MultibandSplit.ts","line":142,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[19015]},{"title":"Properties","kind":1024,"children":[19014,19061,19089,19010,19012,19005,19007,19011,19009,19004,19006,19088]},{"title":"Accessors","kind":262144,"children":[19069,19029,19033,19037,19093,19025,19027,19067]},{"title":"Methods","kind":2048,"children":[19055,19041,19050,19023,19058,19083,19065,19063,19085,19046,19074,19048,19071,19095,19077,19021]}],"sources":[{"fileName":"Tone/component/channel/MultibandSplit.ts","line":33,"character":27}],"extendedTypes":[{"type":"reference","id":1004,"typeArguments":[{"type":"reference","id":18998,"name":"MultibandSplitOptions"}],"name":"ToneAudioNode"}]},{"id":7189,"name":"Multiply","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Multiply two incoming signals. Or, if a number is given in the constructor,\nmultiplies the incoming signal by that value.","tags":[{"tag":"example","text":"\n// multiply two signals\nconst mult = new Tone.Multiply();\nconst sigA = new Tone.Signal(3);\nconst sigB = new Tone.Signal(4);\nsigA.connect(mult);\nsigB.connect(mult.factor);\n// output of mult is 12."},{"tag":"example","text":"\n// multiply a signal and a number\nconst mult = new Tone.Multiply(10);\nconst sig = new Tone.Signal(2).connect(mult);\n// the output of mult is 20."}]},"typeParameter":[{"id":7190,"name":"TypeName","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"number"},{"type":"stringLiteral","value":"positive"}]}}],"children":[{"id":7197,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":7198,"name":"new Multiply","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":7199,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Constant value to multiple\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}}],"type":{"type":"reference","id":7189,"name":"Multiply"},"overwrites":{"type":"reference","id":1511,"name":"Signal.__constructor"}},{"id":7200,"name":"new Multiply","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":7201,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":1495,"typeArguments":[{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"number"},{"type":"stringLiteral","value":"positive"}]}}],"name":"SignalOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":7189,"name":"Multiply"},"overwrites":{"type":"reference","id":1511,"name":"Signal.__constructor"}}],"sources":[{"fileName":"Tone/signal/Multiply.ts","line":53,"character":25},{"fileName":"Tone/signal/Multiply.ts","line":58,"character":29},{"fileName":"Tone/signal/Multiply.ts","line":59,"character":57}],"overwrites":{"type":"reference","id":1511,"name":"Signal.__constructor"}},{"id":7326,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":7354,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":7196,"name":"factor","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The multiplication factor. Can be set directly or a signal can be connected to it."},"sources":[{"fileName":"Tone/signal/Multiply.ts","line":53,"character":7}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"number"},{"type":"stringLiteral","value":"positive"}]}}],"name":"Param"}},{"id":7194,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The multiplicand input."},"sources":[{"fileName":"Tone/signal/Multiply.ts","line":43,"character":6}],"type":{"type":"reference","id":1101,"name":"InputNode"},"overwrites":{"type":"reference","id":1510,"name":"Signal.input"}},{"id":7191,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/signal/Multiply.ts","line":28,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Multiply\"","overwrites":{"type":"reference","id":1505,"name":"Signal.name"}},{"id":7195,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The product of the input and [[factor]]"},"sources":[{"fileName":"Tone/signal/Multiply.ts","line":48,"character":7}],"type":{"type":"reference","id":1102,"name":"OutputNode"},"overwrites":{"type":"reference","id":1508,"name":"Signal.output"}},{"id":7192,"name":"override","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"Indicates if the value should be overridden on connection"},"sources":[{"fileName":"Tone/signal/Multiply.ts","line":33,"character":18}],"type":{"type":"intrinsic","name":"false"},"defaultValue":"false","overwrites":{"type":"reference","id":1506,"name":"Signal.override"}},{"id":7353,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":7334,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":7335,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":7299,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":7300,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":7301,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":7302,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":7303,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":7304,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":7305,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":7306,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":7307,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":7308,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":7309,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":7310,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":7277,"name":"convert","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":7278,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":1590,"name":"Signal.convert"}}],"setSignature":[{"id":7279,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":7280,"name":"convert","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1590,"name":"Signal.convert"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":169,"character":12},{"fileName":"Tone/signal/Signal.ts","line":172,"character":12}],"inheritedFrom":{"type":"reference","id":1590,"name":"Signal.convert"}},{"id":7358,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":7359,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":7287,"name":"maxValue","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":7288,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1600,"name":"Signal.maxValue"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":187,"character":13}],"inheritedFrom":{"type":"reference","id":1600,"name":"Signal.maxValue"}},{"id":7289,"name":"minValue","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":7290,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1602,"name":"Signal.minValue"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":190,"character":13}],"inheritedFrom":{"type":"reference","id":1602,"name":"Signal.minValue"}},{"id":7294,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":7295,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":7296,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":7297,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":7283,"name":"overridden","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":7284,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":1596,"name":"Signal.overridden"}}],"setSignature":[{"id":7285,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":7286,"name":"overridden","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1596,"name":"Signal.overridden"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":180,"character":15},{"fileName":"Tone/signal/Signal.ts","line":183,"character":15}],"inheritedFrom":{"type":"reference","id":1596,"name":"Signal.overridden"}},{"id":7332,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":7333,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":7281,"name":"units","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":7282,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"reference","id":46,"name":"UnitName"},"inheritedFrom":{"type":"reference","id":1594,"name":"Signal.units"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":176,"character":10}],"inheritedFrom":{"type":"reference","id":1594,"name":"Signal.units"}},{"id":7273,"name":"value","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":7274,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"number"},{"type":"stringLiteral","value":"positive"}]}},"objectType":{"type":"reference","name":"UnitMap"}},"inheritedFrom":{"type":"reference","id":1586,"name":"Signal.value"}}],"setSignature":[{"id":7275,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":7276,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"number"},{"type":"stringLiteral","value":"positive"}]}},"objectType":{"type":"reference","name":"UnitMap"}}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1586,"name":"Signal.value"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":162,"character":10},{"fileName":"Tone/signal/Signal.ts","line":165,"character":10}],"inheritedFrom":{"type":"reference","id":1586,"name":"Signal.value"}},{"id":7291,"name":"apply","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7292,"name":"apply","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"See [[Param.apply]]."},"parameters":[{"id":7293,"name":"param","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"reference","id":826,"name":"Param"},{"type":"reference","name":"AudioParam"}]}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1604,"name":"Signal.apply"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":197,"character":6}],"inheritedFrom":{"type":"reference","id":1604,"name":"Signal.apply"}},{"id":7265,"name":"cancelAndHoldAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7266,"name":"cancelAndHoldAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":7267,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1578,"name":"Signal.cancelAndHoldAtTime"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":153,"character":20}],"inheritedFrom":{"type":"reference","id":1578,"name":"Signal.cancelAndHoldAtTime"}},{"id":7262,"name":"cancelScheduledValues","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7263,"name":"cancelScheduledValues","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":7264,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1575,"name":"Signal.cancelScheduledValues"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":149,"character":22}],"inheritedFrom":{"type":"reference","id":1575,"name":"Signal.cancelScheduledValues"}},{"id":7320,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7321,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":7322,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":7208,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7209,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":7210,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":7211,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":7212,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"},"inheritedFrom":{"type":"reference","id":1519,"name":"Signal.connect"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":87,"character":8}],"overwrites":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"},"inheritedFrom":{"type":"reference","id":1519,"name":"Signal.connect"}},{"id":7315,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7316,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":7317,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":7318,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":7319,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":7204,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7205,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1524,"name":"Signal.dispose"}}],"sources":[{"fileName":"Tone/signal/Multiply.ts","line":80,"character":8}],"overwrites":{"type":"reference","id":1524,"name":"Signal.dispose"}},{"id":7246,"name":"exponentialApproachValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7247,"name":"exponentialApproachValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":7248,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"number"},{"type":"stringLiteral","value":"positive"}]}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":7249,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":7250,"name":"rampTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1559,"name":"Signal.exponentialApproachValueAtTime"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":137,"character":31}],"inheritedFrom":{"type":"reference","id":1559,"name":"Signal.exponentialApproachValueAtTime"}},{"id":7231,"name":"exponentialRampTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7232,"name":"exponentialRampTo","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":7233,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"number"},{"type":"stringLiteral","value":"positive"}]}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":7234,"name":"rampTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":7235,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1544,"name":"Signal.exponentialRampTo"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":125,"character":18}],"inheritedFrom":{"type":"reference","id":1544,"name":"Signal.exponentialRampTo"}},{"id":7227,"name":"exponentialRampToValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7228,"name":"exponentialRampToValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":7229,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"number"},{"type":"stringLiteral","value":"positive"}]}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":7230,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1540,"name":"Signal.exponentialRampToValueAtTime"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":121,"character":29}],"inheritedFrom":{"type":"reference","id":1540,"name":"Signal.exponentialRampToValueAtTime"}},{"id":7323,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7324,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":7325,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":7348,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7349,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":1495,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"SignalOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":7217,"name":"getValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7218,"name":"getValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":7219,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"number"},{"type":"stringLiteral","value":"positive"}]}},"objectType":{"type":"reference","name":"UnitMap"}},"inheritedFrom":{"type":"reference","id":1530,"name":"Signal.getValueAtTime"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":110,"character":15}],"inheritedFrom":{"type":"reference","id":1530,"name":"Signal.getValueAtTime"}},{"id":7330,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7331,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":7236,"name":"linearRampTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7237,"name":"linearRampTo","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":7238,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"number"},{"type":"stringLiteral","value":"positive"}]}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":7239,"name":"rampTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":7240,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1549,"name":"Signal.linearRampTo"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":129,"character":13}],"inheritedFrom":{"type":"reference","id":1549,"name":"Signal.linearRampTo"}},{"id":7223,"name":"linearRampToValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7224,"name":"linearRampToValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":7225,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"number"},{"type":"stringLiteral","value":"positive"}]}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":7226,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1536,"name":"Signal.linearRampToValueAtTime"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":117,"character":24}],"inheritedFrom":{"type":"reference","id":1536,"name":"Signal.linearRampToValueAtTime"}},{"id":7328,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7329,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":7268,"name":"rampTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7269,"name":"rampTo","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":7270,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"number"},{"type":"stringLiteral","value":"positive"}]}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":7271,"name":"rampTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":7272,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1581,"name":"Signal.rampTo"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":157,"character":7}],"inheritedFrom":{"type":"reference","id":1581,"name":"Signal.rampTo"}},{"id":7350,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7351,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":7352,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":1495,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"SignalOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":7220,"name":"setRampPoint","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7221,"name":"setRampPoint","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":7222,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1533,"name":"Signal.setRampPoint"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":113,"character":13}],"inheritedFrom":{"type":"reference","id":1533,"name":"Signal.setRampPoint"}},{"id":7251,"name":"setTargetAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7252,"name":"setTargetAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":7253,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"number"},{"type":"stringLiteral","value":"positive"}]}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":7254,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":7255,"name":"timeConstant","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1564,"name":"Signal.setTargetAtTime"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":141,"character":16}],"inheritedFrom":{"type":"reference","id":1564,"name":"Signal.setTargetAtTime"}},{"id":7213,"name":"setValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7214,"name":"setValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":7215,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"number"},{"type":"stringLiteral","value":"positive"}]}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":7216,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1526,"name":"Signal.setValueAtTime"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":106,"character":15}],"inheritedFrom":{"type":"reference","id":1526,"name":"Signal.setValueAtTime"}},{"id":7256,"name":"setValueCurveAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7257,"name":"setValueCurveAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":7258,"name":"values","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"array","elementType":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"number"},{"type":"stringLiteral","value":"positive"}]}},"objectType":{"type":"reference","name":"UnitMap"}}}},{"id":7259,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":7260,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":7261,"name":"scaling","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1569,"name":"Signal.setValueCurveAtTime"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":145,"character":20}],"inheritedFrom":{"type":"reference","id":1569,"name":"Signal.setValueCurveAtTime"}},{"id":7241,"name":"targetRampTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7242,"name":"targetRampTo","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":7243,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"number"},{"type":"stringLiteral","value":"positive"}]}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":7244,"name":"rampTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":7245,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1554,"name":"Signal.targetRampTo"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":133,"character":13}],"inheritedFrom":{"type":"reference","id":1554,"name":"Signal.targetRampTo"}},{"id":7311,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7312,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":7339,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7340,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":7341,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":7313,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7314,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":7336,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7337,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":7338,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":7360,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7361,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":7342,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7343,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":7344,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":7202,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":7203,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":1495,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"SignalOptions"},"overwrites":{"type":"reference","id":1517,"name":"Signal.getDefaults"}}],"sources":[{"fileName":"Tone/signal/Multiply.ts","line":74,"character":19}],"overwrites":{"type":"reference","id":1517,"name":"Signal.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[7197]},{"title":"Properties","kind":1024,"children":[7326,7354,7196,7194,7191,7195,7192,7353]},{"title":"Accessors","kind":262144,"children":[7334,7299,7303,7307,7277,7358,7287,7289,7294,7296,7283,7332,7281,7273]},{"title":"Methods","kind":2048,"children":[7291,7265,7262,7320,7208,7315,7204,7246,7231,7227,7323,7348,7217,7330,7236,7223,7328,7268,7350,7220,7251,7213,7256,7241,7311,7339,7313,7336,7360,7342,7202]}],"sources":[{"fileName":"Tone/signal/Multiply.ts","line":26,"character":21}],"extendedTypes":[{"type":"reference","id":1503,"typeArguments":[{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"number"},{"type":"stringLiteral","value":"positive"}]}}],"name":"Signal"}],"implementedTypes":[{"type":"reference","id":739,"typeArguments":[{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"number"},{"type":"stringLiteral","value":"positive"}]}}],"name":"AbstractParam"}]},{"id":9628,"name":"Negate","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Negate the incoming signal. i.e. an input signal of 10 will output -10","tags":[{"tag":"example","text":"\nconst neg = new Tone.Negate();\nconst sig = new Tone.Signal(-2).connect(neg);\n// output of neg is positive 2."}]},"children":[{"id":9635,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":9636,"name":"new Negate","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":9637,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":9628,"name":"Negate"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"},"inheritedFrom":{"type":"reference","id":6909,"name":"SignalOperator.__constructor"}}],"sources":[{"fileName":"Tone/signal/SignalOperator.ts","line":10,"character":108},{"fileName":"Tone/signal/SignalOperator.ts","line":12,"character":41}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"},"inheritedFrom":{"type":"reference","id":6909,"name":"SignalOperator.__constructor"}},{"id":9675,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":9705,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":9631,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The input and output are equal to the multiply node"},"sources":[{"fileName":"Tone/signal/Negate.ts","line":29,"character":6}],"type":{"type":"reference","id":7189,"typeArguments":[{"type":"stringLiteral","value":"number"}],"name":"Multiply"},"defaultValue":"this._multiply","overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":9629,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/signal/Negate.ts","line":16,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Negate\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":9632,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/signal/Negate.ts","line":30,"character":7}],"type":{"type":"reference","id":7189,"typeArguments":[{"type":"stringLiteral","value":"number"}],"name":"Multiply"},"defaultValue":"this._multiply","overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":9704,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":9685,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":9686,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":9648,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":9649,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":9650,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":9651,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":9652,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":9653,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":9654,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":9655,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":9656,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":9657,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":9658,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":9659,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":9709,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":9710,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":9643,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":9644,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":9645,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":9646,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":9683,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":9684,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":9669,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9670,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":9671,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":9638,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9639,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":9640,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":9641,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":9642,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"},"inheritedFrom":{"type":"reference","id":6912,"name":"SignalOperator.connect"}}],"sources":[{"fileName":"Tone/signal/SignalOperator.ts","line":17,"character":8}],"overwrites":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"},"inheritedFrom":{"type":"reference","id":6912,"name":"SignalOperator.connect"}},{"id":9664,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9665,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":9666,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":9667,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":9668,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":9633,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9634,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"clean up","returns":"this\n"},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/signal/Negate.ts","line":36,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":9672,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9673,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":9674,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":9699,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9700,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":9681,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9682,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":9679,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9680,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":9701,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9702,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":9703,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":9660,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9661,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":9690,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9691,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":9692,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":9662,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9663,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":9687,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9688,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":9689,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":9711,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9712,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":9693,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9694,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":9695,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":9677,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":9678,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":4791,"name":"ToneWithContextOptions"},"overwrites":{"type":"reference","id":51,"name":"Tone.getDefaults"},"inheritedFrom":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":51,"character":19}],"overwrites":{"type":"reference","id":51,"name":"Tone.getDefaults"},"inheritedFrom":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[9635]},{"title":"Properties","kind":1024,"children":[9675,9705,9631,9629,9632,9704]},{"title":"Accessors","kind":262144,"children":[9685,9648,9652,9656,9709,9643,9645,9683]},{"title":"Methods","kind":2048,"children":[9669,9638,9664,9633,9672,9699,9681,9679,9701,9660,9690,9662,9687,9711,9693,9677]}],"sources":[{"fileName":"Tone/signal/Negate.ts","line":14,"character":19}],"extendedTypes":[{"type":"reference","id":6907,"typeArguments":[{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"}],"name":"SignalOperator"}]},{"id":5895,"name":"Noise","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Noise is a noise generator. It uses looped noise buffers to save on performance.\nNoise supports the noise types: \"pink\", \"white\", and \"brown\". Read more about\ncolors of noise on [Wikipedia](https://en.wikipedia.org/wiki/Colors_of_noise).","tags":[{"tag":"example","text":"\n// initialize the noise and start\nconst noise = new Tone.Noise(\"pink\").start();\n// make an autofilter to shape the noise\nconst autoFilter = new Tone.AutoFilter({\n\tfrequency: \"8n\",\n\tbaseFrequency: 200,\n\toctaves: 8\n}).toDestination().start();\n// connect the noise\nnoise.connect(autoFilter);\n// start the autofilter LFO\nautoFilter.start();"}]},"children":[{"id":5902,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":5903,"name":"new Noise","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":5904,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"the noise type (white|pink|brown)\n"},"type":{"type":"reference","id":6047,"name":"NoiseType"}}],"type":{"type":"reference","id":5895,"name":"Noise"},"overwrites":{"type":"reference","id":5586,"name":"Source.__constructor"}},{"id":5905,"name":"new Noise","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":5906,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":5886,"name":"NoiseOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":5895,"name":"Noise"},"overwrites":{"type":"reference","id":5586,"name":"Source.__constructor"}}],"sources":[{"fileName":"Tone/source/Noise.ts","line":65,"character":26},{"fileName":"Tone/source/Noise.ts","line":70,"character":31},{"fileName":"Tone/source/Noise.ts","line":71,"character":46}],"overwrites":{"type":"reference","id":5586,"name":"Source.__constructor"}},{"id":6008,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":6036,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":5939,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Sources have no inputs"},"sources":[{"fileName":"Tone/source/Source.ts","line":54,"character":6}],"type":{"type":"intrinsic","name":"undefined"},"defaultValue":"undefined","overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":5567,"name":"Source.input"}},{"id":5896,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/source/Noise.ts","line":39,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Noise\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":5941,"name":"onstop","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The callback to invoke when the source is stopped."},"sources":[{"fileName":"Tone/source/Source.ts","line":67,"character":7}],"type":{"type":"reference","id":5706,"name":"onStopCallback"},"inheritedFrom":{"type":"reference","id":5569,"name":"Source.onstop"}},{"id":5938,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The output note"},"sources":[{"fileName":"Tone/source/Source.ts","line":49,"character":7}],"type":{"type":"reference","id":1102,"name":"OutputNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":5566,"name":"Source.output"}},{"id":5940,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The volume of the output in decibels.","tags":[{"tag":"example","text":"\nconst source = new Tone.PWMOscillator().toDestination();\nsource.volume.value = -6;\n"}]},"sources":[{"fileName":"Tone/source/Source.ts","line":62,"character":7}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"decibels"}],"name":"Param"},"inheritedFrom":{"type":"reference","id":5568,"name":"Source.volume"}},{"id":6035,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":6016,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":6017,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":5976,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":5977,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":5978,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":5979,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":5980,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":5981,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":5982,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":5983,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":5984,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":5985,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":5986,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":5987,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":6040,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":6041,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":5923,"name":"fadeIn","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The fadeIn time of the amplitude envelope."},"getSignature":[{"id":5924,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The fadeIn time of the amplitude envelope."},"type":{"type":"reference","id":31,"name":"Time"}}],"setSignature":[{"id":5925,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The fadeIn time of the amplitude envelope."},"parameters":[{"id":5926,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"number"},{"type":"reflection","declaration":{"id":5927,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true}}}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/Noise.ts","line":157,"character":11},{"fileName":"Tone/source/Noise.ts","line":160,"character":11}]},{"id":5928,"name":"fadeOut","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The fadeOut time of the amplitude envelope."},"getSignature":[{"id":5929,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The fadeOut time of the amplitude envelope."},"type":{"type":"reference","id":31,"name":"Time"}}],"setSignature":[{"id":5930,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The fadeOut time of the amplitude envelope."},"parameters":[{"id":5931,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"number"},{"type":"reflection","declaration":{"id":5932,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true}}}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/Noise.ts","line":170,"character":12},{"fileName":"Tone/source/Noise.ts","line":173,"character":12}]},{"id":5950,"name":"mute","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Mute the output.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination().start();\n// mute the output\nosc.mute = true;\n"}]},"getSignature":[{"id":5951,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Mute the output.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination().start();\n// mute the output\nosc.mute = true;\n"}]},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":5593,"name":"Source.mute"}}],"setSignature":[{"id":5952,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"Mute the output.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination().start();\n// mute the output\nosc.mute = true;\n"}]},"parameters":[{"id":5953,"name":"mute","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":5593,"name":"Source.mute"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":148,"character":9},{"fileName":"Tone/source/Source.ts","line":151,"character":9}],"inheritedFrom":{"type":"reference","id":5593,"name":"Source.mute"}},{"id":5971,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":5972,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":5973,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":5974,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":5913,"name":"playbackRate","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The playback rate of the noise. Affects\nthe \"frequency\" of the noise."},"getSignature":[{"id":5914,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The playback rate of the noise. Affects\nthe \"frequency\" of the noise."},"type":{"type":"reference","id":27,"name":"Positive"}}],"setSignature":[{"id":5915,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The playback rate of the noise. Affects\nthe \"frequency\" of the noise."},"parameters":[{"id":5916,"name":"rate","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":27,"name":"Positive"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/Noise.ts","line":117,"character":17},{"fileName":"Tone/source/Noise.ts","line":120,"character":17}]},{"id":6014,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":6015,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":5948,"name":"state","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Returns the playback state of the source, either \"started\" or \"stopped\".","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/ahntone_c3.mp3\", () => {\n\tplayer.start();\n\tconsole.log(player.state);\n}).toDestination();\n"}]},"getSignature":[{"id":5949,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Returns the playback state of the source, either \"started\" or \"stopped\".","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/ahntone_c3.mp3\", () => {\n\tplayer.start();\n\tconsole.log(player.state);\n}).toDestination();\n"}]},"type":{"type":"reference","id":705,"name":"BasicPlaybackState"},"inheritedFrom":{"type":"reference","id":5591,"name":"Source.state"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":129,"character":10}],"inheritedFrom":{"type":"reference","id":5591,"name":"Source.state"}},{"id":5909,"name":"type","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The type of the noise. Can be \"white\", \"brown\", or \"pink\".","tags":[{"tag":"example","text":"\nconst noise = new Tone.Noise().toDestination().start();\nnoise.type = \"brown\";\n"}]},"getSignature":[{"id":5910,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The type of the noise. Can be \"white\", \"brown\", or \"pink\".","tags":[{"tag":"example","text":"\nconst noise = new Tone.Noise().toDestination().start();\nnoise.type = \"brown\";\n"}]},"type":{"type":"reference","id":6047,"name":"NoiseType"}}],"setSignature":[{"id":5911,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The type of the noise. Can be \"white\", \"brown\", or \"pink\".","tags":[{"tag":"example","text":"\nconst noise = new Tone.Noise().toDestination().start();\nnoise.type = \"brown\";\n"}]},"parameters":[{"id":5912,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":6047,"name":"NoiseType"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/Noise.ts","line":97,"character":9},{"fileName":"Tone/source/Noise.ts","line":100,"character":9}]},{"id":6002,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6003,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":6004,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":5988,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5989,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":5990,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":5991,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":5992,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":5997,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5998,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":5999,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":6000,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":6001,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":5936,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5937,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Clean up."},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":5630,"name":"Source.dispose"}}],"sources":[{"fileName":"Tone/source/Noise.ts","line":189,"character":8}],"overwrites":{"type":"reference","id":5630,"name":"Source.dispose"}},{"id":6005,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6006,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":6007,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":6030,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6031,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":5886,"name":"NoiseOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":6012,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6013,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":6010,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6011,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":5962,"name":"restart","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5963,"name":"restart","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Restart the source."},"parameters":[{"id":5964,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":5965,"name":"offset","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":5966,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":5621,"name":"Source.restart"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":249,"character":8}],"inheritedFrom":{"type":"reference","id":5621,"name":"Source.restart"}},{"id":6032,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6033,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":6034,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":5886,"name":"NoiseOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":5954,"name":"start","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5955,"name":"start","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Start the source at the specified time. If no time is given,\nstart the source now.","tags":[{"tag":"example","text":"\nconst source = new Tone.Oscillator().toDestination();\nsource.start(\"+0.5\"); // starts the source 0.5 seconds from now\n"}]},"parameters":[{"id":5956,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the source should be started."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":5957,"name":"offset","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":5958,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":5613,"name":"Source.start"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":180,"character":6}],"inheritedFrom":{"type":"reference","id":5613,"name":"Source.start"}},{"id":5959,"name":"stop","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5960,"name":"stop","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Stop the source at the specified time. If no time is given,\nstop the source now.","tags":[{"tag":"example","text":"\nconst source = new Tone.Oscillator().toDestination();\nsource.start();\nsource.stop(\"+0.5\"); // stops the source 0.5 seconds from now\n"}]},"parameters":[{"id":5961,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the source should be stopped."},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":5618,"name":"Source.stop"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":229,"character":5}],"inheritedFrom":{"type":"reference","id":5618,"name":"Source.stop"}},{"id":5967,"name":"sync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5968,"name":"sync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Sync the source to the Transport so that all subsequent\ncalls to `start` and `stop` are synced to the TransportTime\ninstead of the AudioContext time.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination();\n// sync the source so that it plays between 0 and 0.3 on the Transport's timeline\nosc.sync().start(0).stop(0.3);\n// start the transport.\nTone.Transport.start();\n// set it to loop once a second\nTone.Transport.loop = true;\nTone.Transport.loopEnd = 1;\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":5626,"name":"Source.sync"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":273,"character":5}],"inheritedFrom":{"type":"reference","id":5626,"name":"Source.sync"}},{"id":5993,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5994,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":6021,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6022,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":6023,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":5995,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5996,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":6018,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6019,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":6020,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":6042,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6043,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":6024,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6025,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":6026,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":5969,"name":"unsync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5970,"name":"unsync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Unsync the source to the Transport. See Source.sync"},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":5628,"name":"Source.unsync"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":310,"character":7}],"inheritedFrom":{"type":"reference","id":5628,"name":"Source.unsync"}},{"id":5907,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":5908,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":5886,"name":"NoiseOptions"},"overwrites":{"type":"reference","id":5589,"name":"Source.getDefaults"}}],"sources":[{"fileName":"Tone/source/Noise.ts","line":82,"character":19}],"overwrites":{"type":"reference","id":5589,"name":"Source.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[5902]},{"title":"Properties","kind":1024,"children":[6008,6036,5939,5896,5941,5938,5940,6035]},{"title":"Accessors","kind":262144,"children":[6016,5976,5980,5984,6040,5923,5928,5950,5971,5973,5913,6014,5948,5909]},{"title":"Methods","kind":2048,"children":[6002,5988,5997,5936,6005,6030,6012,6010,5962,6032,5954,5959,5967,5993,6021,5995,6018,6042,6024,5969,5907]}],"sources":[{"fileName":"Tone/source/Noise.ts","line":37,"character":18}],"extendedTypes":[{"type":"reference","id":5563,"typeArguments":[{"type":"reference","id":5886,"name":"NoiseOptions"}],"name":"Source"}]},{"id":12627,"name":"NoiseSynth","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Tone.NoiseSynth is composed of [[Noise]] through an [[AmplitudeEnvelope]].\n```\n+-------+   +-------------------+\n| Noise +>--> AmplitudeEnvelope +>--> Output\n+-------+   +-------------------+\n```","tags":[{"tag":"example","text":"\nconst noiseSynth = new Tone.NoiseSynth().toDestination();\nnoiseSynth.triggerAttackRelease(\"8n\", 0.05);"}]},"children":[{"id":12631,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":12632,"name":"new NoiseSynth","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":12633,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":12622,"name":"NoiseSynthOptions"}],"name":"RecursivePartial"}}],"type":{"type":"reference","id":12627,"name":"NoiseSynth"},"overwrites":{"type":"reference","id":10715,"name":"Instrument.__constructor"}}],"sources":[{"fileName":"Tone/instrument/NoiseSynth.ts","line":40,"character":38},{"fileName":"Tone/instrument/NoiseSynth.ts","line":42,"character":59}],"overwrites":{"type":"reference","id":10715,"name":"Instrument.__constructor"}},{"id":12700,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":12728,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":12630,"name":"envelope","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The amplitude envelope."},"sources":[{"fileName":"Tone/instrument/NoiseSynth.ts","line":40,"character":18}],"type":{"type":"reference","id":10960,"name":"AmplitudeEnvelope"}},{"id":12653,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The instrument only has an output"},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":26,"character":6}],"type":{"type":"intrinsic","name":"undefined"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":10711,"name":"Instrument.input"}},{"id":12628,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/instrument/NoiseSynth.ts","line":30,"character":14}],"type":{"type":"stringLiteral","value":"NoiseSynth"},"defaultValue":"\"NoiseSynth\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":12629,"name":"noise","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The noise source."},"sources":[{"fileName":"Tone/instrument/NoiseSynth.ts","line":35,"character":15}],"type":{"type":"reference","id":5895,"name":"Noise"}},{"id":12652,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":21,"character":7}],"type":{"type":"reference","id":1102,"name":"OutputNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":10710,"name":"Instrument.output"}},{"id":12654,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The volume of the output in decibels.","tags":[{"tag":"example","text":"\nconst amSynth = new Tone.AMSynth().toDestination();\namSynth.volume.value = -6;\namSynth.triggerAttackRelease(\"G#3\", 0.2);\n"}]},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":35,"character":7}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"decibels"}],"name":"Param"},"inheritedFrom":{"type":"reference","id":10712,"name":"Instrument.volume"}},{"id":12727,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":12708,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":12709,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":12668,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":12669,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":12670,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":12671,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":12672,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":12673,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":12674,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":12675,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":12676,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":12677,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":12678,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":12679,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":12732,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":12733,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":12663,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":12664,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":12665,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":12666,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":12706,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":12707,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":12694,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12695,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":12696,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":12680,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12681,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":12682,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":12683,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":12684,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":12689,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12690,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":12691,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":12692,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":12693,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":12650,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12651,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":10746,"name":"Instrument.dispose"}}],"sources":[{"fileName":"Tone/instrument/NoiseSynth.ts","line":121,"character":8}],"overwrites":{"type":"reference","id":10746,"name":"Instrument.dispose"}},{"id":12697,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12698,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":12699,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":12722,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12723,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":12622,"name":"NoiseSynthOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":12704,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12705,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":12702,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12703,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":12724,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12725,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":12726,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":12622,"name":"NoiseSynthOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":12643,"name":"sync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12644,"name":"sync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":10720,"name":"Instrument.sync"}}],"sources":[{"fileName":"Tone/instrument/NoiseSynth.ts","line":105,"character":5}],"overwrites":{"type":"reference","id":10720,"name":"Instrument.sync"}},{"id":12685,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12686,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":12713,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12714,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":12715,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":12687,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12688,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":12710,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12711,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":12712,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":12734,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12735,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":12716,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12717,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":12718,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":12636,"name":"triggerAttack","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12637,"name":"triggerAttack","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Start the attack portion of the envelopes. Unlike other\ninstruments, Tone.NoiseSynth doesn't have a note.","tags":[{"tag":"example","text":"\nconst noiseSynth = new Tone.NoiseSynth().toDestination();\nnoiseSynth.triggerAttack();\n"}]},"parameters":[{"id":12638,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":12639,"name":"velocity","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":23,"name":"NormalRange"},"defaultValue":"1"}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":10736,"name":"Instrument.triggerAttack"}}],"sources":[{"fileName":"Tone/instrument/NoiseSynth.ts","line":83,"character":14}],"overwrites":{"type":"reference","id":10736,"name":"Instrument.triggerAttack"}},{"id":12645,"name":"triggerAttackRelease","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12646,"name":"triggerAttackRelease","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":12647,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":12648,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":12649,"name":"velocity","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":23,"name":"NormalRange"},"defaultValue":"1"}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":10730,"name":"Instrument.triggerAttackRelease"}}],"sources":[{"fileName":"Tone/instrument/NoiseSynth.ts","line":113,"character":21}],"overwrites":{"type":"reference","id":10730,"name":"Instrument.triggerAttackRelease"}},{"id":12640,"name":"triggerRelease","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12641,"name":"triggerRelease","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Start the release portion of the envelopes."},"parameters":[{"id":12642,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":10742,"name":"Instrument.triggerRelease"}}],"sources":[{"fileName":"Tone/instrument/NoiseSynth.ts","line":98,"character":15}],"overwrites":{"type":"reference","id":10742,"name":"Instrument.triggerRelease"}},{"id":12661,"name":"unsync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12662,"name":"unsync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Unsync the instrument from the Transport"},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":10728,"name":"Instrument.unsync"}}],"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":122,"character":7}],"inheritedFrom":{"type":"reference","id":10728,"name":"Instrument.unsync"}},{"id":12634,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":12635,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":12622,"name":"NoiseSynthOptions"},"overwrites":{"type":"reference","id":10718,"name":"Instrument.getDefaults"}}],"sources":[{"fileName":"Tone/instrument/NoiseSynth.ts","line":58,"character":19}],"overwrites":{"type":"reference","id":10718,"name":"Instrument.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[12631]},{"title":"Properties","kind":1024,"children":[12700,12728,12630,12653,12628,12629,12652,12654,12727]},{"title":"Accessors","kind":262144,"children":[12708,12668,12672,12676,12732,12663,12665,12706]},{"title":"Methods","kind":2048,"children":[12694,12680,12689,12650,12697,12722,12704,12702,12724,12643,12685,12713,12687,12710,12734,12716,12636,12645,12640,12661,12634]}],"sources":[{"fileName":"Tone/instrument/NoiseSynth.ts","line":28,"character":23}],"extendedTypes":[{"type":"reference","id":10707,"typeArguments":[{"type":"reference","id":12622,"name":"NoiseSynthOptions"}],"name":"Instrument"}]},{"id":4452,"name":"OfflineContext","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Wrapper around the OfflineAudioContext","tags":[{"tag":"example","text":"\n// generate a single channel, 0.5 second buffer\nconst context = new Tone.OfflineContext(1, 0.5, 44100);\nconst osc = new Tone.Oscillator({ context });\ncontext.render().then(buffer => {\n\tconsole.log(buffer.numberOfChannels, buffer.duration);\n});\n"}]},"children":[{"id":4458,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":4459,"name":"new OfflineContext","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":4460,"name":"channels","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The number of channels to render"},"type":{"type":"intrinsic","name":"number"}},{"id":4461,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The duration to render in seconds"},"type":{"type":"reference","id":21,"name":"Seconds"}},{"id":4462,"name":"sampleRate","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"the sample rate to render at\n"},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","id":4452,"name":"OfflineContext"},"overwrites":{"type":"reference","id":2770,"name":"Context.__constructor"}},{"id":4463,"name":"new OfflineContext","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":4464,"name":"context","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"OfflineAudioContext"}}],"type":{"type":"reference","id":4452,"name":"OfflineContext"},"overwrites":{"type":"reference","id":2770,"name":"Context.__constructor"}}],"sources":[{"fileName":"Tone/core/context/OfflineContext.ts","line":37,"character":36},{"fileName":"Tone/core/context/OfflineContext.ts","line":48,"character":3},{"fileName":"Tone/core/context/OfflineContext.ts","line":49,"character":43}],"overwrites":{"type":"reference","id":2770,"name":"Context.__constructor"}},{"id":4638,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":4457,"name":"isOffline","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/context/OfflineContext.ts","line":37,"character":19}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"true","overwrites":{"type":"reference","id":2769,"name":"Context.isOffline"}},{"id":4477,"name":"lookAhead","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The amount of time into the future events are scheduled. Giving Web Audio\na short amount of time into the future to schedule events can reduce clicks and\nimprove performance. This value can be set to 0 to get the lowest latency."},"sources":[{"fileName":"Tone/core/context/Context.ts","line":47,"character":10}],"type":{"type":"reference","id":21,"name":"Seconds"},"overwrites":{"type":"reference","id":3119,"name":"BaseContext.lookAhead"},"inheritedFrom":{"type":"reference","id":2757,"name":"Context.lookAhead"}},{"id":4453,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/context/OfflineContext.ts","line":20,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"OfflineContext\"","overwrites":{"type":"reference","id":2756,"name":"Context.name"}},{"id":4637,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":4570,"name":"clockSource","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"What the source of the clock is, either \"worker\" (default),\n\"timeout\", or \"offline\" (none)."},"getSignature":[{"id":4571,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"What the source of the clock is, either \"worker\" (default),\n\"timeout\", or \"offline\" (none)."},"type":{"type":"reference","id":388,"name":"TickerClockSource"},"inheritedFrom":{"type":"reference","id":2872,"name":"Context.clockSource"}}],"setSignature":[{"id":4572,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"What the source of the clock is, either \"worker\" (default),\n\"timeout\", or \"offline\" (none)."},"parameters":[{"id":4573,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":388,"name":"TickerClockSource"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":2872,"name":"Context.clockSource"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":408,"character":16},{"fileName":"Tone/core/context/Context.ts","line":411,"character":16}],"inheritedFrom":{"type":"reference","id":2872,"name":"Context.clockSource"}},{"id":4467,"name":"currentTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Same as this.now()"},"getSignature":[{"id":4468,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Same as this.now()"},"type":{"type":"reference","id":21,"name":"Seconds"},"overwrites":{"type":"reference","id":2835,"name":"Context.currentTime"}}],"sources":[{"fileName":"Tone/core/context/OfflineContext.ts","line":75,"character":16}],"overwrites":{"type":"reference","id":2835,"name":"Context.currentTime"}},{"id":4552,"name":"destination","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"A reference to the Context's destination node."},"getSignature":[{"id":4553,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"A reference to the Context's destination node."},"type":{"type":"reference","id":2545,"name":"Destination"},"overwrites":{"type":"reference","id":3158,"name":"BaseContext.destination"},"inheritedFrom":{"type":"reference","id":2853,"name":"Context.destination"}}],"setSignature":[{"id":4554,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"A reference to the Context's destination node."},"parameters":[{"id":4555,"name":"d","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":2545,"name":"Destination"}}],"type":{"type":"intrinsic","name":"void"},"overwrites":{"type":"reference","id":3158,"name":"BaseContext.destination"},"inheritedFrom":{"type":"reference","id":2853,"name":"Context.destination"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":327,"character":16},{"fileName":"Tone/core/context/Context.ts","line":331,"character":16}],"overwrites":{"type":"reference","id":3158,"name":"BaseContext.destination"},"inheritedFrom":{"type":"reference","id":2853,"name":"Context.destination"}},{"id":4642,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":4643,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":4548,"name":"draw","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"This is the Draw object for the context which is useful for synchronizing the draw frame with the Tone.js clock."},"getSignature":[{"id":4549,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"This is the Draw object for the context which is useful for synchronizing the draw frame with the Tone.js clock."},"type":{"type":"reference","name":"Draw"},"overwrites":{"type":"reference","id":3156,"name":"BaseContext.draw"},"inheritedFrom":{"type":"reference","id":2849,"name":"Context.draw"}}],"setSignature":[{"id":4550,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"This is the Draw object for the context which is useful for synchronizing the draw frame with the Tone.js clock."},"parameters":[{"id":4551,"name":"d","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Draw"}}],"type":{"type":"intrinsic","name":"void"},"overwrites":{"type":"reference","id":3156,"name":"BaseContext.draw"},"inheritedFrom":{"type":"reference","id":2849,"name":"Context.draw"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":315,"character":9},{"fileName":"Tone/core/context/Context.ts","line":319,"character":9}],"overwrites":{"type":"reference","id":3156,"name":"BaseContext.draw"},"inheritedFrom":{"type":"reference","id":2849,"name":"Context.draw"}},{"id":4574,"name":"latencyHint","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The type of playback, which affects tradeoffs between audio\noutput latency and responsiveness.\nIn addition to setting the value in seconds, the latencyHint also\naccepts the strings \"interactive\" (prioritizes low latency),\n\"playback\" (prioritizes sustained playback), \"balanced\" (balances\nlatency and performance).","tags":[{"tag":"example","text":"\n// prioritize sustained playback\nconst context = new Tone.Context({ latencyHint: \"playback\" });\n// set this context as the global Context\nTone.setContext(context);\n// the global context is gettable with Tone.getContext()\nconsole.log(Tone.getContext().latencyHint);\n"}]},"getSignature":[{"id":4575,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The type of playback, which affects tradeoffs between audio\noutput latency and responsiveness.\nIn addition to setting the value in seconds, the latencyHint also\naccepts the strings \"interactive\" (prioritizes low latency),\n\"playback\" (prioritizes sustained playback), \"balanced\" (balances\nlatency and performance).","tags":[{"tag":"example","text":"\n// prioritize sustained playback\nconst context = new Tone.Context({ latencyHint: \"playback\" });\n// set this context as the global Context\nTone.setContext(context);\n// the global context is gettable with Tone.getContext()\nconsole.log(Tone.getContext().latencyHint);\n"}]},"type":{"type":"union","types":[{"type":"reference","id":3212,"name":"ContextLatencyHint"},{"type":"reference","id":21,"name":"Seconds"}]},"overwrites":{"type":"reference","id":3120,"name":"BaseContext.latencyHint"},"inheritedFrom":{"type":"reference","id":2876,"name":"Context.latencyHint"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":430,"character":16}],"overwrites":{"type":"reference","id":3120,"name":"BaseContext.latencyHint"},"inheritedFrom":{"type":"reference","id":2876,"name":"Context.latencyHint"}},{"id":4540,"name":"listener","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The listener"},"getSignature":[{"id":4541,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The listener"},"type":{"type":"reference","id":2647,"name":"Listener"},"overwrites":{"type":"reference","id":3152,"name":"BaseContext.listener"},"inheritedFrom":{"type":"reference","id":2841,"name":"Context.listener"}}],"setSignature":[{"id":4542,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The listener"},"parameters":[{"id":4543,"name":"l","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":2647,"name":"Listener"}}],"type":{"type":"intrinsic","name":"void"},"overwrites":{"type":"reference","id":3152,"name":"BaseContext.listener"},"inheritedFrom":{"type":"reference","id":2841,"name":"Context.listener"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":285,"character":13},{"fileName":"Tone/core/context/Context.ts","line":289,"character":13}],"overwrites":{"type":"reference","id":3152,"name":"BaseContext.listener"},"inheritedFrom":{"type":"reference","id":2841,"name":"Context.listener"}},{"id":4576,"name":"rawContext","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The unwrapped AudioContext or OfflineAudioContext"},"getSignature":[{"id":4577,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The unwrapped AudioContext or OfflineAudioContext"},"type":{"type":"reference","id":4181,"name":"AnyAudioContext"},"overwrites":{"type":"reference","id":3113,"name":"BaseContext.rawContext"},"inheritedFrom":{"type":"reference","id":2881,"name":"Context.rawContext"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":460,"character":15}],"overwrites":{"type":"reference","id":3113,"name":"BaseContext.rawContext"},"inheritedFrom":{"type":"reference","id":2881,"name":"Context.rawContext"}},{"id":4538,"name":"sampleRate","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The current time in seconds of the AudioContext."},"getSignature":[{"id":4539,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The current time in seconds of the AudioContext."},"type":{"type":"intrinsic","name":"number"},"overwrites":{"type":"reference","id":3150,"name":"BaseContext.sampleRate"},"inheritedFrom":{"type":"reference","id":2839,"name":"Context.sampleRate"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":278,"character":15}],"overwrites":{"type":"reference","id":3150,"name":"BaseContext.sampleRate"},"inheritedFrom":{"type":"reference","id":2839,"name":"Context.sampleRate"}},{"id":4536,"name":"state","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The current time in seconds of the AudioContext."},"getSignature":[{"id":4537,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The current time in seconds of the AudioContext."},"type":{"type":"reference","name":"AudioContextState"},"overwrites":{"type":"reference","id":3148,"name":"BaseContext.state"},"inheritedFrom":{"type":"reference","id":2837,"name":"Context.state"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":272,"character":10}],"overwrites":{"type":"reference","id":3148,"name":"BaseContext.state"},"inheritedFrom":{"type":"reference","id":2837,"name":"Context.state"}},{"id":4544,"name":"transport","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"There is only one Transport per Context. It is created on initialization."},"getSignature":[{"id":4545,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"There is only one Transport per Context. It is created on initialization."},"type":{"type":"reference","name":"Transport"},"overwrites":{"type":"reference","id":3154,"name":"BaseContext.transport"},"inheritedFrom":{"type":"reference","id":2845,"name":"Context.transport"}}],"setSignature":[{"id":4546,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"There is only one Transport per Context. It is created on initialization."},"parameters":[{"id":4547,"name":"t","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Transport"}}],"type":{"type":"intrinsic","name":"void"},"overwrites":{"type":"reference","id":3154,"name":"BaseContext.transport"},"inheritedFrom":{"type":"reference","id":2845,"name":"Context.transport"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":300,"character":14},{"fileName":"Tone/core/context/Context.ts","line":304,"character":14}],"overwrites":{"type":"reference","id":3154,"name":"BaseContext.transport"},"inheritedFrom":{"type":"reference","id":2845,"name":"Context.transport"}},{"id":4566,"name":"updateInterval","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"How often the interval callback is invoked.\nThis number corresponds to how responsive the scheduling\ncan be. context.updateInterval + context.lookAhead gives you the\ntotal latency between scheduling an event and hearing it."},"getSignature":[{"id":4567,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"How often the interval callback is invoked.\nThis number corresponds to how responsive the scheduling\ncan be. context.updateInterval + context.lookAhead gives you the\ntotal latency between scheduling an event and hearing it."},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":2868,"name":"Context.updateInterval"}}],"setSignature":[{"id":4568,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"How often the interval callback is invoked.\nThis number corresponds to how responsive the scheduling\ncan be. context.updateInterval + context.lookAhead gives you the\ntotal latency between scheduling an event and hearing it."},"parameters":[{"id":4569,"name":"interval","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":21,"name":"Seconds"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":2868,"name":"Context.updateInterval"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":397,"character":19},{"fileName":"Tone/core/context/Context.ts","line":400,"character":19}],"inheritedFrom":{"type":"reference","id":2868,"name":"Context.updateInterval"}},{"id":4560,"name":"addAudioWorkletModule","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4561,"name":"addAudioWorkletModule","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Add an AudioWorkletProcessor module"},"parameters":[{"id":4562,"name":"url","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The url of the module"},"type":{"type":"intrinsic","name":"string"}},{"id":4563,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The name of the module\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise"},"overwrites":{"type":"reference","id":3115,"name":"BaseContext.addAudioWorkletModule"},"inheritedFrom":{"type":"reference","id":2862,"name":"Context.addAudioWorkletModule"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":364,"character":28}],"overwrites":{"type":"reference","id":3115,"name":"BaseContext.addAudioWorkletModule"},"inheritedFrom":{"type":"reference","id":2862,"name":"Context.addAudioWorkletModule"}},{"id":4597,"name":"clearInterval","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4598,"name":"clearInterval","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Clear the function scheduled by [[setInterval]]"},"parameters":[{"id":4599,"name":"id","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":3140,"name":"BaseContext.clearInterval"},"inheritedFrom":{"type":"reference","id":2908,"name":"Context.clearInterval"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":602,"character":14}],"overwrites":{"type":"reference","id":3140,"name":"BaseContext.clearInterval"},"inheritedFrom":{"type":"reference","id":2908,"name":"Context.clearInterval"}},{"id":4594,"name":"clearTimeout","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4595,"name":"clearTimeout","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Clears a previously scheduled timeout with Tone.context.setTimeout"},"parameters":[{"id":4596,"name":"id","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The ID returned from setTimeout\n"},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":3130,"name":"BaseContext.clearTimeout"},"inheritedFrom":{"type":"reference","id":2905,"name":"Context.clearTimeout"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":590,"character":13}],"overwrites":{"type":"reference","id":3130,"name":"BaseContext.clearTimeout"},"inheritedFrom":{"type":"reference","id":2905,"name":"Context.clearTimeout"}},{"id":4475,"name":"close","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4476,"name":"close","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Close the context"},"type":{"type":"reference","typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise"},"overwrites":{"type":"reference","id":2889,"name":"Context.close"}}],"sources":[{"fileName":"Tone/core/context/OfflineContext.ts","line":115,"character":6}],"overwrites":{"type":"reference","id":2889,"name":"Context.close"}},{"id":4480,"name":"createAnalyser","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4481,"name":"createAnalyser","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","name":"AnalyserNode"},"overwrites":{"type":"reference","id":3053,"name":"BaseContext.createAnalyser"},"inheritedFrom":{"type":"reference","id":2779,"name":"Context.createAnalyser"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":166,"character":15}],"overwrites":{"type":"reference","id":3053,"name":"BaseContext.createAnalyser"},"inheritedFrom":{"type":"reference","id":2779,"name":"Context.createAnalyser"}},{"id":4556,"name":"createAudioWorkletNode","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4557,"name":"createAudioWorkletNode","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Create an audio worklet node from a name and options. The module\nmust first be loaded using [[addAudioWorkletModule]]."},"parameters":[{"id":4558,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"string"}},{"id":4559,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","name":"AudioWorkletNodeOptions"}],"name":"Partial"}}],"type":{"type":"reference","name":"AudioWorkletNode"},"overwrites":{"type":"reference","id":3109,"name":"BaseContext.createAudioWorkletNode"},"inheritedFrom":{"type":"reference","id":2858,"name":"Context.createAudioWorkletNode"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":352,"character":23}],"overwrites":{"type":"reference","id":3109,"name":"BaseContext.createAudioWorkletNode"},"inheritedFrom":{"type":"reference","id":2858,"name":"Context.createAudioWorkletNode"}},{"id":4486,"name":"createBiquadFilter","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4487,"name":"createBiquadFilter","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","name":"BiquadFilterNode"},"overwrites":{"type":"reference","id":3059,"name":"BaseContext.createBiquadFilter"},"inheritedFrom":{"type":"reference","id":2785,"name":"Context.createBiquadFilter"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":175,"character":19}],"overwrites":{"type":"reference","id":3059,"name":"BaseContext.createBiquadFilter"},"inheritedFrom":{"type":"reference","id":2785,"name":"Context.createBiquadFilter"}},{"id":4488,"name":"createBuffer","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4489,"name":"createBuffer","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4490,"name":"numberOfChannels","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}},{"id":4491,"name":"length","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}},{"id":4492,"name":"sampleRate","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","name":"AudioBuffer"},"overwrites":{"type":"reference","id":3061,"name":"BaseContext.createBuffer"},"inheritedFrom":{"type":"reference","id":2787,"name":"Context.createBuffer"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":178,"character":13}],"overwrites":{"type":"reference","id":3061,"name":"BaseContext.createBuffer"},"inheritedFrom":{"type":"reference","id":2787,"name":"Context.createBuffer"}},{"id":4484,"name":"createBufferSource","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4485,"name":"createBufferSource","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","name":"AudioBufferSourceNode"},"overwrites":{"type":"reference","id":3057,"name":"BaseContext.createBufferSource"},"inheritedFrom":{"type":"reference","id":2783,"name":"Context.createBufferSource"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":172,"character":19}],"overwrites":{"type":"reference","id":3057,"name":"BaseContext.createBufferSource"},"inheritedFrom":{"type":"reference","id":2783,"name":"Context.createBufferSource"}},{"id":4493,"name":"createChannelMerger","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4494,"name":"createChannelMerger","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4495,"name":"numberOfInputs","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"number"},{"type":"intrinsic","name":"undefined"}]}}],"type":{"type":"reference","name":"ChannelMergerNode"},"overwrites":{"type":"reference","id":3066,"name":"BaseContext.createChannelMerger"},"inheritedFrom":{"type":"reference","id":2792,"name":"Context.createChannelMerger"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":185,"character":20}],"overwrites":{"type":"reference","id":3066,"name":"BaseContext.createChannelMerger"},"inheritedFrom":{"type":"reference","id":2792,"name":"Context.createChannelMerger"}},{"id":4496,"name":"createChannelSplitter","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4497,"name":"createChannelSplitter","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4498,"name":"numberOfOutputs","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"number"},{"type":"intrinsic","name":"undefined"}]}}],"type":{"type":"reference","name":"ChannelSplitterNode"},"overwrites":{"type":"reference","id":3069,"name":"BaseContext.createChannelSplitter"},"inheritedFrom":{"type":"reference","id":2795,"name":"Context.createChannelSplitter"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":190,"character":22}],"overwrites":{"type":"reference","id":3069,"name":"BaseContext.createChannelSplitter"},"inheritedFrom":{"type":"reference","id":2795,"name":"Context.createChannelSplitter"}},{"id":4499,"name":"createConstantSource","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4500,"name":"createConstantSource","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","name":"ConstantSourceNode"},"overwrites":{"type":"reference","id":3072,"name":"BaseContext.createConstantSource"},"inheritedFrom":{"type":"reference","id":2798,"name":"Context.createConstantSource"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":195,"character":21}],"overwrites":{"type":"reference","id":3072,"name":"BaseContext.createConstantSource"},"inheritedFrom":{"type":"reference","id":2798,"name":"Context.createConstantSource"}},{"id":4501,"name":"createConvolver","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4502,"name":"createConvolver","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","name":"ConvolverNode"},"overwrites":{"type":"reference","id":3074,"name":"BaseContext.createConvolver"},"inheritedFrom":{"type":"reference","id":2800,"name":"Context.createConvolver"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":198,"character":16}],"overwrites":{"type":"reference","id":3074,"name":"BaseContext.createConvolver"},"inheritedFrom":{"type":"reference","id":2800,"name":"Context.createConvolver"}},{"id":4503,"name":"createDelay","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4504,"name":"createDelay","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4505,"name":"maxDelayTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"number"},{"type":"intrinsic","name":"undefined"}]}}],"type":{"type":"reference","name":"DelayNode"},"overwrites":{"type":"reference","id":3076,"name":"BaseContext.createDelay"},"inheritedFrom":{"type":"reference","id":2802,"name":"Context.createDelay"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":201,"character":12}],"overwrites":{"type":"reference","id":3076,"name":"BaseContext.createDelay"},"inheritedFrom":{"type":"reference","id":2802,"name":"Context.createDelay"}},{"id":4506,"name":"createDynamicsCompressor","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4507,"name":"createDynamicsCompressor","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","name":"DynamicsCompressorNode"},"overwrites":{"type":"reference","id":3079,"name":"BaseContext.createDynamicsCompressor"},"inheritedFrom":{"type":"reference","id":2805,"name":"Context.createDynamicsCompressor"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":204,"character":25}],"overwrites":{"type":"reference","id":3079,"name":"BaseContext.createDynamicsCompressor"},"inheritedFrom":{"type":"reference","id":2805,"name":"Context.createDynamicsCompressor"}},{"id":4508,"name":"createGain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4509,"name":"createGain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","name":"GainNode"},"overwrites":{"type":"reference","id":3081,"name":"BaseContext.createGain"},"inheritedFrom":{"type":"reference","id":2807,"name":"Context.createGain"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":207,"character":11}],"overwrites":{"type":"reference","id":3081,"name":"BaseContext.createGain"},"inheritedFrom":{"type":"reference","id":2807,"name":"Context.createGain"}},{"id":4510,"name":"createIIRFilter","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4511,"name":"createIIRFilter","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4512,"name":"feedForward","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"array","elementType":{"type":"intrinsic","name":"number"}},{"type":"reference","name":"Float32Array"}]}},{"id":4513,"name":"feedback","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"array","elementType":{"type":"intrinsic","name":"number"}},{"type":"reference","name":"Float32Array"}]}}],"type":{"type":"reference","name":"IIRFilterNode"},"overwrites":{"type":"reference","id":3083,"name":"BaseContext.createIIRFilter"},"inheritedFrom":{"type":"reference","id":2809,"name":"Context.createIIRFilter"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":210,"character":16}],"overwrites":{"type":"reference","id":3083,"name":"BaseContext.createIIRFilter"},"inheritedFrom":{"type":"reference","id":2809,"name":"Context.createIIRFilter"}},{"id":4528,"name":"createMediaElementSource","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4529,"name":"createMediaElementSource","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4530,"name":"element","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"HTMLMediaElement"}}],"type":{"type":"reference","name":"MediaElementAudioSourceNode"},"overwrites":{"type":"reference","id":3101,"name":"BaseContext.createMediaElementSource"},"inheritedFrom":{"type":"reference","id":2827,"name":"Context.createMediaElementSource"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":241,"character":25}],"overwrites":{"type":"reference","id":3101,"name":"BaseContext.createMediaElementSource"},"inheritedFrom":{"type":"reference","id":2827,"name":"Context.createMediaElementSource"}},{"id":4531,"name":"createMediaStreamDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4532,"name":"createMediaStreamDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","name":"MediaStreamAudioDestinationNode"},"overwrites":{"type":"reference","id":3104,"name":"BaseContext.createMediaStreamDestination"},"inheritedFrom":{"type":"reference","id":2830,"name":"Context.createMediaStreamDestination"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":251,"character":29}],"overwrites":{"type":"reference","id":3104,"name":"BaseContext.createMediaStreamDestination"},"inheritedFrom":{"type":"reference","id":2830,"name":"Context.createMediaStreamDestination"}},{"id":4525,"name":"createMediaStreamSource","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4526,"name":"createMediaStreamSource","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4527,"name":"stream","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"MediaStream"}}],"type":{"type":"reference","name":"MediaStreamAudioSourceNode"},"overwrites":{"type":"reference","id":3098,"name":"BaseContext.createMediaStreamSource"},"inheritedFrom":{"type":"reference","id":2824,"name":"Context.createMediaStreamSource"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":233,"character":24}],"overwrites":{"type":"reference","id":3098,"name":"BaseContext.createMediaStreamSource"},"inheritedFrom":{"type":"reference","id":2824,"name":"Context.createMediaStreamSource"}},{"id":4482,"name":"createOscillator","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4483,"name":"createOscillator","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","name":"OscillatorNode"},"overwrites":{"type":"reference","id":3055,"name":"BaseContext.createOscillator"},"inheritedFrom":{"type":"reference","id":2781,"name":"Context.createOscillator"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":169,"character":17}],"overwrites":{"type":"reference","id":3055,"name":"BaseContext.createOscillator"},"inheritedFrom":{"type":"reference","id":2781,"name":"Context.createOscillator"}},{"id":4514,"name":"createPanner","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4515,"name":"createPanner","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","name":"PannerNode"},"overwrites":{"type":"reference","id":3087,"name":"BaseContext.createPanner"},"inheritedFrom":{"type":"reference","id":2813,"name":"Context.createPanner"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":217,"character":13}],"overwrites":{"type":"reference","id":3087,"name":"BaseContext.createPanner"},"inheritedFrom":{"type":"reference","id":2813,"name":"Context.createPanner"}},{"id":4516,"name":"createPeriodicWave","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4517,"name":"createPeriodicWave","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4518,"name":"real","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"array","elementType":{"type":"intrinsic","name":"number"}},{"type":"reference","name":"Float32Array"}]}},{"id":4519,"name":"imag","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"array","elementType":{"type":"intrinsic","name":"number"}},{"type":"reference","name":"Float32Array"}]}},{"id":4520,"name":"constraints","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","name":"PeriodicWaveConstraints"},{"type":"intrinsic","name":"undefined"}]}}],"type":{"type":"reference","name":"PeriodicWave"},"overwrites":{"type":"reference","id":3089,"name":"BaseContext.createPeriodicWave"},"inheritedFrom":{"type":"reference","id":2815,"name":"Context.createPeriodicWave"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":220,"character":19}],"overwrites":{"type":"reference","id":3089,"name":"BaseContext.createPeriodicWave"},"inheritedFrom":{"type":"reference","id":2815,"name":"Context.createPeriodicWave"}},{"id":4521,"name":"createStereoPanner","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4522,"name":"createStereoPanner","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","name":"StereoPannerNode"},"overwrites":{"type":"reference","id":3094,"name":"BaseContext.createStereoPanner"},"inheritedFrom":{"type":"reference","id":2820,"name":"Context.createStereoPanner"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":227,"character":19}],"overwrites":{"type":"reference","id":3094,"name":"BaseContext.createStereoPanner"},"inheritedFrom":{"type":"reference","id":2820,"name":"Context.createStereoPanner"}},{"id":4523,"name":"createWaveShaper","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4524,"name":"createWaveShaper","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","name":"WaveShaperNode"},"overwrites":{"type":"reference","id":3096,"name":"BaseContext.createWaveShaper"},"inheritedFrom":{"type":"reference","id":2822,"name":"Context.createWaveShaper"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":230,"character":17}],"overwrites":{"type":"reference","id":3096,"name":"BaseContext.createWaveShaper"},"inheritedFrom":{"type":"reference","id":2822,"name":"Context.createWaveShaper"}},{"id":4533,"name":"decodeAudioData","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4534,"name":"decodeAudioData","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4535,"name":"audioData","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"ArrayBuffer"}}],"type":{"type":"reference","typeArguments":[{"type":"reference","name":"AudioBuffer"}],"name":"Promise"},"overwrites":{"type":"reference","id":3106,"name":"BaseContext.decodeAudioData"},"inheritedFrom":{"type":"reference","id":2832,"name":"Context.decodeAudioData"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":259,"character":16}],"overwrites":{"type":"reference","id":3106,"name":"BaseContext.decodeAudioData"},"inheritedFrom":{"type":"reference","id":2832,"name":"Context.decodeAudioData"}},{"id":4585,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4586,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Clean up. Also closes the audio context."},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":133,"name":"Emitter.dispose"},"inheritedFrom":{"type":"reference","id":2894,"name":"Context.dispose"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":537,"character":8}],"overwrites":{"type":"reference","id":133,"name":"Emitter.dispose"},"inheritedFrom":{"type":"reference","id":2894,"name":"Context.dispose"}},{"id":4630,"name":"emit","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4631,"name":"emit","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Invoke all of the callbacks bound to the event\nwith any arguments passed in."},"parameters":[{"id":4632,"name":"event","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The name of the event."},"type":{"type":"intrinsic","name":"any"}},{"id":4633,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"comment":{"text":"The arguments to pass to the functions listening.\n"},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":126,"name":"Emitter.emit"}}],"sources":[{"fileName":"Tone/core/util/Emitter.ts","line":94,"character":5}],"inheritedFrom":{"type":"reference","id":126,"name":"Emitter.emit"}},{"id":4582,"name":"getConstant","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4583,"name":"getConstant","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"**Internal** Generate a looped buffer at some constant value."},"parameters":[{"id":4584,"name":"val","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","name":"AudioBufferSourceNode"},"overwrites":{"type":"reference","id":3143,"name":"BaseContext.getConstant"},"inheritedFrom":{"type":"reference","id":2891,"name":"Context.getConstant"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":510,"character":12}],"overwrites":{"type":"reference","id":3143,"name":"BaseContext.getConstant"},"inheritedFrom":{"type":"reference","id":2891,"name":"Context.getConstant"}},{"id":4578,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4579,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"The current audio context time without the [[lookAhead]].\nIn most cases it is better to use [[now]] instead of [[immediate]] since\nwith [[now]] the [[lookAhead]] is applied equally to _all_ components including internal components,\nto making sure that everything is scheduled in sync. Mixing [[now]] and [[immediate]]\ncan cause some timing issues. If no lookAhead is desired, you can set the [[lookAhead]] to `0`."},"type":{"type":"reference","id":21,"name":"Seconds"},"overwrites":{"type":"reference","id":3162,"name":"BaseContext.immediate"},"inheritedFrom":{"type":"reference","id":2885,"name":"Context.immediate"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":478,"character":10}],"overwrites":{"type":"reference","id":3162,"name":"BaseContext.immediate"},"inheritedFrom":{"type":"reference","id":2885,"name":"Context.immediate"}},{"id":4465,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4466,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Override the now method to point to the internal clock time"},"type":{"type":"reference","id":21,"name":"Seconds"},"overwrites":{"type":"reference","id":2883,"name":"Context.now"}}],"sources":[{"fileName":"Tone/core/context/OfflineContext.ts","line":68,"character":4}],"overwrites":{"type":"reference","id":2883,"name":"Context.now"}},{"id":4623,"name":"off","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4624,"name":"off","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Remove the event listener."},"parameters":[{"id":4625,"name":"event","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The event to stop listening to."},"type":{"type":"union","types":[{"type":"stringLiteral","value":"statechange"},{"type":"stringLiteral","value":"tick"}]}},{"id":4626,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The callback which was bound to the event with Emitter.on.\n                  If no callback is given, all callbacks events are removed.\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"reflection","declaration":{"id":4627,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":4628,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4629,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"void"}}]}}]}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":119,"name":"Emitter.off"}}],"sources":[{"fileName":"Tone/core/util/Emitter.ts","line":66,"character":4}],"inheritedFrom":{"type":"reference","id":119,"name":"Emitter.off"}},{"id":4609,"name":"on","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4610,"name":"on","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Bind a callback to a specific event."},"parameters":[{"id":4611,"name":"event","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The name of the event to listen for."},"type":{"type":"union","types":[{"type":"stringLiteral","value":"statechange"},{"type":"stringLiteral","value":"tick"}]}},{"id":4612,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The callback to invoke when the event is emitted\n"},"type":{"type":"reflection","declaration":{"id":4613,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":4614,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4615,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/util/Emitter.ts","line":29,"character":31}]}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":105,"name":"Emitter.on"}}],"sources":[{"fileName":"Tone/core/util/Emitter.ts","line":29,"character":3}],"inheritedFrom":{"type":"reference","id":105,"name":"Emitter.on"}},{"id":4616,"name":"once","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4617,"name":"once","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Bind a callback which is only invoked once"},"parameters":[{"id":4618,"name":"event","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The name of the event to listen for."},"type":{"type":"union","types":[{"type":"stringLiteral","value":"statechange"},{"type":"stringLiteral","value":"tick"}]}},{"id":4619,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The callback to invoke when the event is emitted\n"},"type":{"type":"reflection","declaration":{"id":4620,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":4621,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4622,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/util/Emitter.ts","line":49,"character":33}]}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":112,"name":"Emitter.once"}}],"sources":[{"fileName":"Tone/core/util/Emitter.ts","line":49,"character":5}],"inheritedFrom":{"type":"reference","id":112,"name":"Emitter.once"}},{"id":4472,"name":"render","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4473,"name":"render","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Render the output of the OfflineContext"},"parameters":[{"id":4474,"name":"asynchronous","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"If the clock should be rendered asynchronously, which will not block the main thread, but be slightly slower.\n"},"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"true"}],"type":{"type":"reference","typeArguments":[{"type":"reference","id":4362,"name":"ToneAudioBuffer"}],"name":"Promise"}}],"sources":[{"fileName":"Tone/core/context/OfflineContext.ts","line":105,"character":13}]},{"id":4580,"name":"resume","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4581,"name":"resume","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Starts the audio context from a suspended state. This is required\nto initially start the AudioContext. See [[Tone.start]]"},"type":{"type":"reference","typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise"},"overwrites":{"type":"reference","id":3121,"name":"BaseContext.resume"},"inheritedFrom":{"type":"reference","id":2887,"name":"Context.resume"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":486,"character":7}],"overwrites":{"type":"reference","id":3121,"name":"BaseContext.resume"},"inheritedFrom":{"type":"reference","id":2887,"name":"Context.resume"}},{"id":4600,"name":"setInterval","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4601,"name":"setInterval","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Adds a repeating event to the context's callback clock"},"parameters":[{"id":4602,"name":"fn","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reflection","declaration":{"id":4603,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":4604,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4605,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":609,"character":16}]}}},{"id":4606,"name":"interval","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":21,"name":"Seconds"}}],"type":{"type":"intrinsic","name":"number"},"overwrites":{"type":"reference","id":3133,"name":"BaseContext.setInterval"},"inheritedFrom":{"type":"reference","id":2911,"name":"Context.setInterval"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":609,"character":12}],"overwrites":{"type":"reference","id":3133,"name":"BaseContext.setInterval"},"inheritedFrom":{"type":"reference","id":2911,"name":"Context.setInterval"}},{"id":4587,"name":"setTimeout","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4588,"name":"setTimeout","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"A setTimeout which is guaranteed by the clock source.\nAlso runs in the offline context.","returns":"ID to use when invoking Context.clearTimeout\n"},"parameters":[{"id":4589,"name":"fn","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The callback to invoke"},"type":{"type":"reflection","declaration":{"id":4590,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":4591,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4592,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":575,"character":15}]}}},{"id":4593,"name":"timeout","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The timeout in seconds"},"type":{"type":"reference","id":21,"name":"Seconds"}}],"type":{"type":"intrinsic","name":"number"},"overwrites":{"type":"reference","id":3123,"name":"BaseContext.setTimeout"},"inheritedFrom":{"type":"reference","id":2898,"name":"Context.setTimeout"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":575,"character":11}],"overwrites":{"type":"reference","id":3123,"name":"BaseContext.setTimeout"},"inheritedFrom":{"type":"reference","id":2898,"name":"Context.setTimeout"}},{"id":4607,"name":"toJSON","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4608,"name":"toJSON","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","typeArguments":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"any"}],"name":"Record"},"inheritedFrom":{"type":"reference","id":2918,"name":"BaseContext.toJSON"}}],"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":157,"character":7}],"inheritedFrom":{"type":"reference","id":2918,"name":"BaseContext.toJSON"}},{"id":4644,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4645,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":4478,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":4479,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":2742,"name":"ContextOptions"},"overwrites":{"type":"reference","id":51,"name":"Tone.getDefaults"},"inheritedFrom":{"type":"reference","id":2775,"name":"Context.getDefaults"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":141,"character":19}],"overwrites":{"type":"reference","id":51,"name":"Tone.getDefaults"},"inheritedFrom":{"type":"reference","id":2775,"name":"Context.getDefaults"}},{"id":4634,"name":"mixin","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":4635,"name":"mixin","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Add Emitter functions (on/off/emit) to the object"},"parameters":[{"id":4636,"name":"constr","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":130,"name":"Emitter.mixin"}}],"sources":[{"fileName":"Tone/core/util/Emitter.ts","line":109,"character":13}],"inheritedFrom":{"type":"reference","id":130,"name":"Emitter.mixin"}}],"groups":[{"title":"Constructors","kind":512,"children":[4458]},{"title":"Properties","kind":1024,"children":[4638,4457,4477,4453,4637]},{"title":"Accessors","kind":262144,"children":[4570,4467,4552,4642,4548,4574,4540,4576,4538,4536,4544,4566]},{"title":"Methods","kind":2048,"children":[4560,4597,4594,4475,4480,4556,4486,4488,4484,4493,4496,4499,4501,4503,4506,4508,4510,4528,4531,4525,4482,4514,4516,4521,4523,4533,4585,4630,4582,4578,4465,4623,4609,4616,4472,4580,4600,4587,4607,4644,4478,4634]}],"sources":[{"fileName":"Tone/core/context/OfflineContext.ts","line":18,"character":27}],"extendedTypes":[{"type":"reference","id":2755,"name":"Context"}],"implementedTypes":[{"type":"reflection","declaration":{"id":4646,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":31,"character":11}]}}]},{"id":8167,"name":"OmniOscillator","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"OmniOscillator aggregates all of the oscillator types into one.","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst omniOsc = new Tone.OmniOscillator(\"C#4\", \"pwm\").toDestination().start();\n}, 0.1, 1);"}]},"typeParameter":[{"id":8168,"name":"OscType","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"reference","id":8355,"name":"AnyOscillator"}}],"children":[{"id":8174,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":8175,"name":"new OmniOscillator","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":8176,"name":"frequency","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The initial frequency of the oscillator."},"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":8177,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The type of the oscillator.\n"},"type":{"type":"reference","id":6575,"name":"OmniOscillatorType"}}],"type":{"type":"reference","id":8167,"name":"OmniOscillator"},"overwrites":{"type":"reference","id":5586,"name":"Source.__constructor"}},{"id":8178,"name":"new OmniOscillator","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":8179,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":6576,"name":"OmniOscillatorOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":8167,"name":"OmniOscillator"},"overwrites":{"type":"reference","id":5586,"name":"Source.__constructor"}}],"sources":[{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":88,"character":41},{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":94,"character":63},{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":95,"character":55}],"overwrites":{"type":"reference","id":5586,"name":"Source.__constructor"}},{"id":8321,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":8346,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":8171,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":78,"character":16}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"cents"}],"name":"Signal"}},{"id":8170,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":77,"character":19}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"frequency"}],"name":"Signal"}},{"id":8252,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Sources have no inputs"},"sources":[{"fileName":"Tone/source/Source.ts","line":54,"character":6}],"type":{"type":"intrinsic","name":"undefined"},"defaultValue":"undefined","overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":5567,"name":"Source.input"}},{"id":8169,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":75,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"OmniOscillator\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":8254,"name":"onstop","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The callback to invoke when the source is stopped."},"sources":[{"fileName":"Tone/source/Source.ts","line":67,"character":7}],"type":{"type":"reference","id":5706,"name":"onStopCallback"},"inheritedFrom":{"type":"reference","id":5569,"name":"Source.onstop"}},{"id":8251,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The output note"},"sources":[{"fileName":"Tone/source/Source.ts","line":49,"character":7}],"type":{"type":"reference","id":1102,"name":"OutputNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":5566,"name":"Source.output"}},{"id":8253,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The volume of the output in decibels.","tags":[{"tag":"example","text":"\nconst source = new Tone.PWMOscillator().toDestination();\nsource.volume.value = -6;\n"}]},"sources":[{"fileName":"Tone/source/Source.ts","line":62,"character":7}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"decibels"}],"name":"Param"},"inheritedFrom":{"type":"reference","id":5568,"name":"Source.volume"}},{"id":8345,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":8222,"name":"baseType","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The base type of the oscillator. See [[Oscillator.baseType]]","tags":[{"tag":"example","text":"\nconst omniOsc = new Tone.OmniOscillator(440, \"fmsquare4\");\nconsole.log(omniOsc.sourceType, omniOsc.baseType, omniOsc.partialCount);\n"}]},"getSignature":[{"id":8223,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The base type of the oscillator. See [[Oscillator.baseType]]","tags":[{"tag":"example","text":"\nconst omniOsc = new Tone.OmniOscillator(440, \"fmsquare4\");\nconsole.log(omniOsc.sourceType, omniOsc.baseType, omniOsc.partialCount);\n"}]},"type":{"type":"union","types":[{"type":"reference","name":"OscillatorType"},{"type":"stringLiteral","value":"pwm"},{"type":"stringLiteral","value":"pulse"}]}}],"setSignature":[{"id":8224,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The base type of the oscillator. See [[Oscillator.baseType]]","tags":[{"tag":"example","text":"\nconst omniOsc = new Tone.OmniOscillator(440, \"fmsquare4\");\nconsole.log(omniOsc.sourceType, omniOsc.baseType, omniOsc.partialCount);\n"}]},"parameters":[{"id":8225,"name":"baseType","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"custom"},{"type":"stringLiteral","value":"sawtooth"},{"type":"stringLiteral","value":"sine"},{"type":"stringLiteral","value":"square"},{"type":"stringLiteral","value":"triangle"},{"type":"stringLiteral","value":"pulse"},{"type":"stringLiteral","value":"pwm"}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":305,"character":13},{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":308,"character":13}]},{"id":8329,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":8330,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":8289,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":8290,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":8291,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":8292,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":8293,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":8294,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":8295,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":8296,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":8297,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":8298,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":8299,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":8300,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":8228,"name":"count","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of detuned oscillators when sourceType === \"fat\".\nSee [[FatOscillator.count]]"},"getSignature":[{"id":8229,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of detuned oscillators when sourceType === \"fat\".\nSee [[FatOscillator.count]]"},"type":{"type":"reference","id":8360,"typeArguments":[{"type":"typeParameter","name":"OscType","constraint":{"type":"reference","id":8355,"name":"AnyOscillator"}},{"type":"intrinsic","name":"number"}],"name":"IsFatOscillator"}}],"setSignature":[{"id":8230,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The number of detuned oscillators when sourceType === \"fat\".\nSee [[FatOscillator.count]]"},"parameters":[{"id":8231,"name":"count","kind":32768,"kindString":"Parameter","flags":{"isExported":true}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":332,"character":10},{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":339,"character":10}]},{"id":8350,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":8351,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":8242,"name":"harmonicity","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Harmonicity is the frequency ratio between the carrier and the modulator oscillators.\nSee [[AMOscillator]] or [[FMOscillator]]"},"getSignature":[{"id":8243,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Harmonicity is the frequency ratio between the carrier and the modulator oscillators.\nSee [[AMOscillator]] or [[FMOscillator]]"},"type":{"type":"reference","id":8357,"typeArguments":[{"type":"typeParameter","name":"OscType","constraint":{"type":"reference","id":8355,"name":"AnyOscillator"}},{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"positive"}],"name":"Signal"}],"name":"IsAmOrFmOscillator"}}],"sources":[{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":395,"character":16}]},{"id":8244,"name":"modulationFrequency","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The modulationFrequency Signal of the oscillator when sourceType === \"pwm\"\nsee [[PWMOscillator]]","tags":[{"tag":"min","text":"0.1"},{"tag":"max","text":"5\n"}]},"getSignature":[{"id":8245,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The modulationFrequency Signal of the oscillator when sourceType === \"pwm\"\nsee [[PWMOscillator]]","tags":[{"tag":"min","text":"0.1"},{"tag":"max","text":"5\n"}]},"type":{"type":"reference","id":8363,"typeArguments":[{"type":"typeParameter","name":"OscType","constraint":{"type":"reference","id":8355,"name":"AnyOscillator"}},{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"frequency"}],"name":"Signal"}],"name":"IsPWMOscillator"}}],"sources":[{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":409,"character":24}]},{"id":8240,"name":"modulationIndex","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The modulation index when the sourceType === \"fm\"\nSee [[FMOscillator]]."},"getSignature":[{"id":8241,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The modulation index when the sourceType === \"fm\"\nSee [[FMOscillator]]."},"type":{"type":"reference","id":8369,"typeArguments":[{"type":"typeParameter","name":"OscType","constraint":{"type":"reference","id":8355,"name":"AnyOscillator"}},{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"positive"}],"name":"Signal"}],"name":"IsFMOscillator"}}],"sources":[{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":383,"character":20}]},{"id":8236,"name":"modulationType","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The type of the modulator oscillator. Only if the oscillator is set to \"am\" or \"fm\" types.\nSee [[AMOscillator]] or [[FMOscillator]]"},"getSignature":[{"id":8237,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The type of the modulator oscillator. Only if the oscillator is set to \"am\" or \"fm\" types.\nSee [[AMOscillator]] or [[FMOscillator]]"},"type":{"type":"reference","id":8357,"typeArguments":[{"type":"typeParameter","name":"OscType","constraint":{"type":"reference","id":8355,"name":"AnyOscillator"}},{"type":"reference","id":6554,"name":"ToneOscillatorType"}],"name":"IsAmOrFmOscillator"}}],"setSignature":[{"id":8238,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The type of the modulator oscillator. Only if the oscillator is set to \"am\" or \"fm\" types.\nSee [[AMOscillator]] or [[FMOscillator]]"},"parameters":[{"id":8239,"name":"mType","kind":32768,"kindString":"Parameter","flags":{"isExported":true}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":366,"character":19},{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":373,"character":19}]},{"id":8263,"name":"mute","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Mute the output.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination().start();\n// mute the output\nosc.mute = true;\n"}]},"getSignature":[{"id":8264,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Mute the output.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination().start();\n// mute the output\nosc.mute = true;\n"}]},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":5593,"name":"Source.mute"}}],"setSignature":[{"id":8265,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"Mute the output.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination().start();\n// mute the output\nosc.mute = true;\n"}]},"parameters":[{"id":8266,"name":"mute","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":5593,"name":"Source.mute"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":148,"character":9},{"fileName":"Tone/source/Source.ts","line":151,"character":9}],"inheritedFrom":{"type":"reference","id":5593,"name":"Source.mute"}},{"id":8284,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":8285,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":8286,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":8287,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":8199,"name":"partialCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":8200,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"setSignature":[{"id":8201,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":8202,"name":"partialCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":206,"character":17},{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":209,"character":17}]},{"id":8195,"name":"partials","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The value is an empty array when the type is not \"custom\".\nThis is not available on \"pwm\" and \"pulse\" oscillator types.\nSee [[Oscillator.partials]]"},"getSignature":[{"id":8196,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The value is an empty array when the type is not \"custom\".\nThis is not available on \"pwm\" and \"pulse\" oscillator types.\nSee [[Oscillator.partials]]"},"type":{"type":"array","elementType":{"type":"intrinsic","name":"number"}}}],"setSignature":[{"id":8197,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The value is an empty array when the type is not \"custom\".\nThis is not available on \"pwm\" and \"pulse\" oscillator types.\nSee [[Oscillator.partials]]"},"parameters":[{"id":8198,"name":"partials","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"number"}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":197,"character":13},{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":200,"character":13}]},{"id":8209,"name":"phase","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":8210,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"reference","id":37,"name":"Degrees"}}],"setSignature":[{"id":8211,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":8212,"name":"phase","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":253,"character":10},{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":256,"character":10}]},{"id":8327,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":8328,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":8213,"name":"sourceType","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The source type of the oscillator.","tags":[{"tag":"example","text":"\nconst omniOsc = new Tone.OmniOscillator(440, \"fmsquare\");\nconsole.log(omniOsc.sourceType); // 'fm'\n"}]},"getSignature":[{"id":8214,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The source type of the oscillator.","tags":[{"tag":"example","text":"\nconst omniOsc = new Tone.OmniOscillator(440, \"fmsquare\");\nconsole.log(omniOsc.sourceType); // 'fm'\n"}]},"type":{"type":"reference","id":8356,"name":"OmniOscSourceType"}}],"setSignature":[{"id":8215,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The source type of the oscillator.","tags":[{"tag":"example","text":"\nconst omniOsc = new Tone.OmniOscillator(440, \"fmsquare\");\nconsole.log(omniOsc.sourceType); // 'fm'\n"}]},"parameters":[{"id":8216,"name":"sType","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"pulse"},{"type":"stringLiteral","value":"pwm"},{"type":"stringLiteral","value":"fm"},{"type":"stringLiteral","value":"am"},{"type":"stringLiteral","value":"oscillator"},{"type":"stringLiteral","value":"fat"}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":266,"character":15},{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":269,"character":15}]},{"id":8232,"name":"spread","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The detune spread between the oscillators when sourceType === \"fat\".\nSee [[FatOscillator.count]]"},"getSignature":[{"id":8233,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The detune spread between the oscillators when sourceType === \"fat\".\nSee [[FatOscillator.count]]"},"type":{"type":"reference","id":8360,"typeArguments":[{"type":"typeParameter","name":"OscType","constraint":{"type":"reference","id":8355,"name":"AnyOscillator"}},{"type":"reference","id":42,"name":"Cents"}],"name":"IsFatOscillator"}}],"setSignature":[{"id":8234,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The detune spread between the oscillators when sourceType === \"fat\".\nSee [[FatOscillator.count]]"},"parameters":[{"id":8235,"name":"spread","kind":32768,"kindString":"Parameter","flags":{"isExported":true}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":349,"character":11},{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":356,"character":11}]},{"id":8261,"name":"state","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Returns the playback state of the source, either \"started\" or \"stopped\".","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/ahntone_c3.mp3\", () => {\n\tplayer.start();\n\tconsole.log(player.state);\n}).toDestination();\n"}]},"getSignature":[{"id":8262,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Returns the playback state of the source, either \"started\" or \"stopped\".","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/ahntone_c3.mp3\", () => {\n\tplayer.start();\n\tconsole.log(player.state);\n}).toDestination();\n"}]},"type":{"type":"reference","id":705,"name":"BasicPlaybackState"},"inheritedFrom":{"type":"reference","id":5591,"name":"Source.state"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":129,"character":10}],"inheritedFrom":{"type":"reference","id":5591,"name":"Source.state"}},{"id":8191,"name":"type","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The type of the oscillator. Can be any of the basic types: sine, square, triangle, sawtooth. Or\nprefix the basic types with \"fm\", \"am\", or \"fat\" to use the FMOscillator, AMOscillator or FatOscillator\ntypes. The oscillator could also be set to \"pwm\" or \"pulse\". All of the parameters of the\noscillator's class are accessible when the oscillator is set to that type, but throws an error\nwhen it's not.","tags":[{"tag":"example","text":"\nconst omniOsc = new Tone.OmniOscillator().toDestination().start();\nomniOsc.type = \"pwm\";\n// modulationFrequency is parameter which is available\n// only when the type is \"pwm\".\nomniOsc.modulationFrequency.value = 0.5;\n"}]},"getSignature":[{"id":8192,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The type of the oscillator. Can be any of the basic types: sine, square, triangle, sawtooth. Or\nprefix the basic types with \"fm\", \"am\", or \"fat\" to use the FMOscillator, AMOscillator or FatOscillator\ntypes. The oscillator could also be set to \"pwm\" or \"pulse\". All of the parameters of the\noscillator's class are accessible when the oscillator is set to that type, but throws an error\nwhen it's not.","tags":[{"tag":"example","text":"\nconst omniOsc = new Tone.OmniOscillator().toDestination().start();\nomniOsc.type = \"pwm\";\n// modulationFrequency is parameter which is available\n// only when the type is \"pwm\".\nomniOsc.modulationFrequency.value = 0.5;\n"}]},"type":{"type":"reference","id":6575,"name":"OmniOscillatorType"}}],"setSignature":[{"id":8193,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The type of the oscillator. Can be any of the basic types: sine, square, triangle, sawtooth. Or\nprefix the basic types with \"fm\", \"am\", or \"fat\" to use the FMOscillator, AMOscillator or FatOscillator\ntypes. The oscillator could also be set to \"pwm\" or \"pulse\". All of the parameters of the\noscillator's class are accessible when the oscillator is set to that type, but throws an error\nwhen it's not.","tags":[{"tag":"example","text":"\nconst omniOsc = new Tone.OmniOscillator().toDestination().start();\nomniOsc.type = \"pwm\";\n// modulationFrequency is parameter which is available\n// only when the type is \"pwm\".\nomniOsc.modulationFrequency.value = 0.5;\n"}]},"parameters":[{"id":8194,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"custom"},{"type":"stringLiteral","value":"sawtooth"},{"type":"stringLiteral","value":"sine"},{"type":"stringLiteral","value":"square"},{"type":"stringLiteral","value":"triangle"},{"type":"stringLiteral","value":"pulse"},{"type":"stringLiteral","value":"pwm"},{"type":"stringLiteral","value":"sine1"},{"type":"stringLiteral","value":"sine2"},{"type":"stringLiteral","value":"sine3"},{"type":"stringLiteral","value":"sine4"},{"type":"stringLiteral","value":"sine5"},{"type":"stringLiteral","value":"sine6"},{"type":"stringLiteral","value":"sine7"},{"type":"stringLiteral","value":"sine8"},{"type":"stringLiteral","value":"sine9"},{"type":"stringLiteral","value":"sine10"},{"type":"stringLiteral","value":"sine11"},{"type":"stringLiteral","value":"sine12"},{"type":"stringLiteral","value":"sine13"},{"type":"stringLiteral","value":"sine14"},{"type":"stringLiteral","value":"sine15"},{"type":"stringLiteral","value":"sine16"},{"type":"stringLiteral","value":"sine17"},{"type":"stringLiteral","value":"sine18"},{"type":"stringLiteral","value":"sine19"},{"type":"stringLiteral","value":"sine20"},{"type":"stringLiteral","value":"sine21"},{"type":"stringLiteral","value":"sine22"},{"type":"stringLiteral","value":"sine23"},{"type":"stringLiteral","value":"sine24"},{"type":"stringLiteral","value":"sine25"},{"type":"stringLiteral","value":"sine26"},{"type":"stringLiteral","value":"sine27"},{"type":"stringLiteral","value":"sine28"},{"type":"stringLiteral","value":"sine29"},{"type":"stringLiteral","value":"sine30"},{"type":"stringLiteral","value":"sine31"},{"type":"stringLiteral","value":"sine32"},{"type":"stringLiteral","value":"square1"},{"type":"stringLiteral","value":"square2"},{"type":"stringLiteral","value":"square3"},{"type":"stringLiteral","value":"square4"},{"type":"stringLiteral","value":"square5"},{"type":"stringLiteral","value":"square6"},{"type":"stringLiteral","value":"square7"},{"type":"stringLiteral","value":"square8"},{"type":"stringLiteral","value":"square9"},{"type":"stringLiteral","value":"square10"},{"type":"stringLiteral","value":"square11"},{"type":"stringLiteral","value":"square12"},{"type":"stringLiteral","value":"square13"},{"type":"stringLiteral","value":"square14"},{"type":"stringLiteral","value":"square15"},{"type":"stringLiteral","value":"square16"},{"type":"stringLiteral","value":"square17"},{"type":"stringLiteral","value":"square18"},{"type":"stringLiteral","value":"square19"},{"type":"stringLiteral","value":"square20"},{"type":"stringLiteral","value":"square21"},{"type":"stringLiteral","value":"square22"},{"type":"stringLiteral","value":"square23"},{"type":"stringLiteral","value":"square24"},{"type":"stringLiteral","value":"square25"},{"type":"stringLiteral","value":"square26"},{"type":"stringLiteral","value":"square27"},{"type":"stringLiteral","value":"square28"},{"type":"stringLiteral","value":"square29"},{"type":"stringLiteral","value":"square30"},{"type":"stringLiteral","value":"square31"},{"type":"stringLiteral","value":"square32"},{"type":"stringLiteral","value":"triangle1"},{"type":"stringLiteral","value":"triangle2"},{"type":"stringLiteral","value":"triangle3"},{"type":"stringLiteral","value":"triangle4"},{"type":"stringLiteral","value":"triangle5"},{"type":"stringLiteral","value":"triangle6"},{"type":"stringLiteral","value":"triangle7"},{"type":"stringLiteral","value":"triangle8"},{"type":"stringLiteral","value":"triangle9"},{"type":"stringLiteral","value":"triangle10"},{"type":"stringLiteral","value":"triangle11"},{"type":"stringLiteral","value":"triangle12"},{"type":"stringLiteral","value":"triangle13"},{"type":"stringLiteral","value":"triangle14"},{"type":"stringLiteral","value":"triangle15"},{"type":"stringLiteral","value":"triangle16"},{"type":"stringLiteral","value":"triangle17"},{"type":"stringLiteral","value":"triangle18"},{"type":"stringLiteral","value":"triangle19"},{"type":"stringLiteral","value":"triangle20"},{"type":"stringLiteral","value":"triangle21"},{"type":"stringLiteral","value":"triangle22"},{"type":"stringLiteral","value":"triangle23"},{"type":"stringLiteral","value":"triangle24"},{"type":"stringLiteral","value":"triangle25"},{"type":"stringLiteral","value":"triangle26"},{"type":"stringLiteral","value":"triangle27"},{"type":"stringLiteral","value":"triangle28"},{"type":"stringLiteral","value":"triangle29"},{"type":"stringLiteral","value":"triangle30"},{"type":"stringLiteral","value":"triangle31"},{"type":"stringLiteral","value":"triangle32"},{"type":"stringLiteral","value":"sawtooth1"},{"type":"stringLiteral","value":"sawtooth2"},{"type":"stringLiteral","value":"sawtooth3"},{"type":"stringLiteral","value":"sawtooth4"},{"type":"stringLiteral","value":"sawtooth5"},{"type":"stringLiteral","value":"sawtooth6"},{"type":"stringLiteral","value":"sawtooth7"},{"type":"stringLiteral","value":"sawtooth8"},{"type":"stringLiteral","value":"sawtooth9"},{"type":"stringLiteral","value":"sawtooth10"},{"type":"stringLiteral","value":"sawtooth11"},{"type":"stringLiteral","value":"sawtooth12"},{"type":"stringLiteral","value":"sawtooth13"},{"type":"stringLiteral","value":"sawtooth14"},{"type":"stringLiteral","value":"sawtooth15"},{"type":"stringLiteral","value":"sawtooth16"},{"type":"stringLiteral","value":"sawtooth17"},{"type":"stringLiteral","value":"sawtooth18"},{"type":"stringLiteral","value":"sawtooth19"},{"type":"stringLiteral","value":"sawtooth20"},{"type":"stringLiteral","value":"sawtooth21"},{"type":"stringLiteral","value":"sawtooth22"},{"type":"stringLiteral","value":"sawtooth23"},{"type":"stringLiteral","value":"sawtooth24"},{"type":"stringLiteral","value":"sawtooth25"},{"type":"stringLiteral","value":"sawtooth26"},{"type":"stringLiteral","value":"sawtooth27"},{"type":"stringLiteral","value":"sawtooth28"},{"type":"stringLiteral","value":"sawtooth29"},{"type":"stringLiteral","value":"sawtooth30"},{"type":"stringLiteral","value":"sawtooth31"},{"type":"stringLiteral","value":"sawtooth32"},{"type":"stringLiteral","value":"fmcustom"},{"type":"stringLiteral","value":"fmsine"},{"type":"stringLiteral","value":"fmsquare"},{"type":"stringLiteral","value":"fmsawtooth"},{"type":"stringLiteral","value":"fmtriangle"},{"type":"stringLiteral","value":"fmsine1"},{"type":"stringLiteral","value":"fmsine2"},{"type":"stringLiteral","value":"fmsine3"},{"type":"stringLiteral","value":"fmsine4"},{"type":"stringLiteral","value":"fmsine5"},{"type":"stringLiteral","value":"fmsine6"},{"type":"stringLiteral","value":"fmsine7"},{"type":"stringLiteral","value":"fmsine8"},{"type":"stringLiteral","value":"fmsine9"},{"type":"stringLiteral","value":"fmsine10"},{"type":"stringLiteral","value":"fmsine11"},{"type":"stringLiteral","value":"fmsine12"},{"type":"stringLiteral","value":"fmsine13"},{"type":"stringLiteral","value":"fmsine14"},{"type":"stringLiteral","value":"fmsine15"},{"type":"stringLiteral","value":"fmsine16"},{"type":"stringLiteral","value":"fmsine17"},{"type":"stringLiteral","value":"fmsine18"},{"type":"stringLiteral","value":"fmsine19"},{"type":"stringLiteral","value":"fmsine20"},{"type":"stringLiteral","value":"fmsine21"},{"type":"stringLiteral","value":"fmsine22"},{"type":"stringLiteral","value":"fmsine23"},{"type":"stringLiteral","value":"fmsine24"},{"type":"stringLiteral","value":"fmsine25"},{"type":"stringLiteral","value":"fmsine26"},{"type":"stringLiteral","value":"fmsine27"},{"type":"stringLiteral","value":"fmsine28"},{"type":"stringLiteral","value":"fmsine29"},{"type":"stringLiteral","value":"fmsine30"},{"type":"stringLiteral","value":"fmsine31"},{"type":"stringLiteral","value":"fmsine32"},{"type":"stringLiteral","value":"fmsquare1"},{"type":"stringLiteral","value":"fmsquare2"},{"type":"stringLiteral","value":"fmsquare3"},{"type":"stringLiteral","value":"fmsquare4"},{"type":"stringLiteral","value":"fmsquare5"},{"type":"stringLiteral","value":"fmsquare6"},{"type":"stringLiteral","value":"fmsquare7"},{"type":"stringLiteral","value":"fmsquare8"},{"type":"stringLiteral","value":"fmsquare9"},{"type":"stringLiteral","value":"fmsquare10"},{"type":"stringLiteral","value":"fmsquare11"},{"type":"stringLiteral","value":"fmsquare12"},{"type":"stringLiteral","value":"fmsquare13"},{"type":"stringLiteral","value":"fmsquare14"},{"type":"stringLiteral","value":"fmsquare15"},{"type":"stringLiteral","value":"fmsquare16"},{"type":"stringLiteral","value":"fmsquare17"},{"type":"stringLiteral","value":"fmsquare18"},{"type":"stringLiteral","value":"fmsquare19"},{"type":"stringLiteral","value":"fmsquare20"},{"type":"stringLiteral","value":"fmsquare21"},{"type":"stringLiteral","value":"fmsquare22"},{"type":"stringLiteral","value":"fmsquare23"},{"type":"stringLiteral","value":"fmsquare24"},{"type":"stringLiteral","value":"fmsquare25"},{"type":"stringLiteral","value":"fmsquare26"},{"type":"stringLiteral","value":"fmsquare27"},{"type":"stringLiteral","value":"fmsquare28"},{"type":"stringLiteral","value":"fmsquare29"},{"type":"stringLiteral","value":"fmsquare30"},{"type":"stringLiteral","value":"fmsquare31"},{"type":"stringLiteral","value":"fmsquare32"},{"type":"stringLiteral","value":"fmsawtooth1"},{"type":"stringLiteral","value":"fmsawtooth2"},{"type":"stringLiteral","value":"fmsawtooth3"},{"type":"stringLiteral","value":"fmsawtooth4"},{"type":"stringLiteral","value":"fmsawtooth5"},{"type":"stringLiteral","value":"fmsawtooth6"},{"type":"stringLiteral","value":"fmsawtooth7"},{"type":"stringLiteral","value":"fmsawtooth8"},{"type":"stringLiteral","value":"fmsawtooth9"},{"type":"stringLiteral","value":"fmsawtooth10"},{"type":"stringLiteral","value":"fmsawtooth11"},{"type":"stringLiteral","value":"fmsawtooth12"},{"type":"stringLiteral","value":"fmsawtooth13"},{"type":"stringLiteral","value":"fmsawtooth14"},{"type":"stringLiteral","value":"fmsawtooth15"},{"type":"stringLiteral","value":"fmsawtooth16"},{"type":"stringLiteral","value":"fmsawtooth17"},{"type":"stringLiteral","value":"fmsawtooth18"},{"type":"stringLiteral","value":"fmsawtooth19"},{"type":"stringLiteral","value":"fmsawtooth20"},{"type":"stringLiteral","value":"fmsawtooth21"},{"type":"stringLiteral","value":"fmsawtooth22"},{"type":"stringLiteral","value":"fmsawtooth23"},{"type":"stringLiteral","value":"fmsawtooth24"},{"type":"stringLiteral","value":"fmsawtooth25"},{"type":"stringLiteral","value":"fmsawtooth26"},{"type":"stringLiteral","value":"fmsawtooth27"},{"type":"stringLiteral","value":"fmsawtooth28"},{"type":"stringLiteral","value":"fmsawtooth29"},{"type":"stringLiteral","value":"fmsawtooth30"},{"type":"stringLiteral","value":"fmsawtooth31"},{"type":"stringLiteral","value":"fmsawtooth32"},{"type":"stringLiteral","value":"fmtriangle1"},{"type":"stringLiteral","value":"fmtriangle2"},{"type":"stringLiteral","value":"fmtriangle3"},{"type":"stringLiteral","value":"fmtriangle4"},{"type":"stringLiteral","value":"fmtriangle5"},{"type":"stringLiteral","value":"fmtriangle6"},{"type":"stringLiteral","value":"fmtriangle7"},{"type":"stringLiteral","value":"fmtriangle8"},{"type":"stringLiteral","value":"fmtriangle9"},{"type":"stringLiteral","value":"fmtriangle10"},{"type":"stringLiteral","value":"fmtriangle11"},{"type":"stringLiteral","value":"fmtriangle12"},{"type":"stringLiteral","value":"fmtriangle13"},{"type":"stringLiteral","value":"fmtriangle14"},{"type":"stringLiteral","value":"fmtriangle15"},{"type":"stringLiteral","value":"fmtriangle16"},{"type":"stringLiteral","value":"fmtriangle17"},{"type":"stringLiteral","value":"fmtriangle18"},{"type":"stringLiteral","value":"fmtriangle19"},{"type":"stringLiteral","value":"fmtriangle20"},{"type":"stringLiteral","value":"fmtriangle21"},{"type":"stringLiteral","value":"fmtriangle22"},{"type":"stringLiteral","value":"fmtriangle23"},{"type":"stringLiteral","value":"fmtriangle24"},{"type":"stringLiteral","value":"fmtriangle25"},{"type":"stringLiteral","value":"fmtriangle26"},{"type":"stringLiteral","value":"fmtriangle27"},{"type":"stringLiteral","value":"fmtriangle28"},{"type":"stringLiteral","value":"fmtriangle29"},{"type":"stringLiteral","value":"fmtriangle30"},{"type":"stringLiteral","value":"fmtriangle31"},{"type":"stringLiteral","value":"fmtriangle32"},{"type":"stringLiteral","value":"amcustom"},{"type":"stringLiteral","value":"amsine"},{"type":"stringLiteral","value":"amsquare"},{"type":"stringLiteral","value":"amsawtooth"},{"type":"stringLiteral","value":"amtriangle"},{"type":"stringLiteral","value":"amsine1"},{"type":"stringLiteral","value":"amsine2"},{"type":"stringLiteral","value":"amsine3"},{"type":"stringLiteral","value":"amsine4"},{"type":"stringLiteral","value":"amsine5"},{"type":"stringLiteral","value":"amsine6"},{"type":"stringLiteral","value":"amsine7"},{"type":"stringLiteral","value":"amsine8"},{"type":"stringLiteral","value":"amsine9"},{"type":"stringLiteral","value":"amsine10"},{"type":"stringLiteral","value":"amsine11"},{"type":"stringLiteral","value":"amsine12"},{"type":"stringLiteral","value":"amsine13"},{"type":"stringLiteral","value":"amsine14"},{"type":"stringLiteral","value":"amsine15"},{"type":"stringLiteral","value":"amsine16"},{"type":"stringLiteral","value":"amsine17"},{"type":"stringLiteral","value":"amsine18"},{"type":"stringLiteral","value":"amsine19"},{"type":"stringLiteral","value":"amsine20"},{"type":"stringLiteral","value":"amsine21"},{"type":"stringLiteral","value":"amsine22"},{"type":"stringLiteral","value":"amsine23"},{"type":"stringLiteral","value":"amsine24"},{"type":"stringLiteral","value":"amsine25"},{"type":"stringLiteral","value":"amsine26"},{"type":"stringLiteral","value":"amsine27"},{"type":"stringLiteral","value":"amsine28"},{"type":"stringLiteral","value":"amsine29"},{"type":"stringLiteral","value":"amsine30"},{"type":"stringLiteral","value":"amsine31"},{"type":"stringLiteral","value":"amsine32"},{"type":"stringLiteral","value":"amsquare1"},{"type":"stringLiteral","value":"amsquare2"},{"type":"stringLiteral","value":"amsquare3"},{"type":"stringLiteral","value":"amsquare4"},{"type":"stringLiteral","value":"amsquare5"},{"type":"stringLiteral","value":"amsquare6"},{"type":"stringLiteral","value":"amsquare7"},{"type":"stringLiteral","value":"amsquare8"},{"type":"stringLiteral","value":"amsquare9"},{"type":"stringLiteral","value":"amsquare10"},{"type":"stringLiteral","value":"amsquare11"},{"type":"stringLiteral","value":"amsquare12"},{"type":"stringLiteral","value":"amsquare13"},{"type":"stringLiteral","value":"amsquare14"},{"type":"stringLiteral","value":"amsquare15"},{"type":"stringLiteral","value":"amsquare16"},{"type":"stringLiteral","value":"amsquare17"},{"type":"stringLiteral","value":"amsquare18"},{"type":"stringLiteral","value":"amsquare19"},{"type":"stringLiteral","value":"amsquare20"},{"type":"stringLiteral","value":"amsquare21"},{"type":"stringLiteral","value":"amsquare22"},{"type":"stringLiteral","value":"amsquare23"},{"type":"stringLiteral","value":"amsquare24"},{"type":"stringLiteral","value":"amsquare25"},{"type":"stringLiteral","value":"amsquare26"},{"type":"stringLiteral","value":"amsquare27"},{"type":"stringLiteral","value":"amsquare28"},{"type":"stringLiteral","value":"amsquare29"},{"type":"stringLiteral","value":"amsquare30"},{"type":"stringLiteral","value":"amsquare31"},{"type":"stringLiteral","value":"amsquare32"},{"type":"stringLiteral","value":"amsawtooth1"},{"type":"stringLiteral","value":"amsawtooth2"},{"type":"stringLiteral","value":"amsawtooth3"},{"type":"stringLiteral","value":"amsawtooth4"},{"type":"stringLiteral","value":"amsawtooth5"},{"type":"stringLiteral","value":"amsawtooth6"},{"type":"stringLiteral","value":"amsawtooth7"},{"type":"stringLiteral","value":"amsawtooth8"},{"type":"stringLiteral","value":"amsawtooth9"},{"type":"stringLiteral","value":"amsawtooth10"},{"type":"stringLiteral","value":"amsawtooth11"},{"type":"stringLiteral","value":"amsawtooth12"},{"type":"stringLiteral","value":"amsawtooth13"},{"type":"stringLiteral","value":"amsawtooth14"},{"type":"stringLiteral","value":"amsawtooth15"},{"type":"stringLiteral","value":"amsawtooth16"},{"type":"stringLiteral","value":"amsawtooth17"},{"type":"stringLiteral","value":"amsawtooth18"},{"type":"stringLiteral","value":"amsawtooth19"},{"type":"stringLiteral","value":"amsawtooth20"},{"type":"stringLiteral","value":"amsawtooth21"},{"type":"stringLiteral","value":"amsawtooth22"},{"type":"stringLiteral","value":"amsawtooth23"},{"type":"stringLiteral","value":"amsawtooth24"},{"type":"stringLiteral","value":"amsawtooth25"},{"type":"stringLiteral","value":"amsawtooth26"},{"type":"stringLiteral","value":"amsawtooth27"},{"type":"stringLiteral","value":"amsawtooth28"},{"type":"stringLiteral","value":"amsawtooth29"},{"type":"stringLiteral","value":"amsawtooth30"},{"type":"stringLiteral","value":"amsawtooth31"},{"type":"stringLiteral","value":"amsawtooth32"},{"type":"stringLiteral","value":"amtriangle1"},{"type":"stringLiteral","value":"amtriangle2"},{"type":"stringLiteral","value":"amtriangle3"},{"type":"stringLiteral","value":"amtriangle4"},{"type":"stringLiteral","value":"amtriangle5"},{"type":"stringLiteral","value":"amtriangle6"},{"type":"stringLiteral","value":"amtriangle7"},{"type":"stringLiteral","value":"amtriangle8"},{"type":"stringLiteral","value":"amtriangle9"},{"type":"stringLiteral","value":"amtriangle10"},{"type":"stringLiteral","value":"amtriangle11"},{"type":"stringLiteral","value":"amtriangle12"},{"type":"stringLiteral","value":"amtriangle13"},{"type":"stringLiteral","value":"amtriangle14"},{"type":"stringLiteral","value":"amtriangle15"},{"type":"stringLiteral","value":"amtriangle16"},{"type":"stringLiteral","value":"amtriangle17"},{"type":"stringLiteral","value":"amtriangle18"},{"type":"stringLiteral","value":"amtriangle19"},{"type":"stringLiteral","value":"amtriangle20"},{"type":"stringLiteral","value":"amtriangle21"},{"type":"stringLiteral","value":"amtriangle22"},{"type":"stringLiteral","value":"amtriangle23"},{"type":"stringLiteral","value":"amtriangle24"},{"type":"stringLiteral","value":"amtriangle25"},{"type":"stringLiteral","value":"amtriangle26"},{"type":"stringLiteral","value":"amtriangle27"},{"type":"stringLiteral","value":"amtriangle28"},{"type":"stringLiteral","value":"amtriangle29"},{"type":"stringLiteral","value":"amtriangle30"},{"type":"stringLiteral","value":"amtriangle31"},{"type":"stringLiteral","value":"amtriangle32"},{"type":"stringLiteral","value":"fatcustom"},{"type":"stringLiteral","value":"fatsine"},{"type":"stringLiteral","value":"fatsquare"},{"type":"stringLiteral","value":"fatsawtooth"},{"type":"stringLiteral","value":"fattriangle"},{"type":"stringLiteral","value":"fatsine1"},{"type":"stringLiteral","value":"fatsine2"},{"type":"stringLiteral","value":"fatsine3"},{"type":"stringLiteral","value":"fatsine4"},{"type":"stringLiteral","value":"fatsine5"},{"type":"stringLiteral","value":"fatsine6"},{"type":"stringLiteral","value":"fatsine7"},{"type":"stringLiteral","value":"fatsine8"},{"type":"stringLiteral","value":"fatsine9"},{"type":"stringLiteral","value":"fatsine10"},{"type":"stringLiteral","value":"fatsine11"},{"type":"stringLiteral","value":"fatsine12"},{"type":"stringLiteral","value":"fatsine13"},{"type":"stringLiteral","value":"fatsine14"},{"type":"stringLiteral","value":"fatsine15"},{"type":"stringLiteral","value":"fatsine16"},{"type":"stringLiteral","value":"fatsine17"},{"type":"stringLiteral","value":"fatsine18"},{"type":"stringLiteral","value":"fatsine19"},{"type":"stringLiteral","value":"fatsine20"},{"type":"stringLiteral","value":"fatsine21"},{"type":"stringLiteral","value":"fatsine22"},{"type":"stringLiteral","value":"fatsine23"},{"type":"stringLiteral","value":"fatsine24"},{"type":"stringLiteral","value":"fatsine25"},{"type":"stringLiteral","value":"fatsine26"},{"type":"stringLiteral","value":"fatsine27"},{"type":"stringLiteral","value":"fatsine28"},{"type":"stringLiteral","value":"fatsine29"},{"type":"stringLiteral","value":"fatsine30"},{"type":"stringLiteral","value":"fatsine31"},{"type":"stringLiteral","value":"fatsine32"},{"type":"stringLiteral","value":"fatsquare1"},{"type":"stringLiteral","value":"fatsquare2"},{"type":"stringLiteral","value":"fatsquare3"},{"type":"stringLiteral","value":"fatsquare4"},{"type":"stringLiteral","value":"fatsquare5"},{"type":"stringLiteral","value":"fatsquare6"},{"type":"stringLiteral","value":"fatsquare7"},{"type":"stringLiteral","value":"fatsquare8"},{"type":"stringLiteral","value":"fatsquare9"},{"type":"stringLiteral","value":"fatsquare10"},{"type":"stringLiteral","value":"fatsquare11"},{"type":"stringLiteral","value":"fatsquare12"},{"type":"stringLiteral","value":"fatsquare13"},{"type":"stringLiteral","value":"fatsquare14"},{"type":"stringLiteral","value":"fatsquare15"},{"type":"stringLiteral","value":"fatsquare16"},{"type":"stringLiteral","value":"fatsquare17"},{"type":"stringLiteral","value":"fatsquare18"},{"type":"stringLiteral","value":"fatsquare19"},{"type":"stringLiteral","value":"fatsquare20"},{"type":"stringLiteral","value":"fatsquare21"},{"type":"stringLiteral","value":"fatsquare22"},{"type":"stringLiteral","value":"fatsquare23"},{"type":"stringLiteral","value":"fatsquare24"},{"type":"stringLiteral","value":"fatsquare25"},{"type":"stringLiteral","value":"fatsquare26"},{"type":"stringLiteral","value":"fatsquare27"},{"type":"stringLiteral","value":"fatsquare28"},{"type":"stringLiteral","value":"fatsquare29"},{"type":"stringLiteral","value":"fatsquare30"},{"type":"stringLiteral","value":"fatsquare31"},{"type":"stringLiteral","value":"fatsquare32"},{"type":"stringLiteral","value":"fatsawtooth1"},{"type":"stringLiteral","value":"fatsawtooth2"},{"type":"stringLiteral","value":"fatsawtooth3"},{"type":"stringLiteral","value":"fatsawtooth4"},{"type":"stringLiteral","value":"fatsawtooth5"},{"type":"stringLiteral","value":"fatsawtooth6"},{"type":"stringLiteral","value":"fatsawtooth7"},{"type":"stringLiteral","value":"fatsawtooth8"},{"type":"stringLiteral","value":"fatsawtooth9"},{"type":"stringLiteral","value":"fatsawtooth10"},{"type":"stringLiteral","value":"fatsawtooth11"},{"type":"stringLiteral","value":"fatsawtooth12"},{"type":"stringLiteral","value":"fatsawtooth13"},{"type":"stringLiteral","value":"fatsawtooth14"},{"type":"stringLiteral","value":"fatsawtooth15"},{"type":"stringLiteral","value":"fatsawtooth16"},{"type":"stringLiteral","value":"fatsawtooth17"},{"type":"stringLiteral","value":"fatsawtooth18"},{"type":"stringLiteral","value":"fatsawtooth19"},{"type":"stringLiteral","value":"fatsawtooth20"},{"type":"stringLiteral","value":"fatsawtooth21"},{"type":"stringLiteral","value":"fatsawtooth22"},{"type":"stringLiteral","value":"fatsawtooth23"},{"type":"stringLiteral","value":"fatsawtooth24"},{"type":"stringLiteral","value":"fatsawtooth25"},{"type":"stringLiteral","value":"fatsawtooth26"},{"type":"stringLiteral","value":"fatsawtooth27"},{"type":"stringLiteral","value":"fatsawtooth28"},{"type":"stringLiteral","value":"fatsawtooth29"},{"type":"stringLiteral","value":"fatsawtooth30"},{"type":"stringLiteral","value":"fatsawtooth31"},{"type":"stringLiteral","value":"fatsawtooth32"},{"type":"stringLiteral","value":"fattriangle1"},{"type":"stringLiteral","value":"fattriangle2"},{"type":"stringLiteral","value":"fattriangle3"},{"type":"stringLiteral","value":"fattriangle4"},{"type":"stringLiteral","value":"fattriangle5"},{"type":"stringLiteral","value":"fattriangle6"},{"type":"stringLiteral","value":"fattriangle7"},{"type":"stringLiteral","value":"fattriangle8"},{"type":"stringLiteral","value":"fattriangle9"},{"type":"stringLiteral","value":"fattriangle10"},{"type":"stringLiteral","value":"fattriangle11"},{"type":"stringLiteral","value":"fattriangle12"},{"type":"stringLiteral","value":"fattriangle13"},{"type":"stringLiteral","value":"fattriangle14"},{"type":"stringLiteral","value":"fattriangle15"},{"type":"stringLiteral","value":"fattriangle16"},{"type":"stringLiteral","value":"fattriangle17"},{"type":"stringLiteral","value":"fattriangle18"},{"type":"stringLiteral","value":"fattriangle19"},{"type":"stringLiteral","value":"fattriangle20"},{"type":"stringLiteral","value":"fattriangle21"},{"type":"stringLiteral","value":"fattriangle22"},{"type":"stringLiteral","value":"fattriangle23"},{"type":"stringLiteral","value":"fattriangle24"},{"type":"stringLiteral","value":"fattriangle25"},{"type":"stringLiteral","value":"fattriangle26"},{"type":"stringLiteral","value":"fattriangle27"},{"type":"stringLiteral","value":"fattriangle28"},{"type":"stringLiteral","value":"fattriangle29"},{"type":"stringLiteral","value":"fattriangle30"},{"type":"stringLiteral","value":"fattriangle31"},{"type":"stringLiteral","value":"fattriangle32"}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":160,"character":9},{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":167,"character":9}]},{"id":8226,"name":"width","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The width of the oscillator when sourceType === \"pulse\".\nSee [[PWMOscillator.width]]"},"getSignature":[{"id":8227,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The width of the oscillator when sourceType === \"pulse\".\nSee [[PWMOscillator.width]]"},"type":{"type":"reference","id":8366,"typeArguments":[{"type":"typeParameter","name":"OscType","constraint":{"type":"reference","id":8355,"name":"AnyOscillator"}},{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"audioRange"}],"name":"Signal"}],"name":"IsPulseOscillator"}}],"sources":[{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":320,"character":10}]},{"id":8246,"name":"asArray","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8247,"name":"asArray","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":8248,"name":"length","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"1024"}],"type":{"type":"reference","typeArguments":[{"type":"reference","name":"Float32Array"}],"name":"Promise"}}],"sources":[{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":417,"character":14}]},{"id":8315,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8316,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":8317,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":8301,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8302,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":8303,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":8304,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":8305,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":8310,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8311,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":8312,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":8313,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":8314,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":8249,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8250,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":5630,"name":"Source.dispose"}}],"sources":[{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":421,"character":8}],"overwrites":{"type":"reference","id":5630,"name":"Source.dispose"}},{"id":8318,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8319,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":8320,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":8343,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8344,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":6576,"name":"OmniOscillatorOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":8325,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8326,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":8323,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8324,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":8275,"name":"restart","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8276,"name":"restart","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Restart the source."},"parameters":[{"id":8277,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":8278,"name":"offset","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":8279,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":5621,"name":"Source.restart"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":249,"character":8}],"inheritedFrom":{"type":"reference","id":5621,"name":"Source.restart"}},{"id":8203,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8204,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":8205,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":6576,"name":"OmniOscillatorOptions"}],"name":"Partial"}}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":215,"character":4}],"overwrites":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":8267,"name":"start","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8268,"name":"start","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Start the source at the specified time. If no time is given,\nstart the source now.","tags":[{"tag":"example","text":"\nconst source = new Tone.Oscillator().toDestination();\nsource.start(\"+0.5\"); // starts the source 0.5 seconds from now\n"}]},"parameters":[{"id":8269,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the source should be started."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":8270,"name":"offset","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":8271,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":5613,"name":"Source.start"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":180,"character":6}],"inheritedFrom":{"type":"reference","id":5613,"name":"Source.start"}},{"id":8272,"name":"stop","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8273,"name":"stop","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Stop the source at the specified time. If no time is given,\nstop the source now.","tags":[{"tag":"example","text":"\nconst source = new Tone.Oscillator().toDestination();\nsource.start();\nsource.stop(\"+0.5\"); // stops the source 0.5 seconds from now\n"}]},"parameters":[{"id":8274,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the source should be stopped."},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":5618,"name":"Source.stop"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":229,"character":5}],"inheritedFrom":{"type":"reference","id":5618,"name":"Source.stop"}},{"id":8280,"name":"sync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8281,"name":"sync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Sync the source to the Transport so that all subsequent\ncalls to `start` and `stop` are synced to the TransportTime\ninstead of the AudioContext time.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination();\n// sync the source so that it plays between 0 and 0.3 on the Transport's timeline\nosc.sync().start(0).stop(0.3);\n// start the transport.\nTone.Transport.start();\n// set it to loop once a second\nTone.Transport.loop = true;\nTone.Transport.loopEnd = 1;\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":5626,"name":"Source.sync"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":273,"character":5}],"inheritedFrom":{"type":"reference","id":5626,"name":"Source.sync"}},{"id":8306,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8307,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":8334,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8335,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":8336,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":8308,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8309,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":8331,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8332,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":8333,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":8352,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8353,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":8337,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8338,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":8339,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":8282,"name":"unsync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8283,"name":"unsync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Unsync the source to the Transport. See Source.sync"},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":5628,"name":"Source.unsync"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":310,"character":7}],"inheritedFrom":{"type":"reference","id":5628,"name":"Source.unsync"}},{"id":8180,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":8181,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":6576,"name":"OmniOscillatorOptions"},"overwrites":{"type":"reference","id":5589,"name":"Source.getDefaults"}}],"sources":[{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":117,"character":19}],"overwrites":{"type":"reference","id":5589,"name":"Source.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[8174]},{"title":"Properties","kind":1024,"children":[8321,8346,8171,8170,8252,8169,8254,8251,8253,8345]},{"title":"Accessors","kind":262144,"children":[8222,8329,8289,8293,8297,8228,8350,8242,8244,8240,8236,8263,8284,8286,8199,8195,8209,8327,8213,8232,8261,8191,8226]},{"title":"Methods","kind":2048,"children":[8246,8315,8301,8310,8249,8318,8343,8325,8323,8275,8203,8267,8272,8280,8306,8334,8308,8331,8352,8337,8282,8180]}],"sources":[{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":71,"character":27}],"extendedTypes":[{"type":"reference","id":5563,"typeArguments":[{"type":"reference","id":6576,"name":"OmniOscillatorOptions"}],"name":"Source"}],"implementedTypes":[{"type":"reflection","declaration":{"id":8354,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":73,"character":11}]}}]},{"id":12959,"name":"OnePoleFilter","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A one pole filter with 6db-per-octave rolloff. Either \"highpass\" or \"lowpass\".\nNote that changing the type or frequency may result in a discontinuity which\ncan sound like a click or pop.\nReferences:\n* http://www.earlevel.com/main/2012/12/15/a-one-pole-filter/\n* http://www.dspguide.com/ch19/2.htm\n* https://github.com/vitaliy-bobrov/js-rocks/blob/master/src/app/audio/effects/one-pole-filters.ts"},"children":[{"id":12966,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":12967,"name":"new OnePoleFilter","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":12968,"name":"frequency","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The frequency"},"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":12969,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The  filter type, either \"lowpass\" or \"highpass\"\n"},"type":{"type":"reference","id":13062,"name":"OnePoleFilterType"}}],"type":{"type":"reference","id":12959,"name":"OnePoleFilter"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":12970,"name":"new OnePoleFilter","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":12971,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":12955,"name":"OnePoleFilterOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":12959,"name":"OnePoleFilter"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/component/filter/OnePoleFilter.ts","line":43,"character":23},{"fileName":"Tone/component/filter/OnePoleFilter.ts","line":49,"character":62},{"fileName":"Tone/component/filter/OnePoleFilter.ts","line":50,"character":53}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":13026,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":13054,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":12964,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/filter/OnePoleFilter.ts","line":42,"character":15}],"type":{"type":"reference","id":1143,"name":"Gain"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":12960,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/filter/OnePoleFilter.ts","line":25,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"OnePoleFilter\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":12965,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/filter/OnePoleFilter.ts","line":43,"character":16}],"type":{"type":"reference","id":1143,"name":"Gain"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":13053,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":13034,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":13035,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":12994,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":12995,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":12996,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":12997,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":12998,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":12999,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":13000,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":13001,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":13002,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":13003,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":13004,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":13005,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":13058,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":13059,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":12976,"name":"frequency","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The frequency value."},"getSignature":[{"id":12977,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The frequency value."},"type":{"type":"reference","id":32,"name":"Frequency"}}],"setSignature":[{"id":12978,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The frequency value."},"parameters":[{"id":12979,"name":"fq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"number"}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/component/filter/OnePoleFilter.ts","line":101,"character":14},{"fileName":"Tone/component/filter/OnePoleFilter.ts","line":104,"character":14}]},{"id":12989,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":12990,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":12991,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":12992,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":13032,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":13033,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":12980,"name":"type","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The OnePole Filter type, either \"highpass\" or \"lowpass\""},"getSignature":[{"id":12981,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The OnePole Filter type, either \"highpass\" or \"lowpass\""},"type":{"type":"reference","id":13062,"name":"OnePoleFilterType"}}],"setSignature":[{"id":12982,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The OnePole Filter type, either \"highpass\" or \"lowpass\""},"parameters":[{"id":12983,"name":"t","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"highpass"},{"type":"stringLiteral","value":"lowpass"}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/component/filter/OnePoleFilter.ts","line":112,"character":9},{"fileName":"Tone/component/filter/OnePoleFilter.ts","line":115,"character":9}]},{"id":13020,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13021,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":13022,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":13006,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13007,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":13008,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":13009,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":13010,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":13015,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13016,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":13017,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":13018,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":13019,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":12987,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12988,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/component/filter/OnePoleFilter.ts","line":139,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":13023,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13024,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":13025,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":13048,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13049,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":12955,"name":"OnePoleFilterOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":12984,"name":"getFrequencyResponse","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12985,"name":"getFrequencyResponse","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the frequency response curve. This curve represents how the filter\nresponses to frequencies between 20hz-20khz.","returns":"The frequency response curve between 20-20kHz\n"},"parameters":[{"id":12986,"name":"len","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The number of values to return"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"128"}],"type":{"type":"reference","name":"Float32Array"}}],"sources":[{"fileName":"Tone/component/filter/OnePoleFilter.ts","line":126,"character":21}]},{"id":13030,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13031,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":13028,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13029,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":13050,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13051,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":13052,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":12955,"name":"OnePoleFilterOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":13011,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13012,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":13039,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13040,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":13041,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":13013,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13014,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":13036,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13037,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":13038,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":13060,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13061,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":13042,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13043,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":13044,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":12972,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":12973,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":12955,"name":"OnePoleFilterOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/component/filter/OnePoleFilter.ts","line":63,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[12966]},{"title":"Properties","kind":1024,"children":[13026,13054,12964,12960,12965,13053]},{"title":"Accessors","kind":262144,"children":[13034,12994,12998,13002,13058,12976,12989,12991,13032,12980]},{"title":"Methods","kind":2048,"children":[13020,13006,13015,12987,13023,13048,12984,13030,13028,13050,13011,13039,13013,13036,13060,13042,12972]}],"sources":[{"fileName":"Tone/component/filter/OnePoleFilter.ts","line":23,"character":26}],"extendedTypes":[{"type":"reference","id":1004,"typeArguments":[{"type":"reference","id":12955,"name":"OnePoleFilterOptions"}],"name":"ToneAudioNode"}]},{"id":1239,"name":"OneShotSource","kind":128,"kindString":"Class","flags":{"isExported":true,"isAbstract":true},"comment":{"shortText":"Base class for fire-and-forget nodes"},"typeParameter":[{"id":1240,"name":"Options","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"}}],"children":[{"id":1251,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":1252,"name":"new OneShotSource","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":1253,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1233,"name":"OneShotSourceOptions"}}],"type":{"type":"reference","id":1239,"name":"OneShotSource"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/source/OneShotSource.ts","line":80,"character":38}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":1321,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":1349,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":1242,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Sources do not have input nodes"},"sources":[{"fileName":"Tone/source/OneShotSource.ts","line":37,"character":6}],"type":{"type":"intrinsic","name":"undefined"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":1283,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isAbstract":true,"isReadonly":true},"comment":{"shortText":"The name of the class"},"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":30,"character":23}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"ToneAudioNode\"","overwrites":{"type":"reference","name":"Tone.name"},"inheritedFrom":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":1241,"name":"onended","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The callback to invoke after the\nsource is done playing."},"sources":[{"fileName":"Tone/source/OneShotSource.ts","line":32,"character":8}],"type":{"type":"reference","id":1358,"name":"onEndedCallback"},"defaultValue":"noOp"},{"id":1246,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The public output node"},"sources":[{"fileName":"Tone/source/OneShotSource.ts","line":57,"character":7}],"type":{"type":"reference","id":1143,"name":"Gain"},"defaultValue":"new Gain({\n\t\tcontext: this.context,\n\t\tgain: 0,\n\t})","overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":1348,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":1329,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":1330,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":1289,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":1290,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":1291,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":1292,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":1293,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":1294,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":1295,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":1296,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":1297,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":1298,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":1299,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":1300,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":1353,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":1354,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":1284,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":1285,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":1286,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":1287,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":1327,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":1328,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":1277,"name":"state","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Get the playback state at the current time"},"getSignature":[{"id":1278,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Get the playback state at the current time"},"type":{"type":"reference","id":705,"name":"BasicPlaybackState"}}],"sources":[{"fileName":"Tone/source/OneShotSource.ts","line":236,"character":10}]},{"id":1279,"name":"cancelStop","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1280,"name":"cancelStop","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Cancel a scheduled stop event"},"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/source/OneShotSource.ts","line":243,"character":11}]},{"id":1315,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1316,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":1317,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":1301,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1302,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":1303,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":1304,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":1305,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":1310,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1311,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":1312,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":1313,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":1314,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":1281,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1282,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/source/OneShotSource.ts","line":255,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":1318,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1319,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":1320,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":1343,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1344,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"}},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":1274,"name":"getStateAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"comment":{"shortText":"Get the playback state at the given time"},"signatures":[{"id":1275,"name":"getStateAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the playback state at the given time"},"parameters":[{"id":1276,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":705,"name":"BasicPlaybackState"}}],"sources":[{"fileName":"Tone/source/OneShotSource.ts","line":220,"character":15}]},{"id":1325,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1326,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":1323,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1324,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":1345,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1346,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":1347,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"}}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":1266,"name":"stop","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1267,"name":"stop","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Stop the source node at the given time."},"parameters":[{"id":1268,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When to stop the source\n"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/source/OneShotSource.ts","line":151,"character":5}]},{"id":1306,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1307,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":1334,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1335,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":1336,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":1308,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1309,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":1331,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1332,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":1333,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":1355,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1356,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":1337,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1338,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":1339,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":1254,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":1255,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":1233,"name":"OneShotSourceOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/source/OneShotSource.ts","line":91,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[1251]},{"title":"Properties","kind":1024,"children":[1321,1349,1242,1283,1241,1246,1348]},{"title":"Accessors","kind":262144,"children":[1329,1289,1293,1297,1353,1284,1286,1327,1277]},{"title":"Methods","kind":2048,"children":[1279,1315,1301,1310,1281,1318,1343,1274,1325,1323,1345,1266,1306,1334,1308,1331,1355,1337,1254]}],"sources":[{"fileName":"Tone/source/OneShotSource.ts","line":25,"character":35}],"extendedTypes":[{"type":"reference","id":1004,"typeArguments":[{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"}}],"name":"ToneAudioNode"}],"extendedBy":[{"type":"reference","id":1374,"name":"ToneConstantSource"},{"type":"reference","id":5728,"name":"ToneBufferSource"},{"type":"reference","id":6589,"name":"ToneOscillatorNode"}]},{"id":6718,"name":"Oscillator","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Oscillator supports a number of features including\nphase rotation, multiple oscillator types (see Oscillator.type),\nand Transport syncing (see Oscillator.syncFrequency).","tags":[{"tag":"example","text":"\n// make and start a 440hz sine tone\nconst osc = new Tone.Oscillator(440, \"sine\").toDestination().start();"}]},"children":[{"id":6728,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":6729,"name":"new Oscillator","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":6730,"name":"frequency","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Starting frequency"},"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":6731,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The oscillator type. Read more about type below.\n"},"type":{"type":"reference","id":6554,"name":"ToneOscillatorType"}}],"type":{"type":"reference","id":6718,"name":"Oscillator"},"overwrites":{"type":"reference","id":5586,"name":"Source.__constructor"}},{"id":6732,"name":"new Oscillator","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":6733,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":6556,"name":"ToneOscillatorConstructorOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":6718,"name":"Oscillator"},"overwrites":{"type":"reference","id":5586,"name":"Source.__constructor"}}],"sources":[{"fileName":"Tone/source/oscillator/Oscillator.ts","line":67,"character":35},{"fileName":"Tone/source/oscillator/Oscillator.ts","line":73,"character":63},{"fileName":"Tone/source/oscillator/Oscillator.ts","line":74,"character":65}],"overwrites":{"type":"reference","id":5586,"name":"Source.__constructor"}},{"id":6871,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":6899,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":6722,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The detune control signal."},"sources":[{"fileName":"Tone/source/oscillator/Oscillator.ts","line":42,"character":7}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"cents"}],"name":"Signal"},"implementationOf":{"type":"reference","id":6181,"name":"ToneOscillatorInterface.detune"}},{"id":6721,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The frequency control."},"sources":[{"fileName":"Tone/source/oscillator/Oscillator.ts","line":37,"character":10}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"frequency"}],"name":"Signal"},"implementationOf":{"type":"reference","id":6180,"name":"ToneOscillatorInterface.frequency"}},{"id":6802,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Sources have no inputs"},"sources":[{"fileName":"Tone/source/Source.ts","line":54,"character":6}],"type":{"type":"intrinsic","name":"undefined"},"defaultValue":"undefined","overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":5567,"name":"Source.input"}},{"id":6719,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/source/oscillator/Oscillator.ts","line":27,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Oscillator\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":6804,"name":"onstop","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The callback to invoke when the source is stopped."},"sources":[{"fileName":"Tone/source/Source.ts","line":67,"character":7}],"type":{"type":"reference","id":5706,"name":"onStopCallback"},"inheritedFrom":{"type":"reference","id":5569,"name":"Source.onstop"}},{"id":6801,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The output note"},"sources":[{"fileName":"Tone/source/Source.ts","line":49,"character":7}],"type":{"type":"reference","id":1102,"name":"OutputNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":5566,"name":"Source.output"}},{"id":6803,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The volume of the output in decibels.","tags":[{"tag":"example","text":"\nconst source = new Tone.PWMOscillator().toDestination();\nsource.volume.value = -6;\n"}]},"sources":[{"fileName":"Tone/source/Source.ts","line":62,"character":7}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"decibels"}],"name":"Param"},"inheritedFrom":{"type":"reference","id":5568,"name":"Source.volume"}},{"id":6898,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":6769,"name":"baseType","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":6770,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"reference","name":"OscillatorType"}}],"setSignature":[{"id":6771,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":6772,"name":"baseType","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"custom"},{"type":"stringLiteral","value":"sawtooth"},{"type":"stringLiteral","value":"sine"},{"type":"stringLiteral","value":"square"},{"type":"stringLiteral","value":"triangle"}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/oscillator/Oscillator.ts","line":273,"character":13},{"fileName":"Tone/source/oscillator/Oscillator.ts","line":276,"character":13}],"implementationOf":{"type":"reference","id":6178,"name":"ToneOscillatorInterface.baseType"}},{"id":6879,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":6880,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":6839,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":6840,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":6841,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":6842,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":6843,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":6844,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":6845,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":6846,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":6847,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":6848,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":6849,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":6850,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":6903,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":6904,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":6813,"name":"mute","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Mute the output.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination().start();\n// mute the output\nosc.mute = true;\n"}]},"getSignature":[{"id":6814,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Mute the output.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination().start();\n// mute the output\nosc.mute = true;\n"}]},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":5593,"name":"Source.mute"}}],"setSignature":[{"id":6815,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"Mute the output.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination().start();\n// mute the output\nosc.mute = true;\n"}]},"parameters":[{"id":6816,"name":"mute","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":5593,"name":"Source.mute"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":148,"character":9},{"fileName":"Tone/source/Source.ts","line":151,"character":9}],"inheritedFrom":{"type":"reference","id":5593,"name":"Source.mute"}},{"id":6834,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":6835,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":6836,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":6837,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":6773,"name":"partialCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":6774,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"setSignature":[{"id":6775,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":6776,"name":"p","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/oscillator/Oscillator.ts","line":284,"character":17},{"fileName":"Tone/source/oscillator/Oscillator.ts","line":287,"character":17}],"implementationOf":{"type":"reference","id":6184,"name":"ToneOscillatorInterface.partialCount"}},{"id":6788,"name":"partials","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":6789,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"number"}}}],"setSignature":[{"id":6790,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":6791,"name":"partials","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"number"}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/oscillator/Oscillator.ts","line":414,"character":13},{"fileName":"Tone/source/oscillator/Oscillator.ts","line":417,"character":13}],"implementationOf":{"type":"reference","id":6183,"name":"ToneOscillatorInterface.partials"}},{"id":6792,"name":"phase","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":6793,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"reference","id":37,"name":"Degrees"}}],"setSignature":[{"id":6794,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":6795,"name":"phase","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/oscillator/Oscillator.ts","line":425,"character":10},{"fileName":"Tone/source/oscillator/Oscillator.ts","line":428,"character":10}],"implementationOf":{"type":"reference","id":6182,"name":"ToneOscillatorInterface.phase"}},{"id":6877,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":6878,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":6811,"name":"state","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Returns the playback state of the source, either \"started\" or \"stopped\".","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/ahntone_c3.mp3\", () => {\n\tplayer.start();\n\tconsole.log(player.state);\n}).toDestination();\n"}]},"getSignature":[{"id":6812,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Returns the playback state of the source, either \"started\" or \"stopped\".","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/ahntone_c3.mp3\", () => {\n\tplayer.start();\n\tconsole.log(player.state);\n}).toDestination();\n"}]},"type":{"type":"reference","id":705,"name":"BasicPlaybackState"},"inheritedFrom":{"type":"reference","id":5591,"name":"Source.state"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":129,"character":10}],"inheritedFrom":{"type":"reference","id":5591,"name":"Source.state"}},{"id":6765,"name":"type","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":6766,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"reference","id":6554,"name":"ToneOscillatorType"}}],"setSignature":[{"id":6767,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":6768,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"custom"},{"type":"stringLiteral","value":"sawtooth"},{"type":"stringLiteral","value":"sine"},{"type":"stringLiteral","value":"square"},{"type":"stringLiteral","value":"triangle"},{"type":"stringLiteral","value":"sine1"},{"type":"stringLiteral","value":"sine2"},{"type":"stringLiteral","value":"sine3"},{"type":"stringLiteral","value":"sine4"},{"type":"stringLiteral","value":"sine5"},{"type":"stringLiteral","value":"sine6"},{"type":"stringLiteral","value":"sine7"},{"type":"stringLiteral","value":"sine8"},{"type":"stringLiteral","value":"sine9"},{"type":"stringLiteral","value":"sine10"},{"type":"stringLiteral","value":"sine11"},{"type":"stringLiteral","value":"sine12"},{"type":"stringLiteral","value":"sine13"},{"type":"stringLiteral","value":"sine14"},{"type":"stringLiteral","value":"sine15"},{"type":"stringLiteral","value":"sine16"},{"type":"stringLiteral","value":"sine17"},{"type":"stringLiteral","value":"sine18"},{"type":"stringLiteral","value":"sine19"},{"type":"stringLiteral","value":"sine20"},{"type":"stringLiteral","value":"sine21"},{"type":"stringLiteral","value":"sine22"},{"type":"stringLiteral","value":"sine23"},{"type":"stringLiteral","value":"sine24"},{"type":"stringLiteral","value":"sine25"},{"type":"stringLiteral","value":"sine26"},{"type":"stringLiteral","value":"sine27"},{"type":"stringLiteral","value":"sine28"},{"type":"stringLiteral","value":"sine29"},{"type":"stringLiteral","value":"sine30"},{"type":"stringLiteral","value":"sine31"},{"type":"stringLiteral","value":"sine32"},{"type":"stringLiteral","value":"square1"},{"type":"stringLiteral","value":"square2"},{"type":"stringLiteral","value":"square3"},{"type":"stringLiteral","value":"square4"},{"type":"stringLiteral","value":"square5"},{"type":"stringLiteral","value":"square6"},{"type":"stringLiteral","value":"square7"},{"type":"stringLiteral","value":"square8"},{"type":"stringLiteral","value":"square9"},{"type":"stringLiteral","value":"square10"},{"type":"stringLiteral","value":"square11"},{"type":"stringLiteral","value":"square12"},{"type":"stringLiteral","value":"square13"},{"type":"stringLiteral","value":"square14"},{"type":"stringLiteral","value":"square15"},{"type":"stringLiteral","value":"square16"},{"type":"stringLiteral","value":"square17"},{"type":"stringLiteral","value":"square18"},{"type":"stringLiteral","value":"square19"},{"type":"stringLiteral","value":"square20"},{"type":"stringLiteral","value":"square21"},{"type":"stringLiteral","value":"square22"},{"type":"stringLiteral","value":"square23"},{"type":"stringLiteral","value":"square24"},{"type":"stringLiteral","value":"square25"},{"type":"stringLiteral","value":"square26"},{"type":"stringLiteral","value":"square27"},{"type":"stringLiteral","value":"square28"},{"type":"stringLiteral","value":"square29"},{"type":"stringLiteral","value":"square30"},{"type":"stringLiteral","value":"square31"},{"type":"stringLiteral","value":"square32"},{"type":"stringLiteral","value":"triangle1"},{"type":"stringLiteral","value":"triangle2"},{"type":"stringLiteral","value":"triangle3"},{"type":"stringLiteral","value":"triangle4"},{"type":"stringLiteral","value":"triangle5"},{"type":"stringLiteral","value":"triangle6"},{"type":"stringLiteral","value":"triangle7"},{"type":"stringLiteral","value":"triangle8"},{"type":"stringLiteral","value":"triangle9"},{"type":"stringLiteral","value":"triangle10"},{"type":"stringLiteral","value":"triangle11"},{"type":"stringLiteral","value":"triangle12"},{"type":"stringLiteral","value":"triangle13"},{"type":"stringLiteral","value":"triangle14"},{"type":"stringLiteral","value":"triangle15"},{"type":"stringLiteral","value":"triangle16"},{"type":"stringLiteral","value":"triangle17"},{"type":"stringLiteral","value":"triangle18"},{"type":"stringLiteral","value":"triangle19"},{"type":"stringLiteral","value":"triangle20"},{"type":"stringLiteral","value":"triangle21"},{"type":"stringLiteral","value":"triangle22"},{"type":"stringLiteral","value":"triangle23"},{"type":"stringLiteral","value":"triangle24"},{"type":"stringLiteral","value":"triangle25"},{"type":"stringLiteral","value":"triangle26"},{"type":"stringLiteral","value":"triangle27"},{"type":"stringLiteral","value":"triangle28"},{"type":"stringLiteral","value":"triangle29"},{"type":"stringLiteral","value":"triangle30"},{"type":"stringLiteral","value":"triangle31"},{"type":"stringLiteral","value":"triangle32"},{"type":"stringLiteral","value":"sawtooth1"},{"type":"stringLiteral","value":"sawtooth2"},{"type":"stringLiteral","value":"sawtooth3"},{"type":"stringLiteral","value":"sawtooth4"},{"type":"stringLiteral","value":"sawtooth5"},{"type":"stringLiteral","value":"sawtooth6"},{"type":"stringLiteral","value":"sawtooth7"},{"type":"stringLiteral","value":"sawtooth8"},{"type":"stringLiteral","value":"sawtooth9"},{"type":"stringLiteral","value":"sawtooth10"},{"type":"stringLiteral","value":"sawtooth11"},{"type":"stringLiteral","value":"sawtooth12"},{"type":"stringLiteral","value":"sawtooth13"},{"type":"stringLiteral","value":"sawtooth14"},{"type":"stringLiteral","value":"sawtooth15"},{"type":"stringLiteral","value":"sawtooth16"},{"type":"stringLiteral","value":"sawtooth17"},{"type":"stringLiteral","value":"sawtooth18"},{"type":"stringLiteral","value":"sawtooth19"},{"type":"stringLiteral","value":"sawtooth20"},{"type":"stringLiteral","value":"sawtooth21"},{"type":"stringLiteral","value":"sawtooth22"},{"type":"stringLiteral","value":"sawtooth23"},{"type":"stringLiteral","value":"sawtooth24"},{"type":"stringLiteral","value":"sawtooth25"},{"type":"stringLiteral","value":"sawtooth26"},{"type":"stringLiteral","value":"sawtooth27"},{"type":"stringLiteral","value":"sawtooth28"},{"type":"stringLiteral","value":"sawtooth29"},{"type":"stringLiteral","value":"sawtooth30"},{"type":"stringLiteral","value":"sawtooth31"},{"type":"stringLiteral","value":"sawtooth32"}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/oscillator/Oscillator.ts","line":225,"character":9},{"fileName":"Tone/source/oscillator/Oscillator.ts","line":228,"character":9}],"implementationOf":{"type":"reference","id":6179,"name":"ToneOscillatorInterface.type"}},{"id":6796,"name":"asArray","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6797,"name":"asArray","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":6798,"name":"length","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"1024"}],"type":{"type":"reference","typeArguments":[{"type":"reference","name":"Float32Array"}],"name":"Promise"},"implementationOf":{"type":"reference","id":6186,"name":"ToneOscillatorInterface.asArray"}}],"sources":[{"fileName":"Tone/source/oscillator/Oscillator.ts","line":434,"character":14}],"implementationOf":{"type":"reference","id":6185,"name":"ToneOscillatorInterface.asArray"}},{"id":6865,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6866,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":6867,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":6851,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6852,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":6853,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":6854,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":6855,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":6860,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6861,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":6862,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":6863,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":6864,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":6799,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6800,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":5630,"name":"Source.dispose"}}],"sources":[{"fileName":"Tone/source/oscillator/Oscillator.ts","line":438,"character":8}],"overwrites":{"type":"reference","id":5630,"name":"Source.dispose"}},{"id":6868,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6869,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":6870,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":6893,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6894,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":6225,"name":"ToneOscillatorOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":6786,"name":"getInitialValue","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6787,"name":"getInitialValue","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Returns the initial value of the oscillator when stopped.\nE.g. a \"sine\" oscillator with phase = 90 would return an initial value of -1."},"type":{"type":"reference","id":24,"name":"AudioRange"}}],"sources":[{"fileName":"Tone/source/oscillator/Oscillator.ts","line":402,"character":16}]},{"id":6875,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6876,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":6873,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6874,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":6825,"name":"restart","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6826,"name":"restart","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Restart the source."},"parameters":[{"id":6827,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":6828,"name":"offset","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":6829,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":5621,"name":"Source.restart"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":249,"character":8}],"inheritedFrom":{"type":"reference","id":5621,"name":"Source.restart"}},{"id":6895,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6896,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":6897,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":6225,"name":"ToneOscillatorOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":6817,"name":"start","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6818,"name":"start","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Start the source at the specified time. If no time is given,\nstart the source now.","tags":[{"tag":"example","text":"\nconst source = new Tone.Oscillator().toDestination();\nsource.start(\"+0.5\"); // starts the source 0.5 seconds from now\n"}]},"parameters":[{"id":6819,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the source should be started."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":6820,"name":"offset","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":6821,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":5613,"name":"Source.start"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":180,"character":6}],"inheritedFrom":{"type":"reference","id":5613,"name":"Source.start"}},{"id":6822,"name":"stop","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6823,"name":"stop","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Stop the source at the specified time. If no time is given,\nstop the source now.","tags":[{"tag":"example","text":"\nconst source = new Tone.Oscillator().toDestination();\nsource.start();\nsource.stop(\"+0.5\"); // stops the source 0.5 seconds from now\n"}]},"parameters":[{"id":6824,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the source should be stopped."},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":5618,"name":"Source.stop"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":229,"character":5}],"inheritedFrom":{"type":"reference","id":5618,"name":"Source.stop"}},{"id":6830,"name":"sync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6831,"name":"sync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Sync the source to the Transport so that all subsequent\ncalls to `start` and `stop` are synced to the TransportTime\ninstead of the AudioContext time.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination();\n// sync the source so that it plays between 0 and 0.3 on the Transport's timeline\nosc.sync().start(0).stop(0.3);\n// start the transport.\nTone.Transport.start();\n// set it to loop once a second\nTone.Transport.loop = true;\nTone.Transport.loopEnd = 1;\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":5626,"name":"Source.sync"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":273,"character":5}],"inheritedFrom":{"type":"reference","id":5626,"name":"Source.sync"}},{"id":6745,"name":"syncFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6746,"name":"syncFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Sync the signal to the Transport's bpm. Any changes to the transports bpm,\nwill also affect the oscillators frequency.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination().start();\nosc.frequency.value = 440;\n// the ratio between the bpm and the frequency will be maintained\nosc.syncFrequency();\n// double the tempo\nTone.Transport.bpm.value *= 2;\n// the frequency of the oscillator is doubled to 880\n"}]},"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/source/oscillator/Oscillator.ts","line":176,"character":14}]},{"id":6856,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6857,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":6884,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6885,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":6886,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":6858,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6859,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":6881,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6882,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":6883,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":6905,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6906,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":6887,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6888,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":6889,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":6832,"name":"unsync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6833,"name":"unsync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Unsync the source to the Transport. See Source.sync"},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":5628,"name":"Source.unsync"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":310,"character":7}],"inheritedFrom":{"type":"reference","id":5628,"name":"Source.unsync"}},{"id":6747,"name":"unsyncFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6748,"name":"unsyncFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Unsync the oscillator's frequency from the Transport.\nSee Oscillator.syncFrequency"},"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/source/oscillator/Oscillator.ts","line":185,"character":16}]},{"id":6734,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":6735,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":6225,"name":"ToneOscillatorOptions"},"overwrites":{"type":"reference","id":5589,"name":"Source.getDefaults"}}],"sources":[{"fileName":"Tone/source/oscillator/Oscillator.ts","line":104,"character":19}],"overwrites":{"type":"reference","id":5589,"name":"Source.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[6728]},{"title":"Properties","kind":1024,"children":[6871,6899,6722,6721,6802,6719,6804,6801,6803,6898]},{"title":"Accessors","kind":262144,"children":[6769,6879,6839,6843,6847,6903,6813,6834,6836,6773,6788,6792,6877,6811,6765]},{"title":"Methods","kind":2048,"children":[6796,6865,6851,6860,6799,6868,6893,6786,6875,6873,6825,6895,6817,6822,6830,6745,6856,6884,6858,6881,6905,6887,6832,6747,6734]}],"sources":[{"fileName":"Tone/source/oscillator/Oscillator.ts","line":25,"character":23}],"extendedTypes":[{"type":"reference","id":5563,"typeArguments":[{"type":"reference","id":6225,"name":"ToneOscillatorOptions"}],"name":"Source"}],"implementedTypes":[{"type":"reference","id":6177,"name":"ToneOscillatorInterface"}]},{"id":8011,"name":"PWMOscillator","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"PWMOscillator modulates the width of a Tone.PulseOscillator\nat the modulationFrequency. This has the effect of continuously\nchanging the timbre of the oscillator by altering the harmonics\ngenerated.","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst pwm = new Tone.PWMOscillator(60, 0.3).toDestination().start();\n}, 0.1, 1);"}]},"children":[{"id":8020,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":8021,"name":"new PWMOscillator","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":8022,"name":"frequency","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The starting frequency of the oscillator."},"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":8023,"name":"modulationFrequency","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The modulation frequency of the width of the pulse.\n"},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":8011,"name":"PWMOscillator"},"overwrites":{"type":"reference","id":5586,"name":"Source.__constructor"}},{"id":8024,"name":"new PWMOscillator","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":8025,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":6425,"name":"PWMOscillatorOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":8011,"name":"PWMOscillator"},"overwrites":{"type":"reference","id":5586,"name":"Source.__constructor"}}],"sources":[{"fileName":"Tone/source/oscillator/PWMOscillator.ts","line":65,"character":51},{"fileName":"Tone/source/oscillator/PWMOscillator.ts","line":71,"character":69},{"fileName":"Tone/source/oscillator/PWMOscillator.ts","line":72,"character":54}],"overwrites":{"type":"reference","id":5586,"name":"Source.__constructor"}},{"id":8124,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":8152,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":8018,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The detune of the oscillator."},"sources":[{"fileName":"Tone/source/oscillator/PWMOscillator.ts","line":56,"character":16}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"cents"}],"name":"Signal"},"implementationOf":{"type":"reference","id":6181,"name":"ToneOscillatorInterface.detune"}},{"id":8017,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The frequency control."},"sources":[{"fileName":"Tone/source/oscillator/PWMOscillator.ts","line":51,"character":19}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"frequency"}],"name":"Signal"},"implementationOf":{"type":"reference","id":6180,"name":"ToneOscillatorInterface.frequency"}},{"id":8055,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Sources have no inputs"},"sources":[{"fileName":"Tone/source/Source.ts","line":54,"character":6}],"type":{"type":"intrinsic","name":"undefined"},"defaultValue":"undefined","overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":5567,"name":"Source.input"}},{"id":8019,"name":"modulationFrequency","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The width modulation rate of the oscillator.","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst osc = new Tone.PWMOscillator(20, 2).toDestination().start();\n}, 0.1, 1);\n"}]},"sources":[{"fileName":"Tone/source/oscillator/PWMOscillator.ts","line":65,"character":29}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"frequency"}],"name":"Signal"}},{"id":8012,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/source/oscillator/PWMOscillator.ts","line":26,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"PWMOscillator\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":8057,"name":"onstop","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The callback to invoke when the source is stopped."},"sources":[{"fileName":"Tone/source/Source.ts","line":67,"character":7}],"type":{"type":"reference","id":5706,"name":"onStopCallback"},"inheritedFrom":{"type":"reference","id":5569,"name":"Source.onstop"}},{"id":8054,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The output note"},"sources":[{"fileName":"Tone/source/Source.ts","line":49,"character":7}],"type":{"type":"reference","id":1102,"name":"OutputNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":5566,"name":"Source.output"}},{"id":8013,"name":"sourceType","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/source/oscillator/PWMOscillator.ts","line":28,"character":20}],"type":{"type":"stringLiteral","value":"pwm"},"defaultValue":"\"pwm\""},{"id":8056,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The volume of the output in decibels.","tags":[{"tag":"example","text":"\nconst source = new Tone.PWMOscillator().toDestination();\nsource.volume.value = -6;\n"}]},"sources":[{"fileName":"Tone/source/Source.ts","line":62,"character":7}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"decibels"}],"name":"Param"},"inheritedFrom":{"type":"reference","id":5568,"name":"Source.volume"}},{"id":8151,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":8039,"name":"baseType","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The baseType of the oscillator. Always returns \"pwm\"."},"getSignature":[{"id":8040,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The baseType of the oscillator. Always returns \"pwm\"."},"type":{"type":"stringLiteral","value":"pwm"}}],"sources":[{"fileName":"Tone/source/oscillator/PWMOscillator.ts","line":148,"character":13}],"implementationOf":{"type":"reference","id":6178,"name":"ToneOscillatorInterface.baseType"}},{"id":8132,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":8133,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":8092,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":8093,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":8094,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":8095,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":8096,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":8097,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":8098,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":8099,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":8100,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":8101,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":8102,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":8103,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":8156,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":8157,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":8066,"name":"mute","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Mute the output.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination().start();\n// mute the output\nosc.mute = true;\n"}]},"getSignature":[{"id":8067,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Mute the output.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination().start();\n// mute the output\nosc.mute = true;\n"}]},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":5593,"name":"Source.mute"}}],"setSignature":[{"id":8068,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"Mute the output.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination().start();\n// mute the output\nosc.mute = true;\n"}]},"parameters":[{"id":8069,"name":"mute","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":5593,"name":"Source.mute"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":148,"character":9},{"fileName":"Tone/source/Source.ts","line":151,"character":9}],"inheritedFrom":{"type":"reference","id":5593,"name":"Source.mute"}},{"id":8087,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":8088,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":8089,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":8090,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":8043,"name":"partialCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"No partials for this waveform type."},"getSignature":[{"id":8044,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"No partials for this waveform type."},"type":{"type":"intrinsic","name":"number"}}],"sources":[{"fileName":"Tone/source/oscillator/PWMOscillator.ts","line":162,"character":17}],"implementationOf":{"type":"reference","id":6184,"name":"ToneOscillatorInterface.partialCount"}},{"id":8041,"name":"partials","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The partials of the waveform. Cannot set partials for this waveform type"},"getSignature":[{"id":8042,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The partials of the waveform. Cannot set partials for this waveform type"},"type":{"type":"array","elementType":{"type":"intrinsic","name":"number"}}}],"sources":[{"fileName":"Tone/source/oscillator/PWMOscillator.ts","line":155,"character":13}],"implementationOf":{"type":"reference","id":6183,"name":"ToneOscillatorInterface.partials"}},{"id":8045,"name":"phase","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The phase of the oscillator in degrees."},"getSignature":[{"id":8046,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The phase of the oscillator in degrees."},"type":{"type":"reference","id":37,"name":"Degrees"}}],"setSignature":[{"id":8047,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The phase of the oscillator in degrees."},"parameters":[{"id":8048,"name":"phase","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":37,"name":"Degrees"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/oscillator/PWMOscillator.ts","line":169,"character":10},{"fileName":"Tone/source/oscillator/PWMOscillator.ts","line":172,"character":10}],"implementationOf":{"type":"reference","id":6182,"name":"ToneOscillatorInterface.phase"}},{"id":8130,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":8131,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":8064,"name":"state","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Returns the playback state of the source, either \"started\" or \"stopped\".","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/ahntone_c3.mp3\", () => {\n\tplayer.start();\n\tconsole.log(player.state);\n}).toDestination();\n"}]},"getSignature":[{"id":8065,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Returns the playback state of the source, either \"started\" or \"stopped\".","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/ahntone_c3.mp3\", () => {\n\tplayer.start();\n\tconsole.log(player.state);\n}).toDestination();\n"}]},"type":{"type":"reference","id":705,"name":"BasicPlaybackState"},"inheritedFrom":{"type":"reference","id":5591,"name":"Source.state"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":129,"character":10}],"inheritedFrom":{"type":"reference","id":5591,"name":"Source.state"}},{"id":8037,"name":"type","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The type of the oscillator. Always returns \"pwm\"."},"getSignature":[{"id":8038,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The type of the oscillator. Always returns \"pwm\"."},"type":{"type":"stringLiteral","value":"pwm"}}],"sources":[{"fileName":"Tone/source/oscillator/PWMOscillator.ts","line":141,"character":9}],"implementationOf":{"type":"reference","id":6179,"name":"ToneOscillatorInterface.type"}},{"id":8049,"name":"asArray","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8050,"name":"asArray","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":8051,"name":"length","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"1024"}],"type":{"type":"reference","typeArguments":[{"type":"reference","name":"Float32Array"}],"name":"Promise"},"implementationOf":{"type":"reference","id":6186,"name":"ToneOscillatorInterface.asArray"}}],"sources":[{"fileName":"Tone/source/oscillator/PWMOscillator.ts","line":176,"character":14}],"implementationOf":{"type":"reference","id":6185,"name":"ToneOscillatorInterface.asArray"}},{"id":8118,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8119,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":8120,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":8104,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8105,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":8106,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":8107,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":8108,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":8113,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8114,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":8115,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":8116,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":8117,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":8052,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8053,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Clean up."},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":5630,"name":"Source.dispose"}}],"sources":[{"fileName":"Tone/source/oscillator/PWMOscillator.ts","line":183,"character":8}],"overwrites":{"type":"reference","id":5630,"name":"Source.dispose"}},{"id":8121,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8122,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":8123,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":8146,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8147,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":6425,"name":"PWMOscillatorOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":8128,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8129,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":8126,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8127,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":8078,"name":"restart","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8079,"name":"restart","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Restart the source."},"parameters":[{"id":8080,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":8081,"name":"offset","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":8082,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":5621,"name":"Source.restart"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":249,"character":8}],"inheritedFrom":{"type":"reference","id":5621,"name":"Source.restart"}},{"id":8148,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8149,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":8150,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":6425,"name":"PWMOscillatorOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":8070,"name":"start","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8071,"name":"start","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Start the source at the specified time. If no time is given,\nstart the source now.","tags":[{"tag":"example","text":"\nconst source = new Tone.Oscillator().toDestination();\nsource.start(\"+0.5\"); // starts the source 0.5 seconds from now\n"}]},"parameters":[{"id":8072,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the source should be started."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":8073,"name":"offset","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":8074,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":5613,"name":"Source.start"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":180,"character":6}],"inheritedFrom":{"type":"reference","id":5613,"name":"Source.start"}},{"id":8075,"name":"stop","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8076,"name":"stop","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Stop the source at the specified time. If no time is given,\nstop the source now.","tags":[{"tag":"example","text":"\nconst source = new Tone.Oscillator().toDestination();\nsource.start();\nsource.stop(\"+0.5\"); // stops the source 0.5 seconds from now\n"}]},"parameters":[{"id":8077,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the source should be stopped."},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":5618,"name":"Source.stop"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":229,"character":5}],"inheritedFrom":{"type":"reference","id":5618,"name":"Source.stop"}},{"id":8083,"name":"sync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8084,"name":"sync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Sync the source to the Transport so that all subsequent\ncalls to `start` and `stop` are synced to the TransportTime\ninstead of the AudioContext time.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination();\n// sync the source so that it plays between 0 and 0.3 on the Transport's timeline\nosc.sync().start(0).stop(0.3);\n// start the transport.\nTone.Transport.start();\n// set it to loop once a second\nTone.Transport.loop = true;\nTone.Transport.loopEnd = 1;\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":5626,"name":"Source.sync"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":273,"character":5}],"inheritedFrom":{"type":"reference","id":5626,"name":"Source.sync"}},{"id":8109,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8110,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":8137,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8138,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":8139,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":8111,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8112,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":8134,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8135,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":8136,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":8158,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8159,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":8140,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8141,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":8142,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":8085,"name":"unsync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8086,"name":"unsync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Unsync the source to the Transport. See Source.sync"},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":5628,"name":"Source.unsync"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":310,"character":7}],"inheritedFrom":{"type":"reference","id":5628,"name":"Source.unsync"}},{"id":8026,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":8027,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":6425,"name":"PWMOscillatorOptions"},"overwrites":{"type":"reference","id":5589,"name":"Source.getDefaults"}}],"sources":[{"fileName":"Tone/source/oscillator/PWMOscillator.ts","line":103,"character":19}],"overwrites":{"type":"reference","id":5589,"name":"Source.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[8020]},{"title":"Properties","kind":1024,"children":[8124,8152,8018,8017,8055,8019,8012,8057,8054,8013,8056,8151]},{"title":"Accessors","kind":262144,"children":[8039,8132,8092,8096,8100,8156,8066,8087,8089,8043,8041,8045,8130,8064,8037]},{"title":"Methods","kind":2048,"children":[8049,8118,8104,8113,8052,8121,8146,8128,8126,8078,8148,8070,8075,8083,8109,8137,8111,8134,8158,8140,8085,8026]}],"sources":[{"fileName":"Tone/source/oscillator/PWMOscillator.ts","line":24,"character":26}],"extendedTypes":[{"type":"reference","id":5563,"typeArguments":[{"type":"reference","id":6425,"name":"PWMOscillatorOptions"}],"name":"Source"}],"implementedTypes":[{"type":"reference","id":6177,"name":"ToneOscillatorInterface"}]},{"id":18698,"name":"PanVol","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"PanVol is a Tone.Panner and Tone.Volume in one.","tags":[{"tag":"example","text":"\n// pan the incoming signal left and drop the volume\nconst panVol = new Tone.PanVol(-0.25, -12).toDestination();\nconst osc = new Tone.Oscillator().connect(panVol).start();"}]},"children":[{"id":18706,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":18707,"name":"new PanVol","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":18708,"name":"pan","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"the initial pan"},"type":{"type":"reference","id":24,"name":"AudioRange"}},{"id":18709,"name":"volume","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The output volume.\n"},"type":{"type":"reference","id":22,"name":"Decibels"}}],"type":{"type":"reference","id":18698,"name":"PanVol"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":18710,"name":"new PanVol","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":18711,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":18692,"name":"PanVolOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":18698,"name":"PanVol"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/component/channel/PanVol.ts","line":51,"character":36},{"fileName":"Tone/component/channel/PanVol.ts","line":57,"character":50},{"fileName":"Tone/component/channel/PanVol.ts","line":58,"character":47}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":18757,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":18785,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":18700,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/channel/PanVol.ts","line":28,"character":15}],"type":{"type":"reference","id":1101,"name":"InputNode"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":18699,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/channel/PanVol.ts","line":26,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"PanVol\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":18701,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/channel/PanVol.ts","line":29,"character":16}],"type":{"type":"reference","id":1102,"name":"OutputNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":18703,"name":"pan","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The L/R panning control. -1 = hard left, 1 = hard right.","tags":[{"tag":"min","text":"-1"},{"tag":"max","text":"1\n"}]},"sources":[{"fileName":"Tone/component/channel/PanVol.ts","line":41,"character":13}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"audioRange"}],"name":"Param"}},{"id":18705,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The volume control in decibels."},"sources":[{"fileName":"Tone/component/channel/PanVol.ts","line":51,"character":16}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"decibels"}],"name":"Param"}},{"id":18784,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":18765,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":18766,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":18725,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":18726,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":18727,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":18728,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":18729,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":18730,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":18731,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":18732,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":18733,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":18734,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":18735,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":18736,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":18789,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":18790,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":18714,"name":"mute","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Mute/unmute the volume"},"getSignature":[{"id":18715,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Mute/unmute the volume"},"type":{"type":"intrinsic","name":"boolean"}}],"setSignature":[{"id":18716,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"Mute/unmute the volume"},"parameters":[{"id":18717,"name":"mute","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/component/channel/PanVol.ts","line":95,"character":9},{"fileName":"Tone/component/channel/PanVol.ts","line":98,"character":9}]},{"id":18720,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":18721,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":18722,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":18723,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":18763,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":18764,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":18751,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18752,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":18753,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":18737,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18738,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":18739,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":18740,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":18741,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":18746,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18747,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":18748,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":18749,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":18750,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":18718,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18719,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/component/channel/PanVol.ts","line":102,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":18754,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18755,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":18756,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":18779,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18780,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":18692,"name":"PanVolOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":18761,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18762,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":18759,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18760,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":18781,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18782,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":18783,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":18692,"name":"PanVolOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":18742,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18743,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":18770,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18771,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":18772,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":18744,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18745,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":18767,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18768,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":18769,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":18791,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18792,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":18773,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18774,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":18775,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":18712,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":18713,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":18692,"name":"PanVolOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/component/channel/PanVol.ts","line":83,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[18706]},{"title":"Properties","kind":1024,"children":[18757,18785,18700,18699,18701,18703,18705,18784]},{"title":"Accessors","kind":262144,"children":[18765,18725,18729,18733,18789,18714,18720,18722,18763]},{"title":"Methods","kind":2048,"children":[18751,18737,18746,18718,18754,18779,18761,18759,18781,18742,18770,18744,18767,18791,18773,18712]}],"sources":[{"fileName":"Tone/component/channel/PanVol.ts","line":24,"character":19}],"extendedTypes":[{"type":"reference","id":1004,"typeArguments":[{"type":"reference","id":18692,"name":"PanVolOptions"}],"name":"ToneAudioNode"}]},{"id":14803,"name":"Panner","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Panner is an equal power Left/Right Panner. It is a wrapper around the StereoPannerNode.","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n// move the input signal from right to left\n\tconst panner = new Tone.Panner(1).toDestination();\n\tpanner.pan.rampTo(-1, 0.5);\n\tconst osc = new Tone.Oscillator(100).connect(panner).start();\n}, 0.5, 2);"}]},"children":[{"id":14809,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":14810,"name":"new Panner","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":14811,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":14799,"name":"TonePannerOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":14803,"name":"Panner"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":14812,"name":"new Panner","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":14813,"name":"pan","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The initial panner value (Defaults to 0 = \"center\").\n"},"type":{"type":"reference","id":24,"name":"AudioRange"}}],"type":{"type":"reference","id":14803,"name":"Panner"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/component/channel/Panner.ts","line":47,"character":35},{"fileName":"Tone/component/channel/Panner.ts","line":49,"character":51},{"fileName":"Tone/component/channel/Panner.ts","line":53,"character":31}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":14855,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":14883,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":14806,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/channel/Panner.ts","line":31,"character":15}],"type":{"type":"reference","name":"StereoPannerNode"},"defaultValue":"this._panner","overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":14804,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/channel/Panner.ts","line":25,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Panner\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":14807,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/channel/Panner.ts","line":32,"character":16}],"type":{"type":"reference","name":"StereoPannerNode"},"defaultValue":"this._panner","overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":14808,"name":"pan","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The pan control. -1 = hard left, 1 = hard right.","tags":[{"tag":"min","text":"-1"},{"tag":"max","text":"1"},{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\t// pan hard right\n\tconst panner = new Tone.Panner(1).toDestination();\n\t// pan hard left\n\tpanner.pan.setValueAtTime(-1, 0.25);\n\tconst osc = new Tone.Oscillator(50, \"triangle\").connect(panner).start();\n}, 0.5, 2);\n"}]},"sources":[{"fileName":"Tone/component/channel/Panner.ts","line":47,"character":13}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"audioRange"}],"name":"Param"}},{"id":14882,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":14863,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":14864,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":14823,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":14824,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":14825,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":14826,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":14827,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":14828,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":14829,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":14830,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":14831,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":14832,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":14833,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":14834,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":14887,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":14888,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":14818,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":14819,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":14820,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":14821,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":14861,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":14862,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":14849,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14850,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":14851,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":14835,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14836,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":14837,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":14838,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":14839,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":14844,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14845,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":14846,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":14847,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":14848,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":14816,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14817,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/component/channel/Panner.ts","line":83,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":14852,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14853,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":14854,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":14877,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14878,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":14799,"name":"TonePannerOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":14859,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14860,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":14857,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14858,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":14879,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14880,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":14881,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":14799,"name":"TonePannerOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":14840,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14841,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":14868,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14869,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":14870,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":14842,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14843,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":14865,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14866,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":14867,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":14889,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14890,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":14871,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14872,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":14873,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":14814,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":14815,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":14799,"name":"TonePannerOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/component/channel/Panner.ts","line":76,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[14809]},{"title":"Properties","kind":1024,"children":[14855,14883,14806,14804,14807,14808,14882]},{"title":"Accessors","kind":262144,"children":[14863,14823,14827,14831,14887,14818,14820,14861]},{"title":"Methods","kind":2048,"children":[14849,14835,14844,14816,14852,14877,14859,14857,14879,14840,14868,14842,14865,14889,14871,14814]}],"sources":[{"fileName":"Tone/component/channel/Panner.ts","line":23,"character":19}],"extendedTypes":[{"type":"reference","id":1004,"typeArguments":[{"type":"reference","id":14799,"name":"TonePannerOptions"}],"name":"ToneAudioNode"}]},{"id":19113,"name":"Panner3D","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A spatialized panner node which supports equalpower or HRTF panning."},"children":[{"id":19124,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":19125,"name":"new Panner3D","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":19126,"name":"positionX","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The initial x position."},"type":{"type":"intrinsic","name":"number"}},{"id":19127,"name":"positionY","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The initial y position."},"type":{"type":"intrinsic","name":"number"}},{"id":19128,"name":"positionZ","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The initial z position.\n"},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","id":19113,"name":"Panner3D"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":19129,"name":"new Panner3D","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":19130,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":19097,"name":"Panner3DOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":19113,"name":"Panner3D"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/component/channel/Panner3D.ts","line":45,"character":40},{"fileName":"Tone/component/channel/Panner3D.ts","line":52,"character":70},{"fileName":"Tone/component/channel/Panner3D.ts","line":53,"character":49}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":19214,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":19242,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":19116,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/channel/Panner3D.ts","line":36,"character":15}],"type":{"type":"reference","name":"PannerNode"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":19114,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/channel/Panner3D.ts","line":30,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Panner3D\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":19121,"name":"orientationX","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/channel/Panner3D.ts","line":43,"character":22}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"number"}],"name":"Param"}},{"id":19122,"name":"orientationY","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/channel/Panner3D.ts","line":44,"character":22}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"number"}],"name":"Param"}},{"id":19123,"name":"orientationZ","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/channel/Panner3D.ts","line":45,"character":22}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"number"}],"name":"Param"}},{"id":19117,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/channel/Panner3D.ts","line":37,"character":16}],"type":{"type":"reference","name":"PannerNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":19118,"name":"positionX","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/channel/Panner3D.ts","line":39,"character":19}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"number"}],"name":"Param"}},{"id":19119,"name":"positionY","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/channel/Panner3D.ts","line":40,"character":19}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"number"}],"name":"Param"}},{"id":19120,"name":"positionZ","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/channel/Panner3D.ts","line":41,"character":19}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"number"}],"name":"Param"}},{"id":19241,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":19222,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":19223,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":19182,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":19183,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":19184,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":19185,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":19186,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":19187,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":19188,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":19189,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":19190,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":19191,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":19192,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":19193,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":19159,"name":"coneInnerAngle","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The angle, in degrees, inside of which there will be no volume reduction"},"getSignature":[{"id":19160,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The angle, in degrees, inside of which there will be no volume reduction"},"type":{"type":"reference","id":37,"name":"Degrees"}}],"setSignature":[{"id":19161,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The angle, in degrees, inside of which there will be no volume reduction"},"parameters":[{"id":19162,"name":"val","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/component/channel/Panner3D.ts","line":184,"character":19},{"fileName":"Tone/component/channel/Panner3D.ts","line":187,"character":19}]},{"id":19163,"name":"coneOuterAngle","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The angle, in degrees, outside of which the volume will be reduced\nto a constant value of coneOuterGain"},"getSignature":[{"id":19164,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The angle, in degrees, outside of which the volume will be reduced\nto a constant value of coneOuterGain"},"type":{"type":"reference","id":37,"name":"Degrees"}}],"setSignature":[{"id":19165,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The angle, in degrees, outside of which the volume will be reduced\nto a constant value of coneOuterGain"},"parameters":[{"id":19166,"name":"val","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/component/channel/Panner3D.ts","line":195,"character":19},{"fileName":"Tone/component/channel/Panner3D.ts","line":198,"character":19}]},{"id":19167,"name":"coneOuterGain","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The gain outside of the coneOuterAngle"},"getSignature":[{"id":19168,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The gain outside of the coneOuterAngle"},"type":{"type":"reference","id":26,"name":"GainFactor"}}],"setSignature":[{"id":19169,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The gain outside of the coneOuterAngle"},"parameters":[{"id":19170,"name":"val","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/component/channel/Panner3D.ts","line":205,"character":18},{"fileName":"Tone/component/channel/Panner3D.ts","line":208,"character":18}]},{"id":19246,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":19247,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":19155,"name":"distanceModel","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The distance model used by,  \"linear\", \"inverse\", or \"exponential\"."},"getSignature":[{"id":19156,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The distance model used by,  \"linear\", \"inverse\", or \"exponential\"."},"type":{"type":"reference","name":"DistanceModelType"}}],"setSignature":[{"id":19157,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The distance model used by,  \"linear\", \"inverse\", or \"exponential\"."},"parameters":[{"id":19158,"name":"val","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"linear"},{"type":"stringLiteral","value":"exponential"},{"type":"stringLiteral","value":"inverse"}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/component/channel/Panner3D.ts","line":174,"character":18},{"fileName":"Tone/component/channel/Panner3D.ts","line":177,"character":18}]},{"id":19171,"name":"maxDistance","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The maximum distance between source and listener,\nafter which the volume will not be reduced any further."},"getSignature":[{"id":19172,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The maximum distance between source and listener,\nafter which the volume will not be reduced any further."},"type":{"type":"intrinsic","name":"number"}}],"setSignature":[{"id":19173,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The maximum distance between source and listener,\nafter which the volume will not be reduced any further."},"parameters":[{"id":19174,"name":"val","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/component/channel/Panner3D.ts","line":216,"character":16},{"fileName":"Tone/component/channel/Panner3D.ts","line":219,"character":16}]},{"id":19177,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":19178,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":19179,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":19180,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":19143,"name":"panningModel","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The panning model. Either \"equalpower\" or \"HRTF\"."},"getSignature":[{"id":19144,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The panning model. Either \"equalpower\" or \"HRTF\"."},"type":{"type":"reference","name":"PanningModelType"}}],"setSignature":[{"id":19145,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The panning model. Either \"equalpower\" or \"HRTF\"."},"parameters":[{"id":19146,"name":"val","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"HRTF"},{"type":"stringLiteral","value":"equalpower"}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/component/channel/Panner3D.ts","line":144,"character":17},{"fileName":"Tone/component/channel/Panner3D.ts","line":147,"character":17}]},{"id":19147,"name":"refDistance","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"A reference distance for reducing volume as source move further from the listener"},"getSignature":[{"id":19148,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"A reference distance for reducing volume as source move further from the listener"},"type":{"type":"intrinsic","name":"number"}}],"setSignature":[{"id":19149,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"A reference distance for reducing volume as source move further from the listener"},"parameters":[{"id":19150,"name":"val","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/component/channel/Panner3D.ts","line":154,"character":16},{"fileName":"Tone/component/channel/Panner3D.ts","line":157,"character":16}]},{"id":19151,"name":"rolloffFactor","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Describes how quickly the volume is reduced as source moves away from listener."},"getSignature":[{"id":19152,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Describes how quickly the volume is reduced as source moves away from listener."},"type":{"type":"intrinsic","name":"number"}}],"setSignature":[{"id":19153,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"Describes how quickly the volume is reduced as source moves away from listener."},"parameters":[{"id":19154,"name":"val","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/component/channel/Panner3D.ts","line":164,"character":18},{"fileName":"Tone/component/channel/Panner3D.ts","line":167,"character":18}]},{"id":19220,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":19221,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":19208,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19209,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":19210,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":19194,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19195,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":19196,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":19197,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":19198,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":19203,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19204,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":19205,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":19206,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":19207,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":19175,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19176,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/component/channel/Panner3D.ts","line":223,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":19211,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19212,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":19213,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":19236,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19237,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":19097,"name":"Panner3DOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":19218,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19219,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":19216,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19217,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":19238,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19239,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":19240,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":19097,"name":"Panner3DOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":19138,"name":"setOrientation","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19139,"name":"setOrientation","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Sets the orientation of the source in 3d space."},"parameters":[{"id":19140,"name":"x","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}},{"id":19141,"name":"y","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}},{"id":19142,"name":"z","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/component/channel/Panner3D.ts","line":134,"character":15}]},{"id":19133,"name":"setPosition","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19134,"name":"setPosition","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Sets the position of the source in 3d space."},"parameters":[{"id":19135,"name":"x","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}},{"id":19136,"name":"y","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}},{"id":19137,"name":"z","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/component/channel/Panner3D.ts","line":124,"character":12}]},{"id":19199,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19200,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":19227,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19228,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":19229,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":19201,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19202,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":19224,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19225,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":19226,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":19248,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19249,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":19230,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19231,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":19232,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":19131,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":19132,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":19097,"name":"Panner3DOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/component/channel/Panner3D.ts","line":102,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[19124]},{"title":"Properties","kind":1024,"children":[19214,19242,19116,19114,19121,19122,19123,19117,19118,19119,19120,19241]},{"title":"Accessors","kind":262144,"children":[19222,19182,19186,19190,19159,19163,19167,19246,19155,19171,19177,19179,19143,19147,19151,19220]},{"title":"Methods","kind":2048,"children":[19208,19194,19203,19175,19211,19236,19218,19216,19238,19138,19133,19199,19227,19201,19224,19248,19230,19131]}],"sources":[{"fileName":"Tone/component/channel/Panner3D.ts","line":28,"character":21}],"extendedTypes":[{"type":"reference","id":1004,"typeArguments":[{"type":"reference","id":19097,"name":"Panner3DOptions"}],"name":"ToneAudioNode"}]},{"id":826,"name":"Param","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Param wraps the native Web Audio's AudioParam to provide\nadditional unit conversion functionality. It also\nserves as a base-class for classes which have a single,\nautomatable parameter."},"typeParameter":[{"id":827,"name":"TypeName","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"reference","id":46,"name":"UnitName"}}],"children":[{"id":840,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":841,"name":"new Param","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":842,"name":"param","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The AudioParam to wrap"},"type":{"type":"reference","name":"AudioParam"}},{"id":843,"name":"units","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The unit name"},"type":{"type":"reference","id":827,"name":"TypeName"}},{"id":844,"name":"convert","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Whether or not to convert the value to the target units\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"false"},{"type":"intrinsic","name":"true"}]}}],"type":{"type":"reference","id":826,"name":"Param"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":845,"name":"new Param","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":846,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":807,"typeArguments":[{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}}],"name":"ParamOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":826,"name":"Param"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/core/context/Param.ts","line":93,"character":40},{"fileName":"Tone/core/context/Param.ts","line":100,"character":69},{"fileName":"Tone/core/context/Param.ts","line":101,"character":55}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":962,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":831,"name":"convert","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/Param.ts","line":60,"character":8}],"type":{"type":"intrinsic","name":"boolean"}},{"id":990,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":829,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/context/Param.ts","line":57,"character":15}],"type":{"type":"union","types":[{"type":"reference","name":"GainNode"},{"type":"reference","name":"AudioParam"}]}},{"id":828,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/context/Param.ts","line":55,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Param\"","overwrites":{"type":"reference","name":"Tone.name"}},{"id":832,"name":"overridden","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/Param.ts","line":61,"character":11}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false"},{"id":830,"name":"units","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/context/Param.ts","line":59,"character":15}],"type":{"type":"reference","id":46,"name":"UnitName"}},{"id":989,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":970,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":971,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":939,"name":"defaultValue","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":940,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}}],"sources":[{"fileName":"Tone/core/context/Param.ts","line":518,"character":17}]},{"id":994,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":995,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":855,"name":"maxValue","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":856,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"sources":[{"fileName":"Tone/core/context/Param.ts","line":170,"character":13}]},{"id":853,"name":"minValue","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":854,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"sources":[{"fileName":"Tone/core/context/Param.ts","line":152,"character":13}]},{"id":968,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":969,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":849,"name":"value","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":850,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}}],"setSignature":[{"id":851,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":852,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"unknown","name":"UnitMap[TypeName]"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/context/Param.ts","line":143,"character":10},{"fileName":"Tone/core/context/Param.ts","line":147,"character":10}]},{"id":931,"name":"apply","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":932,"name":"apply","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Apply all of the previously scheduled events to the passed in Param or AudioParam.\nThe applied values will start at the context's current time and schedule\nall of the events which are scheduled on this Param onto the passed in param."},"parameters":[{"id":933,"name":"param","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"reference","id":826,"name":"Param"},{"type":"reference","name":"AudioParam"}]}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/context/Param.ts","line":470,"character":6}]},{"id":923,"name":"cancelAndHoldAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":924,"name":"cancelAndHoldAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":925,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/context/Param.ts","line":414,"character":20}]},{"id":920,"name":"cancelScheduledValues","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":921,"name":"cancelScheduledValues","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":922,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/context/Param.ts","line":405,"character":22}]},{"id":937,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":938,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":58,"name":"Tone.dispose"}}],"sources":[{"fileName":"Tone/core/context/Param.ts","line":512,"character":8}],"overwrites":{"type":"reference","id":58,"name":"Tone.dispose"}},{"id":904,"name":"exponentialApproachValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":905,"name":"exponentialApproachValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":906,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":907,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":908,"name":"rampTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/context/Param.ts","line":362,"character":31}]},{"id":889,"name":"exponentialRampTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":890,"name":"exponentialRampTo","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":891,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":892,"name":"rampTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":893,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/context/Param.ts","line":341,"character":18}]},{"id":885,"name":"exponentialRampToValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":886,"name":"exponentialRampToValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":887,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":888,"name":"endTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/context/Param.ts","line":322,"character":29}]},{"id":984,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":985,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":807,"typeArguments":[{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}}],"name":"ParamOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":875,"name":"getValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":876,"name":"getValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":877,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}}],"sources":[{"fileName":"Tone/core/context/Param.ts","line":253,"character":15}]},{"id":966,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":967,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":894,"name":"linearRampTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":895,"name":"linearRampTo","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":896,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":897,"name":"rampTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":898,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/context/Param.ts","line":348,"character":13}]},{"id":881,"name":"linearRampToValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":882,"name":"linearRampToValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":883,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":884,"name":"endTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/context/Param.ts","line":306,"character":24}]},{"id":964,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":965,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":926,"name":"rampTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":927,"name":"rampTo","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":928,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":929,"name":"rampTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"},"defaultValue":"0.1"},{"id":930,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/context/Param.ts","line":456,"character":7}]},{"id":986,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":987,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":988,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":807,"typeArguments":[{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}}],"name":"ParamOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":934,"name":"setParam","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":935,"name":"setParam","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Replace the Param's internal AudioParam. Will apply scheduled curves\nonto the parameter and replace the connections."},"parameters":[{"id":936,"name":"param","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"AudioParam"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/context/Param.ts","line":502,"character":9}]},{"id":878,"name":"setRampPoint","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":879,"name":"setRampPoint","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":880,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/context/Param.ts","line":295,"character":13}]},{"id":909,"name":"setTargetAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":910,"name":"setTargetAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":911,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":912,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":913,"name":"timeConstant","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":27,"name":"Positive"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/context/Param.ts","line":373,"character":16}]},{"id":871,"name":"setValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":872,"name":"setValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":873,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":874,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/context/Param.ts","line":237,"character":15}]},{"id":914,"name":"setValueCurveAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":915,"name":"setValueCurveAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":916,"name":"values","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"array","elementType":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}}},{"id":917,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":918,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":919,"name":"scaling","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"1"}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/context/Param.ts","line":392,"character":20}]},{"id":899,"name":"targetRampTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":900,"name":"targetRampTo","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":901,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":902,"name":"rampTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":903,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/context/Param.ts","line":355,"character":13}]},{"id":975,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":976,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":977,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":972,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":973,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":974,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":996,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":997,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":978,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":979,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":980,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":847,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":848,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":807,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"ParamOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/core/context/Param.ts","line":136,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[840]},{"title":"Properties","kind":1024,"children":[962,831,990,829,828,832,830,989]},{"title":"Accessors","kind":262144,"children":[970,939,994,855,853,968,849]},{"title":"Methods","kind":2048,"children":[931,923,920,937,904,889,885,984,875,966,894,881,964,926,986,934,878,909,871,914,899,975,972,996,978,847]}],"sources":[{"fileName":"Tone/core/context/Param.ts","line":51,"character":18}],"extendedTypes":[{"type":"reference","id":4793,"typeArguments":[{"type":"reference","id":807,"typeArguments":[{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}}],"name":"ParamOptions"}],"name":"ToneWithContext"}],"extendedBy":[{"type":"reference","id":1970,"name":"TickParam"}],"implementedTypes":[{"type":"reference","id":739,"typeArguments":[{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}}],"name":"AbstractParam"}]},{"id":13868,"name":"Part","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Part is a collection ToneEvents which can be started/stopped and looped as a single unit.","tags":[{"tag":"example","text":"\nconst synth = new Tone.Synth().toDestination();\nconst part = new Tone.Part(((time, note) => {\n\t// the notes given as the second element in the array\n\t// will be passed in as the second argument\n\tsynth.triggerAttackRelease(note, \"8n\", time);\n}), [[0, \"C2\"], [\"0:2\", \"C3\"], [\"0:3:2\", \"G2\"]]);\nTone.Transport.start();"},{"tag":"example","text":"\nconst synth = new Tone.Synth().toDestination();\n// use an array of objects as long as the object has a \"time\" attribute\nconst part = new Tone.Part(((time, value) => {\n\t// the value is an object which contains both the note and the velocity\n\tsynth.triggerAttackRelease(value.note, \"8n\", time, value.velocity);\n}), [{ time: 0, note: \"C3\", velocity: 0.9 },\n\t{ time: \"0:2\", note: \"C4\", velocity: 0.5 }\n]).start(0);\nTone.Transport.start();"}]},"typeParameter":[{"id":13869,"name":"ValueType","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}}],"children":[{"id":13876,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":13877,"name":"new Part","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":13878,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The callback to invoke on each event"},"type":{"type":"reference","id":13747,"typeArguments":[{"type":"reference","id":14032,"typeArguments":[{"type":"typeParameter","name":"ValueType"}],"name":"CallbackType"}],"name":"ToneEventCallback"}},{"id":13879,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"array","elementType":{"type":"typeParameter","name":"ValueType"}}}],"type":{"type":"reference","id":13868,"name":"Part"},"overwrites":{"type":"reference","id":13649,"name":"ToneEvent.__constructor"}},{"id":13880,"name":"new Part","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":13881,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":13864,"typeArguments":[{"type":"typeParameter","name":"ValueType"}],"name":"PartOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":13868,"name":"Part"},"overwrites":{"type":"reference","id":13649,"name":"ToneEvent.__constructor"}}],"sources":[{"fileName":"Tone/event/Part.ts","line":59,"character":45},{"fileName":"Tone/event/Part.ts","line":65,"character":89},{"fileName":"Tone/event/Part.ts","line":66,"character":56}],"overwrites":{"type":"reference","id":13649,"name":"ToneEvent.__constructor"}},{"id":13981,"name":"callback","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The callback to invoke."},"sources":[{"fileName":"Tone/event/ToneEvent.ts","line":55,"character":9}],"type":{"type":"reference","id":13747,"typeArguments":[{"type":"typeParameter","name":"ValueType"}],"name":"ToneEventCallback"},"inheritedFrom":{"type":"reference","id":13637,"name":"ToneEvent.callback"}},{"id":13996,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":14024,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":13989,"name":"mute","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"If mute is true, the callback won't be invoked."},"sources":[{"fileName":"Tone/event/ToneEvent.ts","line":104,"character":5}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":13648,"name":"ToneEvent.mute"}},{"id":13870,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/event/Part.ts","line":46,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Part\"","overwrites":{"type":"reference","id":13635,"name":"ToneEvent.name"}},{"id":13982,"name":"value","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The value which is passed to the\ncallback function."},"sources":[{"fileName":"Tone/event/ToneEvent.ts","line":61,"character":6}],"type":{"type":"typeParameter","name":"ValueType"},"inheritedFrom":{"type":"reference","id":13638,"name":"ToneEvent.value"}},{"id":14023,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":14004,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":14005,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":14028,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":14029,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":13953,"name":"humanize","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":13954,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"boolean"},{"type":"reference","id":31,"name":"Time"}]},"overwrites":{"type":"reference","id":13670,"name":"ToneEvent.humanize"}}],"setSignature":[{"id":13955,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":13956,"name":"variation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"number"},{"type":"intrinsic","name":"false"},{"type":"intrinsic","name":"true"},{"type":"reflection","declaration":{"id":13957,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true}}}]}}],"type":{"type":"intrinsic","name":"void"},"overwrites":{"type":"reference","id":13670,"name":"ToneEvent.humanize"}}],"sources":[{"fileName":"Tone/event/Part.ts","line":381,"character":13},{"fileName":"Tone/event/Part.ts","line":384,"character":13}],"overwrites":{"type":"reference","id":13670,"name":"ToneEvent.humanize"}},{"id":13976,"name":"length","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of scheduled notes in the part."},"getSignature":[{"id":13977,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of scheduled notes in the part."},"type":{"type":"intrinsic","name":"number"}}],"sources":[{"fileName":"Tone/event/Part.ts","line":464,"character":11}]},{"id":13958,"name":"loop","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"If the part should loop or not\nbetween Part.loopStart and\nPart.loopEnd. If set to true,\nthe part will loop indefinitely,\nif set to a number greater than 1\nit will play a specific number of\ntimes, if set to false, 0 or 1, the\npart will only play once.","tags":[{"tag":"example","text":"\nconst part = new Tone.Part();\n// loop the part 8 times\npart.loop = 8;\n"}]},"getSignature":[{"id":13959,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"If the part should loop or not\nbetween Part.loopStart and\nPart.loopEnd. If set to true,\nthe part will loop indefinitely,\nif set to a number greater than 1\nit will play a specific number of\ntimes, if set to false, 0 or 1, the\npart will only play once.","tags":[{"tag":"example","text":"\nconst part = new Tone.Part();\n// loop the part 8 times\npart.loop = 8;\n"}]},"type":{"type":"union","types":[{"type":"intrinsic","name":"boolean"},{"type":"intrinsic","name":"number"}]},"overwrites":{"type":"reference","id":13689,"name":"ToneEvent.loop"}}],"setSignature":[{"id":13960,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"If the part should loop or not\nbetween Part.loopStart and\nPart.loopEnd. If set to true,\nthe part will loop indefinitely,\nif set to a number greater than 1\nit will play a specific number of\ntimes, if set to false, 0 or 1, the\npart will only play once.","tags":[{"tag":"example","text":"\nconst part = new Tone.Part();\n// loop the part 8 times\npart.loop = 8;\n"}]},"parameters":[{"id":13961,"name":"loop","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"number"},{"type":"intrinsic","name":"false"},{"type":"intrinsic","name":"true"}]}}],"type":{"type":"intrinsic","name":"void"},"overwrites":{"type":"reference","id":13689,"name":"ToneEvent.loop"}}],"sources":[{"fileName":"Tone/event/Part.ts","line":403,"character":9},{"fileName":"Tone/event/Part.ts","line":406,"character":9}],"overwrites":{"type":"reference","id":13689,"name":"ToneEvent.loop"}},{"id":13962,"name":"loopEnd","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The loopEnd point determines when it will\nloop if Part.loop is true."},"getSignature":[{"id":13963,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The loopEnd point determines when it will\nloop if Part.loop is true."},"type":{"type":"reference","id":31,"name":"Time"},"overwrites":{"type":"reference","id":13697,"name":"ToneEvent.loopEnd"}}],"setSignature":[{"id":13964,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The loopEnd point determines when it will\nloop if Part.loop is true."},"parameters":[{"id":13965,"name":"loopEnd","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"number"},{"type":"reflection","declaration":{"id":13966,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true}}}]}}],"type":{"type":"intrinsic","name":"void"},"overwrites":{"type":"reference","id":13697,"name":"ToneEvent.loopEnd"}}],"sources":[{"fileName":"Tone/event/Part.ts","line":420,"character":12},{"fileName":"Tone/event/Part.ts","line":423,"character":12}],"overwrites":{"type":"reference","id":13697,"name":"ToneEvent.loopEnd"}},{"id":13967,"name":"loopStart","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The loopStart point determines when it will\nloop if Part.loop is true."},"getSignature":[{"id":13968,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The loopStart point determines when it will\nloop if Part.loop is true."},"type":{"type":"reference","id":31,"name":"Time"},"overwrites":{"type":"reference","id":13702,"name":"ToneEvent.loopStart"}}],"setSignature":[{"id":13969,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The loopStart point determines when it will\nloop if Part.loop is true."},"parameters":[{"id":13970,"name":"loopStart","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"number"},{"type":"reflection","declaration":{"id":13971,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true}}}]}}],"type":{"type":"intrinsic","name":"void"},"overwrites":{"type":"reference","id":13702,"name":"ToneEvent.loopStart"}}],"sources":[{"fileName":"Tone/event/Part.ts","line":437,"character":14},{"fileName":"Tone/event/Part.ts","line":440,"character":14}],"overwrites":{"type":"reference","id":13702,"name":"ToneEvent.loopStart"}},{"id":13972,"name":"playbackRate","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The playback rate of the part"},"getSignature":[{"id":13973,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The playback rate of the part"},"type":{"type":"reference","id":27,"name":"Positive"},"overwrites":{"type":"reference","id":13693,"name":"ToneEvent.playbackRate"}}],"setSignature":[{"id":13974,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The playback rate of the part"},"parameters":[{"id":13975,"name":"rate","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"overwrites":{"type":"reference","id":13693,"name":"ToneEvent.playbackRate"}}],"sources":[{"fileName":"Tone/event/Part.ts","line":453,"character":17},{"fileName":"Tone/event/Part.ts","line":456,"character":17}],"overwrites":{"type":"reference","id":13693,"name":"ToneEvent.playbackRate"}},{"id":13949,"name":"probability","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":13950,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"reference","id":23,"name":"NormalRange"},"overwrites":{"type":"reference","id":13666,"name":"ToneEvent.probability"}}],"setSignature":[{"id":13951,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":13952,"name":"prob","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"overwrites":{"type":"reference","id":13666,"name":"ToneEvent.probability"}}],"sources":[{"fileName":"Tone/event/Part.ts","line":373,"character":16},{"fileName":"Tone/event/Part.ts","line":376,"character":16}],"overwrites":{"type":"reference","id":13666,"name":"ToneEvent.probability"}},{"id":13994,"name":"progress","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The current progress of the loop interval.\nReturns 0 if the event is not started yet or\nit is not set to loop."},"getSignature":[{"id":13995,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The current progress of the loop interval.\nReturns 0 if the event is not started yet or\nit is not set to loop."},"type":{"type":"reference","id":23,"name":"NormalRange"},"inheritedFrom":{"type":"reference","id":13707,"name":"ToneEvent.progress"}}],"sources":[{"fileName":"Tone/event/ToneEvent.ts","line":370,"character":13}],"inheritedFrom":{"type":"reference","id":13707,"name":"ToneEvent.progress"}},{"id":14002,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":14003,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":13893,"name":"startOffset","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":13894,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"reference","id":35,"name":"Ticks"},"overwrites":{"type":"reference","id":13662,"name":"ToneEvent.startOffset"}}],"setSignature":[{"id":13895,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":13896,"name":"offset","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"overwrites":{"type":"reference","id":13662,"name":"ToneEvent.startOffset"}}],"sources":[{"fileName":"Tone/event/Part.ts","line":144,"character":16},{"fileName":"Tone/event/Part.ts","line":147,"character":16}],"overwrites":{"type":"reference","id":13662,"name":"ToneEvent.startOffset"}},{"id":13990,"name":"state","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Returns the playback state of the note, either \"started\" or \"stopped\"."},"getSignature":[{"id":13991,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Returns the playback state of the note, either \"started\" or \"stopped\"."},"type":{"type":"reference","id":705,"name":"BasicPlaybackState"},"inheritedFrom":{"type":"reference","id":13660,"name":"ToneEvent.state"}}],"sources":[{"fileName":"Tone/event/ToneEvent.ts","line":185,"character":10}],"inheritedFrom":{"type":"reference","id":13660,"name":"ToneEvent.state"}},{"id":13904,"name":"add","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13905,"name":"add","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Add a an event to the part.","tags":[{"tag":"example","text":"\nconst part = new Tone.Part();\npart.add(\"1m\", \"C#+11\");\n"}]},"parameters":[{"id":13906,"name":"obj","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reflection","declaration":{"id":13907,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"indexSignature":[{"id":13909,"name":"__index","kind":8192,"kindString":"Index signature","flags":{"isExported":true},"parameters":[{"id":13910,"name":"key","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"any"}}],"children":[{"id":13908,"name":"time","kind":32,"kindString":"Variable","flags":{"isExported":true},"sources":[{"fileName":"Tone/event/Part.ts","line":218,"character":6}],"type":{"type":"reference","id":31,"name":"Time"}}],"groups":[{"title":"Variables","kind":32,"children":[13908]}],"sources":[{"fileName":"Tone/event/Part.ts","line":217,"character":9}]}}}],"type":{"type":"intrinsic","name":"this"}},{"id":13911,"name":"add","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":13912,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":13913,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/event/Part.ts","line":217,"character":4},{"fileName":"Tone/event/Part.ts","line":221,"character":4},{"fileName":"Tone/event/Part.ts","line":222,"character":4}]},{"id":13900,"name":"at","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13901,"name":"at","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get/Set an Event's value at the given time.\nIf a value is passed in and no event exists at\nthe given time, one will be created with that value.\nIf two events are at the same time, the first one will\nbe returned.","tags":[{"tag":"example","text":"\nconst part = new Tone.Part();\npart.at(\"1m\"); // returns the part at the first measure\npart.at(\"2m\", \"C2\"); // set the value at \"2m\" to C2.\n// if an event didn't exist at that time, it will be created."}]},"parameters":[{"id":13902,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The time of the event to get or set."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":13903,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"If a value is passed in, the value of the event at the given time will be set to it.\n"},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"union","types":[{"type":"reference","id":13633,"name":"ToneEvent"},{"type":"intrinsic","name":"null"}]}}],"sources":[{"fileName":"Tone/event/Part.ts","line":182,"character":3}]},{"id":13929,"name":"cancel","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13930,"name":"cancel","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Cancel scheduled state change events: i.e. \"start\" and \"stop\"."},"parameters":[{"id":13931,"name":"after","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The time after which to cancel the scheduled events.\n"},"type":{"type":"union","types":[{"type":"reference","id":34,"name":"TransportTime"},{"type":"reference","id":1681,"name":"TransportTimeClass"}]}}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":13681,"name":"ToneEvent.cancel"}}],"sources":[{"fileName":"Tone/event/Part.ts","line":316,"character":7}],"overwrites":{"type":"reference","id":13681,"name":"ToneEvent.cancel"}},{"id":13927,"name":"clear","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13928,"name":"clear","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Remove all of the notes from the group."},"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/event/Part.ts","line":306,"character":6}]},{"id":13978,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13979,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":13709,"name":"ToneEvent.dispose"}}],"sources":[{"fileName":"Tone/event/Part.ts","line":468,"character":8}],"overwrites":{"type":"reference","id":13709,"name":"ToneEvent.dispose"}},{"id":14018,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14019,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":13621,"typeArguments":[{"type":"typeParameter","name":"ValueType"}],"name":"ToneEventOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":14000,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14001,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":13998,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13999,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":13917,"name":"remove","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13918,"name":"remove","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Remove an event from the part. If the event at that time is a Part,\nit will remove the entire part."},"parameters":[{"id":13919,"name":"obj","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reflection","declaration":{"id":13920,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"indexSignature":[{"id":13922,"name":"__index","kind":8192,"kindString":"Index signature","flags":{"isExported":true},"parameters":[{"id":13923,"name":"key","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"any"}}],"children":[{"id":13921,"name":"time","kind":32,"kindString":"Variable","flags":{"isExported":true},"sources":[{"fileName":"Tone/event/Part.ts","line":281,"character":6}],"type":{"type":"reference","id":31,"name":"Time"}}],"groups":[{"title":"Variables","kind":32,"children":[13921]}],"sources":[{"fileName":"Tone/event/Part.ts","line":280,"character":12}]}}}],"type":{"type":"intrinsic","name":"this"}},{"id":13924,"name":"remove","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":13925,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":13926,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/event/Part.ts","line":280,"character":7},{"fileName":"Tone/event/Part.ts","line":284,"character":7},{"fileName":"Tone/event/Part.ts","line":285,"character":7}]},{"id":14020,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14021,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":14022,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":13621,"typeArguments":[{"type":"typeParameter","name":"ValueType"}],"name":"ToneEventOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":13884,"name":"start","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13885,"name":"start","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Start the part at the given time."},"parameters":[{"id":13886,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When to start the part."},"type":{"type":"reference","id":34,"name":"TransportTime"}},{"id":13887,"name":"offset","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The offset from the start of the part to begin playing at.\n"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":13675,"name":"ToneEvent.start"}}],"sources":[{"fileName":"Tone/event/Part.ts","line":96,"character":6}],"overwrites":{"type":"reference","id":13675,"name":"ToneEvent.start"}},{"id":13897,"name":"stop","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13898,"name":"stop","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Stop the part at the given time."},"parameters":[{"id":13899,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When to stop the part.\n"},"type":{"type":"reference","id":34,"name":"TransportTime"}}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":13678,"name":"ToneEvent.stop"}}],"sources":[{"fileName":"Tone/event/Part.ts","line":158,"character":5}],"overwrites":{"type":"reference","id":13678,"name":"ToneEvent.stop"}},{"id":14009,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14010,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":14011,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":14006,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14007,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":14008,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":14030,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14031,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":14012,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14013,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":14014,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":13882,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":13883,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":13864,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"PartOptions"},"overwrites":{"type":"reference","id":13655,"name":"ToneEvent.getDefaults"}}],"sources":[{"fileName":"Tone/event/Part.ts","line":85,"character":19}],"overwrites":{"type":"reference","id":13655,"name":"ToneEvent.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[13876]},{"title":"Properties","kind":1024,"children":[13981,13996,14024,13989,13870,13982,14023]},{"title":"Accessors","kind":262144,"children":[14004,14028,13953,13976,13958,13962,13967,13972,13949,13994,14002,13893,13990]},{"title":"Methods","kind":2048,"children":[13904,13900,13929,13927,13978,14018,14000,13998,13917,14020,13884,13897,14009,14006,14030,14012,13882]}],"sources":[{"fileName":"Tone/event/Part.ts","line":44,"character":17}],"extendedTypes":[{"type":"reference","id":13633,"typeArguments":[{"type":"typeParameter","name":"ValueType"}],"name":"ToneEvent"}]},{"id":14103,"name":"Pattern","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Pattern arpeggiates between the given notes\nin a number of patterns.","tags":[{"tag":"example","text":"\nconst pattern = new Tone.Pattern((time, note) => {\n\t// the order of the notes passed in depends on the pattern\n}, [\"C2\", \"D4\", \"E5\", \"A6\"], \"upDown\");"}]},"typeParameter":[{"id":14104,"name":"ValueType","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}}],"children":[{"id":14115,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":14116,"name":"new Pattern","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":14117,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The callback to invoke with the event."},"type":{"type":"reference","id":13747,"typeArguments":[{"type":"typeParameter","name":"ValueType"}],"name":"ToneEventCallback"}},{"id":14118,"name":"values","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The values to arpeggiate over."},"type":{"type":"array","elementType":{"type":"typeParameter","name":"ValueType"}}},{"id":14119,"name":"pattern","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The name of the pattern\n"},"type":{"type":"reference","id":14038,"name":"PatternName"}}],"type":{"type":"reference","id":14103,"name":"Pattern"},"overwrites":{"type":"reference","id":13773,"name":"Loop.__constructor"}},{"id":14120,"name":"new Pattern","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":14121,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":14087,"typeArguments":[{"type":"typeParameter","name":"ValueType"}],"name":"PatternOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":14103,"name":"Pattern"},"overwrites":{"type":"reference","id":13773,"name":"Loop.__constructor"}}],"sources":[{"fileName":"Tone/event/Pattern.ts","line":50,"character":54},{"fileName":"Tone/event/Pattern.ts","line":61,"character":3},{"fileName":"Tone/event/Pattern.ts","line":62,"character":59}],"overwrites":{"type":"reference","id":13773,"name":"Loop.__constructor"}},{"id":14110,"name":"callback","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The callback to be invoked at a regular interval"},"sources":[{"fileName":"Tone/event/Pattern.ts","line":50,"character":9}],"type":{"type":"reflection","declaration":{"id":14111,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":14112,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":14113,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":21,"name":"Seconds"}},{"id":14114,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":14104,"name":"ValueType"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/event/Pattern.ts","line":50,"character":10}]}},"overwrites":{"type":"reference","id":13769,"name":"Loop.callback"}},{"id":14178,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":14206,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":14105,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/event/Pattern.ts","line":25,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Pattern\"","overwrites":{"type":"reference","id":13767,"name":"Loop.name"}},{"id":14205,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":14186,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":14187,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":14210,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":14211,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":14159,"name":"humanize","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Random variation +/-0.01s to the scheduled time.\nOr give it a time value which it will randomize by."},"getSignature":[{"id":14160,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Random variation +/-0.01s to the scheduled time.\nOr give it a time value which it will randomize by."},"type":{"type":"union","types":[{"type":"intrinsic","name":"boolean"},{"type":"reference","id":31,"name":"Time"}]},"inheritedFrom":{"type":"reference","id":13809,"name":"Loop.humanize"}}],"setSignature":[{"id":14161,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"Random variation +/-0.01s to the scheduled time.\nOr give it a time value which it will randomize by."},"parameters":[{"id":14162,"name":"variation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"number"},{"type":"intrinsic","name":"false"},{"type":"intrinsic","name":"true"},{"type":"reflection","declaration":{"id":14163,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true}}}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":13809,"name":"Loop.humanize"}}],"sources":[{"fileName":"Tone/event/Loop.ts","line":158,"character":13},{"fileName":"Tone/event/Loop.ts","line":161,"character":13}],"inheritedFrom":{"type":"reference","id":13809,"name":"Loop.humanize"}},{"id":14150,"name":"interval","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The time between successive callbacks.","tags":[{"tag":"example","text":"\nconst loop = new Tone.Loop();\nloop.interval = \"8n\"; // loop every 8n\n"}]},"getSignature":[{"id":14151,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The time between successive callbacks.","tags":[{"tag":"example","text":"\nconst loop = new Tone.Loop();\nloop.interval = \"8n\"; // loop every 8n\n"}]},"type":{"type":"reference","id":31,"name":"Time"},"inheritedFrom":{"type":"reference","id":13800,"name":"Loop.interval"}}],"setSignature":[{"id":14152,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The time between successive callbacks.","tags":[{"tag":"example","text":"\nconst loop = new Tone.Loop();\nloop.interval = \"8n\"; // loop every 8n\n"}]},"parameters":[{"id":14153,"name":"interval","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"number"},{"type":"reflection","declaration":{"id":14154,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true}}}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":13800,"name":"Loop.interval"}}],"sources":[{"fileName":"Tone/event/Loop.ts","line":136,"character":13},{"fileName":"Tone/event/Loop.ts","line":139,"character":13}],"inheritedFrom":{"type":"reference","id":13800,"name":"Loop.interval"}},{"id":14172,"name":"iterations","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of iterations of the loop. The default value is `Infinity` (loop forever)."},"getSignature":[{"id":14173,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of iterations of the loop. The default value is `Infinity` (loop forever)."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":13822,"name":"Loop.iterations"}}],"setSignature":[{"id":14174,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The number of iterations of the loop. The default value is `Infinity` (loop forever)."},"parameters":[{"id":14175,"name":"iters","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":13822,"name":"Loop.iterations"}}],"sources":[{"fileName":"Tone/event/Loop.ts","line":190,"character":15},{"fileName":"Tone/event/Loop.ts","line":197,"character":15}],"inheritedFrom":{"type":"reference","id":13822,"name":"Loop.iterations"}},{"id":14168,"name":"mute","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Muting the Loop means that no callbacks are invoked."},"getSignature":[{"id":14169,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Muting the Loop means that no callbacks are invoked."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":13818,"name":"Loop.mute"}}],"setSignature":[{"id":14170,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"Muting the Loop means that no callbacks are invoked."},"parameters":[{"id":14171,"name":"mute","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":13818,"name":"Loop.mute"}}],"sources":[{"fileName":"Tone/event/Loop.ts","line":179,"character":9},{"fileName":"Tone/event/Loop.ts","line":183,"character":9}],"inheritedFrom":{"type":"reference","id":13818,"name":"Loop.mute"}},{"id":14133,"name":"pattern","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The pattern type. See Tone.CtrlPattern for the full list of patterns."},"getSignature":[{"id":14134,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The pattern type. See Tone.CtrlPattern for the full list of patterns."},"type":{"type":"reference","id":14038,"name":"PatternName"}}],"setSignature":[{"id":14135,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The pattern type. See Tone.CtrlPattern for the full list of patterns."},"parameters":[{"id":14136,"name":"pattern","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"down"},{"type":"stringLiteral","value":"up"},{"type":"stringLiteral","value":"upDown"},{"type":"stringLiteral","value":"downUp"},{"type":"stringLiteral","value":"alternateUp"},{"type":"stringLiteral","value":"alternateDown"},{"type":"stringLiteral","value":"random"},{"type":"stringLiteral","value":"randomOnce"},{"type":"stringLiteral","value":"randomWalk"}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/event/Pattern.ts","line":113,"character":12},{"fileName":"Tone/event/Pattern.ts","line":116,"character":12}]},{"id":14155,"name":"playbackRate","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The playback rate of the loop. The normal playback rate is 1 (no change).\nA `playbackRate` of 2 would be twice as fast."},"getSignature":[{"id":14156,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The playback rate of the loop. The normal playback rate is 1 (no change).\nA `playbackRate` of 2 would be twice as fast."},"type":{"type":"reference","id":27,"name":"Positive"},"inheritedFrom":{"type":"reference","id":13805,"name":"Loop.playbackRate"}}],"setSignature":[{"id":14157,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The playback rate of the loop. The normal playback rate is 1 (no change).\nA `playbackRate` of 2 would be twice as fast."},"parameters":[{"id":14158,"name":"rate","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":13805,"name":"Loop.playbackRate"}}],"sources":[{"fileName":"Tone/event/Loop.ts","line":147,"character":17},{"fileName":"Tone/event/Loop.ts","line":150,"character":17}],"inheritedFrom":{"type":"reference","id":13805,"name":"Loop.playbackRate"}},{"id":14164,"name":"probability","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The probably of the callback being invoked."},"getSignature":[{"id":14165,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The probably of the callback being invoked."},"type":{"type":"reference","id":23,"name":"NormalRange"},"inheritedFrom":{"type":"reference","id":13814,"name":"Loop.probability"}}],"setSignature":[{"id":14166,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The probably of the callback being invoked."},"parameters":[{"id":14167,"name":"prob","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":13814,"name":"Loop.probability"}}],"sources":[{"fileName":"Tone/event/Loop.ts","line":168,"character":16},{"fileName":"Tone/event/Loop.ts","line":172,"character":16}],"inheritedFrom":{"type":"reference","id":13814,"name":"Loop.probability"}},{"id":14148,"name":"progress","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The progress of the loop as a value between 0-1. 0, when the loop is stopped or done iterating."},"getSignature":[{"id":14149,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The progress of the loop as a value between 0-1. 0, when the loop is stopped or done iterating."},"type":{"type":"reference","id":23,"name":"NormalRange"},"inheritedFrom":{"type":"reference","id":13798,"name":"Loop.progress"}}],"sources":[{"fileName":"Tone/event/Loop.ts","line":126,"character":13}],"inheritedFrom":{"type":"reference","id":13798,"name":"Loop.progress"}},{"id":14184,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":14185,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":14146,"name":"state","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The state of the Loop, either started or stopped."},"getSignature":[{"id":14147,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The state of the Loop, either started or stopped."},"type":{"type":"reference","id":705,"name":"BasicPlaybackState"},"inheritedFrom":{"type":"reference","id":13796,"name":"Loop.state"}}],"sources":[{"fileName":"Tone/event/Loop.ts","line":119,"character":10}],"inheritedFrom":{"type":"reference","id":13796,"name":"Loop.state"}},{"id":14131,"name":"value","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The current value of the pattern."},"getSignature":[{"id":14132,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The current value of the pattern."},"type":{"type":"union","types":[{"type":"typeParameter","name":"ValueType"},{"type":"intrinsic","name":"undefined"}]}}],"sources":[{"fileName":"Tone/event/Pattern.ts","line":106,"character":10}]},{"id":14127,"name":"values","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The array of events."},"getSignature":[{"id":14128,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The array of events."},"type":{"type":"array","elementType":{"type":"typeParameter","name":"ValueType"}}}],"setSignature":[{"id":14129,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The array of events."},"parameters":[{"id":14130,"name":"val","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"array","elementType":{"type":"unknown","name":"ValueType"}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/event/Pattern.ts","line":94,"character":11},{"fileName":"Tone/event/Pattern.ts","line":97,"character":11}]},{"id":14143,"name":"cancel","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14144,"name":"cancel","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Cancel all scheduled events greater than or equal to the given time"},"parameters":[{"id":14145,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The time after which events will be cancel.\n"},"type":{"type":"reference","id":34,"name":"TransportTime"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":13790,"name":"Loop.cancel"}}],"sources":[{"fileName":"Tone/event/Loop.ts","line":103,"character":7}],"inheritedFrom":{"type":"reference","id":13790,"name":"Loop.cancel"}},{"id":14176,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14177,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":58,"name":"Tone.dispose"},"inheritedFrom":{"type":"reference","id":13826,"name":"Loop.dispose"}}],"sources":[{"fileName":"Tone/event/Loop.ts","line":205,"character":8}],"overwrites":{"type":"reference","id":58,"name":"Tone.dispose"},"inheritedFrom":{"type":"reference","id":13826,"name":"Loop.dispose"}},{"id":14200,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14201,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":14087,"typeArguments":[{"type":"typeParameter","name":"ValueType"}],"name":"PatternOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":14182,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14183,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":14180,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14181,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":14202,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14203,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":14204,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":14087,"typeArguments":[{"type":"typeParameter","name":"ValueType"}],"name":"PatternOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":14137,"name":"start","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14138,"name":"start","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Start the loop at the specified time along the Transport's timeline."},"parameters":[{"id":14139,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When to start the Loop.\n"},"type":{"type":"reference","id":34,"name":"TransportTime"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":13784,"name":"Loop.start"}}],"sources":[{"fileName":"Tone/event/Loop.ts","line":85,"character":6}],"inheritedFrom":{"type":"reference","id":13784,"name":"Loop.start"}},{"id":14140,"name":"stop","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14141,"name":"stop","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Stop the loop at the given time."},"parameters":[{"id":14142,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When to stop the Loop.\n"},"type":{"type":"reference","id":34,"name":"TransportTime"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":13787,"name":"Loop.stop"}}],"sources":[{"fileName":"Tone/event/Loop.ts","line":94,"character":5}],"inheritedFrom":{"type":"reference","id":13787,"name":"Loop.stop"}},{"id":14191,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14192,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":14193,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":14188,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14189,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":14190,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":14212,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14213,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":14194,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14195,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":14196,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":14122,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":14123,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":14087,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"PatternOptions"},"overwrites":{"type":"reference","id":13782,"name":"Loop.getDefaults"}}],"sources":[{"fileName":"Tone/event/Pattern.ts","line":74,"character":19}],"overwrites":{"type":"reference","id":13782,"name":"Loop.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[14115]},{"title":"Properties","kind":1024,"children":[14110,14178,14206,14105,14205]},{"title":"Accessors","kind":262144,"children":[14186,14210,14159,14150,14172,14168,14133,14155,14164,14148,14184,14146,14131,14127]},{"title":"Methods","kind":2048,"children":[14143,14176,14200,14182,14180,14202,14137,14140,14191,14188,14212,14194,14122]}],"sources":[{"fileName":"Tone/event/Pattern.ts","line":23,"character":20}],"extendedTypes":[{"type":"reference","id":13765,"typeArguments":[{"type":"reference","id":14087,"typeArguments":[{"type":"typeParameter","name":"ValueType"}],"name":"PatternOptions"}],"name":"Loop"}]},{"id":16376,"name":"PhaseShiftAllpass","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"PhaseShiftAllpass is an very efficient implementation of a Hilbert Transform\nusing two Allpass filter banks whose outputs have a phase difference of 90°.\nHere the `offset90` phase is offset by +90° in relation to `output`.\nCoefficients and structure was developed by Olli Niemitalo.\nFor more details see: http://yehar.com/blog/?p=368"},"children":[{"id":16384,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":16385,"name":"new PhaseShiftAllpass","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":16386,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":16376,"name":"PhaseShiftAllpass"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/component/filter/PhaseShiftAllpass.ts","line":41,"character":57}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":16429,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":16459,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":16378,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/filter/PhaseShiftAllpass.ts","line":16,"character":15}],"type":{"type":"reference","id":1143,"typeArguments":[{"type":"stringLiteral","value":"gain"}],"name":"Gain"},"defaultValue":"new Gain({ context: this.context })","overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":16377,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/filter/PhaseShiftAllpass.ts","line":14,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"PhaseShiftAllpass\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":16383,"name":"offset90","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The PhaseShifted allpass output"},"sources":[{"fileName":"Tone/component/filter/PhaseShiftAllpass.ts","line":41,"character":18}],"type":{"type":"reference","id":1143,"typeArguments":[{"type":"stringLiteral","value":"gain"}],"name":"Gain"},"defaultValue":"new Gain({ context: this.context })"},{"id":16382,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The phase shifted output"},"sources":[{"fileName":"Tone/component/filter/PhaseShiftAllpass.ts","line":36,"character":16}],"type":{"type":"reference","id":1143,"typeArguments":[{"type":"stringLiteral","value":"gain"}],"name":"Gain"},"defaultValue":"new Gain({ context: this.context })","overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":16458,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":16439,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":16440,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":16397,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":16398,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":16399,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":16400,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":16401,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":16402,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":16403,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":16404,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":16405,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":16406,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":16407,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":16408,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":16463,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":16464,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":16392,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":16393,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":16394,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":16395,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":16437,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":16438,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":16423,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16424,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":16425,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":16409,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16410,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":16411,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":16412,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":16413,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":16418,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16419,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":16420,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":16421,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":16422,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":16390,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16391,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/component/filter/PhaseShiftAllpass.ts","line":71,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":16426,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16427,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":16428,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":16453,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16454,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":16435,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16436,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":16433,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16434,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":16455,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16456,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":16457,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":16414,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16415,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":16444,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16445,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":16446,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":16416,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16417,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":16441,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16442,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":16443,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":16465,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16466,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":16447,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16448,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":16449,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":16431,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":16432,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":4791,"name":"ToneWithContextOptions"},"overwrites":{"type":"reference","id":51,"name":"Tone.getDefaults"},"inheritedFrom":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":51,"character":19}],"overwrites":{"type":"reference","id":51,"name":"Tone.getDefaults"},"inheritedFrom":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[16384]},{"title":"Properties","kind":1024,"children":[16429,16459,16378,16377,16383,16382,16458]},{"title":"Accessors","kind":262144,"children":[16439,16397,16401,16405,16463,16392,16394,16437]},{"title":"Methods","kind":2048,"children":[16423,16409,16418,16390,16426,16453,16435,16433,16455,16414,16444,16416,16441,16465,16447,16431]}],"sources":[{"fileName":"Tone/component/filter/PhaseShiftAllpass.ts","line":12,"character":30}],"extendedTypes":[{"type":"reference","id":1004,"typeArguments":[{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"}],"name":"ToneAudioNode"}]},{"id":17129,"name":"Phaser","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Phaser is a phaser effect. Phasers work by changing the phase\nof different frequency components of an incoming signal. Read more on\n[Wikipedia](https://en.wikipedia.org/wiki/Phaser_(effect)).\nInspiration for this phaser comes from [Tuna.js](https://github.com/Dinahmoe/tuna/).","tags":[{"tag":"example","text":"\nconst phaser = new Tone.Phaser({\n\tfrequency: 15,\n\toctaves: 5,\n\tbaseFrequency: 1000\n}).toDestination();\nconst synth = new Tone.FMSynth().connect(phaser);\nsynth.triggerAttackRelease(\"E3\", \"2n\");"}]},"children":[{"id":17139,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":17140,"name":"new Phaser","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":17141,"name":"frequency","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The speed of the phasing."},"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":17142,"name":"octaves","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The octaves of the effect."},"type":{"type":"reference","id":27,"name":"Positive"}},{"id":17143,"name":"baseFrequency","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The base frequency of the filters.\n"},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":17129,"name":"Phaser"},"overwrites":{"type":"reference","id":15736,"name":"StereoEffect.__constructor"}},{"id":17144,"name":"new Phaser","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":17145,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":17121,"name":"PhaserOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":17129,"name":"Phaser"},"overwrites":{"type":"reference","id":15736,"name":"StereoEffect.__constructor"}}],"sources":[{"fileName":"Tone/effect/Phaser.ts","line":73,"character":41},{"fileName":"Tone/effect/Phaser.ts","line":80,"character":83},{"fileName":"Tone/effect/Phaser.ts","line":81,"character":47}],"overwrites":{"type":"reference","id":15736,"name":"StereoEffect.__constructor"}},{"id":17135,"name":"Q","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The quality factor of the filters"},"sources":[{"fileName":"Tone/effect/Phaser.ts","line":58,"character":11}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"positive"}],"name":"Signal"}},{"id":17210,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":17238,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":17138,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"the frequency of the effect"},"sources":[{"fileName":"Tone/effect/Phaser.ts","line":73,"character":19}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"frequency"}],"name":"Signal"}},{"id":17162,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/effect/StereoEffect.ts","line":19,"character":15}],"type":{"type":"reference","id":1143,"name":"Gain"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":15730,"name":"StereoEffect.input"}},{"id":17130,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/effect/Phaser.ts","line":33,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Phaser\"","overwrites":{"type":"reference","id":15729,"name":"StereoEffect.name"}},{"id":17163,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/effect/StereoEffect.ts","line":20,"character":16}],"type":{"type":"reference","id":14368,"name":"CrossFade"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":15731,"name":"StereoEffect.output"}},{"id":17164,"name":"wet","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The wet control, i.e. how much of the effected\nwill pass through to the output."},"sources":[{"fileName":"Tone/effect/StereoEffect.ts","line":31,"character":13}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"normalRange"}],"name":"Signal"},"inheritedFrom":{"type":"reference","id":15733,"name":"StereoEffect.wet"}},{"id":17237,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":17156,"name":"baseFrequency","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The the base frequency of the filters."},"getSignature":[{"id":17157,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The the base frequency of the filters."},"type":{"type":"reference","id":32,"name":"Frequency"}}],"setSignature":[{"id":17158,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The the base frequency of the filters."},"parameters":[{"id":17159,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"number"}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/effect/Phaser.ts","line":166,"character":18},{"fileName":"Tone/effect/Phaser.ts","line":169,"character":18}]},{"id":17218,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":17219,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":17178,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":17179,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":17180,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":17181,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":17182,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":17183,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":17184,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":17185,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":17186,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":17187,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":17188,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":17189,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":17242,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":17243,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":17173,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":17174,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":17175,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":17176,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":17152,"name":"octaves","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of octaves the phase goes above the baseFrequency"},"getSignature":[{"id":17153,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of octaves the phase goes above the baseFrequency"},"type":{"type":"intrinsic","name":"number"}}],"setSignature":[{"id":17154,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The number of octaves the phase goes above the baseFrequency"},"parameters":[{"id":17155,"name":"octaves","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/effect/Phaser.ts","line":153,"character":12},{"fileName":"Tone/effect/Phaser.ts","line":156,"character":12}]},{"id":17216,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":17217,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":17204,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17205,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":17206,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":17190,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17191,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":17192,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":17193,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":17194,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":17199,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17200,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":17201,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":17202,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":17203,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":17160,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17161,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":15747,"name":"StereoEffect.dispose"}}],"sources":[{"fileName":"Tone/effect/Phaser.ts","line":176,"character":8}],"overwrites":{"type":"reference","id":15747,"name":"StereoEffect.dispose"}},{"id":17207,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17208,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":17209,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":17232,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17233,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":17121,"name":"PhaserOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":17214,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17215,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":17212,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17213,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":17234,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17235,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":17236,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":17121,"name":"PhaserOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":17195,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17196,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":17223,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17224,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":17225,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":17197,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17198,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":17220,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17221,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":17222,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":17244,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17245,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":17226,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17227,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":17228,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":17146,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":17147,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":17121,"name":"PhaserOptions"},"overwrites":{"type":"reference","id":15745,"name":"StereoEffect.getDefaults"}}],"sources":[{"fileName":"Tone/effect/Phaser.ts","line":127,"character":19}],"overwrites":{"type":"reference","id":15745,"name":"StereoEffect.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[17139]},{"title":"Properties","kind":1024,"children":[17135,17210,17238,17138,17162,17130,17163,17164,17237]},{"title":"Accessors","kind":262144,"children":[17156,17218,17178,17182,17186,17242,17173,17175,17152,17216]},{"title":"Methods","kind":2048,"children":[17204,17190,17199,17160,17207,17232,17214,17212,17234,17195,17223,17197,17220,17244,17226,17146]}],"sources":[{"fileName":"Tone/effect/Phaser.ts","line":31,"character":19}],"extendedTypes":[{"type":"reference","id":15727,"typeArguments":[{"type":"reference","id":17121,"name":"PhaserOptions"}],"name":"StereoEffect"}]},{"id":16897,"name":"PingPongDelay","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"PingPongDelay is a feedback delay effect where the echo is heard\nfirst in one channel and next in the opposite channel. In a stereo\nsystem these are the right and left channels.\nPingPongDelay in more simplified terms is two Tone.FeedbackDelays\nwith independent delay values. Each delay is routed to one channel\n(left or right), and the channel triggered second will always\ntrigger at the same interval after the first.","tags":[{"tag":"example","text":"\nconst pingPong = new Tone.PingPongDelay(\"4n\", 0.2).toDestination();\nconst drum = new Tone.MembraneSynth().connect(pingPong);\ndrum.triggerAttackRelease(\"C4\", \"32n\");"}]},"children":[{"id":16903,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":16904,"name":"new PingPongDelay","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":16905,"name":"delayTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The delayTime between consecutive echos."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":16906,"name":"feedback","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The amount of the effected signal which is fed back through the delay.\n"},"type":{"type":"reference","id":23,"name":"NormalRange"}}],"type":{"type":"reference","id":16897,"name":"PingPongDelay"},"overwrites":{"type":"reference","id":16794,"name":"StereoXFeedbackEffect.__constructor"}},{"id":16907,"name":"new PingPongDelay","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":16908,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":16891,"name":"PingPongDelayOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":16897,"name":"PingPongDelay"},"overwrites":{"type":"reference","id":16794,"name":"StereoXFeedbackEffect.__constructor"}}],"sources":[{"fileName":"Tone/effect/PingPongDelay.ts","line":49,"character":36},{"fileName":"Tone/effect/PingPongDelay.ts","line":55,"character":55},{"fileName":"Tone/effect/PingPongDelay.ts","line":56,"character":54}],"overwrites":{"type":"reference","id":16794,"name":"StereoXFeedbackEffect.__constructor"}},{"id":16966,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":16994,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":16902,"name":"delayTime","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"the delay time signal"},"sources":[{"fileName":"Tone/effect/PingPongDelay.ts","line":49,"character":19}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"time"}],"name":"Signal"}},{"id":16913,"name":"feedback","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The amount of feedback from the output\nback into the input of the effect (routed\nacross left and right channels)."},"sources":[{"fileName":"Tone/effect/StereoFeedbackEffect.ts","line":23,"character":18}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"normalRange"}],"name":"Signal"},"inheritedFrom":{"type":"reference","id":15829,"name":"StereoFeedbackEffect.feedback"}},{"id":16918,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/effect/StereoEffect.ts","line":19,"character":15}],"type":{"type":"reference","id":1143,"name":"Gain"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":15730,"name":"StereoEffect.input"}},{"id":16898,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/effect/PingPongDelay.ts","line":29,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"PingPongDelay\"","overwrites":{"type":"reference","id":15729,"name":"StereoEffect.name"}},{"id":16919,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/effect/StereoEffect.ts","line":20,"character":16}],"type":{"type":"reference","id":14368,"name":"CrossFade"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":15731,"name":"StereoEffect.output"}},{"id":16920,"name":"wet","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The wet control, i.e. how much of the effected\nwill pass through to the output."},"sources":[{"fileName":"Tone/effect/StereoEffect.ts","line":31,"character":13}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"normalRange"}],"name":"Signal"},"inheritedFrom":{"type":"reference","id":15733,"name":"StereoEffect.wet"}},{"id":16993,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":16974,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":16975,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":16934,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":16935,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":16936,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":16937,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":16938,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":16939,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":16940,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":16941,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":16942,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":16943,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":16944,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":16945,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":16998,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":16999,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":16929,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":16930,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":16931,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":16932,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":16972,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":16973,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":16960,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16961,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":16962,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":16946,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16947,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":16948,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":16949,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":16950,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":16955,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16956,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":16957,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":16958,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":16959,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":16911,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16912,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":15839,"name":"StereoFeedbackEffect.dispose"}}],"sources":[{"fileName":"Tone/effect/PingPongDelay.ts","line":97,"character":8}],"overwrites":{"type":"reference","id":15839,"name":"StereoFeedbackEffect.dispose"}},{"id":16963,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16964,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":16965,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":16988,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16989,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":16891,"name":"PingPongDelayOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":16970,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16971,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":16968,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16969,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":16990,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16991,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":16992,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":16891,"name":"PingPongDelayOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":16951,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16952,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":16979,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16980,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":16981,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":16953,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16954,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":16976,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16977,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":16978,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":17000,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17001,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":16982,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16983,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":16984,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":16909,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":16910,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":16891,"name":"PingPongDelayOptions"},"overwrites":{"type":"reference","id":15837,"name":"StereoFeedbackEffect.getDefaults"}}],"sources":[{"fileName":"Tone/effect/PingPongDelay.ts","line":90,"character":19}],"overwrites":{"type":"reference","id":15837,"name":"StereoFeedbackEffect.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[16903]},{"title":"Properties","kind":1024,"children":[16966,16994,16902,16913,16918,16898,16919,16920,16993]},{"title":"Accessors","kind":262144,"children":[16974,16934,16938,16942,16998,16929,16931,16972]},{"title":"Methods","kind":2048,"children":[16960,16946,16955,16911,16963,16988,16970,16968,16990,16951,16979,16953,16976,17000,16982,16909]}],"sources":[{"fileName":"Tone/effect/PingPongDelay.ts","line":27,"character":26}],"extendedTypes":[{"type":"reference","id":16792,"typeArguments":[{"type":"reference","id":16891,"name":"PingPongDelayOptions"}],"name":"StereoXFeedbackEffect"}]},{"id":17009,"name":"PitchShift","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"PitchShift does near-realtime pitch shifting to the incoming signal.\nThe effect is achieved by speeding up or slowing down the delayTime\nof a DelayNode using a sawtooth wave.\nAlgorithm found in [this pdf](http://dsp-book.narod.ru/soundproc.pdf).\nAdditional reference by [Miller Pucket](http://msp.ucsd.edu/techniques/v0.11/book-html/node115.html)."},"children":[{"id":17022,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":17023,"name":"new PitchShift","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":17024,"name":"pitch","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The interval to transpose the incoming signal by.\n"},"type":{"type":"reference","id":25,"name":"Interval"}}],"type":{"type":"reference","id":17009,"name":"PitchShift"},"overwrites":{"type":"reference","id":16186,"name":"FeedbackEffect.__constructor"}},{"id":17025,"name":"new PitchShift","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":17026,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":17002,"name":"PitchShiftOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":17009,"name":"PitchShift"},"overwrites":{"type":"reference","id":16186,"name":"FeedbackEffect.__constructor"}}],"sources":[{"fileName":"Tone/effect/PitchShift.ts","line":84,"character":21},{"fileName":"Tone/effect/PitchShift.ts","line":89,"character":31},{"fileName":"Tone/effect/PitchShift.ts","line":90,"character":51}],"overwrites":{"type":"reference","id":16186,"name":"FeedbackEffect.__constructor"}},{"id":17085,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":17113,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":17019,"name":"delayTime","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The amount of delay on the input signal"},"sources":[{"fileName":"Tone/effect/PitchShift.ts","line":74,"character":19}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"time"}],"name":"Param"}},{"id":17039,"name":"feedback","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The amount of signal which is fed back into the effect input."},"sources":[{"fileName":"Tone/effect/FeedbackEffect.ts","line":37,"character":9}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"normalRange"}],"name":"Param"},"inheritedFrom":{"type":"reference","id":16185,"name":"FeedbackEffect.feedback"}},{"id":17043,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The effect input node"},"sources":[{"fileName":"Tone/effect/Effect.ts","line":46,"character":6}],"type":{"type":"reference","id":1143,"name":"Gain"},"defaultValue":"new Gain({ context: this.context })","overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":14470,"name":"Effect.input"}},{"id":17010,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/effect/PitchShift.ts","line":28,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"PitchShift\"","overwrites":{"type":"reference","id":16183,"name":"FeedbackEffect.name"}},{"id":17044,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The effect output"},"sources":[{"fileName":"Tone/effect/Effect.ts","line":51,"character":7}],"type":{"type":"reference","id":14368,"name":"CrossFade"},"defaultValue":"this._dryWet","overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":14471,"name":"Effect.output"}},{"id":17040,"name":"wet","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The wet control is how much of the effected\nwill pass through to the output. 1 = 100% effected\nsignal, 0 = 100% dry signal."},"sources":[{"fileName":"Tone/effect/Effect.ts","line":31,"character":4}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"normalRange"}],"name":"Signal"},"defaultValue":"this._dryWet.fade","inheritedFrom":{"type":"reference","id":14467,"name":"Effect.wet"}},{"id":17112,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":17093,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":17094,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":17053,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":17054,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":17055,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":17056,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":17057,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":17058,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":17059,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":17060,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":17061,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":17062,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":17063,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":17064,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":17117,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":17118,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":17048,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":17049,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":17050,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":17051,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":17029,"name":"pitch","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Repitch the incoming signal by some interval (measured in semi-tones).","tags":[{"tag":"example","text":"\nconst pitchShift = new Tone.PitchShift().toDestination();\nconst osc = new Tone.Oscillator().connect(pitchShift).start().toDestination();\npitchShift.pitch = -12; // down one octave\npitchShift.pitch = 7; // up a fifth\n"}]},"getSignature":[{"id":17030,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Repitch the incoming signal by some interval (measured in semi-tones).","tags":[{"tag":"example","text":"\nconst pitchShift = new Tone.PitchShift().toDestination();\nconst osc = new Tone.Oscillator().connect(pitchShift).start().toDestination();\npitchShift.pitch = -12; // down one octave\npitchShift.pitch = 7; // up a fifth\n"}]},"type":{"type":"intrinsic","name":"number"}}],"setSignature":[{"id":17031,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"Repitch the incoming signal by some interval (measured in semi-tones).","tags":[{"tag":"example","text":"\nconst pitchShift = new Tone.PitchShift().toDestination();\nconst osc = new Tone.Oscillator().connect(pitchShift).start().toDestination();\npitchShift.pitch = -12; // down one octave\npitchShift.pitch = 7; // up a fifth\n"}]},"parameters":[{"id":17032,"name":"interval","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/effect/PitchShift.ts","line":170,"character":10},{"fileName":"Tone/effect/PitchShift.ts","line":173,"character":10}]},{"id":17091,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":17092,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":17033,"name":"windowSize","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The window size corresponds roughly to the sample length in a looping sampler.\nSmaller values are desirable for a less noticeable delay time of the pitch shifted\nsignal, but larger values will result in smoother pitch shifting for larger intervals.\nA nominal range of 0.03 to 0.1 is recommended."},"getSignature":[{"id":17034,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The window size corresponds roughly to the sample length in a looping sampler.\nSmaller values are desirable for a less noticeable delay time of the pitch shifted\nsignal, but larger values will result in smoother pitch shifting for larger intervals.\nA nominal range of 0.03 to 0.1 is recommended."},"type":{"type":"reference","id":21,"name":"Seconds"}}],"setSignature":[{"id":17035,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The window size corresponds roughly to the sample length in a looping sampler.\nSmaller values are desirable for a less noticeable delay time of the pitch shifted\nsignal, but larger values will result in smoother pitch shifting for larger intervals.\nA nominal range of 0.03 to 0.1 is recommended."},"parameters":[{"id":17036,"name":"size","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/effect/PitchShift.ts","line":198,"character":15},{"fileName":"Tone/effect/PitchShift.ts","line":201,"character":15}]},{"id":17079,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17080,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":17081,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":17065,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17066,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":17067,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":17068,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":17069,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":17074,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17075,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":17076,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":17077,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":17078,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":17037,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17038,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":16191,"name":"FeedbackEffect.dispose"}}],"sources":[{"fileName":"Tone/effect/PitchShift.ts","line":206,"character":8}],"overwrites":{"type":"reference","id":16191,"name":"FeedbackEffect.dispose"}},{"id":17082,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17083,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":17084,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":17107,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17108,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":17002,"name":"PitchShiftOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":17089,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17090,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":17087,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17088,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":17109,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17110,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":17111,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":17002,"name":"PitchShiftOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":17070,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17071,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":17098,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17099,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":17100,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":17072,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17073,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":17095,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17096,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":17097,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":17119,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17120,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":17101,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17102,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":17103,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":17027,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":17028,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":17002,"name":"PitchShiftOptions"},"overwrites":{"type":"reference","id":16189,"name":"FeedbackEffect.getDefaults"}}],"sources":[{"fileName":"Tone/effect/PitchShift.ts","line":153,"character":19}],"overwrites":{"type":"reference","id":16189,"name":"FeedbackEffect.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[17022]},{"title":"Properties","kind":1024,"children":[17085,17113,17019,17039,17043,17010,17044,17040,17112]},{"title":"Accessors","kind":262144,"children":[17093,17053,17057,17061,17117,17048,17050,17029,17091,17033]},{"title":"Methods","kind":2048,"children":[17079,17065,17074,17037,17082,17107,17089,17087,17109,17070,17098,17072,17095,17119,17101,17027]}],"sources":[{"fileName":"Tone/effect/PitchShift.ts","line":26,"character":23}],"extendedTypes":[{"type":"reference","id":16181,"typeArguments":[{"type":"reference","id":17002,"name":"PitchShiftOptions"}],"name":"FeedbackEffect"}]},{"id":8921,"name":"Player","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Player is an audio file player with start, loop, and stop functions.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/gong_1.mp3\").toDestination();\n// play as soon as the buffer is loaded\nplayer.autostart = true;"}]},"children":[{"id":8932,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":8933,"name":"new Player","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":8934,"name":"url","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Either the AudioBuffer or the url from which to load the AudioBuffer"},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"AudioBuffer"},{"type":"reference","id":4362,"name":"ToneAudioBuffer"}]}},{"id":8935,"name":"onload","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The function to invoke when the buffer is loaded.\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"reflection","declaration":{"id":8936,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":8937,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"void"}}]}}]}}],"type":{"type":"reference","id":8921,"name":"Player"},"overwrites":{"type":"reference","id":5586,"name":"Source.__constructor"}},{"id":8938,"name":"new Player","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":8939,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":8900,"name":"PlayerOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":8921,"name":"Player"},"overwrites":{"type":"reference","id":5586,"name":"Source.__constructor"}}],"sources":[{"fileName":"Tone/source/buffer/Player.ts","line":83,"character":15},{"fileName":"Tone/source/buffer/Player.ts","line":89,"character":80},{"fileName":"Tone/source/buffer/Player.ts","line":90,"character":47}],"overwrites":{"type":"reference","id":5586,"name":"Source.__constructor"}},{"id":8923,"name":"autostart","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"If the file should play as soon\nas the buffer is loaded."},"sources":[{"fileName":"Tone/source/buffer/Player.ts","line":41,"character":10}],"type":{"type":"intrinsic","name":"boolean"}},{"id":9074,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":9102,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":8930,"name":"fadeIn","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The fadeIn time of the amplitude envelope."},"decorators":[{"name":"timeRange","type":{"type":"reference","id":8896,"name":"timeRange"},"arguments":{"min":"0"}}],"sources":[{"fileName":"Tone/source/buffer/Player.ts","line":77,"character":7}],"type":{"type":"reference","id":31,"name":"Time"}},{"id":8931,"name":"fadeOut","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The fadeOut time of the amplitude envelope."},"decorators":[{"name":"timeRange","type":{"type":"reference","id":8896,"name":"timeRange"},"arguments":{"min":"0"}}],"sources":[{"fileName":"Tone/source/buffer/Player.ts","line":83,"character":8}],"type":{"type":"reference","id":31,"name":"Time"}},{"id":9015,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Sources have no inputs"},"sources":[{"fileName":"Tone/source/Source.ts","line":54,"character":6}],"type":{"type":"intrinsic","name":"undefined"},"defaultValue":"undefined","overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":5567,"name":"Source.input"}},{"id":8922,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/source/buffer/Player.ts","line":35,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Player\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":9017,"name":"onstop","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The callback to invoke when the source is stopped."},"sources":[{"fileName":"Tone/source/Source.ts","line":67,"character":7}],"type":{"type":"reference","id":5706,"name":"onStopCallback"},"inheritedFrom":{"type":"reference","id":5569,"name":"Source.onstop"}},{"id":9014,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The output note"},"sources":[{"fileName":"Tone/source/Source.ts","line":49,"character":7}],"type":{"type":"reference","id":1102,"name":"OutputNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":5566,"name":"Source.output"}},{"id":9016,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The volume of the output in decibels.","tags":[{"tag":"example","text":"\nconst source = new Tone.PWMOscillator().toDestination();\nsource.volume.value = -6;\n"}]},"sources":[{"fileName":"Tone/source/Source.ts","line":62,"character":7}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"decibels"}],"name":"Param"},"inheritedFrom":{"type":"reference","id":5568,"name":"Source.volume"}},{"id":9101,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":9082,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":9083,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":8994,"name":"buffer","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The audio buffer belonging to the player."},"getSignature":[{"id":8995,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The audio buffer belonging to the player."},"type":{"type":"reference","id":4362,"name":"ToneAudioBuffer"}}],"setSignature":[{"id":8996,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The audio buffer belonging to the player."},"parameters":[{"id":8997,"name":"buffer","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":4362,"name":"ToneAudioBuffer"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/buffer/Player.ts","line":346,"character":11},{"fileName":"Tone/source/buffer/Player.ts","line":349,"character":11}]},{"id":9042,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":9043,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":9044,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":9045,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":9046,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":9047,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":9048,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":9049,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":9050,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":9051,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":9052,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":9053,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":9106,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":9107,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":9010,"name":"loaded","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"If the buffer is loaded"},"getSignature":[{"id":9011,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"If the buffer is loaded"},"type":{"type":"intrinsic","name":"boolean"}}],"sources":[{"fileName":"Tone/source/buffer/Player.ts","line":428,"character":11}]},{"id":8998,"name":"loop","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"If the buffer should loop once it's over.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/breakbeat.mp3\").toDestination();\nplayer.loop = true;\nplayer.autostart = true;\n"}]},"getSignature":[{"id":8999,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"If the buffer should loop once it's over.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/breakbeat.mp3\").toDestination();\nplayer.loop = true;\nplayer.autostart = true;\n"}]},"type":{"type":"intrinsic","name":"boolean"}}],"setSignature":[{"id":9000,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"If the buffer should loop once it's over.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/breakbeat.mp3\").toDestination();\nplayer.loop = true;\nplayer.autostart = true;\n"}]},"parameters":[{"id":9001,"name":"loop","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/buffer/Player.ts","line":360,"character":9},{"fileName":"Tone/source/buffer/Player.ts","line":363,"character":9}]},{"id":8989,"name":"loopEnd","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"If loop is true, the loop will end at this position."},"getSignature":[{"id":8990,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"If loop is true, the loop will end at this position."},"type":{"type":"reference","id":31,"name":"Time"}}],"setSignature":[{"id":8991,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"If loop is true, the loop will end at this position."},"parameters":[{"id":8992,"name":"loopEnd","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"number"},{"type":"reflection","declaration":{"id":8993,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true}}}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/buffer/Player.ts","line":329,"character":12},{"fileName":"Tone/source/buffer/Player.ts","line":332,"character":12}]},{"id":8984,"name":"loopStart","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"If loop is true, the loop will start at this position."},"getSignature":[{"id":8985,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"If loop is true, the loop will start at this position."},"type":{"type":"reference","id":31,"name":"Time"}}],"setSignature":[{"id":8986,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"If loop is true, the loop will start at this position."},"parameters":[{"id":8987,"name":"loopStart","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"number"},{"type":"reflection","declaration":{"id":8988,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true}}}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/buffer/Player.ts","line":312,"character":14},{"fileName":"Tone/source/buffer/Player.ts","line":315,"character":14}]},{"id":9026,"name":"mute","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Mute the output.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination().start();\n// mute the output\nosc.mute = true;\n"}]},"getSignature":[{"id":9027,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Mute the output.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination().start();\n// mute the output\nosc.mute = true;\n"}]},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":5593,"name":"Source.mute"}}],"setSignature":[{"id":9028,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"Mute the output.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination().start();\n// mute the output\nosc.mute = true;\n"}]},"parameters":[{"id":9029,"name":"mute","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":5593,"name":"Source.mute"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":148,"character":9},{"fileName":"Tone/source/Source.ts","line":151,"character":9}],"inheritedFrom":{"type":"reference","id":5593,"name":"Source.mute"}},{"id":9037,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":9038,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":9039,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":9040,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":9002,"name":"playbackRate","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Normal speed is 1. The pitch will change with the playback rate.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/femalevoices_aa2_A5.mp3\").toDestination();\n// play at 1/4 speed\nplayer.playbackRate = 0.25;\n// play as soon as the buffer is loaded\nplayer.autostart = true;\n"}]},"getSignature":[{"id":9003,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Normal speed is 1. The pitch will change with the playback rate.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/femalevoices_aa2_A5.mp3\").toDestination();\n// play at 1/4 speed\nplayer.playbackRate = 0.25;\n// play as soon as the buffer is loaded\nplayer.autostart = true;\n"}]},"type":{"type":"reference","id":27,"name":"Positive"}}],"setSignature":[{"id":9004,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"Normal speed is 1. The pitch will change with the playback rate.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/femalevoices_aa2_A5.mp3\").toDestination();\n// play at 1/4 speed\nplayer.playbackRate = 0.25;\n// play as soon as the buffer is loaded\nplayer.autostart = true;\n"}]},"parameters":[{"id":9005,"name":"rate","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/buffer/Player.ts","line":391,"character":17},{"fileName":"Tone/source/buffer/Player.ts","line":394,"character":17}]},{"id":9006,"name":"reverse","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"If the buffer should be reversed","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/chime_1.mp3\").toDestination();\nplayer.autostart = true;\nplayer.reverse = true;\n"}]},"getSignature":[{"id":9007,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"If the buffer should be reversed","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/chime_1.mp3\").toDestination();\nplayer.autostart = true;\nplayer.reverse = true;\n"}]},"type":{"type":"intrinsic","name":"boolean"}}],"setSignature":[{"id":9008,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"If the buffer should be reversed","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/chime_1.mp3\").toDestination();\nplayer.autostart = true;\nplayer.reverse = true;\n"}]},"parameters":[{"id":9009,"name":"rev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/buffer/Player.ts","line":418,"character":12},{"fileName":"Tone/source/buffer/Player.ts","line":421,"character":12}]},{"id":9080,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":9081,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":9024,"name":"state","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Returns the playback state of the source, either \"started\" or \"stopped\".","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/ahntone_c3.mp3\", () => {\n\tplayer.start();\n\tconsole.log(player.state);\n}).toDestination();\n"}]},"getSignature":[{"id":9025,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Returns the playback state of the source, either \"started\" or \"stopped\".","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/ahntone_c3.mp3\", () => {\n\tplayer.start();\n\tconsole.log(player.state);\n}).toDestination();\n"}]},"type":{"type":"reference","id":705,"name":"BasicPlaybackState"},"inheritedFrom":{"type":"reference","id":5591,"name":"Source.state"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":129,"character":10}],"inheritedFrom":{"type":"reference","id":5591,"name":"Source.state"}},{"id":9068,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9069,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":9070,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":9054,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9055,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":9056,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":9057,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":9058,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":9063,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9064,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":9065,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":9066,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":9067,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":9012,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9013,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":5630,"name":"Source.dispose"}}],"sources":[{"fileName":"Tone/source/buffer/Player.ts","line":432,"character":8}],"overwrites":{"type":"reference","id":5630,"name":"Source.dispose"}},{"id":9071,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9072,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":9073,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":9096,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9097,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":8900,"name":"PlayerOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":9078,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9079,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":8942,"name":"load","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8943,"name":"load","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Load the audio file as an audio buffer.\nDecodes the audio asynchronously and invokes\nthe callback once the audio buffer loads.\nNote: this does not need to be called if a url\nwas passed in to the constructor. Only use this\nif you want to manually load a new url."},"parameters":[{"id":8944,"name":"url","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The url of the buffer to load. Filetype support depends on the browser.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","typeArguments":[{"type":"intrinsic","name":"this"}],"name":"Promise"}}],"sources":[{"fileName":"Tone/source/buffer/Player.ts","line":135,"character":11}]},{"id":9076,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9077,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":8966,"name":"restart","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8967,"name":"restart","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Stop and then restart the player from the beginning (or offset)"},"parameters":[{"id":8968,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the player should start."},"type":{"type":"reference","id":21,"name":"Seconds"}},{"id":8969,"name":"offset","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The offset from the beginning of the sample to start at."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":8970,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"How long the sample should play. If no duration is given,\n\t\t\t\t\tit will default to the full length of the sample (minus any offset)\n"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":5621,"name":"Source.restart"}}],"sources":[{"fileName":"Tone/source/buffer/Player.ts","line":258,"character":8}],"overwrites":{"type":"reference","id":5621,"name":"Source.restart"}},{"id":8976,"name":"seek","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8977,"name":"seek","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Seek to a specific time in the player's buffer. If the\nsource is no longer playing at that time, it will stop.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/gurgling_theremin_1.mp3\", () => {\n\tplayer.start();\n\t// seek to the offset in 1 second from now\n\tplayer.seek(0.4, \"+1\");\n}).toDestination();\n"}]},"parameters":[{"id":8978,"name":"offset","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The time to seek to."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":8979,"name":"when","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The time for the seek event to occur."},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/source/buffer/Player.ts","line":280,"character":5}]},{"id":9098,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9099,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":9100,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":8900,"name":"PlayerOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":8980,"name":"setLoopPoints","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8981,"name":"setLoopPoints","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set the loop start and end. Will only loop if loop is set to true.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/malevoices_aa2_F3.mp3\").toDestination();\n// loop between the given points\nplayer.setLoopPoints(0.2, 0.3);\nplayer.loop = true;\nplayer.autostart = true;\n"}]},"parameters":[{"id":8982,"name":"loopStart","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The loop start time"},"type":{"type":"reference","id":31,"name":"Time"}},{"id":8983,"name":"loopEnd","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The loop end time"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/source/buffer/Player.ts","line":303,"character":14}]},{"id":8953,"name":"start","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8954,"name":"start","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Play the buffer at the given startTime. Optionally add an offset\nand/or duration which will play the buffer from a position\nwithin the buffer for the given duration."},"parameters":[{"id":8955,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the player should start."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":8956,"name":"offset","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The offset from the beginning of the sample to start at."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":8957,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"How long the sample should play. If no duration is given, it will default to the full length of the sample (minus any offset)\n"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":5613,"name":"Source.start"}}],"sources":[{"fileName":"Tone/source/buffer/Player.ts","line":177,"character":6}],"overwrites":{"type":"reference","id":5613,"name":"Source.start"}},{"id":9030,"name":"stop","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9031,"name":"stop","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Stop the source at the specified time. If no time is given,\nstop the source now.","tags":[{"tag":"example","text":"\nconst source = new Tone.Oscillator().toDestination();\nsource.start();\nsource.stop(\"+0.5\"); // stops the source 0.5 seconds from now\n"}]},"parameters":[{"id":9032,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the source should be stopped."},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":5618,"name":"Source.stop"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":229,"character":5}],"inheritedFrom":{"type":"reference","id":5618,"name":"Source.stop"}},{"id":9033,"name":"sync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9034,"name":"sync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Sync the source to the Transport so that all subsequent\ncalls to `start` and `stop` are synced to the TransportTime\ninstead of the AudioContext time.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination();\n// sync the source so that it plays between 0 and 0.3 on the Transport's timeline\nosc.sync().start(0).stop(0.3);\n// start the transport.\nTone.Transport.start();\n// set it to loop once a second\nTone.Transport.loop = true;\nTone.Transport.loopEnd = 1;\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":5626,"name":"Source.sync"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":273,"character":5}],"inheritedFrom":{"type":"reference","id":5626,"name":"Source.sync"}},{"id":9059,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9060,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":9087,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9088,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":9089,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":9061,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9062,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":9084,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9085,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":9086,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":9108,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9109,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":9090,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9091,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":9092,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":9035,"name":"unsync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9036,"name":"unsync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Unsync the source to the Transport. See Source.sync"},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":5628,"name":"Source.unsync"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":310,"character":7}],"inheritedFrom":{"type":"reference","id":5628,"name":"Source.unsync"}},{"id":8940,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":8941,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":8900,"name":"PlayerOptions"},"overwrites":{"type":"reference","id":5589,"name":"Source.getDefaults"}}],"sources":[{"fileName":"Tone/source/buffer/Player.ts","line":111,"character":19}],"overwrites":{"type":"reference","id":5589,"name":"Source.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[8932]},{"title":"Properties","kind":1024,"children":[8923,9074,9102,8930,8931,9015,8922,9017,9014,9016,9101]},{"title":"Accessors","kind":262144,"children":[9082,8994,9042,9046,9050,9106,9010,8998,8989,8984,9026,9037,9039,9002,9006,9080,9024]},{"title":"Methods","kind":2048,"children":[9068,9054,9063,9012,9071,9096,9078,8942,9076,8966,8976,9098,8980,8953,9030,9033,9059,9087,9061,9084,9108,9090,9035,8940]}],"sources":[{"fileName":"Tone/source/buffer/Player.ts","line":33,"character":19}],"extendedTypes":[{"type":"reference","id":5563,"typeArguments":[{"type":"reference","id":8900,"name":"PlayerOptions"}],"name":"Source"}]},{"id":9126,"name":"Players","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Players combines multiple [[Player]] objects."},"children":[{"id":9136,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":9137,"name":"new Players","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":9138,"name":"urls","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"An object mapping a name to a url."},"type":{"type":"reference","id":5396,"name":"ToneAudioBuffersUrlMap"}},{"id":9139,"name":"onload","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The function to invoke when all buffers are loaded.\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"reflection","declaration":{"id":9140,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":9141,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"void"}}]}}]}}],"type":{"type":"reference","id":9126,"name":"Players"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":9142,"name":"new Players","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":9143,"name":"urls","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"An object mapping a name to a url."},"type":{"type":"reference","id":5396,"name":"ToneAudioBuffersUrlMap"}},{"id":9144,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The remaining options associated with the players\n"},"type":{"type":"reference","typeArguments":[{"type":"reference","id":1119,"typeArguments":[{"type":"reference","id":9110,"name":"PlayersOptions"},{"type":"stringLiteral","value":"urls"}],"name":"Omit"}],"name":"Partial"}}],"type":{"type":"reference","id":9126,"name":"Players"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":9145,"name":"new Players","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":9146,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The remaining options associated with the players\n"},"type":{"type":"reference","typeArguments":[{"type":"reference","id":9110,"name":"PlayersOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":9126,"name":"Players"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/source/buffer/Players.ts","line":71,"character":24},{"fileName":"Tone/source/buffer/Players.ts","line":77,"character":65},{"fileName":"Tone/source/buffer/Players.ts","line":82,"character":93},{"fileName":"Tone/source/buffer/Players.ts","line":83,"character":48}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":9222,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":9250,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":9131,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"Players has no input."},"sources":[{"fileName":"Tone/source/buffer/Players.ts","line":51,"character":15}],"type":{"type":"intrinsic","name":"undefined"},"defaultValue":"undefined","overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":9127,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/source/buffer/Players.ts","line":31,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Players\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":9130,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The combined output of all of the players"},"sources":[{"fileName":"Tone/source/buffer/Players.ts","line":46,"character":16}],"type":{"type":"reference","id":1102,"name":"OutputNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":9129,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The volume of the output in decibels."},"sources":[{"fileName":"Tone/source/buffer/Players.ts","line":41,"character":16}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"decibels"}],"name":"Param"}},{"id":9249,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":9230,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":9231,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":9190,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":9191,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":9192,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":9193,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":9194,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":9195,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":9196,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":9197,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":9198,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":9199,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":9200,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":9201,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":9254,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":9255,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":9153,"name":"fadeIn","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The fadeIn time of the envelope applied to the source."},"getSignature":[{"id":9154,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The fadeIn time of the envelope applied to the source."},"type":{"type":"reference","id":31,"name":"Time"}}],"setSignature":[{"id":9155,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The fadeIn time of the envelope applied to the source."},"parameters":[{"id":9156,"name":"fadeIn","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"number"},{"type":"reflection","declaration":{"id":9157,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true}}}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/buffer/Players.ts","line":136,"character":11},{"fileName":"Tone/source/buffer/Players.ts","line":139,"character":11}]},{"id":9158,"name":"fadeOut","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The fadeOut time of the each of the sources."},"getSignature":[{"id":9159,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The fadeOut time of the each of the sources."},"type":{"type":"reference","id":31,"name":"Time"}}],"setSignature":[{"id":9160,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The fadeOut time of the each of the sources."},"parameters":[{"id":9161,"name":"fadeOut","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"number"},{"type":"reflection","declaration":{"id":9162,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true}}}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/buffer/Players.ts","line":149,"character":12},{"fileName":"Tone/source/buffer/Players.ts","line":152,"character":12}]},{"id":9171,"name":"loaded","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"If all the buffers are loaded or not"},"getSignature":[{"id":9172,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"If all the buffers are loaded or not"},"type":{"type":"intrinsic","name":"boolean"}}],"sources":[{"fileName":"Tone/source/buffer/Players.ts","line":196,"character":11}]},{"id":9149,"name":"mute","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Mute the output."},"getSignature":[{"id":9150,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Mute the output."},"type":{"type":"intrinsic","name":"boolean"}}],"setSignature":[{"id":9151,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"Mute the output."},"parameters":[{"id":9152,"name":"mute","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/buffer/Players.ts","line":126,"character":9},{"fileName":"Tone/source/buffer/Players.ts","line":129,"character":9}]},{"id":9185,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":9186,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":9187,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":9188,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":9228,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":9229,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":9163,"name":"state","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The state of the players object. Returns \"started\" if any of the players are playing."},"getSignature":[{"id":9164,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The state of the players object. Returns \"started\" if any of the players are playing."},"type":{"type":"reference","id":705,"name":"BasicPlaybackState"}}],"sources":[{"fileName":"Tone/source/buffer/Players.ts","line":162,"character":10}]},{"id":9173,"name":"add","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9174,"name":"add","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Add a player by name and url to the Players"},"parameters":[{"id":9175,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"A unique name to give the player"},"type":{"type":"intrinsic","name":"string"}},{"id":9176,"name":"url","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"Either the url of the bufer or a buffer which will be added with the given name."},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","id":4362,"name":"ToneAudioBuffer"},{"type":"reference","name":"AudioBuffer"}]}},{"id":9177,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The callback to invoke when the url is loaded.\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"reflection","declaration":{"id":9178,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":9179,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"void"}}]}}]}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/source/buffer/Players.ts","line":206,"character":4}]},{"id":9216,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9217,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":9218,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":9202,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9203,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":9204,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":9205,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":9206,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":9211,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9212,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":9213,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":9214,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":9215,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":9183,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9184,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/source/buffer/Players.ts","line":221,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":9219,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9220,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":9221,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":9244,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9245,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":9110,"name":"PlayersOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":9165,"name":"has","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9166,"name":"has","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"True if the buffers object has a buffer by that name."},"parameters":[{"id":9167,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The key or index of the buffer.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"boolean"}}],"sources":[{"fileName":"Tone/source/buffer/Players.ts","line":171,"character":4}]},{"id":9226,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9227,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":9224,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9225,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":9168,"name":"player","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9169,"name":"player","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get a player by name."},"parameters":[{"id":9170,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The players name as defined in the constructor object or `add` method.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","id":8921,"name":"Player"}}],"sources":[{"fileName":"Tone/source/buffer/Players.ts","line":179,"character":7}]},{"id":9246,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9247,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":9248,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":9110,"name":"PlayersOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":9180,"name":"stopAll","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9181,"name":"stopAll","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Stop all of the players at the given time"},"parameters":[{"id":9182,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The time to stop all of the players.\n"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/source/buffer/Players.ts","line":216,"character":8}]},{"id":9207,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9208,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":9235,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9236,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":9237,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":9209,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9210,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":9232,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9233,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":9234,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":9256,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9257,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":9238,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9239,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":9240,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":9147,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":9148,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":9110,"name":"PlayersOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/source/buffer/Players.ts","line":110,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[9136]},{"title":"Properties","kind":1024,"children":[9222,9250,9131,9127,9130,9129,9249]},{"title":"Accessors","kind":262144,"children":[9230,9190,9194,9198,9254,9153,9158,9171,9149,9185,9187,9228,9163]},{"title":"Methods","kind":2048,"children":[9173,9216,9202,9211,9183,9219,9244,9165,9226,9224,9168,9246,9180,9207,9235,9209,9232,9256,9238,9147]}],"sources":[{"fileName":"Tone/source/buffer/Players.ts","line":29,"character":20}],"extendedTypes":[{"type":"reference","id":1004,"typeArguments":[{"type":"reference","id":9110,"name":"PlayersOptions"}],"name":"ToneAudioNode"}]},{"id":13171,"name":"PluckSynth","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Karplus-String string synthesis.","tags":[{"tag":"example","text":"\nconst plucky = new Tone.PluckSynth().toDestination();\nplucky.triggerAttack(\"C4\", \"+0.5\");\nplucky.triggerAttack(\"C3\", \"+1\");\nplucky.triggerAttack(\"C2\", \"+1.5\");\nplucky.triggerAttack(\"C1\", \"+2\");"}]},"children":[{"id":13178,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":13179,"name":"new PluckSynth","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":13180,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":13164,"name":"PluckSynthOptions"}],"name":"RecursivePartial"}}],"type":{"type":"reference","id":13171,"name":"PluckSynth"},"overwrites":{"type":"reference","id":10715,"name":"Instrument.__constructor"}}],"sources":[{"fileName":"Tone/instrument/PluckSynth.ts","line":52,"character":15},{"fileName":"Tone/instrument/PluckSynth.ts","line":54,"character":59}],"overwrites":{"type":"reference","id":10715,"name":"Instrument.__constructor"}},{"id":13175,"name":"attackNoise","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The amount of noise at the attack.\nNominal range of [0.1, 20]","tags":[{"tag":"min","text":"0.1"},{"tag":"max","text":"20\n"}]},"sources":[{"fileName":"Tone/instrument/PluckSynth.ts","line":42,"character":12}],"type":{"type":"intrinsic","name":"number"}},{"id":13252,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":13280,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":13197,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The instrument only has an output"},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":26,"character":6}],"type":{"type":"intrinsic","name":"undefined"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":10711,"name":"Instrument.input"}},{"id":13172,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/instrument/PluckSynth.ts","line":28,"character":14}],"type":{"type":"stringLiteral","value":"PluckSynth"},"defaultValue":"\"PluckSynth\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":13196,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":21,"character":7}],"type":{"type":"reference","id":1102,"name":"OutputNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":10710,"name":"Instrument.output"}},{"id":13177,"name":"release","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The release time which corresponds to a resonance ramp down to 0"},"sources":[{"fileName":"Tone/instrument/PluckSynth.ts","line":52,"character":8}],"type":{"type":"reference","id":31,"name":"Time"}},{"id":13176,"name":"resonance","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The amount of resonance of the pluck. Also correlates to the sustain duration."},"sources":[{"fileName":"Tone/instrument/PluckSynth.ts","line":47,"character":10}],"type":{"type":"reference","id":23,"name":"NormalRange"}},{"id":13198,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The volume of the output in decibels.","tags":[{"tag":"example","text":"\nconst amSynth = new Tone.AMSynth().toDestination();\namSynth.volume.value = -6;\namSynth.triggerAttackRelease(\"G#3\", 0.2);\n"}]},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":35,"character":7}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"decibels"}],"name":"Param"},"inheritedFrom":{"type":"reference","id":10712,"name":"Instrument.volume"}},{"id":13279,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":13260,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":13261,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":13220,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":13221,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":13222,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":13223,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":13224,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":13225,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":13226,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":13227,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":13228,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":13229,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":13230,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":13231,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":13183,"name":"dampening","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The dampening control. i.e. the lowpass filter frequency of the comb filter","tags":[{"tag":"min","text":"0"},{"tag":"max","text":"7000\n"}]},"getSignature":[{"id":13184,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The dampening control. i.e. the lowpass filter frequency of the comb filter","tags":[{"tag":"min","text":"0"},{"tag":"max","text":"7000\n"}]},"type":{"type":"reference","id":32,"name":"Frequency"}}],"setSignature":[{"id":13185,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The dampening control. i.e. the lowpass filter frequency of the comb filter","tags":[{"tag":"min","text":"0"},{"tag":"max","text":"7000\n"}]},"parameters":[{"id":13186,"name":"fq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"number"}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/instrument/PluckSynth.ts","line":94,"character":14},{"fileName":"Tone/instrument/PluckSynth.ts","line":97,"character":14}]},{"id":13284,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":13285,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":13215,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":13216,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":13217,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":13218,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":13258,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":13259,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":13246,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13247,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":13248,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":13232,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13233,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":13234,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":13235,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":13236,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":13241,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13242,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":13243,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":13244,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":13245,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":13194,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13195,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":10746,"name":"Instrument.dispose"}}],"sources":[{"fileName":"Tone/instrument/PluckSynth.ts","line":121,"character":8}],"overwrites":{"type":"reference","id":10746,"name":"Instrument.dispose"}},{"id":13249,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13250,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":13251,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":13274,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13275,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":13164,"name":"PluckSynthOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":13256,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13257,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":13254,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13255,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":13276,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13277,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":13278,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":13164,"name":"PluckSynthOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":13199,"name":"sync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13200,"name":"sync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Sync the instrument to the Transport. All subsequent calls of\n[[triggerAttack]] and [[triggerRelease]] will be scheduled along the transport.","tags":[{"tag":"example","text":"\nconst fmSynth = new Tone.FMSynth().toDestination();\nfmSynth.volume.value = -6;\nfmSynth.sync();\n// schedule 3 notes when the transport first starts\nfmSynth.triggerAttackRelease(\"C4\", \"8n\", 0);\nfmSynth.triggerAttackRelease(\"E4\", \"8n\", \"8n\");\nfmSynth.triggerAttackRelease(\"G4\", \"8n\", \"4n\");\n// start the transport to hear the notes\nTone.Transport.start();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":10720,"name":"Instrument.sync"}}],"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":82,"character":5}],"inheritedFrom":{"type":"reference","id":10720,"name":"Instrument.sync"}},{"id":13237,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13238,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":13265,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13266,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":13267,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":13239,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13240,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":13262,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13263,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":13264,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":13286,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13287,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":13268,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13269,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":13270,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":13187,"name":"triggerAttack","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13188,"name":"triggerAttack","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":13189,"name":"note","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":13190,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":10736,"name":"Instrument.triggerAttack"}}],"sources":[{"fileName":"Tone/instrument/PluckSynth.ts","line":101,"character":14}],"overwrites":{"type":"reference","id":10736,"name":"Instrument.triggerAttack"}},{"id":13209,"name":"triggerAttackRelease","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13210,"name":"triggerAttackRelease","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Trigger the attack and then the release after the duration.","tags":[{"tag":"example","text":"\nconst synth = new Tone.Synth().toDestination();\n// trigger \"C4\" for the duration of an 8th note\nsynth.triggerAttackRelease(\"C4\", \"8n\");\n"}]},"parameters":[{"id":13211,"name":"note","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The note to trigger."},"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":13212,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"How long the note should be held for before\n                        triggering the release. This value must be greater than 0."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":13213,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the note should be triggered."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":13214,"name":"velocity","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The velocity the note should be triggered at."},"type":{"type":"reference","id":23,"name":"NormalRange"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":10730,"name":"Instrument.triggerAttackRelease"}}],"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":145,"character":21}],"inheritedFrom":{"type":"reference","id":10730,"name":"Instrument.triggerAttackRelease"}},{"id":13191,"name":"triggerRelease","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13192,"name":"triggerRelease","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Ramp down the [[resonance]] to 0 over the duration of the release time."},"parameters":[{"id":13193,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":10742,"name":"Instrument.triggerRelease"}}],"sources":[{"fileName":"Tone/instrument/PluckSynth.ts","line":116,"character":15}],"overwrites":{"type":"reference","id":10742,"name":"Instrument.triggerRelease"}},{"id":13207,"name":"unsync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13208,"name":"unsync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Unsync the instrument from the Transport"},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":10728,"name":"Instrument.unsync"}}],"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":122,"character":7}],"inheritedFrom":{"type":"reference","id":10728,"name":"Instrument.unsync"}},{"id":13181,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":13182,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":13164,"name":"PluckSynthOptions"},"overwrites":{"type":"reference","id":10718,"name":"Instrument.getDefaults"}}],"sources":[{"fileName":"Tone/instrument/PluckSynth.ts","line":80,"character":19}],"overwrites":{"type":"reference","id":10718,"name":"Instrument.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[13178]},{"title":"Properties","kind":1024,"children":[13175,13252,13280,13197,13172,13196,13177,13176,13198,13279]},{"title":"Accessors","kind":262144,"children":[13260,13220,13224,13228,13183,13284,13215,13217,13258]},{"title":"Methods","kind":2048,"children":[13246,13232,13241,13194,13249,13274,13256,13254,13276,13199,13237,13265,13239,13262,13286,13268,13187,13209,13191,13207,13181]}],"sources":[{"fileName":"Tone/instrument/PluckSynth.ts","line":26,"character":23}],"extendedTypes":[{"type":"reference","id":10707,"typeArguments":[{"type":"reference","id":13164,"name":"PluckSynthOptions"}],"name":"Instrument"}]},{"id":13295,"name":"PolySynth","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"PolySynth handles voice creation and allocation for any\ninstruments passed in as the second paramter. PolySynth is\nnot a synthesizer by itself, it merely manages voices of\none of the other types of synths, allowing any of the\nmonophonic synthesizers to be polyphonic.","tags":[{"tag":"example","text":"\nconst synth = new Tone.PolySynth().toDestination();\n// set the attributes across all the voices using 'set'\nsynth.set({ detune: -1200 });\n// play a chord\nsynth.triggerAttackRelease([\"C4\", \"E4\", \"A4\"], 1);"}]},"typeParameter":[{"id":13296,"name":"Voice","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"reference","id":10828,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"Monophonic"}}],"children":[{"id":13311,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":13312,"name":"new PolySynth","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":13313,"name":"voice","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The constructor of the voices"},"type":{"type":"reference","id":13449,"typeArguments":[{"type":"typeParameter","name":"Voice","constraint":{"type":"reference","id":10828,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"Monophonic"}}],"name":"VoiceConstructor"}},{"id":13314,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The options object to set the synth voice\n"},"type":{"type":"reference","id":13460,"typeArguments":[{"type":"typeParameter","name":"Voice","constraint":{"type":"reference","id":10828,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"Monophonic"}}],"name":"PartialVoiceOptions"}}],"type":{"type":"reference","id":13295,"name":"PolySynth"},"overwrites":{"type":"reference","id":10715,"name":"Instrument.__constructor"}},{"id":13315,"name":"new PolySynth","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":13316,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The options object to set the synth voice\n"},"type":{"type":"reference","typeArguments":[{"type":"reference","id":13288,"typeArguments":[{"type":"typeParameter","name":"Voice","constraint":{"type":"reference","id":10828,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"Monophonic"}}],"name":"PolySynthOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":13295,"name":"PolySynth"},"overwrites":{"type":"reference","id":10715,"name":"Instrument.__constructor"}}],"sources":[{"fileName":"Tone/instrument/PolySynth.ts","line":104,"character":34},{"fileName":"Tone/instrument/PolySynth.ts","line":113,"character":3},{"fileName":"Tone/instrument/PolySynth.ts","line":114,"character":57}],"overwrites":{"type":"reference","id":10715,"name":"Instrument.__constructor"}},{"id":13418,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":13441,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":13371,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The instrument only has an output"},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":26,"character":6}],"type":{"type":"intrinsic","name":"undefined"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":10711,"name":"Instrument.input"}},{"id":13306,"name":"maxPolyphony","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The polyphony limit."},"sources":[{"fileName":"Tone/instrument/PolySynth.ts","line":84,"character":13}],"type":{"type":"intrinsic","name":"number"}},{"id":13297,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/instrument/PolySynth.ts","line":59,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"PolySynth\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":13370,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":21,"character":7}],"type":{"type":"reference","id":1102,"name":"OutputNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":10710,"name":"Instrument.output"}},{"id":13372,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The volume of the output in decibels.","tags":[{"tag":"example","text":"\nconst amSynth = new Tone.AMSynth().toDestination();\namSynth.volume.value = -6;\namSynth.triggerAttackRelease(\"G#3\", 0.2);\n"}]},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":35,"character":7}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"decibels"}],"name":"Param"},"inheritedFrom":{"type":"reference","id":10712,"name":"Instrument.volume"}},{"id":13440,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":13319,"name":"activeVoices","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of active voices."},"getSignature":[{"id":13320,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of active voices."},"type":{"type":"intrinsic","name":"number"}}],"sources":[{"fileName":"Tone/instrument/PolySynth.ts","line":148,"character":17}]},{"id":13426,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":13427,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":13386,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":13387,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":13388,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":13389,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":13390,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":13391,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":13392,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":13393,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":13394,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":13395,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":13396,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":13397,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":13445,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":13446,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":13381,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":13382,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":13383,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":13384,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":13424,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":13425,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":13412,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13413,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":13414,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":13398,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13399,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":13400,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":13401,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":13402,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":13407,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13408,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":13409,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":13410,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":13411,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":13368,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13369,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":10746,"name":"Instrument.dispose"}}],"sources":[{"fileName":"Tone/instrument/PolySynth.ts","line":382,"character":8}],"overwrites":{"type":"reference","id":10746,"name":"Instrument.dispose"}},{"id":13415,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13416,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":13417,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":13363,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13364,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":13458,"typeArguments":[{"type":"typeParameter","name":"Voice","constraint":{"type":"reference","id":10828,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"Monophonic"}}],"name":"VoiceOptions"},"overwrites":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/instrument/PolySynth.ts","line":366,"character":4}],"overwrites":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":13422,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13423,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":13420,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13421,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":13365,"name":"releaseAll","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13366,"name":"releaseAll","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Trigger the release portion of all the currently active voices immediately.\nUseful for silencing the synth."},"parameters":[{"id":13367,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/instrument/PolySynth.ts","line":374,"character":11}]},{"id":13360,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13361,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set a member/attribute of the voices","tags":[{"tag":"example","text":"\nconst poly = new Tone.PolySynth().toDestination();\n// set all of the voices using an options object for the synth type\npoly.set({\n\tenvelope: {\n\t\tattack: 0.25\n\t}\n});\npoly.triggerAttackRelease(\"Bb3\", 0.2);\n"}]},"parameters":[{"id":13362,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":13458,"typeArguments":[{"type":"typeParameter","name":"Voice","constraint":{"type":"reference","id":10828,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"Monophonic"}}],"name":"VoiceOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/instrument/PolySynth.ts","line":356,"character":4}],"overwrites":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":13358,"name":"sync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13359,"name":"sync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":10720,"name":"Instrument.sync"}}],"sources":[{"fileName":"Tone/instrument/PolySynth.ts","line":336,"character":5}],"overwrites":{"type":"reference","id":10720,"name":"Instrument.sync"}},{"id":13403,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13404,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":13431,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13432,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":13433,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":13405,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13406,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":13428,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13429,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":13430,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":13447,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13448,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":13434,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13435,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":13436,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":13343,"name":"triggerAttack","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13344,"name":"triggerAttack","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Trigger the attack portion of the note","tags":[{"tag":"example","text":"\nconst synth = new Tone.PolySynth(Tone.FMSynth).toDestination();\n// trigger a chord immediately with a velocity of 0.2\nsynth.triggerAttack([\"Ab3\", \"C4\", \"F5\"], Tone.now(), 0.2);\n"}]},"parameters":[{"id":13345,"name":"notes","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The notes to play. Accepts a single Frequency or an array of frequencies."},"type":{"type":"union","types":[{"type":"reference","id":32,"name":"Frequency"},{"type":"array","elementType":{"type":"reference","id":32,"name":"Frequency"}}]}},{"id":13346,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The start time of the note."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":13347,"name":"velocity","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The velocity of the note."},"type":{"type":"reference","id":23,"name":"NormalRange"}}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":10736,"name":"Instrument.triggerAttack"}}],"sources":[{"fileName":"Tone/instrument/PolySynth.ts","line":268,"character":14}],"overwrites":{"type":"reference","id":10736,"name":"Instrument.triggerAttack"}},{"id":13352,"name":"triggerAttackRelease","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13353,"name":"triggerAttackRelease","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Trigger the attack and release after the specified duration","tags":[{"tag":"example","text":"\nconst poly = new Tone.PolySynth(Tone.AMSynth).toDestination();\n// can pass in an array of durations as well\npoly.triggerAttackRelease([\"Eb3\", \"G4\", \"Bb4\", \"D5\"], [4, 3, 2, 1]);\n"}]},"parameters":[{"id":13354,"name":"notes","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The notes to play. Accepts a single  Frequency or an array of frequencies."},"type":{"type":"union","types":[{"type":"reference","id":32,"name":"Frequency"},{"type":"array","elementType":{"type":"reference","id":32,"name":"Frequency"}}]}},{"id":13355,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"the duration of the note"},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"array","elementType":{"type":"reference","id":31,"name":"Time"}}]}},{"id":13356,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"if no time is given, defaults to now"},"type":{"type":"reference","id":31,"name":"Time"}},{"id":13357,"name":"velocity","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"the velocity of the attack (0-1)"},"type":{"type":"reference","id":23,"name":"NormalRange"}}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":10730,"name":"Instrument.triggerAttackRelease"}}],"sources":[{"fileName":"Tone/instrument/PolySynth.ts","line":311,"character":21}],"overwrites":{"type":"reference","id":10730,"name":"Instrument.triggerAttackRelease"}},{"id":13348,"name":"triggerRelease","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13349,"name":"triggerRelease","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Trigger the release of the note. Unlike monophonic instruments,\na note (or array of notes) needs to be passed in as the first argument.","tags":[{"tag":"example","text":""},{"tag":"example","text":"\nconst poly = new Tone.PolySynth(Tone.AMSynth).toDestination();\npoly.triggerAttack([\"Ab3\", \"C4\", \"F5\"]);\n// trigger the release of the given notes.\npoly.triggerRelease([\"Ab3\", \"C4\"], \"+1\");\npoly.triggerRelease(\"F5\", \"+3\");\n"}]},"parameters":[{"id":13350,"name":"notes","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The notes to play. Accepts a single Frequency or an array of frequencies."},"type":{"type":"union","types":[{"type":"reference","id":32,"name":"Frequency"},{"type":"array","elementType":{"type":"reference","id":32,"name":"Frequency"}}]}},{"id":13351,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the release will be triggered."},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":10742,"name":"Instrument.triggerRelease"}}],"sources":[{"fileName":"Tone/instrument/PolySynth.ts","line":291,"character":15}],"overwrites":{"type":"reference","id":10742,"name":"Instrument.triggerRelease"}},{"id":13379,"name":"unsync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13380,"name":"unsync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Unsync the instrument from the Transport"},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":10728,"name":"Instrument.unsync"}}],"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":122,"character":7}],"inheritedFrom":{"type":"reference","id":10728,"name":"Instrument.unsync"}},{"id":13317,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":13318,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":13288,"typeArguments":[{"type":"reference","id":11098,"name":"Synth"}],"name":"PolySynthOptions"},"overwrites":{"type":"reference","id":10718,"name":"Instrument.getDefaults"}}],"sources":[{"fileName":"Tone/instrument/PolySynth.ts","line":137,"character":19}],"overwrites":{"type":"reference","id":10718,"name":"Instrument.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[13311]},{"title":"Properties","kind":1024,"children":[13418,13441,13371,13306,13297,13370,13372,13440]},{"title":"Accessors","kind":262144,"children":[13319,13426,13386,13390,13394,13445,13381,13383,13424]},{"title":"Methods","kind":2048,"children":[13412,13398,13407,13368,13415,13363,13422,13420,13365,13360,13358,13403,13431,13405,13428,13447,13434,13343,13352,13348,13379,13317]}],"sources":[{"fileName":"Tone/instrument/PolySynth.ts","line":57,"character":22}],"extendedTypes":[{"type":"reference","id":10707,"typeArguments":[{"type":"reference","id":13458,"typeArguments":[{"type":"typeParameter","name":"Voice","constraint":{"type":"reference","id":10828,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"Monophonic"}}],"name":"VoiceOptions"}],"name":"Instrument"}]},{"id":10151,"name":"Pow","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Pow applies an exponent to the incoming signal. The incoming signal must be AudioRange [-1, 1]","tags":[{"tag":"example","text":"\nconst pow = new Tone.Pow(2);\nconst sig = new Tone.Signal(0.5).connect(pow);\n// output of pow is 0.25."}]},"children":[{"id":10157,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":10158,"name":"new Pow","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":10159,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Constant exponent value to use\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}}],"type":{"type":"reference","id":10151,"name":"Pow"},"overwrites":{"type":"reference","id":6909,"name":"SignalOperator.__constructor"}},{"id":10160,"name":"new Pow","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":10161,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":10148,"name":"PowOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":10151,"name":"Pow"},"overwrites":{"type":"reference","id":6909,"name":"SignalOperator.__constructor"}}],"sources":[{"fileName":"Tone/signal/Pow.ts","line":29,"character":20},{"fileName":"Tone/signal/Pow.ts","line":34,"character":29},{"fileName":"Tone/signal/Pow.ts","line":35,"character":44}],"overwrites":{"type":"reference","id":6909,"name":"SignalOperator.__constructor"}},{"id":10210,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":10238,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":10155,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/signal/Pow.ts","line":27,"character":6}],"type":{"type":"reference","id":6998,"name":"WaveShaper"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":10152,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/signal/Pow.ts","line":21,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Pow\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":10156,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/signal/Pow.ts","line":29,"character":7}],"type":{"type":"reference","id":6998,"name":"WaveShaper"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":10237,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":10218,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":10219,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":10183,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":10184,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":10185,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":10186,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":10187,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":10188,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":10189,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":10190,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":10191,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":10192,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":10193,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":10194,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":10242,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":10243,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":10178,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":10179,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":10180,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":10181,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":10216,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":10217,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":10167,"name":"value","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The value of the exponent."},"getSignature":[{"id":10168,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The value of the exponent."},"type":{"type":"intrinsic","name":"number"}}],"setSignature":[{"id":10169,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The value of the exponent."},"parameters":[{"id":10170,"name":"exponent","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/signal/Pow.ts","line":68,"character":10},{"fileName":"Tone/signal/Pow.ts","line":71,"character":10}]},{"id":10204,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10205,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":10206,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":10173,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10174,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":10175,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":10176,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":10177,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"},"inheritedFrom":{"type":"reference","id":6912,"name":"SignalOperator.connect"}}],"sources":[{"fileName":"Tone/signal/SignalOperator.ts","line":17,"character":8}],"overwrites":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"},"inheritedFrom":{"type":"reference","id":6912,"name":"SignalOperator.connect"}},{"id":10199,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10200,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":10201,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":10202,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":10203,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":10171,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10172,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Clean up."},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/signal/Pow.ts","line":79,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":10207,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10208,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":10209,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":10232,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10233,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":10148,"name":"PowOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":10214,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10215,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":10212,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10213,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":10234,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10235,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":10236,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":10148,"name":"PowOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":10195,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10196,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":10223,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10224,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":10225,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":10197,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10198,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":10220,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10221,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":10222,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":10244,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10245,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":10226,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10227,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":10228,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":10162,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":10163,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":10148,"name":"PowOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/signal/Pow.ts","line":49,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[10157]},{"title":"Properties","kind":1024,"children":[10210,10238,10155,10152,10156,10237]},{"title":"Accessors","kind":262144,"children":[10218,10183,10187,10191,10242,10178,10180,10216,10167]},{"title":"Methods","kind":2048,"children":[10204,10173,10199,10171,10207,10232,10214,10212,10234,10195,10223,10197,10220,10244,10226,10162]}],"sources":[{"fileName":"Tone/signal/Pow.ts","line":19,"character":16}],"extendedTypes":[{"type":"reference","id":6907,"typeArguments":[{"type":"reference","id":10148,"name":"PowOptions"}],"name":"SignalOperator"}]},{"id":7686,"name":"PulseOscillator","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"PulseOscillator is an oscillator with control over pulse width,\nalso known as the duty cycle. At 50% duty cycle (width = 0) the wave is\na square wave.\n[Read more](https://wigglewave.wordpress.com/2014/08/16/pulse-waveforms-and-harmonics/).\n```\n   width = -0.25        width = 0.0          width = 0.25","text":"  +-----+            +-------+       +    +-------+     +-+\n  |     |            |       |       |            |     |\n  |     |            |       |       |            |     |\n+-+     +-------+    +       +-------+            +-----+\n\n\n   width = -0.5                              width = 0.5\n\n    +---+                                 +-------+   +---+\n    |   |                                         |   |\n    |   |                                         |   |\n+---+   +-------+                                 +---+\n\n\n   width = -0.75                             width = 0.75\n\n      +-+                                 +-------+ +-----+\n      | |                                         | |\n      | |                                         | |\n+-----+ +-------+                                 +-+\n```","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst pulse = new Tone.PulseOscillator(50, 0.4).toDestination().start();\n}, 0.1, 1);"}]},"children":[{"id":7694,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":7695,"name":"new PulseOscillator","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":7696,"name":"frequency","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The frequency of the oscillator"},"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":7697,"name":"width","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The width of the pulse\n"},"type":{"type":"reference","id":24,"name":"AudioRange"}}],"type":{"type":"reference","id":7686,"name":"PulseOscillator"},"overwrites":{"type":"reference","id":5586,"name":"Source.__constructor"}},{"id":7698,"name":"new PulseOscillator","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":7699,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":6415,"name":"PulseOscillatorOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":7686,"name":"PulseOscillator"},"overwrites":{"type":"reference","id":5586,"name":"Source.__constructor"}}],"sources":[{"fileName":"Tone/source/oscillator/PulseOscillator.ts","line":90,"character":4},{"fileName":"Tone/source/oscillator/PulseOscillator.ts","line":96,"character":56},{"fileName":"Tone/source/oscillator/PulseOscillator.ts","line":97,"character":56}],"overwrites":{"type":"reference","id":5586,"name":"Source.__constructor"}},{"id":7801,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":7829,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":7692,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The detune in cents."},"sources":[{"fileName":"Tone/source/oscillator/PulseOscillator.ts","line":82,"character":16}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"cents"}],"name":"Signal"},"implementationOf":{"type":"reference","id":6181,"name":"ToneOscillatorInterface.detune"}},{"id":7691,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The frequency control."},"sources":[{"fileName":"Tone/source/oscillator/PulseOscillator.ts","line":77,"character":19}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"frequency"}],"name":"Signal"},"implementationOf":{"type":"reference","id":6180,"name":"ToneOscillatorInterface.frequency"}},{"id":7732,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Sources have no inputs"},"sources":[{"fileName":"Tone/source/Source.ts","line":54,"character":6}],"type":{"type":"intrinsic","name":"undefined"},"defaultValue":"undefined","overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":5567,"name":"Source.input"}},{"id":7687,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/source/oscillator/PulseOscillator.ts","line":50,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"PulseOscillator\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":7734,"name":"onstop","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The callback to invoke when the source is stopped."},"sources":[{"fileName":"Tone/source/Source.ts","line":67,"character":7}],"type":{"type":"reference","id":5706,"name":"onStopCallback"},"inheritedFrom":{"type":"reference","id":5569,"name":"Source.onstop"}},{"id":7731,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The output note"},"sources":[{"fileName":"Tone/source/Source.ts","line":49,"character":7}],"type":{"type":"reference","id":1102,"name":"OutputNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":5566,"name":"Source.output"}},{"id":7733,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The volume of the output in decibels.","tags":[{"tag":"example","text":"\nconst source = new Tone.PWMOscillator().toDestination();\nsource.volume.value = -6;\n"}]},"sources":[{"fileName":"Tone/source/Source.ts","line":62,"character":7}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"decibels"}],"name":"Param"},"inheritedFrom":{"type":"reference","id":5568,"name":"Source.volume"}},{"id":7688,"name":"width","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The width of the pulse.","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst pulse = new Tone.PulseOscillator(20, 0.8).toDestination().start();\n}, 0.1, 1);\n"}]},"sources":[{"fileName":"Tone/source/oscillator/PulseOscillator.ts","line":59,"character":15}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"audioRange"}],"name":"Signal"}},{"id":7828,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":7717,"name":"baseType","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The baseType of the oscillator. Always returns \"pulse\"."},"getSignature":[{"id":7718,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The baseType of the oscillator. Always returns \"pulse\"."},"type":{"type":"stringLiteral","value":"pulse"}}],"sources":[{"fileName":"Tone/source/oscillator/PulseOscillator.ts","line":183,"character":13}],"implementationOf":{"type":"reference","id":6178,"name":"ToneOscillatorInterface.baseType"}},{"id":7809,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":7810,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":7723,"name":"carrierType","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"*Internal use* The carrier oscillator type is fed through the\nwaveshaper node to create the pulse. Using different carrier oscillators\nchanges oscillator's behavior."},"setSignature":[{"id":7724,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"*Internal use* The carrier oscillator type is fed through the\nwaveshaper node to create the pulse. Using different carrier oscillators\nchanges oscillator's behavior."},"parameters":[{"id":7725,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"triangle"},{"type":"stringLiteral","value":"sine"}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/oscillator/PulseOscillator.ts","line":206,"character":16}]},{"id":7769,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":7770,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":7771,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":7772,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":7773,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":7774,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":7775,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":7776,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":7777,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":7778,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":7779,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":7780,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":7833,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":7834,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":7743,"name":"mute","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Mute the output.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination().start();\n// mute the output\nosc.mute = true;\n"}]},"getSignature":[{"id":7744,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Mute the output.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination().start();\n// mute the output\nosc.mute = true;\n"}]},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":5593,"name":"Source.mute"}}],"setSignature":[{"id":7745,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"Mute the output.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination().start();\n// mute the output\nosc.mute = true;\n"}]},"parameters":[{"id":7746,"name":"mute","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":5593,"name":"Source.mute"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":148,"character":9},{"fileName":"Tone/source/Source.ts","line":151,"character":9}],"inheritedFrom":{"type":"reference","id":5593,"name":"Source.mute"}},{"id":7764,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":7765,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":7766,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":7767,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":7721,"name":"partialCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"No partials for this waveform type."},"getSignature":[{"id":7722,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"No partials for this waveform type."},"type":{"type":"intrinsic","name":"number"}}],"sources":[{"fileName":"Tone/source/oscillator/PulseOscillator.ts","line":197,"character":17}],"implementationOf":{"type":"reference","id":6184,"name":"ToneOscillatorInterface.partialCount"}},{"id":7719,"name":"partials","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The partials of the waveform. Cannot set partials for this waveform type"},"getSignature":[{"id":7720,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The partials of the waveform. Cannot set partials for this waveform type"},"type":{"type":"array","elementType":{"type":"intrinsic","name":"number"}}}],"sources":[{"fileName":"Tone/source/oscillator/PulseOscillator.ts","line":190,"character":13}],"implementationOf":{"type":"reference","id":6183,"name":"ToneOscillatorInterface.partials"}},{"id":7711,"name":"phase","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The phase of the oscillator in degrees."},"getSignature":[{"id":7712,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The phase of the oscillator in degrees."},"type":{"type":"reference","id":37,"name":"Degrees"}}],"setSignature":[{"id":7713,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The phase of the oscillator in degrees."},"parameters":[{"id":7714,"name":"phase","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":37,"name":"Degrees"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/oscillator/PulseOscillator.ts","line":166,"character":10},{"fileName":"Tone/source/oscillator/PulseOscillator.ts","line":169,"character":10}],"implementationOf":{"type":"reference","id":6182,"name":"ToneOscillatorInterface.phase"}},{"id":7807,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":7808,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":7741,"name":"state","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Returns the playback state of the source, either \"started\" or \"stopped\".","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/ahntone_c3.mp3\", () => {\n\tplayer.start();\n\tconsole.log(player.state);\n}).toDestination();\n"}]},"getSignature":[{"id":7742,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Returns the playback state of the source, either \"started\" or \"stopped\".","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/ahntone_c3.mp3\", () => {\n\tplayer.start();\n\tconsole.log(player.state);\n}).toDestination();\n"}]},"type":{"type":"reference","id":705,"name":"BasicPlaybackState"},"inheritedFrom":{"type":"reference","id":5591,"name":"Source.state"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":129,"character":10}],"inheritedFrom":{"type":"reference","id":5591,"name":"Source.state"}},{"id":7715,"name":"type","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The type of the oscillator. Always returns \"pulse\"."},"getSignature":[{"id":7716,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The type of the oscillator. Always returns \"pulse\"."},"type":{"type":"stringLiteral","value":"pulse"}}],"sources":[{"fileName":"Tone/source/oscillator/PulseOscillator.ts","line":176,"character":9}],"implementationOf":{"type":"reference","id":6179,"name":"ToneOscillatorInterface.type"}},{"id":7726,"name":"asArray","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7727,"name":"asArray","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":7728,"name":"length","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"1024"}],"type":{"type":"reference","typeArguments":[{"type":"reference","name":"Float32Array"}],"name":"Promise"},"implementationOf":{"type":"reference","id":6186,"name":"ToneOscillatorInterface.asArray"}}],"sources":[{"fileName":"Tone/source/oscillator/PulseOscillator.ts","line":210,"character":14}],"implementationOf":{"type":"reference","id":6185,"name":"ToneOscillatorInterface.asArray"}},{"id":7795,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7796,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":7797,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":7781,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7782,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":7783,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":7784,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":7785,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":7790,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7791,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":7792,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":7793,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":7794,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":7729,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7730,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Clean up method."},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":5630,"name":"Source.dispose"}}],"sources":[{"fileName":"Tone/source/oscillator/PulseOscillator.ts","line":217,"character":8}],"overwrites":{"type":"reference","id":5630,"name":"Source.dispose"}},{"id":7798,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7799,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":7800,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":7823,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7824,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":6415,"name":"PulseOscillatorOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":7805,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7806,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":7803,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7804,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":7755,"name":"restart","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7756,"name":"restart","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Restart the source."},"parameters":[{"id":7757,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":7758,"name":"offset","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":7759,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":5621,"name":"Source.restart"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":249,"character":8}],"inheritedFrom":{"type":"reference","id":5621,"name":"Source.restart"}},{"id":7825,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7826,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":7827,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":6415,"name":"PulseOscillatorOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":7747,"name":"start","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7748,"name":"start","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Start the source at the specified time. If no time is given,\nstart the source now.","tags":[{"tag":"example","text":"\nconst source = new Tone.Oscillator().toDestination();\nsource.start(\"+0.5\"); // starts the source 0.5 seconds from now\n"}]},"parameters":[{"id":7749,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the source should be started."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":7750,"name":"offset","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":7751,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":5613,"name":"Source.start"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":180,"character":6}],"inheritedFrom":{"type":"reference","id":5613,"name":"Source.start"}},{"id":7752,"name":"stop","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7753,"name":"stop","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Stop the source at the specified time. If no time is given,\nstop the source now.","tags":[{"tag":"example","text":"\nconst source = new Tone.Oscillator().toDestination();\nsource.start();\nsource.stop(\"+0.5\"); // stops the source 0.5 seconds from now\n"}]},"parameters":[{"id":7754,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the source should be stopped."},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":5618,"name":"Source.stop"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":229,"character":5}],"inheritedFrom":{"type":"reference","id":5618,"name":"Source.stop"}},{"id":7760,"name":"sync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7761,"name":"sync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Sync the source to the Transport so that all subsequent\ncalls to `start` and `stop` are synced to the TransportTime\ninstead of the AudioContext time.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination();\n// sync the source so that it plays between 0 and 0.3 on the Transport's timeline\nosc.sync().start(0).stop(0.3);\n// start the transport.\nTone.Transport.start();\n// set it to loop once a second\nTone.Transport.loop = true;\nTone.Transport.loopEnd = 1;\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":5626,"name":"Source.sync"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":273,"character":5}],"inheritedFrom":{"type":"reference","id":5626,"name":"Source.sync"}},{"id":7786,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7787,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":7814,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7815,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":7816,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":7788,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7789,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":7811,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7812,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":7813,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":7835,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7836,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":7817,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7818,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":7819,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":7762,"name":"unsync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7763,"name":"unsync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Unsync the source to the Transport. See Source.sync"},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":5628,"name":"Source.unsync"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":310,"character":7}],"inheritedFrom":{"type":"reference","id":5628,"name":"Source.unsync"}},{"id":7700,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":7701,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":6415,"name":"PulseOscillatorOptions"},"overwrites":{"type":"reference","id":5589,"name":"Source.getDefaults"}}],"sources":[{"fileName":"Tone/source/oscillator/PulseOscillator.ts","line":126,"character":19}],"overwrites":{"type":"reference","id":5589,"name":"Source.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[7694]},{"title":"Properties","kind":1024,"children":[7801,7829,7692,7691,7732,7687,7734,7731,7733,7688,7828]},{"title":"Accessors","kind":262144,"children":[7717,7809,7723,7769,7773,7777,7833,7743,7764,7766,7721,7719,7711,7807,7741,7715]},{"title":"Methods","kind":2048,"children":[7726,7795,7781,7790,7729,7798,7823,7805,7803,7755,7825,7747,7752,7760,7786,7814,7788,7811,7835,7817,7762,7700]}],"sources":[{"fileName":"Tone/source/oscillator/PulseOscillator.ts","line":48,"character":28}],"extendedTypes":[{"type":"reference","id":5563,"typeArguments":[{"type":"reference","id":6415,"name":"PulseOscillatorOptions"}],"name":"Source"}],"implementedTypes":[{"type":"reference","id":6177,"name":"ToneOscillatorInterface"}]},{"id":19253,"name":"Recorder","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A wrapper around the MediaRecorder API. Unlike the rest of Tone.js, this module does not offer\nany sample-accurate scheduling because it is not a feature of the MediaRecorder API.\nThis is only natively supported in Chrome and Firefox.\nFor a cross-browser shim, install (audio-recorder-polyfill)[https://www.npmjs.com/package/audio-recorder-polyfill].","tags":[{"tag":"example","text":"\nconst recorder = new Tone.Recorder();\nconst synth = new Tone.Synth().connect(recorder);\n// start recording\nrecorder.start();\n// generate a few notes\nsynth.triggerAttackRelease(\"C3\", 0.5);\nsynth.triggerAttackRelease(\"C4\", 0.5, \"+1\");\nsynth.triggerAttackRelease(\"C5\", 0.5, \"+2\");\n// wait for the notes to end and stop the recording\nsetTimeout(async () => {\n\t// the recorded audio is returned as a blob\n\tconst recording = await recorder.stop();\n\t// download the recording by creating an anchor element and blob url\n\tconst url = URL.createObjectURL(recording);\n\tconst anchor = document.createElement(\"a\");\n\tanchor.download = \"recording.webm\";\n\tanchor.href = url;\n\tanchor.click();\n}, 4000);"}]},"children":[{"id":19259,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":19260,"name":"new Recorder","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":19261,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":19250,"name":"RecorderOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":19253,"name":"Recorder"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/component/channel/Recorder.ts","line":54,"character":28},{"fileName":"Tone/component/channel/Recorder.ts","line":56,"character":49}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":19315,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":19343,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":19257,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/channel/Recorder.ts","line":53,"character":15}],"type":{"type":"reference","id":1143,"name":"Gain"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":19254,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/channel/Recorder.ts","line":41,"character":14}],"type":{"type":"stringLiteral","value":"Recorder"},"defaultValue":"\"Recorder\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":19258,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/channel/Recorder.ts","line":54,"character":16}],"type":{"type":"intrinsic","name":"undefined"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":19342,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":19323,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":19324,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":19283,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":19284,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":19285,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":19286,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":19287,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":19288,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":19289,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":19290,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":19291,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":19292,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":19293,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":19294,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":19347,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":19348,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":19264,"name":"mimeType","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The mime type is the format that the audio is encoded in. For Chrome\nthat is typically webm encoded as \"vorbis\"."},"getSignature":[{"id":19265,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The mime type is the format that the audio is encoded in. For Chrome\nthat is typically webm encoded as \"vorbis\"."},"type":{"type":"intrinsic","name":"string"}}],"sources":[{"fileName":"Tone/component/channel/Recorder.ts","line":83,"character":13}]},{"id":19278,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":19279,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":19280,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":19281,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":19321,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":19322,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":19268,"name":"state","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Get the playback state of the Recorder, either \"started\", \"stopped\" or \"paused\""},"getSignature":[{"id":19269,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Get the playback state of the Recorder, either \"started\", \"stopped\" or \"paused\""},"type":{"type":"reference","id":706,"name":"PlaybackState"}}],"sources":[{"fileName":"Tone/component/channel/Recorder.ts","line":98,"character":10}]},{"id":19266,"name":"supported","kind":262144,"kindString":"Accessor","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"Test if your platform supports the Media Recorder API. If it's not available,\ntry installing this (polyfill)[https://www.npmjs.com/package/audio-recorder-polyfill]."},"getSignature":[{"id":19267,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Test if your platform supports the Media Recorder API. If it's not available,\ntry installing this (polyfill)[https://www.npmjs.com/package/audio-recorder-polyfill]."},"type":{"type":"intrinsic","name":"boolean"}}],"sources":[{"fileName":"Tone/component/channel/Recorder.ts","line":91,"character":21}]},{"id":19309,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19310,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":19311,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":19295,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19296,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":19297,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":19298,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":19299,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":19304,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19305,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":19306,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":19307,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":19308,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":19276,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19277,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/component/channel/Recorder.ts","line":156,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":19312,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19313,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":19314,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":19337,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19338,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":19250,"name":"RecorderOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":19319,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19320,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":19317,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19318,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":19274,"name":"pause","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19275,"name":"pause","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Pause the recorder"},"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/component/channel/Recorder.ts","line":150,"character":6}]},{"id":19339,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19340,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":19341,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":19250,"name":"RecorderOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":19270,"name":"start","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19271,"name":"start","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Start the Recorder. Returns a promise which resolves\nwhen the recorder has started."},"type":{"type":"reference","typeArguments":[{"type":"intrinsic","name":"unknown"}],"name":"Promise"}}],"sources":[{"fileName":"Tone/component/channel/Recorder.ts","line":112,"character":12}]},{"id":19272,"name":"stop","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19273,"name":"stop","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Stop the recorder. Returns a promise with the recorded content until this point\nencoded as [[mimeType]]"},"type":{"type":"reference","typeArguments":[{"type":"reference","name":"Blob"}],"name":"Promise"}}],"sources":[{"fileName":"Tone/component/channel/Recorder.ts","line":132,"character":11}]},{"id":19300,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19301,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":19328,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19329,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":19330,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":19302,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19303,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":19325,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19326,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":19327,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":19349,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19350,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":19331,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19332,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":19333,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":19262,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":19263,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":19250,"name":"RecorderOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/component/channel/Recorder.ts","line":75,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[19259]},{"title":"Properties","kind":1024,"children":[19315,19343,19257,19254,19258,19342]},{"title":"Accessors","kind":262144,"children":[19323,19283,19287,19291,19347,19264,19278,19280,19321,19268,19266]},{"title":"Methods","kind":2048,"children":[19309,19295,19304,19276,19312,19337,19319,19317,19274,19339,19270,19272,19300,19328,19302,19325,19349,19331,19262]}],"sources":[{"fileName":"Tone/component/channel/Recorder.ts","line":39,"character":21}],"extendedTypes":[{"type":"reference","id":1004,"typeArguments":[{"type":"reference","id":19250,"name":"RecorderOptions"}],"name":"ToneAudioNode"}]},{"id":17251,"name":"Reverb","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Simple convolution created with decaying noise.\nGenerates an Impulse Response Buffer\nwith Tone.Offline then feeds the IR into ConvolverNode.\nThe impulse response generation is async, so you have\nto wait until [[ready]] resolves before it will make a sound.","text":"Inspiration from [ReverbGen](https://github.com/adelespinasse/reverbGen).\nCopyright (c) 2014 Alan deLespinasse Apache 2.0 License.\n"},"children":[{"id":17257,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":17258,"name":"new Reverb","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":17259,"name":"decay","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The amount of time it will reverberate for.\n"},"type":{"type":"reference","id":21,"name":"Seconds"}}],"type":{"type":"reference","id":17251,"name":"Reverb"},"overwrites":{"type":"reference","id":14472,"name":"Effect.__constructor"}},{"id":17260,"name":"new Reverb","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":17261,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":17246,"name":"ReverbOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":17251,"name":"Reverb"},"overwrites":{"type":"reference","id":14472,"name":"Effect.__constructor"}}],"sources":[{"fileName":"Tone/effect/Reverb.ts","line":52,"character":42},{"fileName":"Tone/effect/Reverb.ts","line":57,"character":30},{"fileName":"Tone/effect/Reverb.ts","line":58,"character":47}],"overwrites":{"type":"reference","id":14472,"name":"Effect.__constructor"}},{"id":17323,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":17351,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":17281,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The effect input node"},"sources":[{"fileName":"Tone/effect/Effect.ts","line":46,"character":6}],"type":{"type":"reference","id":1143,"name":"Gain"},"defaultValue":"new Gain({ context: this.context })","overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":14470,"name":"Effect.input"}},{"id":17252,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/effect/Reverb.ts","line":30,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Reverb\"","overwrites":{"type":"reference","id":14465,"name":"Effect.name"}},{"id":17282,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The effect output"},"sources":[{"fileName":"Tone/effect/Effect.ts","line":51,"character":7}],"type":{"type":"reference","id":14368,"name":"CrossFade"},"defaultValue":"this._dryWet","overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":14471,"name":"Effect.output"}},{"id":17256,"name":"ready","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Resolves when the reverb buffer is generated. Whenever either [[decay]]\nor [[preDelay]] are set, you have to wait until [[ready]] resolves\nbefore the IR is generated with the latest values."},"sources":[{"fileName":"Tone/effect/Reverb.ts","line":52,"character":6}],"type":{"type":"reference","typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise"},"defaultValue":"Promise.resolve()"},{"id":17278,"name":"wet","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The wet control is how much of the effected\nwill pass through to the output. 1 = 100% effected\nsignal, 0 = 100% dry signal."},"sources":[{"fileName":"Tone/effect/Effect.ts","line":31,"character":4}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"normalRange"}],"name":"Signal"},"defaultValue":"this._dryWet.fade","inheritedFrom":{"type":"reference","id":14467,"name":"Effect.wet"}},{"id":17350,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":17331,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":17332,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":17291,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":17292,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":17293,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":17294,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":17295,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":17296,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":17297,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":17298,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":17299,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":17300,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":17301,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":17302,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":17264,"name":"decay","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration of the reverb."},"getSignature":[{"id":17265,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration of the reverb."},"type":{"type":"reference","id":31,"name":"Time"}}],"setSignature":[{"id":17266,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The duration of the reverb."},"parameters":[{"id":17267,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"number"},{"type":"reflection","declaration":{"id":17268,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true}}}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/effect/Reverb.ts","line":81,"character":10},{"fileName":"Tone/effect/Reverb.ts","line":84,"character":10}]},{"id":17355,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":17356,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":17286,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":17287,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":17288,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":17289,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":17269,"name":"preDelay","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The amount of time before the reverb is fully ramped in."},"getSignature":[{"id":17270,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The amount of time before the reverb is fully ramped in."},"type":{"type":"reference","id":31,"name":"Time"}}],"setSignature":[{"id":17271,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The amount of time before the reverb is fully ramped in."},"parameters":[{"id":17272,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"number"},{"type":"reflection","declaration":{"id":17273,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true}}}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/effect/Reverb.ts","line":94,"character":13},{"fileName":"Tone/effect/Reverb.ts","line":97,"character":13}]},{"id":17329,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":17330,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":17317,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17318,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":17319,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":17303,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17304,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":17305,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":17306,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":17307,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":17312,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17313,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":17314,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":17315,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":17316,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":17276,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17277,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":14480,"name":"Effect.dispose"}}],"sources":[{"fileName":"Tone/effect/Reverb.ts","line":140,"character":8}],"overwrites":{"type":"reference","id":14480,"name":"Effect.dispose"}},{"id":17320,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17321,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":17322,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":17274,"name":"generate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17275,"name":"generate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Generate the Impulse Response. Returns a promise while the IR is being generated.","returns":"Promise which returns this object.\n"},"type":{"type":"reference","typeArguments":[{"type":"intrinsic","name":"this"}],"name":"Promise"}}],"sources":[{"fileName":"Tone/effect/Reverb.ts","line":108,"character":15}]},{"id":17345,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17346,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":17246,"name":"ReverbOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":17327,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17328,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":17325,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17326,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":17347,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17348,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":17349,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":17246,"name":"ReverbOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":17308,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17309,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":17336,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17337,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":17338,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":17310,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17311,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":17333,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17334,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":17335,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":17357,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17358,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":17339,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17340,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":17341,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":17262,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":17263,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":17246,"name":"ReverbOptions"},"overwrites":{"type":"reference","id":14475,"name":"Effect.getDefaults"}}],"sources":[{"fileName":"Tone/effect/Reverb.ts","line":71,"character":19}],"overwrites":{"type":"reference","id":14475,"name":"Effect.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[17257]},{"title":"Properties","kind":1024,"children":[17323,17351,17281,17252,17282,17256,17278,17350]},{"title":"Accessors","kind":262144,"children":[17331,17291,17295,17299,17264,17355,17286,17288,17269,17329]},{"title":"Methods","kind":2048,"children":[17317,17303,17312,17276,17320,17274,17345,17327,17325,17347,17308,17336,17310,17333,17357,17339,17262]}],"sources":[{"fileName":"Tone/effect/Reverb.ts","line":28,"character":19}],"extendedTypes":[{"type":"reference","id":14463,"typeArguments":[{"type":"reference","id":17246,"name":"ReverbOptions"}],"name":"Effect"}]},{"id":13482,"name":"Sampler","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Pass in an object which maps the note's pitch or midi value to the url,\nthen you can trigger the attack and release of that note like other instruments.\nBy automatically repitching the samples, it is possible to play pitches which\nwere not explicitly included which can save loading time.","text":"For sample or buffer playback where repitching is not necessary,\nuse [[Player]].","tags":[{"tag":"example","text":"\nconst sampler = new Tone.Sampler({\n\turls: {\n\t\tA1: \"A1.mp3\",\n\t\tA2: \"A2.mp3\",\n\t},\n\tbaseUrl: \"https://tonejs.github.io/audio/casio/\",\n\tonload: () => {\n\t\tsampler.triggerAttackRelease([\"C1\", \"E1\", \"G1\", \"B1\"], 0.5);\n\t}\n}).toDestination();"}]},"children":[{"id":13489,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":13490,"name":"new Sampler","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":13491,"name":"samples","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"An object of samples mapping either Midi Note Numbers or\n\t\t\tScientific Pitch Notation to the url of that sample."},"type":{"type":"reference","id":13462,"name":"SamplesMap"}},{"id":13492,"name":"onload","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The callback to invoke when all of the samples are loaded."},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"reflection","declaration":{"id":13493,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":13494,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"void"}}]}}]}},{"id":13495,"name":"baseUrl","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The root URL of all of the samples, which is prepended to all the URLs.\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"string"}]}}],"type":{"type":"reference","id":13482,"name":"Sampler"},"overwrites":{"type":"reference","id":10715,"name":"Instrument.__constructor"}},{"id":13496,"name":"new Sampler","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":13497,"name":"samples","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"An object of samples mapping either Midi Note Numbers or\n\t\t\tScientific Pitch Notation to the url of that sample."},"type":{"type":"reference","id":13462,"name":"SamplesMap"}},{"id":13498,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The remaining options associated with the sampler\n"},"type":{"type":"reference","typeArguments":[{"type":"reference","id":1119,"typeArguments":[{"type":"reference","id":13467,"name":"SamplerOptions"},{"type":"stringLiteral","value":"urls"}],"name":"Omit"}],"name":"Partial"}}],"type":{"type":"reference","id":13482,"name":"Sampler"},"overwrites":{"type":"reference","id":10715,"name":"Instrument.__constructor"}},{"id":13499,"name":"new Sampler","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":13500,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The remaining options associated with the sampler\n"},"type":{"type":"reference","typeArguments":[{"type":"reference","id":13467,"name":"SamplerOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":13482,"name":"Sampler"},"overwrites":{"type":"reference","id":10715,"name":"Instrument.__constructor"}}],"sources":[{"fileName":"Tone/instrument/Sampler.ts","line":84,"character":30},{"fileName":"Tone/instrument/Sampler.ts","line":92,"character":74},{"fileName":"Tone/instrument/Sampler.ts","line":98,"character":84},{"fileName":"Tone/instrument/Sampler.ts","line":99,"character":48}],"overwrites":{"type":"reference","id":10715,"name":"Instrument.__constructor"}},{"id":13486,"name":"attack","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The envelope applied to the beginning of the sample.","tags":[{"tag":"min","text":"0"},{"tag":"max","text":"1\n"}]},"decorators":[{"name":"timeRange","type":{"type":"reference","id":8896,"name":"timeRange"},"arguments":{"min":"0"}}],"sources":[{"fileName":"Tone/instrument/Sampler.ts","line":70,"character":7}],"type":{"type":"reference","id":31,"name":"Time"}},{"id":13585,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":13488,"name":"curve","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The shape of the attack/release curve.\nEither \"linear\" or \"exponential\""},"sources":[{"fileName":"Tone/instrument/Sampler.ts","line":84,"character":6}],"type":{"type":"reference","id":5885,"name":"ToneBufferSourceCurve"}},{"id":13613,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":13538,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The instrument only has an output"},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":26,"character":6}],"type":{"type":"intrinsic","name":"undefined"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":10711,"name":"Instrument.input"}},{"id":13483,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/instrument/Sampler.ts","line":52,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Sampler\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":13537,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":21,"character":7}],"type":{"type":"reference","id":1102,"name":"OutputNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":10710,"name":"Instrument.output"}},{"id":13487,"name":"release","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The envelope applied to the end of the envelope.","tags":[{"tag":"min","text":"0"},{"tag":"max","text":"1\n"}]},"decorators":[{"name":"timeRange","type":{"type":"reference","id":8896,"name":"timeRange"},"arguments":{"min":"0"}}],"sources":[{"fileName":"Tone/instrument/Sampler.ts","line":78,"character":8}],"type":{"type":"reference","id":31,"name":"Time"}},{"id":13539,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The volume of the output in decibels.","tags":[{"tag":"example","text":"\nconst amSynth = new Tone.AMSynth().toDestination();\namSynth.volume.value = -6;\namSynth.triggerAttackRelease(\"G#3\", 0.2);\n"}]},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":35,"character":7}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"decibels"}],"name":"Param"},"inheritedFrom":{"type":"reference","id":10712,"name":"Instrument.volume"}},{"id":13612,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":13593,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":13594,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":13553,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":13554,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":13555,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":13556,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":13557,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":13558,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":13559,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":13560,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":13561,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":13562,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":13563,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":13564,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":13617,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":13618,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":13533,"name":"loaded","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"If the buffers are loaded or not"},"getSignature":[{"id":13534,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"If the buffers are loaded or not"},"type":{"type":"intrinsic","name":"boolean"}}],"sources":[{"fileName":"Tone/instrument/Sampler.ts","line":313,"character":11}]},{"id":13548,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":13549,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":13550,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":13551,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":13591,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":13592,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":13526,"name":"add","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13527,"name":"add","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Add a note to the sampler."},"parameters":[{"id":13528,"name":"note","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The buffer's pitch."},"type":{"type":"union","types":[{"type":"reference","id":2,"name":"Note"},{"type":"reference","id":3,"name":"MidiNote"}]}},{"id":13529,"name":"url","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"Either the url of the buffer, or a buffer which will be added with the given name."},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","id":4362,"name":"ToneAudioBuffer"},{"type":"reference","name":"AudioBuffer"}]}},{"id":13530,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The callback to invoke when the url is loaded.\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"reflection","declaration":{"id":13531,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":13532,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"void"}}]}}]}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/instrument/Sampler.ts","line":297,"character":4}]},{"id":13579,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13580,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":13581,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":13565,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13566,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":13567,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":13568,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":13569,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":13574,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13575,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":13576,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":13577,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":13578,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":13535,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13536,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Clean up"},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":10746,"name":"Instrument.dispose"}}],"sources":[{"fileName":"Tone/instrument/Sampler.ts","line":320,"character":8}],"overwrites":{"type":"reference","id":10746,"name":"Instrument.dispose"}},{"id":13582,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13583,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":13584,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":13607,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13608,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":13467,"name":"SamplerOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":13589,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13590,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":13587,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13588,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":13515,"name":"releaseAll","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13516,"name":"releaseAll","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Release all currently active notes."},"parameters":[{"id":13517,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When to release the notes.\n"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/instrument/Sampler.ts","line":245,"character":11}]},{"id":13609,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13610,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":13611,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":13467,"name":"SamplerOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":13518,"name":"sync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13519,"name":"sync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":10720,"name":"Instrument.sync"}}],"sources":[{"fileName":"Tone/instrument/Sampler.ts","line":256,"character":5}],"overwrites":{"type":"reference","id":10720,"name":"Instrument.sync"}},{"id":13570,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13571,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":13598,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13599,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":13600,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":13572,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13573,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":13595,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13596,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":13597,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":13619,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13620,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":13601,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13602,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":13603,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":13506,"name":"triggerAttack","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13507,"name":"triggerAttack","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":13508,"name":"notes","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The note to play, or an array of notes."},"type":{"type":"union","types":[{"type":"reference","id":32,"name":"Frequency"},{"type":"array","elementType":{"type":"reference","id":32,"name":"Frequency"}}]}},{"id":13509,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When to play the note"},"type":{"type":"reference","id":31,"name":"Time"}},{"id":13510,"name":"velocity","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The velocity to play the sample back.\n"},"type":{"type":"reference","id":23,"name":"NormalRange"},"defaultValue":"1"}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":10736,"name":"Instrument.triggerAttack"}}],"sources":[{"fileName":"Tone/instrument/Sampler.ts","line":173,"character":14}],"overwrites":{"type":"reference","id":10736,"name":"Instrument.triggerAttack"}},{"id":13520,"name":"triggerAttackRelease","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13521,"name":"triggerAttackRelease","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Invoke the attack phase, then after the duration, invoke the release."},"parameters":[{"id":13522,"name":"notes","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The note to play and release, or an array of notes."},"type":{"type":"union","types":[{"type":"array","elementType":{"type":"reference","id":32,"name":"Frequency"}},{"type":"reference","id":32,"name":"Frequency"}]}},{"id":13523,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The time the note should be held"},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"array","elementType":{"type":"reference","id":31,"name":"Time"}}]}},{"id":13524,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When to start the attack"},"type":{"type":"reference","id":31,"name":"Time"}},{"id":13525,"name":"velocity","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The velocity of the attack\n"},"type":{"type":"reference","id":23,"name":"NormalRange"},"defaultValue":"1"}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":10730,"name":"Instrument.triggerAttackRelease"}}],"sources":[{"fileName":"Tone/instrument/Sampler.ts","line":271,"character":21}],"overwrites":{"type":"reference","id":10730,"name":"Instrument.triggerAttackRelease"}},{"id":13511,"name":"triggerRelease","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13512,"name":"triggerRelease","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":13513,"name":"notes","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The note to release, or an array of notes."},"type":{"type":"union","types":[{"type":"reference","id":32,"name":"Frequency"},{"type":"array","elementType":{"type":"reference","id":32,"name":"Frequency"}}]}},{"id":13514,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When to release the note.\n"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":10742,"name":"Instrument.triggerRelease"}}],"sources":[{"fileName":"Tone/instrument/Sampler.ts","line":221,"character":15}],"overwrites":{"type":"reference","id":10742,"name":"Instrument.triggerRelease"}},{"id":13546,"name":"unsync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13547,"name":"unsync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Unsync the instrument from the Transport"},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":10728,"name":"Instrument.unsync"}}],"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":122,"character":7}],"inheritedFrom":{"type":"reference","id":10728,"name":"Instrument.unsync"}},{"id":13501,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":13502,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":13467,"name":"SamplerOptions"},"overwrites":{"type":"reference","id":10718,"name":"Instrument.getDefaults"}}],"sources":[{"fileName":"Tone/instrument/Sampler.ts","line":137,"character":19}],"overwrites":{"type":"reference","id":10718,"name":"Instrument.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[13489]},{"title":"Properties","kind":1024,"children":[13486,13585,13488,13613,13538,13483,13537,13487,13539,13612]},{"title":"Accessors","kind":262144,"children":[13593,13553,13557,13561,13617,13533,13548,13550,13591]},{"title":"Methods","kind":2048,"children":[13526,13579,13565,13574,13535,13582,13607,13589,13587,13515,13609,13518,13570,13598,13572,13595,13619,13601,13506,13520,13511,13546,13501]}],"sources":[{"fileName":"Tone/instrument/Sampler.ts","line":50,"character":20}],"extendedTypes":[{"type":"reference","id":10707,"typeArguments":[{"type":"reference","id":13467,"name":"SamplerOptions"}],"name":"Instrument"}]},{"id":8558,"name":"Scale","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Performs a linear scaling on an input signal.\nScales a NormalRange input to between\noutputMin and outputMax.","tags":[{"tag":"example","text":"\nconst scale = new Tone.Scale(50, 100);\nconst signal = new Tone.Signal(0.5).connect(scale);\n// the output of scale equals 75"}]},"typeParameter":[{"id":8559,"name":"Options","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"reference","id":8554,"name":"ScaleOptions"}}],"children":[{"id":8567,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":8568,"name":"new Scale","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":8569,"name":"min","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The output value when the input is 0."},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}},{"id":8570,"name":"max","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The output value when the input is 1.\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}}],"type":{"type":"reference","id":8558,"name":"Scale"},"overwrites":{"type":"reference","id":6909,"name":"SignalOperator.__constructor"}},{"id":8571,"name":"new Scale","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":8572,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":8554,"name":"ScaleOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":8558,"name":"Scale"},"overwrites":{"type":"reference","id":6909,"name":"SignalOperator.__constructor"}}],"sources":[{"fileName":"Tone/signal/Scale.ts","line":48,"character":22},{"fileName":"Tone/signal/Scale.ts","line":54,"character":41},{"fileName":"Tone/signal/Scale.ts","line":55,"character":46}],"overwrites":{"type":"reference","id":6909,"name":"SignalOperator.__constructor"}},{"id":8624,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":8652,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":8561,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/signal/Scale.ts","line":27,"character":6}],"type":{"type":"reference","id":1101,"name":"InputNode"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":8560,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/signal/Scale.ts","line":25,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Scale\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":8562,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/signal/Scale.ts","line":28,"character":7}],"type":{"type":"reference","id":1102,"name":"OutputNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":8651,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":8632,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":8633,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":8597,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":8598,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":8599,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":8600,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":8601,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":8602,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":8603,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":8604,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":8605,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":8606,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":8607,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":8608,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":8656,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":8657,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":8579,"name":"max","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The maximum output value. This number is output when the value input value is 1."},"getSignature":[{"id":8580,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The maximum output value. This number is output when the value input value is 1."},"type":{"type":"intrinsic","name":"number"}}],"setSignature":[{"id":8581,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The maximum output value. This number is output when the value input value is 1."},"parameters":[{"id":8582,"name":"max","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/signal/Scale.ts","line":97,"character":8},{"fileName":"Tone/signal/Scale.ts","line":100,"character":8}]},{"id":8575,"name":"min","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The minimum output value. This number is output when the value input value is 0."},"getSignature":[{"id":8576,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The minimum output value. This number is output when the value input value is 0."},"type":{"type":"intrinsic","name":"number"}}],"setSignature":[{"id":8577,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The minimum output value. This number is output when the value input value is 0."},"parameters":[{"id":8578,"name":"min","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/signal/Scale.ts","line":86,"character":8},{"fileName":"Tone/signal/Scale.ts","line":89,"character":8}]},{"id":8592,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":8593,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":8594,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":8595,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":8630,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":8631,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":8618,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8619,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":8620,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":8587,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8588,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":8589,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":8590,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":8591,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"},"inheritedFrom":{"type":"reference","id":6912,"name":"SignalOperator.connect"}}],"sources":[{"fileName":"Tone/signal/SignalOperator.ts","line":17,"character":8}],"overwrites":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"},"inheritedFrom":{"type":"reference","id":6912,"name":"SignalOperator.connect"}},{"id":8613,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8614,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":8615,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":8616,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":8617,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":8585,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8586,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/signal/Scale.ts","line":113,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":8621,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8622,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":8623,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":8646,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8647,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":8554,"name":"ScaleOptions"}},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":8628,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8629,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":8626,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8627,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":8648,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8649,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":8650,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":8554,"name":"ScaleOptions"}}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":8609,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8610,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":8637,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8638,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":8639,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":8611,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8612,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":8634,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8635,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":8636,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":8658,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8659,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":8640,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8641,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":8642,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":8573,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":8574,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":8554,"name":"ScaleOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/signal/Scale.ts","line":76,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[8567]},{"title":"Properties","kind":1024,"children":[8624,8652,8561,8560,8562,8651]},{"title":"Accessors","kind":262144,"children":[8632,8597,8601,8605,8656,8579,8575,8592,8594,8630]},{"title":"Methods","kind":2048,"children":[8618,8587,8613,8585,8621,8646,8628,8626,8648,8609,8637,8611,8634,8658,8640,8573]}],"sources":[{"fileName":"Tone/signal/Scale.ts","line":23,"character":18}],"extendedTypes":[{"type":"reference","id":6907,"typeArguments":[{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":8554,"name":"ScaleOptions"}}],"name":"SignalOperator"}],"extendedBy":[{"type":"reference","id":10251,"name":"ScaleExp"}]},{"id":10251,"name":"ScaleExp","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Performs an exponential scaling on an input signal.\nScales a NormalRange value [0,1] exponentially\nto the output range of outputMin to outputMax.","tags":[{"tag":"example","text":"\nconst scaleExp = new Tone.ScaleExp(0, 100, 2);\nconst signal = new Tone.Signal(0.5).connect(scaleExp);"}]},"children":[{"id":10254,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":10255,"name":"new ScaleExp","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":10256,"name":"min","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The output value when the input is 0."},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}},{"id":10257,"name":"max","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The output value when the input is 1."},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}},{"id":10258,"name":"exponent","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The exponent which scales the incoming signal.\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}}],"type":{"type":"reference","id":10251,"name":"ScaleExp"},"overwrites":{"type":"reference","id":8567,"name":"Scale.__constructor"}},{"id":10259,"name":"new ScaleExp","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":10260,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":10246,"name":"ScaleExpOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":10251,"name":"ScaleExp"},"overwrites":{"type":"reference","id":8567,"name":"Scale.__constructor"}}],"sources":[{"fileName":"Tone/signal/ScaleExp.ts","line":26,"character":19},{"fileName":"Tone/signal/ScaleExp.ts","line":33,"character":60},{"fileName":"Tone/signal/ScaleExp.ts","line":34,"character":49}],"overwrites":{"type":"reference","id":8567,"name":"Scale.__constructor"}},{"id":10318,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":10346,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":10269,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/signal/Scale.ts","line":27,"character":6}],"type":{"type":"reference","id":1101,"name":"InputNode"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":8561,"name":"Scale.input"}},{"id":10252,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/signal/ScaleExp.ts","line":21,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"ScaleExp\"","overwrites":{"type":"reference","id":8560,"name":"Scale.name"}},{"id":10270,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/signal/Scale.ts","line":28,"character":7}],"type":{"type":"reference","id":1102,"name":"OutputNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":8562,"name":"Scale.output"}},{"id":10345,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":10326,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":10327,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":10291,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":10292,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":10293,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":10294,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":10295,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":10296,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":10297,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":10298,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":10299,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":10300,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":10301,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":10302,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":10350,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":10351,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":10263,"name":"exponent","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Instead of interpolating linearly between the [[min]] and\n[[max]] values, setting the exponent will interpolate between\nthe two values with an exponential curve."},"getSignature":[{"id":10264,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Instead of interpolating linearly between the [[min]] and\n[[max]] values, setting the exponent will interpolate between\nthe two values with an exponential curve."},"type":{"type":"reference","id":27,"name":"Positive"}}],"setSignature":[{"id":10265,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"Instead of interpolating linearly between the [[min]] and\n[[max]] values, setting the exponent will interpolate between\nthe two values with an exponential curve."},"parameters":[{"id":10266,"name":"exp","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/signal/ScaleExp.ts","line":57,"character":13},{"fileName":"Tone/signal/ScaleExp.ts","line":60,"character":13}]},{"id":10277,"name":"max","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The maximum output value. This number is output when the value input value is 1."},"getSignature":[{"id":10278,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The maximum output value. This number is output when the value input value is 1."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":8579,"name":"Scale.max"}}],"setSignature":[{"id":10279,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The maximum output value. This number is output when the value input value is 1."},"parameters":[{"id":10280,"name":"max","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":8579,"name":"Scale.max"}}],"sources":[{"fileName":"Tone/signal/Scale.ts","line":97,"character":8},{"fileName":"Tone/signal/Scale.ts","line":100,"character":8}],"inheritedFrom":{"type":"reference","id":8579,"name":"Scale.max"}},{"id":10273,"name":"min","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The minimum output value. This number is output when the value input value is 0."},"getSignature":[{"id":10274,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The minimum output value. This number is output when the value input value is 0."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":8575,"name":"Scale.min"}}],"setSignature":[{"id":10275,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The minimum output value. This number is output when the value input value is 0."},"parameters":[{"id":10276,"name":"min","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":8575,"name":"Scale.min"}}],"sources":[{"fileName":"Tone/signal/Scale.ts","line":86,"character":8},{"fileName":"Tone/signal/Scale.ts","line":89,"character":8}],"inheritedFrom":{"type":"reference","id":8575,"name":"Scale.min"}},{"id":10286,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":10287,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":10288,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":10289,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":10324,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":10325,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":10312,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10313,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":10314,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":10281,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10282,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":10283,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":10284,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":10285,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"},"inheritedFrom":{"type":"reference","id":6912,"name":"SignalOperator.connect"}}],"sources":[{"fileName":"Tone/signal/SignalOperator.ts","line":17,"character":8}],"overwrites":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"},"inheritedFrom":{"type":"reference","id":6912,"name":"SignalOperator.connect"}},{"id":10307,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10308,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":10309,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":10310,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":10311,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":10267,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10268,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":8585,"name":"Scale.dispose"}}],"sources":[{"fileName":"Tone/signal/ScaleExp.ts","line":64,"character":8}],"overwrites":{"type":"reference","id":8585,"name":"Scale.dispose"}},{"id":10315,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10316,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":10317,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":10340,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10341,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":10246,"name":"ScaleExpOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":10322,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10323,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":10320,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10321,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":10342,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10343,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":10344,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":10246,"name":"ScaleExpOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":10303,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10304,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":10331,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10332,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":10333,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":10305,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10306,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":10328,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10329,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":10330,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":10352,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10353,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":10334,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10335,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":10336,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":10261,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":10262,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":10246,"name":"ScaleExpOptions"},"overwrites":{"type":"reference","id":8573,"name":"Scale.getDefaults"}}],"sources":[{"fileName":"Tone/signal/ScaleExp.ts","line":46,"character":19}],"overwrites":{"type":"reference","id":8573,"name":"Scale.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[10254]},{"title":"Properties","kind":1024,"children":[10318,10346,10269,10252,10270,10345]},{"title":"Accessors","kind":262144,"children":[10326,10291,10295,10299,10350,10263,10277,10273,10286,10288,10324]},{"title":"Methods","kind":2048,"children":[10312,10281,10307,10267,10315,10340,10322,10320,10342,10303,10331,10305,10328,10352,10334,10261]}],"sources":[{"fileName":"Tone/signal/ScaleExp.ts","line":19,"character":21}],"extendedTypes":[{"type":"reference","id":8558,"typeArguments":[{"type":"reference","id":10246,"name":"ScaleExpOptions"}],"name":"Scale"}]},{"id":14221,"name":"Sequence","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A sequence is an alternate notation of a part. Instead\nof passing in an array of [time, event] pairs, pass\nin an array of events which will be spaced at the\ngiven subdivision. Sub-arrays will subdivide that beat\nby the number of items are in the array.\nSequence notation inspiration from [Tidal](http://yaxu.org/tidal/)","tags":[{"tag":"example","text":"\nconst synth = new Tone.Synth().toDestination();\nconst seq = new Tone.Sequence((time, note) => {\n\tsynth.triggerAttackRelease(note, 0.1, time);\n\t// subdivisions are given as subarrays\n}, [\"C4\", [\"E4\", \"D4\", \"E4\"], \"G4\", [\"A4\", \"G4\"]]).start(0);\nTone.Transport.start();"}]},"typeParameter":[{"id":14222,"name":"ValueType","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}}],"children":[{"id":14228,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":14229,"name":"new Sequence","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":14230,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The callback to invoke with every note"},"type":{"type":"reference","id":13747,"typeArguments":[{"type":"typeParameter","name":"ValueType"}],"name":"ToneEventCallback"}},{"id":14231,"name":"events","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":14363,"typeArguments":[{"type":"typeParameter","name":"ValueType"}],"name":"SequenceEventDescription"}},{"id":14232,"name":"subdivision","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The subdivision between which events are placed.\n"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":14221,"name":"Sequence"},"overwrites":{"type":"reference","id":13649,"name":"ToneEvent.__constructor"}},{"id":14233,"name":"new Sequence","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":14234,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":14214,"typeArguments":[{"type":"typeParameter","name":"ValueType"}],"name":"SequenceOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":14221,"name":"Sequence"},"overwrites":{"type":"reference","id":13649,"name":"ToneEvent.__constructor"}}],"sources":[{"fileName":"Tone/event/Sequence.ts","line":58,"character":64},{"fileName":"Tone/event/Sequence.ts","line":69,"character":3},{"fileName":"Tone/event/Sequence.ts","line":70,"character":60}],"overwrites":{"type":"reference","id":13649,"name":"ToneEvent.__constructor"}},{"id":14305,"name":"callback","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The callback to invoke."},"sources":[{"fileName":"Tone/event/ToneEvent.ts","line":55,"character":9}],"type":{"type":"reference","id":13747,"typeArguments":[{"type":"typeParameter","name":"ValueType"}],"name":"ToneEventCallback"},"inheritedFrom":{"type":"reference","id":13637,"name":"ToneEvent.callback"}},{"id":14327,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":14355,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":14316,"name":"mute","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"If mute is true, the callback won't be invoked."},"sources":[{"fileName":"Tone/event/ToneEvent.ts","line":104,"character":5}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":13648,"name":"ToneEvent.mute"}},{"id":14223,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/event/Sequence.ts","line":35,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Sequence\"","overwrites":{"type":"reference","id":13635,"name":"ToneEvent.name"}},{"id":14306,"name":"value","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The value which is passed to the\ncallback function."},"sources":[{"fileName":"Tone/event/ToneEvent.ts","line":61,"character":6}],"type":{"type":"typeParameter","name":"ValueType"},"inheritedFrom":{"type":"reference","id":13638,"name":"ToneEvent.value"}},{"id":14354,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":14335,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":14336,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":14359,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":14360,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":14241,"name":"events","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The sequence"},"getSignature":[{"id":14242,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The sequence"},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"setSignature":[{"id":14243,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The sequence"},"parameters":[{"id":14244,"name":"s","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/event/Sequence.ts","line":113,"character":11},{"fileName":"Tone/event/Sequence.ts","line":116,"character":11}]},{"id":14297,"name":"humanize","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":14298,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"boolean"},{"type":"reference","id":31,"name":"Time"}]},"overwrites":{"type":"reference","id":13670,"name":"ToneEvent.humanize"}}],"setSignature":[{"id":14299,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":14300,"name":"variation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"number"},{"type":"intrinsic","name":"false"},{"type":"intrinsic","name":"true"},{"type":"reflection","declaration":{"id":14301,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true}}}]}}],"type":{"type":"intrinsic","name":"void"},"overwrites":{"type":"reference","id":13670,"name":"ToneEvent.humanize"}}],"sources":[{"fileName":"Tone/event/Sequence.ts","line":287,"character":13},{"fileName":"Tone/event/Sequence.ts","line":290,"character":13}],"overwrites":{"type":"reference","id":13670,"name":"ToneEvent.humanize"}},{"id":14302,"name":"length","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of scheduled events"},"getSignature":[{"id":14303,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of scheduled events"},"type":{"type":"intrinsic","name":"number"}}],"sources":[{"fileName":"Tone/event/Sequence.ts","line":297,"character":11}]},{"id":14271,"name":"loop","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":14272,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"boolean"},{"type":"intrinsic","name":"number"}]},"overwrites":{"type":"reference","id":13689,"name":"ToneEvent.loop"}}],"setSignature":[{"id":14273,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":14274,"name":"l","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"number"},{"type":"intrinsic","name":"false"},{"type":"intrinsic","name":"true"}]}}],"type":{"type":"intrinsic","name":"void"},"overwrites":{"type":"reference","id":13689,"name":"ToneEvent.loop"}}],"sources":[{"fileName":"Tone/event/Sequence.ts","line":229,"character":9},{"fileName":"Tone/event/Sequence.ts","line":232,"character":9}],"overwrites":{"type":"reference","id":13689,"name":"ToneEvent.loop"}},{"id":14279,"name":"loopEnd","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The index at which the sequence should end looping"},"getSignature":[{"id":14280,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The index at which the sequence should end looping"},"type":{"type":"intrinsic","name":"number"},"overwrites":{"type":"reference","id":13697,"name":"ToneEvent.loopEnd"}}],"setSignature":[{"id":14281,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The index at which the sequence should end looping"},"parameters":[{"id":14282,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"overwrites":{"type":"reference","id":13697,"name":"ToneEvent.loopEnd"}}],"sources":[{"fileName":"Tone/event/Sequence.ts","line":250,"character":12},{"fileName":"Tone/event/Sequence.ts","line":253,"character":12}],"overwrites":{"type":"reference","id":13697,"name":"ToneEvent.loopEnd"}},{"id":14275,"name":"loopStart","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The index at which the sequence should start looping"},"getSignature":[{"id":14276,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The index at which the sequence should start looping"},"type":{"type":"intrinsic","name":"number"},"overwrites":{"type":"reference","id":13702,"name":"ToneEvent.loopStart"}}],"setSignature":[{"id":14277,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The index at which the sequence should start looping"},"parameters":[{"id":14278,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"overwrites":{"type":"reference","id":13702,"name":"ToneEvent.loopStart"}}],"sources":[{"fileName":"Tone/event/Sequence.ts","line":239,"character":14},{"fileName":"Tone/event/Sequence.ts","line":242,"character":14}],"overwrites":{"type":"reference","id":13702,"name":"ToneEvent.loopStart"}},{"id":14287,"name":"playbackRate","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":14288,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"reference","id":27,"name":"Positive"},"overwrites":{"type":"reference","id":13693,"name":"ToneEvent.playbackRate"}}],"setSignature":[{"id":14289,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":14290,"name":"rate","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"overwrites":{"type":"reference","id":13693,"name":"ToneEvent.playbackRate"}}],"sources":[{"fileName":"Tone/event/Sequence.ts","line":269,"character":17},{"fileName":"Tone/event/Sequence.ts","line":272,"character":17}],"overwrites":{"type":"reference","id":13693,"name":"ToneEvent.playbackRate"}},{"id":14291,"name":"probability","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":14292,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"reference","id":23,"name":"NormalRange"},"overwrites":{"type":"reference","id":13666,"name":"ToneEvent.probability"}}],"setSignature":[{"id":14293,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":14294,"name":"prob","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"overwrites":{"type":"reference","id":13666,"name":"ToneEvent.probability"}}],"sources":[{"fileName":"Tone/event/Sequence.ts","line":276,"character":16},{"fileName":"Tone/event/Sequence.ts","line":279,"character":16}],"overwrites":{"type":"reference","id":13666,"name":"ToneEvent.probability"}},{"id":14295,"name":"progress","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":14296,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"reference","id":23,"name":"NormalRange"},"overwrites":{"type":"reference","id":13707,"name":"ToneEvent.progress"}}],"sources":[{"fileName":"Tone/event/Sequence.ts","line":283,"character":13}],"overwrites":{"type":"reference","id":13707,"name":"ToneEvent.progress"}},{"id":14333,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":14334,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":14283,"name":"startOffset","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":14284,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"reference","id":35,"name":"Ticks"},"overwrites":{"type":"reference","id":13662,"name":"ToneEvent.startOffset"}}],"setSignature":[{"id":14285,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":14286,"name":"start","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"overwrites":{"type":"reference","id":13662,"name":"ToneEvent.startOffset"}}],"sources":[{"fileName":"Tone/event/Sequence.ts","line":262,"character":16},{"fileName":"Tone/event/Sequence.ts","line":265,"character":16}],"overwrites":{"type":"reference","id":13662,"name":"ToneEvent.startOffset"}},{"id":14317,"name":"state","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Returns the playback state of the note, either \"started\" or \"stopped\"."},"getSignature":[{"id":14318,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Returns the playback state of the note, either \"started\" or \"stopped\"."},"type":{"type":"reference","id":705,"name":"BasicPlaybackState"},"inheritedFrom":{"type":"reference","id":13660,"name":"ToneEvent.state"}}],"sources":[{"fileName":"Tone/event/ToneEvent.ts","line":185,"character":10}],"inheritedFrom":{"type":"reference","id":13660,"name":"ToneEvent.state"}},{"id":14252,"name":"subdivision","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The subdivision of the sequence. This can only be\nset in the constructor. The subdivision is the\ninterval between successive steps."},"getSignature":[{"id":14253,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The subdivision of the sequence. This can only be\nset in the constructor. The subdivision is the\ninterval between successive steps."},"type":{"type":"reference","id":21,"name":"Seconds"}}],"sources":[{"fileName":"Tone/event/Sequence.ts","line":147,"character":16}]},{"id":14319,"name":"cancel","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14320,"name":"cancel","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Cancel all scheduled events greater than or equal to the given time"},"parameters":[{"id":14321,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The time after which events will be cancel.\n"},"type":{"type":"union","types":[{"type":"reference","id":34,"name":"TransportTime"},{"type":"reference","id":1681,"name":"TransportTimeClass"}]}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":13681,"name":"ToneEvent.cancel"}}],"sources":[{"fileName":"Tone/event/ToneEvent.ts","line":265,"character":7}],"inheritedFrom":{"type":"reference","id":13681,"name":"ToneEvent.cancel"}},{"id":14267,"name":"clear","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14268,"name":"clear","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Clear all of the events"},"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/event/Sequence.ts","line":214,"character":6}]},{"id":14269,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14270,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":13709,"name":"ToneEvent.dispose"}}],"sources":[{"fileName":"Tone/event/Sequence.ts","line":219,"character":8}],"overwrites":{"type":"reference","id":13709,"name":"ToneEvent.dispose"}},{"id":14349,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14350,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":13621,"typeArguments":[{"type":"typeParameter","name":"ValueType"}],"name":"ToneEventOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":14331,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14332,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":14329,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14330,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":14351,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14352,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":14353,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":13621,"typeArguments":[{"type":"typeParameter","name":"ValueType"}],"name":"ToneEventOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":14245,"name":"start","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14246,"name":"start","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Start the part at the given time."},"parameters":[{"id":14247,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When to start the part."},"type":{"type":"reference","id":34,"name":"TransportTime"}},{"id":14248,"name":"offset","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The offset index to start at\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":13675,"name":"ToneEvent.start"}}],"sources":[{"fileName":"Tone/event/Sequence.ts","line":128,"character":6}],"overwrites":{"type":"reference","id":13675,"name":"ToneEvent.start"}},{"id":14249,"name":"stop","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14250,"name":"stop","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Stop the part at the given time."},"parameters":[{"id":14251,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When to stop the part.\n"},"type":{"type":"reference","id":34,"name":"TransportTime"}}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":13678,"name":"ToneEvent.stop"}}],"sources":[{"fileName":"Tone/event/Sequence.ts","line":137,"character":5}],"overwrites":{"type":"reference","id":13678,"name":"ToneEvent.stop"}},{"id":14340,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14341,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":14342,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":14337,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14338,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":14339,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":14361,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14362,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":14343,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14344,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":14345,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":14235,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":14236,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":14214,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"SequenceOptions"},"overwrites":{"type":"reference","id":13655,"name":"ToneEvent.getDefaults"}}],"sources":[{"fileName":"Tone/event/Sequence.ts","line":91,"character":19}],"overwrites":{"type":"reference","id":13655,"name":"ToneEvent.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[14228]},{"title":"Properties","kind":1024,"children":[14305,14327,14355,14316,14223,14306,14354]},{"title":"Accessors","kind":262144,"children":[14335,14359,14241,14297,14302,14271,14279,14275,14287,14291,14295,14333,14283,14317,14252]},{"title":"Methods","kind":2048,"children":[14319,14267,14269,14349,14331,14329,14351,14245,14249,14340,14337,14361,14343,14235]}],"sources":[{"fileName":"Tone/event/Sequence.ts","line":33,"character":21}],"extendedTypes":[{"type":"reference","id":13633,"typeArguments":[{"type":"typeParameter","name":"ValueType"}],"name":"ToneEvent"}]},{"id":1503,"name":"Signal","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A signal is an audio-rate value. Tone.Signal is a core component of the library.\nUnlike a number, Signals can be scheduled with sample-level accuracy. Tone.Signal\nhas all of the methods available to native Web Audio\n[AudioParam](http://webaudio.github.io/web-audio-api/#the-audioparam-interface)\nas well as additional conveniences. Read more about working with signals\n[here](https://github.com/Tonejs/Tone.js/wiki/Signals).","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination().start();\n// a scheduleable signal which can be connected to control an AudioParam or another Signal\nconst signal = new Tone.Signal({\n\tvalue: \"C4\",\n\tunits: \"frequency\"\n}).connect(osc.frequency);\n// the scheduled ramp controls the connected signal\nsignal.rampTo(\"C2\", 4, \"+0.5\");"}]},"typeParameter":[{"id":1504,"name":"TypeName","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"reference","id":46,"name":"UnitName"}}],"children":[{"id":1511,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":1512,"name":"new Signal","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":1513,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Initial value of the signal"},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":1514,"name":"units","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The unit name, e.g. \"frequency\"\n"},"type":{"type":"reference","id":1504,"name":"TypeName"}}],"type":{"type":"reference","id":1503,"name":"Signal"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":1515,"name":"new Signal","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":1516,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":1495,"typeArguments":[{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}}],"name":"SignalOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":1503,"name":"Signal"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":53,"character":27},{"fileName":"Tone/signal/Signal.ts","line":59,"character":58},{"fileName":"Tone/signal/Signal.ts","line":60,"character":57}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":1639,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":1667,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":1510,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/signal/Signal.ts","line":53,"character":15}],"type":{"type":"reference","id":1101,"name":"InputNode"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":1505,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/signal/Signal.ts","line":40,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Signal\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":1508,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/signal/Signal.ts","line":51,"character":16}],"type":{"type":"reference","id":1102,"name":"OutputNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":1506,"name":"override","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"Indicates if the value should be overridden on connection."},"sources":[{"fileName":"Tone/signal/Signal.ts","line":45,"character":18}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"true"},{"id":1666,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":1647,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":1648,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":1612,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":1613,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":1614,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":1615,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":1616,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":1617,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":1618,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":1619,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":1620,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":1621,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":1622,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":1623,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":1590,"name":"convert","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":1591,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"}}],"setSignature":[{"id":1592,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":1593,"name":"convert","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":169,"character":12},{"fileName":"Tone/signal/Signal.ts","line":172,"character":12}]},{"id":1671,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":1672,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":1600,"name":"maxValue","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":1601,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":187,"character":13}]},{"id":1602,"name":"minValue","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":1603,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":190,"character":13}]},{"id":1607,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":1608,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":1609,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":1610,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":1596,"name":"overridden","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":1597,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"}}],"setSignature":[{"id":1598,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":1599,"name":"overridden","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":180,"character":15},{"fileName":"Tone/signal/Signal.ts","line":183,"character":15}]},{"id":1645,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":1646,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":1594,"name":"units","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":1595,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"reference","id":46,"name":"UnitName"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":176,"character":10}]},{"id":1586,"name":"value","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":1587,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}}],"setSignature":[{"id":1588,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":1589,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":162,"character":10},{"fileName":"Tone/signal/Signal.ts","line":165,"character":10}]},{"id":1604,"name":"apply","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1605,"name":"apply","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"See [[Param.apply]]."},"parameters":[{"id":1606,"name":"param","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"reference","id":826,"name":"Param"},{"type":"reference","name":"AudioParam"}]}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":197,"character":6}]},{"id":1578,"name":"cancelAndHoldAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1579,"name":"cancelAndHoldAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":1580,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":153,"character":20}]},{"id":1575,"name":"cancelScheduledValues","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1576,"name":"cancelScheduledValues","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":1577,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":149,"character":22}]},{"id":1633,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1634,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":1635,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":1519,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1520,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":1521,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":1522,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":1523,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":87,"character":8}],"overwrites":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":1628,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1629,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":1630,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":1631,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":1632,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":1524,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1525,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":93,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":1559,"name":"exponentialApproachValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1560,"name":"exponentialApproachValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":1561,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":1562,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":1563,"name":"rampTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":137,"character":31}]},{"id":1544,"name":"exponentialRampTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1545,"name":"exponentialRampTo","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":1546,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":1547,"name":"rampTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":1548,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":125,"character":18}]},{"id":1540,"name":"exponentialRampToValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1541,"name":"exponentialRampToValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":1542,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":1543,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":121,"character":29}]},{"id":1636,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1637,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":1638,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":1661,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1662,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":1495,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"SignalOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":1530,"name":"getValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1531,"name":"getValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":1532,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":110,"character":15}]},{"id":1643,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1644,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":1549,"name":"linearRampTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1550,"name":"linearRampTo","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":1551,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":1552,"name":"rampTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":1553,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":129,"character":13}]},{"id":1536,"name":"linearRampToValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1537,"name":"linearRampToValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":1538,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":1539,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":117,"character":24}]},{"id":1641,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1642,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":1581,"name":"rampTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1582,"name":"rampTo","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":1583,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":1584,"name":"rampTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":1585,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":157,"character":7}]},{"id":1663,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1664,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":1665,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":1495,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"SignalOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":1533,"name":"setRampPoint","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1534,"name":"setRampPoint","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":1535,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":113,"character":13}]},{"id":1564,"name":"setTargetAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1565,"name":"setTargetAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":1566,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":1567,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":1568,"name":"timeConstant","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":141,"character":16}]},{"id":1526,"name":"setValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1527,"name":"setValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":1528,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":1529,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":106,"character":15}]},{"id":1569,"name":"setValueCurveAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1570,"name":"setValueCurveAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":1571,"name":"values","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"array","elementType":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}}},{"id":1572,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":1573,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":1574,"name":"scaling","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":145,"character":20}]},{"id":1554,"name":"targetRampTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1555,"name":"targetRampTo","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":1556,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":1557,"name":"rampTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":1558,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":133,"character":13}]},{"id":1624,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1625,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":1652,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1653,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":1654,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":1626,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1627,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":1649,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1650,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":1651,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":1673,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1674,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":1655,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1656,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":1657,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":1517,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":1518,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":1495,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"SignalOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":79,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[1511]},{"title":"Properties","kind":1024,"children":[1639,1667,1510,1505,1508,1506,1666]},{"title":"Accessors","kind":262144,"children":[1647,1612,1616,1620,1590,1671,1600,1602,1607,1609,1596,1645,1594,1586]},{"title":"Methods","kind":2048,"children":[1604,1578,1575,1633,1519,1628,1524,1559,1544,1540,1636,1661,1530,1643,1549,1536,1641,1581,1663,1533,1564,1526,1569,1554,1624,1652,1626,1649,1673,1655,1517]}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":37,"character":19}],"extendedTypes":[{"type":"reference","id":1004,"typeArguments":[{"type":"reference","id":1495,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"SignalOptions"}],"name":"ToneAudioNode"}],"extendedBy":[{"type":"reference","id":4850,"name":"TickSignal"},{"type":"reference","id":7189,"name":"Multiply"},{"type":"reference","id":8381,"name":"Add"},{"type":"reference","id":9713,"name":"Subtract"},{"type":"reference","id":9974,"name":"GreaterThan"},{"type":"reference","id":10354,"name":"SyncedSignal"}],"implementedTypes":[{"type":"reference","id":739,"typeArguments":[{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}}],"name":"AbstractParam"}]},{"id":6907,"name":"SignalOperator","kind":128,"kindString":"Class","flags":{"isExported":true,"isAbstract":true},"comment":{"shortText":"A signal operator has an input and output and modifies the signal."},"typeParameter":[{"id":6908,"name":"Options","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"reference","id":6992,"name":"SignalOperatorOptions"}}],"children":[{"id":6909,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":6910,"name":"new SignalOperator","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":6911,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":6992,"name":"SignalOperatorOptions"}}],"name":"Partial"}}],"type":{"type":"reference","id":6907,"name":"SignalOperator"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/signal/SignalOperator.ts","line":10,"character":108},{"fileName":"Tone/signal/SignalOperator.ts","line":12,"character":41}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":6954,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":6984,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":6918,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isAbstract":true},"comment":{"shortText":"The input node or nodes. If the object is a source,\nit does not have any input and this.input is undefined."},"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":36,"character":15}],"type":{"type":"union","types":[{"type":"reference","id":1101,"name":"InputNode"},{"type":"intrinsic","name":"undefined"}]},"inheritedFrom":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":6917,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isAbstract":true,"isReadonly":true},"comment":{"shortText":"The name of the class"},"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":30,"character":23}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"ToneAudioNode\"","overwrites":{"type":"reference","name":"Tone.name"},"inheritedFrom":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":6919,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isAbstract":true},"comment":{"shortText":"The output nodes. If the object is a sink,\nit does not have any output and this.output is undefined."},"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":42,"character":16}],"type":{"type":"union","types":[{"type":"reference","id":1102,"name":"OutputNode"},{"type":"intrinsic","name":"undefined"}]},"inheritedFrom":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":6983,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":6964,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":6965,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":6925,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":6926,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":6927,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":6928,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":6929,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":6930,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":6931,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":6932,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":6933,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":6934,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":6935,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":6936,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":6988,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":6989,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":6920,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":6921,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":6922,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":6923,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":6962,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":6963,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":6946,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6947,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":6948,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":6912,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6913,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":6914,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":6915,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":6916,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/signal/SignalOperator.ts","line":17,"character":8}],"overwrites":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":6941,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6942,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":6943,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":6944,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":6945,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":6952,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6953,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Dispose and disconnect"},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":58,"name":"Tone.dispose"},"inheritedFrom":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":263,"character":8}],"overwrites":{"type":"reference","id":58,"name":"Tone.dispose"},"inheritedFrom":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":6949,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6950,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":6951,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":6978,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6979,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":6992,"name":"SignalOperatorOptions"}},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":6960,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6961,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":6958,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6959,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":6980,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6981,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":6982,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":6992,"name":"SignalOperatorOptions"}}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":6937,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6938,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":6969,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6970,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":6971,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":6939,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6940,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":6966,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6967,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":6968,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":6990,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6991,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":6972,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6973,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":6974,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":6956,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":6957,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":4791,"name":"ToneWithContextOptions"},"overwrites":{"type":"reference","id":51,"name":"Tone.getDefaults"},"inheritedFrom":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":51,"character":19}],"overwrites":{"type":"reference","id":51,"name":"Tone.getDefaults"},"inheritedFrom":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[6909]},{"title":"Properties","kind":1024,"children":[6954,6984,6918,6917,6919,6983]},{"title":"Accessors","kind":262144,"children":[6964,6925,6929,6933,6988,6920,6922,6962]},{"title":"Methods","kind":2048,"children":[6946,6912,6941,6952,6949,6978,6960,6958,6980,6937,6969,6939,6966,6990,6972,6956]}],"sources":[{"fileName":"Tone/signal/SignalOperator.ts","line":10,"character":36}],"extendedTypes":[{"type":"reference","id":1004,"typeArguments":[{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":6992,"name":"SignalOperatorOptions"}}],"name":"ToneAudioNode"}],"extendedBy":[{"type":"reference","id":6998,"name":"WaveShaper"},{"type":"reference","id":7104,"name":"AudioToGain"},{"type":"reference","id":8558,"name":"Scale"},{"type":"reference","id":8660,"name":"Zero"},{"type":"reference","id":9458,"name":"Abs"},{"type":"reference","id":9543,"name":"GainToAudio"},{"type":"reference","id":9628,"name":"Negate"},{"type":"reference","id":9887,"name":"GreaterThanZero"},{"type":"reference","id":10151,"name":"Pow"}]},{"id":18588,"name":"Solo","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Solo lets you isolate a specific audio stream. When an instance is set to `solo=true`,\nit will mute all other instances of Solo.","tags":[{"tag":"example","text":"\nconst soloA = new Tone.Solo().toDestination();\nconst oscA = new Tone.Oscillator(\"C4\", \"sawtooth\").connect(soloA);\nconst soloB = new Tone.Solo().toDestination();\nconst oscB = new Tone.Oscillator(\"E4\", \"square\").connect(soloB);\nsoloA.solo = true;\n// no audio will pass through soloB"}]},"children":[{"id":18592,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":18593,"name":"new Solo","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":18594,"name":"solo","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"If the connection should be initially solo'ed.\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"false"},{"type":"intrinsic","name":"true"}]}}],"type":{"type":"reference","id":18588,"name":"Solo"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":18595,"name":"new Solo","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":18596,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":18585,"name":"SoloOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":18588,"name":"Solo"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/component/channel/Solo.ts","line":27,"character":23},{"fileName":"Tone/component/channel/Solo.ts","line":32,"character":29},{"fileName":"Tone/component/channel/Solo.ts","line":33,"character":45}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":18656,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":18684,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":18590,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/channel/Solo.ts","line":26,"character":15}],"type":{"type":"reference","id":1143,"name":"Gain"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":18589,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/channel/Solo.ts","line":24,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Solo\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":18591,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/channel/Solo.ts","line":27,"character":16}],"type":{"type":"reference","id":1143,"name":"Gain"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":18683,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":18664,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":18665,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":18624,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":18625,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":18626,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":18627,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":18628,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":18629,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":18630,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":18631,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":18632,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":18633,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":18634,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":18635,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":18688,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":18689,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":18605,"name":"muted","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"If the current instance is muted, i.e. another instance is soloed"},"getSignature":[{"id":18606,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"If the current instance is muted, i.e. another instance is soloed"},"type":{"type":"intrinsic","name":"boolean"}}],"sources":[{"fileName":"Tone/component/channel/Solo.ts","line":88,"character":10}]},{"id":18619,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":18620,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":18621,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":18622,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":18662,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":18663,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":18601,"name":"solo","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Isolates this instance and mutes all other instances of Solo.\nOnly one instance can be soloed at a time. A soloed\ninstance will report `solo=false` when another instance is soloed."},"getSignature":[{"id":18602,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Isolates this instance and mutes all other instances of Solo.\nOnly one instance can be soloed at a time. A soloed\ninstance will report `solo=false` when another instance is soloed."},"type":{"type":"intrinsic","name":"boolean"}}],"setSignature":[{"id":18603,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"Isolates this instance and mutes all other instances of Solo.\nOnly one instance can be soloed at a time. A soloed\ninstance will report `solo=false` when another instance is soloed."},"parameters":[{"id":18604,"name":"solo","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/component/channel/Solo.ts","line":73,"character":9},{"fileName":"Tone/component/channel/Solo.ts","line":76,"character":9}]},{"id":18650,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18651,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":18652,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":18636,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18637,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":18638,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":18639,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":18640,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":18645,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18646,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":18647,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":18648,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":18649,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":18617,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18618,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/component/channel/Solo.ts","line":142,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":18653,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18654,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":18655,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":18678,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18679,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":18585,"name":"SoloOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":18660,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18661,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":18658,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18659,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":18680,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18681,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":18682,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":18585,"name":"SoloOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":18641,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18642,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":18669,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18670,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":18671,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":18643,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18644,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":18666,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18667,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":18668,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":18690,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18691,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":18672,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18673,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":18674,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":18597,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":18598,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":18585,"name":"SoloOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/component/channel/Solo.ts","line":52,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[18592]},{"title":"Properties","kind":1024,"children":[18656,18684,18590,18589,18591,18683]},{"title":"Accessors","kind":262144,"children":[18664,18624,18628,18632,18688,18605,18619,18621,18662,18601]},{"title":"Methods","kind":2048,"children":[18650,18636,18645,18617,18653,18678,18660,18658,18680,18641,18669,18643,18666,18690,18672,18597]}],"sources":[{"fileName":"Tone/component/channel/Solo.ts","line":22,"character":17}],"extendedTypes":[{"type":"reference","id":1004,"typeArguments":[{"type":"reference","id":18585,"name":"SoloOptions"}],"name":"ToneAudioNode"}]},{"id":5563,"name":"Source","kind":128,"kindString":"Class","flags":{"isExported":true,"isAbstract":true},"comment":{"shortText":"Base class for sources.\nstart/stop of this.context.transport.","text":"```\n// Multiple state change events can be chained together,\n// but must be set in the correct order and with ascending times\n// OK\nstate.start().stop(\"+0.2\");\n// OK\nstate.start().stop(\"+0.2\").start(\"+0.4\").stop(\"+0.7\")\n// BAD\nstate.stop(\"+0.2\").start();\n// BAD\nstate.start(\"+0.3\").stop(\"+0.2\");\n```\n"},"typeParameter":[{"id":5564,"name":"Options","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"reference","id":5558,"name":"SourceOptions"}}],"children":[{"id":5586,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":5587,"name":"new Source","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":5588,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":5558,"name":"SourceOptions"}}],"type":{"type":"reference","id":5563,"name":"Source"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":96,"character":53}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":5670,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":5698,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":5567,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Sources have no inputs"},"sources":[{"fileName":"Tone/source/Source.ts","line":54,"character":6}],"type":{"type":"intrinsic","name":"undefined"},"defaultValue":"undefined","overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":5632,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isAbstract":true,"isReadonly":true},"comment":{"shortText":"The name of the class"},"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":30,"character":23}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"ToneAudioNode\"","overwrites":{"type":"reference","name":"Tone.name"},"inheritedFrom":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":5569,"name":"onstop","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The callback to invoke when the source is stopped."},"sources":[{"fileName":"Tone/source/Source.ts","line":67,"character":7}],"type":{"type":"reference","id":5706,"name":"onStopCallback"}},{"id":5566,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The output note"},"sources":[{"fileName":"Tone/source/Source.ts","line":49,"character":7}],"type":{"type":"reference","id":1102,"name":"OutputNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":5568,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The volume of the output in decibels.","tags":[{"tag":"example","text":"\nconst source = new Tone.PWMOscillator().toDestination();\nsource.volume.value = -6;\n"}]},"sources":[{"fileName":"Tone/source/Source.ts","line":62,"character":7}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"decibels"}],"name":"Param"}},{"id":5697,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":5678,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":5679,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":5638,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":5639,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":5640,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":5641,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":5642,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":5643,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":5644,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":5645,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":5646,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":5647,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":5648,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":5649,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":5702,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":5703,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":5593,"name":"mute","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Mute the output.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination().start();\n// mute the output\nosc.mute = true;\n"}]},"getSignature":[{"id":5594,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Mute the output.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination().start();\n// mute the output\nosc.mute = true;\n"}]},"type":{"type":"intrinsic","name":"boolean"}}],"setSignature":[{"id":5595,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"Mute the output.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination().start();\n// mute the output\nosc.mute = true;\n"}]},"parameters":[{"id":5596,"name":"mute","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":148,"character":9},{"fileName":"Tone/source/Source.ts","line":151,"character":9}]},{"id":5633,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":5634,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":5635,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":5636,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":5676,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":5677,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":5591,"name":"state","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Returns the playback state of the source, either \"started\" or \"stopped\".","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/ahntone_c3.mp3\", () => {\n\tplayer.start();\n\tconsole.log(player.state);\n}).toDestination();\n"}]},"getSignature":[{"id":5592,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Returns the playback state of the source, either \"started\" or \"stopped\".","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/ahntone_c3.mp3\", () => {\n\tplayer.start();\n\tconsole.log(player.state);\n}).toDestination();\n"}]},"type":{"type":"reference","id":705,"name":"BasicPlaybackState"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":129,"character":10}]},{"id":5664,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5665,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":5666,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":5650,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5651,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":5652,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":5653,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":5654,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":5659,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5660,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":5661,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":5662,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":5663,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":5630,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5631,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Clean up."},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":331,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":5667,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5668,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":5669,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":5692,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5693,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":5558,"name":"SourceOptions"}},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":5674,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5675,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":5672,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5673,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":5621,"name":"restart","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5622,"name":"restart","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Restart the source."},"parameters":[{"id":5623,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":5624,"name":"offset","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":5625,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":249,"character":8}]},{"id":5694,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5695,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":5696,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":5558,"name":"SourceOptions"}}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":5613,"name":"start","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5614,"name":"start","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Start the source at the specified time. If no time is given,\nstart the source now.","tags":[{"tag":"example","text":"\nconst source = new Tone.Oscillator().toDestination();\nsource.start(\"+0.5\"); // starts the source 0.5 seconds from now\n"}]},"parameters":[{"id":5615,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the source should be started."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":5616,"name":"offset","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":5617,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":180,"character":6}]},{"id":5618,"name":"stop","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5619,"name":"stop","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Stop the source at the specified time. If no time is given,\nstop the source now.","tags":[{"tag":"example","text":"\nconst source = new Tone.Oscillator().toDestination();\nsource.start();\nsource.stop(\"+0.5\"); // stops the source 0.5 seconds from now\n"}]},"parameters":[{"id":5620,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the source should be stopped."},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":229,"character":5}]},{"id":5626,"name":"sync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5627,"name":"sync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Sync the source to the Transport so that all subsequent\ncalls to `start` and `stop` are synced to the TransportTime\ninstead of the AudioContext time.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination();\n// sync the source so that it plays between 0 and 0.3 on the Transport's timeline\nosc.sync().start(0).stop(0.3);\n// start the transport.\nTone.Transport.start();\n// set it to loop once a second\nTone.Transport.loop = true;\nTone.Transport.loopEnd = 1;\n"}]},"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":273,"character":5}]},{"id":5655,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5656,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":5683,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5684,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":5685,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":5657,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5658,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":5680,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5681,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":5682,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":5704,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5705,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":5686,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5687,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":5688,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":5628,"name":"unsync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5629,"name":"unsync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Unsync the source to the Transport. See Source.sync"},"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":310,"character":7}]},{"id":5589,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":5590,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":5558,"name":"SourceOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":113,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[5586]},{"title":"Properties","kind":1024,"children":[5670,5698,5567,5632,5569,5566,5568,5697]},{"title":"Accessors","kind":262144,"children":[5678,5638,5642,5646,5702,5593,5633,5635,5676,5591]},{"title":"Methods","kind":2048,"children":[5664,5650,5659,5630,5667,5692,5674,5672,5621,5694,5613,5618,5626,5655,5683,5657,5680,5704,5686,5628,5589]}],"sources":[{"fileName":"Tone/source/Source.ts","line":39,"character":28}],"extendedTypes":[{"type":"reference","id":1004,"typeArguments":[{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":5558,"name":"SourceOptions"}}],"name":"ToneAudioNode"}],"extendedBy":[{"type":"reference","id":5895,"name":"Noise"},{"type":"reference","id":6718,"name":"Oscillator"},{"type":"reference","id":7362,"name":"AMOscillator"},{"type":"reference","id":7524,"name":"FMOscillator"},{"type":"reference","id":7686,"name":"PulseOscillator"},{"type":"reference","id":7837,"name":"FatOscillator"},{"type":"reference","id":8011,"name":"PWMOscillator"},{"type":"reference","id":8167,"name":"OmniOscillator"},{"type":"reference","id":8921,"name":"Player"},{"type":"reference","id":9279,"name":"GrainPlayer"}]},{"id":15550,"name":"Split","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Split splits an incoming signal into the number of given channels.","tags":[{"tag":"example","text":"\nconst split = new Tone.Split();\n// stereoSignal.connect(split);"}]},"children":[{"id":15555,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":15556,"name":"new Split","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":15557,"name":"channels","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The number of channels to merge.\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}}],"type":{"type":"reference","id":15550,"name":"Split"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":15558,"name":"new Split","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":15559,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":15547,"name":"SplitOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":15550,"name":"Split"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/component/channel/Split.ts","line":25,"character":38},{"fileName":"Tone/component/channel/Split.ts","line":30,"character":32},{"fileName":"Tone/component/channel/Split.ts","line":31,"character":46}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":15601,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":15629,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":15553,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/channel/Split.ts","line":24,"character":15}],"type":{"type":"reference","name":"ChannelSplitterNode"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":15551,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/channel/Split.ts","line":17,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Split\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":15554,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/channel/Split.ts","line":25,"character":16}],"type":{"type":"reference","name":"ChannelSplitterNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":15628,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":15609,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":15610,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":15569,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":15570,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":15571,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":15572,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":15573,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":15574,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":15575,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":15576,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":15577,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":15578,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":15579,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":15580,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":15633,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":15634,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":15564,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":15565,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":15566,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":15567,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":15607,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":15608,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":15595,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15596,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":15597,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":15581,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15582,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":15583,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":15584,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":15585,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":15590,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15591,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":15592,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":15593,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":15594,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":15562,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15563,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/component/channel/Split.ts","line":46,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":15598,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15599,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":15600,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":15623,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15624,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":15547,"name":"SplitOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":15605,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15606,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":15603,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15604,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":15625,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15626,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":15627,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":15547,"name":"SplitOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":15586,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15587,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":15614,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15615,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":15616,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":15588,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15589,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":15611,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15612,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":15613,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":15635,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15636,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":15617,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15618,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":15619,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":15560,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":15561,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":15547,"name":"SplitOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/component/channel/Split.ts","line":40,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[15555]},{"title":"Properties","kind":1024,"children":[15601,15629,15553,15551,15554,15628]},{"title":"Accessors","kind":262144,"children":[15609,15569,15573,15577,15633,15564,15566,15607]},{"title":"Methods","kind":2048,"children":[15595,15581,15590,15562,15598,15623,15605,15603,15625,15586,15614,15588,15611,15635,15617,15560]}],"sources":[{"fileName":"Tone/component/channel/Split.ts","line":16,"character":18}],"extendedTypes":[{"type":"reference","id":1004,"typeArguments":[{"type":"reference","id":15547,"name":"SplitOptions"}],"name":"ToneAudioNode"}]},{"id":587,"name":"StateTimeline","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A Timeline State. Provides the methods: `setStateAtTime(\"state\", time)` and `getValueAtTime(time)`","tags":[{"tag":"param","text":"The initial state of the StateTimeline.  Defaults to `undefined`\n","param":"initial"}]},"typeParameter":[{"id":589,"name":"AdditionalOptions","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"reflection","declaration":{"id":588,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/util/StateTimeline.ts","line":16,"character":52}]}}}],"children":[{"id":592,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":593,"name":"new StateTimeline","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":594,"name":"initial","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":706,"name":"PlaybackState"},"defaultValue":"\"stopped\""}],"type":{"type":"reference","id":587,"name":"StateTimeline"},"overwrites":{"type":"reference","id":250,"name":"Timeline.__constructor"}}],"sources":[{"fileName":"Tone/core/util/StateTimeline.ts","line":23,"character":33}],"overwrites":{"type":"reference","id":250,"name":"Timeline.__constructor"}},{"id":697,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":613,"name":"increasing","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"If the time value must always be greater than or equal to the last\nelement on the list."},"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":49,"character":11}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":249,"name":"Timeline.increasing"}},{"id":611,"name":"memory","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The memory of the timeline, i.e.\nhow many events in the past it will retain"},"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":38,"character":7}],"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":247,"name":"Timeline.memory"}},{"id":590,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/util/StateTimeline.ts","line":18,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"StateTimeline\"","overwrites":{"type":"reference","id":246,"name":"Timeline.name"}},{"id":696,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":701,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":702,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":616,"name":"length","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of items in the timeline."},"getSignature":[{"id":617,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of items in the timeline."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":257,"name":"Timeline.length"}}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":74,"character":11}],"inheritedFrom":{"type":"reference","id":257,"name":"Timeline.length"}},{"id":618,"name":"add","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":619,"name":"add","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Insert an event object onto the timeline. Events must have a \"time\" attribute."},"parameters":[{"id":620,"name":"event","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The event object to insert into the timeline.\n"},"type":{"type":"intersection","types":[{"type":"reference","id":584,"name":"StateTimelineEvent"},{"type":"typeParameter","name":"AdditionalOptions","constraint":{"type":"reflection","declaration":{"id":588,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/util/StateTimeline.ts","line":16,"character":52}]}}}]}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":259,"name":"Timeline.add"}}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":82,"character":4}],"inheritedFrom":{"type":"reference","id":259,"name":"Timeline.add"}},{"id":639,"name":"cancel","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":640,"name":"cancel","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Cancel events at and after the given time"},"parameters":[{"id":641,"name":"after","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The time to query.\n"},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":280,"name":"Timeline.cancel"}}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":178,"character":7}],"inheritedFrom":{"type":"reference","id":280,"name":"Timeline.cancel"}},{"id":642,"name":"cancelBefore","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":643,"name":"cancelBefore","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Cancel events before or equal to the given time."},"parameters":[{"id":644,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The time to cancel before.\n"},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":283,"name":"Timeline.cancelBefore"}}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":211,"character":13}],"inheritedFrom":{"type":"reference","id":283,"name":"Timeline.cancelBefore"}},{"id":694,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":695,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Clean up."},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":58,"name":"Tone.dispose"},"inheritedFrom":{"type":"reference","id":343,"name":"Timeline.dispose"}}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":394,"character":8}],"overwrites":{"type":"reference","id":58,"name":"Tone.dispose"},"inheritedFrom":{"type":"reference","id":343,"name":"Timeline.dispose"}},{"id":652,"name":"forEach","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":653,"name":"forEach","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Iterate over everything in the array"},"parameters":[{"id":654,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The callback to invoke with every item\n"},"type":{"type":"reflection","declaration":{"id":655,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":656,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":657,"name":"event","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intersection","types":[{"type":"reference","id":584,"name":"StateTimelineEvent"},{"type":"typeParameter","name":"AdditionalOptions","constraint":{"type":"reflection","declaration":{"id":588,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/util/StateTimeline.ts","line":16,"character":52}]}}}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":293,"character":18}]}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":301,"name":"Timeline.forEach"}}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":293,"character":8}],"inheritedFrom":{"type":"reference","id":301,"name":"Timeline.forEach"}},{"id":665,"name":"forEachAfter","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":666,"name":"forEachAfter","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Iterate over everything in the array after the given time."},"parameters":[{"id":667,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The time to check if items are before"},"type":{"type":"reference","id":21,"name":"Seconds"}},{"id":668,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The callback to invoke with every item\n"},"type":{"type":"reflection","declaration":{"id":669,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":670,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":671,"name":"event","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intersection","types":[{"type":"reference","id":584,"name":"StateTimelineEvent"},{"type":"typeParameter","name":"AdditionalOptions","constraint":{"type":"reflection","declaration":{"id":588,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/util/StateTimeline.ts","line":16,"character":52}]}}}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":317,"character":38}]}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":314,"name":"Timeline.forEachAfter"}}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":317,"character":13}],"inheritedFrom":{"type":"reference","id":314,"name":"Timeline.forEachAfter"}},{"id":687,"name":"forEachAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":688,"name":"forEachAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Iterate over everything in the array at the given time"},"parameters":[{"id":689,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The time to check if items are before"},"type":{"type":"intrinsic","name":"number"}},{"id":690,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The callback to invoke with every item\n"},"type":{"type":"reflection","declaration":{"id":691,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":692,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":693,"name":"event","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intersection","types":[{"type":"reference","id":584,"name":"StateTimelineEvent"},{"type":"typeParameter","name":"AdditionalOptions","constraint":{"type":"reflection","declaration":{"id":588,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/util/StateTimeline.ts","line":16,"character":52}]}}}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":372,"character":38}]}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":336,"name":"Timeline.forEachAtTime"}}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":372,"character":14}],"inheritedFrom":{"type":"reference","id":336,"name":"Timeline.forEachAtTime"}},{"id":658,"name":"forEachBefore","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":659,"name":"forEachBefore","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Iterate over everything in the array at or before the given time."},"parameters":[{"id":660,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The time to check if items are before"},"type":{"type":"reference","id":21,"name":"Seconds"}},{"id":661,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The callback to invoke with every item\n"},"type":{"type":"reflection","declaration":{"id":662,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":663,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":664,"name":"event","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intersection","types":[{"type":"reference","id":584,"name":"StateTimelineEvent"},{"type":"typeParameter","name":"AdditionalOptions","constraint":{"type":"reflection","declaration":{"id":588,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/util/StateTimeline.ts","line":16,"character":52}]}}}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":303,"character":39}]}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":307,"name":"Timeline.forEachBefore"}}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":303,"character":14}],"inheritedFrom":{"type":"reference","id":307,"name":"Timeline.forEachBefore"}},{"id":672,"name":"forEachBetween","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":673,"name":"forEachBetween","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Iterate over everything in the array between the startTime and endTime.\nThe timerange is inclusive of the startTime, but exclusive of the endTime.\nrange = [startTime, endTime)."},"parameters":[{"id":674,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The time to check if items are before"},"type":{"type":"intrinsic","name":"number"}},{"id":675,"name":"endTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The end of the test interval."},"type":{"type":"intrinsic","name":"number"}},{"id":676,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The callback to invoke with every item\n"},"type":{"type":"reflection","declaration":{"id":677,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":678,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":679,"name":"event","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intersection","types":[{"type":"reference","id":584,"name":"StateTimelineEvent"},{"type":"typeParameter","name":"AdditionalOptions","constraint":{"type":"reflection","declaration":{"id":588,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/util/StateTimeline.ts","line":16,"character":52}]}}}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":332,"character":61}]}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":321,"name":"Timeline.forEachBetween"}}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":332,"character":15}],"inheritedFrom":{"type":"reference","id":321,"name":"Timeline.forEachBetween"}},{"id":680,"name":"forEachFrom","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":681,"name":"forEachFrom","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Iterate over everything in the array at or after the given time. Similar to\nforEachAfter, but includes the item(s) at the given time."},"parameters":[{"id":682,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The time to check if items are before"},"type":{"type":"intrinsic","name":"number"}},{"id":683,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The callback to invoke with every item\n"},"type":{"type":"reflection","declaration":{"id":684,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":685,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":686,"name":"event","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intersection","types":[{"type":"reference","id":584,"name":"StateTimelineEvent"},{"type":"typeParameter","name":"AdditionalOptions","constraint":{"type":"reflection","declaration":{"id":588,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/util/StateTimeline.ts","line":16,"character":52}]}}}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":356,"character":36}]}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":329,"name":"Timeline.forEachFrom"}}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":356,"character":12}],"inheritedFrom":{"type":"reference","id":329,"name":"Timeline.forEachFrom"}},{"id":624,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":625,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the nearest event whose time is less than or equal to the given time."},"parameters":[{"id":626,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The time to query.\n"},"type":{"type":"intrinsic","name":"number"}},{"id":627,"name":"param","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":354,"name":"TimelineSearchParam"},"defaultValue":"\"time\""}],"type":{"type":"union","types":[{"type":"intersection","types":[{"type":"reference","id":584,"name":"StateTimelineEvent"},{"type":"typeParameter","name":"AdditionalOptions","constraint":{"type":"reflection","declaration":{"id":588,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/util/StateTimeline.ts","line":16,"character":52}]}}}]},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":265,"name":"Timeline.get"}}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":119,"character":4}],"inheritedFrom":{"type":"reference","id":265,"name":"Timeline.get"}},{"id":632,"name":"getAfter","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":633,"name":"getAfter","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the event which is scheduled after the given time."},"parameters":[{"id":634,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The time to query.\n"},"type":{"type":"intrinsic","name":"number"}},{"id":635,"name":"param","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":354,"name":"TimelineSearchParam"},"defaultValue":"\"time\""}],"type":{"type":"union","types":[{"type":"intersection","types":[{"type":"reference","id":584,"name":"StateTimelineEvent"},{"type":"typeParameter","name":"AdditionalOptions","constraint":{"type":"reflection","declaration":{"id":588,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/util/StateTimeline.ts","line":16,"character":52}]}}}]},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":273,"name":"Timeline.getAfter"}}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":147,"character":9}],"inheritedFrom":{"type":"reference","id":273,"name":"Timeline.getAfter"}},{"id":636,"name":"getBefore","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":637,"name":"getBefore","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the event before the event at the given time."},"parameters":[{"id":638,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The time to query.\n"},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"union","types":[{"type":"intersection","types":[{"type":"reference","id":584,"name":"StateTimelineEvent"},{"type":"typeParameter","name":"AdditionalOptions","constraint":{"type":"reflection","declaration":{"id":588,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/util/StateTimeline.ts","line":16,"character":52}]}}}]},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":277,"name":"Timeline.getBefore"}}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":160,"character":10}],"inheritedFrom":{"type":"reference","id":277,"name":"Timeline.getBefore"}},{"id":603,"name":"getLastState","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":604,"name":"getLastState","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the event before the time with the given state","returns":"The event with the given state before the time\n"},"parameters":[{"id":605,"name":"state","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The state to look for"},"type":{"type":"reference","id":706,"name":"PlaybackState"}},{"id":606,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"When to check before"},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"union","types":[{"type":"intersection","types":[{"type":"reference","id":584,"name":"StateTimelineEvent"},{"type":"typeParameter","name":"AdditionalOptions","constraint":{"type":"reflection","declaration":{"id":588,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/util/StateTimeline.ts","line":16,"character":52}]}}}]},{"type":"intrinsic","name":"undefined"}]}}],"sources":[{"fileName":"Tone/core/util/StateTimeline.ts","line":67,"character":13}]},{"id":607,"name":"getNextState","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":608,"name":"getNextState","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the event after the time with the given state","returns":"The event with the given state after the time\n"},"parameters":[{"id":609,"name":"state","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The state to look for"},"type":{"type":"reference","id":706,"name":"PlaybackState"}},{"id":610,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"When to check from"},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"union","types":[{"type":"intersection","types":[{"type":"reference","id":584,"name":"StateTimelineEvent"},{"type":"typeParameter","name":"AdditionalOptions","constraint":{"type":"reflection","declaration":{"id":588,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/util/StateTimeline.ts","line":16,"character":52}]}}}]},{"type":"intrinsic","name":"undefined"}]}}],"sources":[{"fileName":"Tone/core/util/StateTimeline.ts","line":84,"character":13}]},{"id":595,"name":"getValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":596,"name":"getValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Returns the scheduled state scheduled before or at\nthe given time.","returns":"The name of the state input in setStateAtTime.\n"},"parameters":[{"id":597,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The time to query."},"type":{"type":"reference","id":21,"name":"Seconds"}}],"type":{"type":"reference","id":706,"name":"PlaybackState"}}],"sources":[{"fileName":"Tone/core/util/StateTimeline.ts","line":37,"character":15}]},{"id":628,"name":"peek","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":629,"name":"peek","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the first event in the timeline without removing it","returns":"The first event object\n"},"type":{"type":"union","types":[{"type":"intersection","types":[{"type":"reference","id":584,"name":"StateTimelineEvent"},{"type":"typeParameter","name":"AdditionalOptions","constraint":{"type":"reflection","declaration":{"id":588,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/util/StateTimeline.ts","line":16,"character":52}]}}}]},{"type":"intrinsic","name":"undefined"}]},"inheritedFrom":{"type":"reference","id":269,"name":"Timeline.peek"}}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":132,"character":5}],"inheritedFrom":{"type":"reference","id":269,"name":"Timeline.peek"}},{"id":645,"name":"previousEvent","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":646,"name":"previousEvent","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Returns the previous event if there is one. null otherwise","returns":"The event right before the given event\n"},"parameters":[{"id":647,"name":"event","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The event to find the previous one of"},"type":{"type":"intersection","types":[{"type":"reference","id":584,"name":"StateTimelineEvent"},{"type":"typeParameter","name":"AdditionalOptions","constraint":{"type":"reflection","declaration":{"id":588,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/util/StateTimeline.ts","line":16,"character":52}]}}}]}}],"type":{"type":"union","types":[{"type":"intersection","types":[{"type":"reference","id":584,"name":"StateTimelineEvent"},{"type":"typeParameter","name":"AdditionalOptions","constraint":{"type":"reflection","declaration":{"id":588,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/util/StateTimeline.ts","line":16,"character":52}]}}}]},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":286,"name":"Timeline.previousEvent"}}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":224,"character":14}],"inheritedFrom":{"type":"reference","id":286,"name":"Timeline.previousEvent"}},{"id":621,"name":"remove","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":622,"name":"remove","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Remove an event from the timeline.","returns":"this\n"},"parameters":[{"id":623,"name":"event","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The event object to remove from the list."},"type":{"type":"intersection","types":[{"type":"reference","id":584,"name":"StateTimelineEvent"},{"type":"typeParameter","name":"AdditionalOptions","constraint":{"type":"reflection","declaration":{"id":588,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/util/StateTimeline.ts","line":16,"character":52}]}}}]}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":262,"name":"Timeline.remove"}}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":107,"character":7}],"inheritedFrom":{"type":"reference","id":262,"name":"Timeline.remove"}},{"id":598,"name":"setStateAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":599,"name":"setStateAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Add a state to the timeline."},"parameters":[{"id":600,"name":"state","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The name of the state to set."},"type":{"type":"reference","id":706,"name":"PlaybackState"}},{"id":601,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The time to query."},"type":{"type":"reference","id":21,"name":"Seconds"}},{"id":602,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"Any additional options that are needed in the timeline.\n"},"type":{"type":"reference","id":589,"name":"AdditionalOptions"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/util/StateTimeline.ts","line":52,"character":15}]},{"id":630,"name":"shift","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":631,"name":"shift","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the first event in the timeline and remove it"},"type":{"type":"union","types":[{"type":"intersection","types":[{"type":"reference","id":584,"name":"StateTimelineEvent"},{"type":"typeParameter","name":"AdditionalOptions","constraint":{"type":"reflection","declaration":{"id":588,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/util/StateTimeline.ts","line":16,"character":52}]}}}]},{"type":"intrinsic","name":"undefined"}]},"inheritedFrom":{"type":"reference","id":271,"name":"Timeline.shift"}}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":139,"character":6}],"inheritedFrom":{"type":"reference","id":271,"name":"Timeline.shift"}},{"id":703,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":704,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":614,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":615,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":239,"name":"TimelineOptions"},"overwrites":{"type":"reference","id":51,"name":"Tone.getDefaults"},"inheritedFrom":{"type":"reference","id":255,"name":"Timeline.getDefaults"}}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":64,"character":19}],"overwrites":{"type":"reference","id":51,"name":"Tone.getDefaults"},"inheritedFrom":{"type":"reference","id":255,"name":"Timeline.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[592]},{"title":"Properties","kind":1024,"children":[697,613,611,590,696]},{"title":"Accessors","kind":262144,"children":[701,616]},{"title":"Methods","kind":2048,"children":[618,639,642,694,652,665,687,658,672,680,624,632,636,603,607,595,628,645,621,598,630,703,614]}],"sources":[{"fileName":"Tone/core/util/StateTimeline.ts","line":16,"character":26}],"extendedTypes":[{"type":"reference","id":244,"typeArguments":[{"type":"intersection","types":[{"type":"reference","id":584,"name":"StateTimelineEvent"},{"type":"typeParameter","name":"AdditionalOptions","constraint":{"type":"reflection","declaration":{"id":588,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/util/StateTimeline.ts","line":16,"character":52}]}}}]}],"name":"Timeline"}]},{"id":15727,"name":"StereoEffect","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Base class for Stereo effects."},"typeParameter":[{"id":15728,"name":"Options","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"reference","id":15822,"name":"StereoEffectOptions"}}],"children":[{"id":15736,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":15737,"name":"new StereoEffect","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":15738,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":15822,"name":"StereoEffectOptions"}}],"type":{"type":"reference","id":15727,"name":"StereoEffect"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/effect/StereoEffect.ts","line":41,"character":25}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":15786,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":15814,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":15730,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/effect/StereoEffect.ts","line":19,"character":15}],"type":{"type":"reference","id":1143,"name":"Gain"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":15729,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/effect/StereoEffect.ts","line":17,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"StereoEffect\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":15731,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/effect/StereoEffect.ts","line":20,"character":16}],"type":{"type":"reference","id":14368,"name":"CrossFade"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":15733,"name":"wet","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The wet control, i.e. how much of the effected\nwill pass through to the output."},"sources":[{"fileName":"Tone/effect/StereoEffect.ts","line":31,"character":13}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"normalRange"}],"name":"Signal"}},{"id":15813,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":15794,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":15795,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":15754,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":15755,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":15756,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":15757,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":15758,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":15759,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":15760,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":15761,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":15762,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":15763,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":15764,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":15765,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":15818,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":15819,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":15749,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":15750,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":15751,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":15752,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":15792,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":15793,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":15780,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15781,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":15782,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":15766,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15767,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":15768,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":15769,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":15770,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":15775,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15776,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":15777,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":15778,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":15779,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":15747,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15748,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/effect/StereoEffect.ts","line":92,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":15783,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15784,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":15785,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":15808,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15809,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":15822,"name":"StereoEffectOptions"}},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":15790,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15791,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":15788,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15789,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":15810,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15811,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":15812,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":15822,"name":"StereoEffectOptions"}}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":15771,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15772,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":15799,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15800,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":15801,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":15773,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15774,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":15796,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15797,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":15798,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":15820,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15821,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":15802,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15803,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":15804,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":15745,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":15746,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":15822,"name":"StereoEffectOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/effect/StereoEffect.ts","line":86,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[15736]},{"title":"Properties","kind":1024,"children":[15786,15814,15730,15729,15731,15733,15813]},{"title":"Accessors","kind":262144,"children":[15794,15754,15758,15762,15818,15749,15751,15792]},{"title":"Methods","kind":2048,"children":[15780,15766,15775,15747,15783,15808,15790,15788,15810,15771,15799,15773,15796,15820,15802,15745]}],"sources":[{"fileName":"Tone/effect/StereoEffect.ts","line":15,"character":25}],"extendedTypes":[{"type":"reference","id":1004,"typeArguments":[{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":15822,"name":"StereoEffectOptions"}}],"name":"ToneAudioNode"}],"extendedBy":[{"type":"reference","id":15827,"name":"StereoFeedbackEffect"},{"type":"reference","id":16576,"name":"Freeverb"},{"type":"reference","id":16686,"name":"JCReverb"},{"type":"reference","id":17129,"name":"Phaser"},{"type":"reference","id":17764,"name":"Tremolo"}]},{"id":15827,"name":"StereoFeedbackEffect","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Base class for stereo feedback effects where the effectReturn is fed back into the same channel."},"typeParameter":[{"id":15828,"name":"Options","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"reference","id":15823,"name":"StereoFeedbackEffectOptions"}}],"children":[{"id":15834,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":15835,"name":"new StereoFeedbackEffect","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":15836,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":15823,"name":"StereoFeedbackEffectOptions"}}],"type":{"type":"reference","id":15827,"name":"StereoFeedbackEffect"},"overwrites":{"type":"reference","id":15736,"name":"StereoEffect.__constructor"}}],"sources":[{"fileName":"Tone/effect/StereoFeedbackEffect.ts","line":43,"character":33}],"overwrites":{"type":"reference","id":15736,"name":"StereoEffect.__constructor"}},{"id":15890,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":15918,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":15829,"name":"feedback","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The amount of feedback from the output\nback into the input of the effect (routed\nacross left and right channels)."},"sources":[{"fileName":"Tone/effect/StereoFeedbackEffect.ts","line":23,"character":18}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"normalRange"}],"name":"Signal"}},{"id":15842,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/effect/StereoEffect.ts","line":19,"character":15}],"type":{"type":"reference","id":1143,"name":"Gain"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":15730,"name":"StereoEffect.input"}},{"id":15841,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/effect/StereoEffect.ts","line":17,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"StereoEffect\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"},"inheritedFrom":{"type":"reference","id":15729,"name":"StereoEffect.name"}},{"id":15843,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/effect/StereoEffect.ts","line":20,"character":16}],"type":{"type":"reference","id":14368,"name":"CrossFade"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":15731,"name":"StereoEffect.output"}},{"id":15844,"name":"wet","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The wet control, i.e. how much of the effected\nwill pass through to the output."},"sources":[{"fileName":"Tone/effect/StereoEffect.ts","line":31,"character":13}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"normalRange"}],"name":"Signal"},"inheritedFrom":{"type":"reference","id":15733,"name":"StereoEffect.wet"}},{"id":15917,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":15898,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":15899,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":15858,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":15859,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":15860,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":15861,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":15862,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":15863,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":15864,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":15865,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":15866,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":15867,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":15868,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":15869,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":15922,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":15923,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":15853,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":15854,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":15855,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":15856,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":15896,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":15897,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":15884,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15885,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":15886,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":15870,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15871,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":15872,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":15873,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":15874,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":15879,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15880,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":15881,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":15882,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":15883,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":15839,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15840,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":15747,"name":"StereoEffect.dispose"}}],"sources":[{"fileName":"Tone/effect/StereoFeedbackEffect.ts","line":82,"character":8}],"overwrites":{"type":"reference","id":15747,"name":"StereoEffect.dispose"}},{"id":15887,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15888,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":15889,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":15912,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15913,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":15823,"name":"StereoFeedbackEffectOptions"}},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":15894,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15895,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":15892,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15893,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":15914,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15915,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":15916,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":15823,"name":"StereoFeedbackEffectOptions"}}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":15875,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15876,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":15903,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15904,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":15905,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":15877,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15878,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":15900,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15901,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":15902,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":15924,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15925,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":15906,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15907,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":15908,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":15837,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":15838,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":15823,"name":"StereoFeedbackEffectOptions"},"overwrites":{"type":"reference","id":15745,"name":"StereoEffect.getDefaults"}}],"sources":[{"fileName":"Tone/effect/StereoFeedbackEffect.ts","line":76,"character":19}],"overwrites":{"type":"reference","id":15745,"name":"StereoEffect.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[15834]},{"title":"Properties","kind":1024,"children":[15890,15918,15829,15842,15841,15843,15844,15917]},{"title":"Accessors","kind":262144,"children":[15898,15858,15862,15866,15922,15853,15855,15896]},{"title":"Methods","kind":2048,"children":[15884,15870,15879,15839,15887,15912,15894,15892,15914,15875,15903,15877,15900,15924,15906,15837]}],"sources":[{"fileName":"Tone/effect/StereoFeedbackEffect.ts","line":16,"character":33}],"extendedTypes":[{"type":"reference","id":15727,"typeArguments":[{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":15823,"name":"StereoFeedbackEffectOptions"}}],"name":"StereoEffect"}],"extendedBy":[{"type":"reference","id":15935,"name":"Chorus"},{"type":"reference","id":16792,"name":"StereoXFeedbackEffect"}]},{"id":17649,"name":"StereoWidener","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Applies a width factor to the mid/side seperation.\n0 is all mid and 1 is all side.\nAlgorithm found in [kvraudio forums](http://www.kvraudio.com/forum/viewtopic.php?t=212587).\n```\nMid *= 2*(1-width)<br>\nSide *= 2*width\n```"},"children":[{"id":17657,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":17658,"name":"new StereoWidener","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":17659,"name":"width","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The stereo width. A width of 0 is mono and 1 is stereo. 0.5 is no change.\n"},"type":{"type":"reference","id":23,"name":"NormalRange"}}],"type":{"type":"reference","id":17649,"name":"StereoWidener"},"overwrites":{"type":"reference","id":17550,"name":"MidSideEffect.__constructor"}},{"id":17660,"name":"new StereoWidener","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":17661,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":17645,"name":"StereoWidenerOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":17649,"name":"StereoWidener"},"overwrites":{"type":"reference","id":17550,"name":"MidSideEffect.__constructor"}}],"sources":[{"fileName":"Tone/effect/StereoWidener.ts","line":56,"character":29},{"fileName":"Tone/effect/StereoWidener.ts","line":61,"character":34},{"fileName":"Tone/effect/StereoWidener.ts","line":62,"character":54}],"overwrites":{"type":"reference","id":17550,"name":"MidSideEffect.__constructor"}},{"id":17721,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":17749,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":17679,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The effect input node"},"sources":[{"fileName":"Tone/effect/Effect.ts","line":46,"character":6}],"type":{"type":"reference","id":1143,"name":"Gain"},"defaultValue":"new Gain({ context: this.context })","overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":14470,"name":"Effect.input"}},{"id":17650,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/effect/StereoWidener.ts","line":26,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"StereoWidener\"","overwrites":{"type":"reference","id":17543,"name":"MidSideEffect.name"}},{"id":17680,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The effect output"},"sources":[{"fileName":"Tone/effect/Effect.ts","line":51,"character":7}],"type":{"type":"reference","id":14368,"name":"CrossFade"},"defaultValue":"this._dryWet","overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":14471,"name":"Effect.output"}},{"id":17676,"name":"wet","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The wet control is how much of the effected\nwill pass through to the output. 1 = 100% effected\nsignal, 0 = 100% dry signal."},"sources":[{"fileName":"Tone/effect/Effect.ts","line":31,"character":4}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"normalRange"}],"name":"Signal"},"defaultValue":"this._dryWet.fade","inheritedFrom":{"type":"reference","id":14467,"name":"Effect.wet"}},{"id":17651,"name":"width","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The width control. 0 = 100% mid. 1 = 100% side. 0.5 = no change."},"sources":[{"fileName":"Tone/effect/StereoWidener.ts","line":31,"character":15}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"normalRange"}],"name":"Signal"}},{"id":17748,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":17729,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":17730,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":17689,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":17690,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":17691,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":17692,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":17693,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":17694,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":17695,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":17696,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":17697,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":17698,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":17699,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":17700,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":17753,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":17754,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":17684,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":17685,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":17686,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":17687,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":17727,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":17728,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":17715,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17716,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":17717,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":17701,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17702,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":17703,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":17704,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":17705,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":17710,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17711,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":17712,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":17713,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":17714,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":17664,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17665,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":17559,"name":"MidSideEffect.dispose"}}],"sources":[{"fileName":"Tone/effect/StereoWidener.ts","line":102,"character":8}],"overwrites":{"type":"reference","id":17559,"name":"MidSideEffect.dispose"}},{"id":17718,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17719,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":17720,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":17743,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17744,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":17645,"name":"StereoWidenerOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":17725,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17726,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":17723,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17724,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":17745,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17746,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":17747,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":17645,"name":"StereoWidenerOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":17706,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17707,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":17734,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17735,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":17736,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":17708,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17709,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":17731,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17732,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":17733,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":17755,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17756,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":17737,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17738,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":17739,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":17662,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":17663,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":17645,"name":"StereoWidenerOptions"},"overwrites":{"type":"reference","id":14475,"name":"Effect.getDefaults"}}],"sources":[{"fileName":"Tone/effect/StereoWidener.ts","line":96,"character":19}],"overwrites":{"type":"reference","id":14475,"name":"Effect.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[17657]},{"title":"Properties","kind":1024,"children":[17721,17749,17679,17650,17680,17676,17651,17748]},{"title":"Accessors","kind":262144,"children":[17729,17689,17693,17697,17753,17684,17686,17727]},{"title":"Methods","kind":2048,"children":[17715,17701,17710,17664,17718,17743,17725,17723,17745,17706,17734,17708,17731,17755,17737,17662]}],"sources":[{"fileName":"Tone/effect/StereoWidener.ts","line":24,"character":26}],"extendedTypes":[{"type":"reference","id":17541,"typeArguments":[{"type":"reference","id":17645,"name":"StereoWidenerOptions"}],"name":"MidSideEffect"}]},{"id":16792,"name":"StereoXFeedbackEffect","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Just like a [[StereoFeedbackEffect]], but the feedback is routed from left to right\nand right to left instead of on the same channel.\n```\n+--------------------------------+ feedbackL <-----------------------------------+\n|                                                                                |\n+-->                          +----->        +---->                          +-----+\n     feedbackMerge +--> split        (EFFECT)       merge +--> feedbackSplit     | |\n+-->                          +----->        +---->                          +---+ |\n|                                                                                  |\n+--------------------------------+ feedbackR <-------------------------------------+\n```"},"typeParameter":[{"id":16793,"name":"Options","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"reference","id":16788,"name":"StereoXFeedbackEffectOptions"}}],"children":[{"id":16794,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":16795,"name":"new StereoXFeedbackEffect","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":16796,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":16788,"name":"StereoXFeedbackEffectOptions"}}],"type":{"type":"reference","id":16792,"name":"StereoXFeedbackEffect"},"overwrites":{"type":"reference","id":15834,"name":"StereoFeedbackEffect.__constructor"}}],"sources":[{"fileName":"Tone/effect/StereoXFeedbackEffect.ts","line":22,"character":120}],"overwrites":{"type":"reference","id":15834,"name":"StereoFeedbackEffect.__constructor"}},{"id":16855,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":16883,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":16797,"name":"feedback","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The amount of feedback from the output\nback into the input of the effect (routed\nacross left and right channels)."},"sources":[{"fileName":"Tone/effect/StereoFeedbackEffect.ts","line":23,"character":18}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"normalRange"}],"name":"Signal"},"inheritedFrom":{"type":"reference","id":15829,"name":"StereoFeedbackEffect.feedback"}},{"id":16807,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/effect/StereoEffect.ts","line":19,"character":15}],"type":{"type":"reference","id":1143,"name":"Gain"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":15730,"name":"StereoEffect.input"}},{"id":16806,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/effect/StereoEffect.ts","line":17,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"StereoEffect\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"},"inheritedFrom":{"type":"reference","id":15729,"name":"StereoEffect.name"}},{"id":16808,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/effect/StereoEffect.ts","line":20,"character":16}],"type":{"type":"reference","id":14368,"name":"CrossFade"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":15731,"name":"StereoEffect.output"}},{"id":16809,"name":"wet","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The wet control, i.e. how much of the effected\nwill pass through to the output."},"sources":[{"fileName":"Tone/effect/StereoEffect.ts","line":31,"character":13}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"normalRange"}],"name":"Signal"},"inheritedFrom":{"type":"reference","id":15733,"name":"StereoEffect.wet"}},{"id":16882,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":16863,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":16864,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":16823,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":16824,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":16825,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":16826,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":16827,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":16828,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":16829,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":16830,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":16831,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":16832,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":16833,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":16834,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":16887,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":16888,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":16818,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":16819,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":16820,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":16821,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":16861,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":16862,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":16849,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16850,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":16851,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":16835,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16836,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":16837,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":16838,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":16839,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":16844,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16845,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":16846,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":16847,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":16848,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":16804,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16805,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":15747,"name":"StereoEffect.dispose"},"inheritedFrom":{"type":"reference","id":15839,"name":"StereoFeedbackEffect.dispose"}}],"sources":[{"fileName":"Tone/effect/StereoFeedbackEffect.ts","line":82,"character":8}],"overwrites":{"type":"reference","id":15747,"name":"StereoEffect.dispose"},"inheritedFrom":{"type":"reference","id":15839,"name":"StereoFeedbackEffect.dispose"}},{"id":16852,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16853,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":16854,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":16877,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16878,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":16788,"name":"StereoXFeedbackEffectOptions"}},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":16859,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16860,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":16857,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16858,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":16879,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16880,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":16881,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":16788,"name":"StereoXFeedbackEffectOptions"}}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":16840,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16841,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":16868,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16869,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":16870,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":16842,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16843,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":16865,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16866,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":16867,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":16889,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16890,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":16871,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16872,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":16873,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":16802,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":16803,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":15823,"name":"StereoFeedbackEffectOptions"},"overwrites":{"type":"reference","id":15745,"name":"StereoEffect.getDefaults"},"inheritedFrom":{"type":"reference","id":15837,"name":"StereoFeedbackEffect.getDefaults"}}],"sources":[{"fileName":"Tone/effect/StereoFeedbackEffect.ts","line":76,"character":19}],"overwrites":{"type":"reference","id":15745,"name":"StereoEffect.getDefaults"},"inheritedFrom":{"type":"reference","id":15837,"name":"StereoFeedbackEffect.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[16794]},{"title":"Properties","kind":1024,"children":[16855,16883,16797,16807,16806,16808,16809,16882]},{"title":"Accessors","kind":262144,"children":[16863,16823,16827,16831,16887,16818,16820,16861]},{"title":"Methods","kind":2048,"children":[16849,16835,16844,16804,16852,16877,16859,16857,16879,16840,16868,16842,16865,16889,16871,16802]}],"sources":[{"fileName":"Tone/effect/StereoXFeedbackEffect.ts","line":22,"character":34}],"extendedTypes":[{"type":"reference","id":15827,"typeArguments":[{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":16788,"name":"StereoXFeedbackEffectOptions"}}],"name":"StereoFeedbackEffect"}],"extendedBy":[{"type":"reference","id":16897,"name":"PingPongDelay"}]},{"id":9713,"name":"Subtract","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Subtract the signal connected to the input is subtracted from the signal connected\nThe subtrahend.","tags":[{"tag":"example","text":"\n// subtract a scalar from a signal\nconst sub = new Tone.Subtract(1);\nconst sig = new Tone.Signal(4).connect(sub);\n// the output of sub is 3."},{"tag":"example","text":"\n// subtract two signals\nconst sub = new Tone.Subtract();\nconst sigA = new Tone.Signal(10);\nconst sigB = new Tone.Signal(2.5);\nsigA.connect(sub);\nsigB.connect(sub.subtrahend);\n// output of sub is 7.5"}]},"typeParameter":[{"id":9730,"name":"TypeName","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"reference","id":46,"name":"UnitName"}}],"children":[{"id":9721,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":9722,"name":"new Subtract","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":9723,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The value to subtract from the incoming signal. If the value\n            is omitted, it will subtract the second signal from the first.\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}}],"type":{"type":"reference","id":9713,"name":"Subtract"},"overwrites":{"type":"reference","id":1511,"name":"Signal.__constructor"}},{"id":9724,"name":"new Subtract","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":9725,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":1495,"typeArguments":[{"type":"stringLiteral","value":"number"}],"name":"SignalOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":9713,"name":"Subtract"},"overwrites":{"type":"reference","id":1511,"name":"Signal.__constructor"}}],"sources":[{"fileName":"Tone/signal/Subtract.ts","line":48,"character":43},{"fileName":"Tone/signal/Subtract.ts","line":54,"character":29},{"fileName":"Tone/signal/Subtract.ts","line":55,"character":57}],"overwrites":{"type":"reference","id":1511,"name":"Signal.__constructor"}},{"id":9851,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":9879,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":9717,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/signal/Subtract.ts","line":37,"character":15}],"type":{"type":"reference","id":1143,"name":"Gain"},"defaultValue":"this._sum","overwrites":{"type":"reference","id":1510,"name":"Signal.input"}},{"id":9715,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/signal/Subtract.ts","line":31,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Subtract\"","overwrites":{"type":"reference","id":1505,"name":"Signal.name"}},{"id":9718,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/signal/Subtract.ts","line":38,"character":16}],"type":{"type":"reference","id":1143,"name":"Gain"},"defaultValue":"this._sum","overwrites":{"type":"reference","id":1508,"name":"Signal.output"}},{"id":9714,"name":"override","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/signal/Subtract.ts","line":29,"character":9}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","overwrites":{"type":"reference","id":1506,"name":"Signal.override"}},{"id":9720,"name":"subtrahend","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The value which is subtracted from the main signal"},"sources":[{"fileName":"Tone/signal/Subtract.ts","line":48,"character":11}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"number"}],"name":"Param"},"defaultValue":"this._param"},{"id":9878,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":9859,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":9860,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":9824,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":9825,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":9826,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":9827,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":9828,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":9829,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":9830,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":9831,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":9832,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":9833,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":9834,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":9835,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":9802,"name":"convert","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":9803,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":1590,"name":"Signal.convert"}}],"setSignature":[{"id":9804,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":9805,"name":"convert","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1590,"name":"Signal.convert"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":169,"character":12},{"fileName":"Tone/signal/Signal.ts","line":172,"character":12}],"inheritedFrom":{"type":"reference","id":1590,"name":"Signal.convert"}},{"id":9883,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":9884,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":9812,"name":"maxValue","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":9813,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1600,"name":"Signal.maxValue"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":187,"character":13}],"inheritedFrom":{"type":"reference","id":1600,"name":"Signal.maxValue"}},{"id":9814,"name":"minValue","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":9815,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1602,"name":"Signal.minValue"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":190,"character":13}],"inheritedFrom":{"type":"reference","id":1602,"name":"Signal.minValue"}},{"id":9819,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":9820,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":9821,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":9822,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":9808,"name":"overridden","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":9809,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":1596,"name":"Signal.overridden"}}],"setSignature":[{"id":9810,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":9811,"name":"overridden","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1596,"name":"Signal.overridden"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":180,"character":15},{"fileName":"Tone/signal/Signal.ts","line":183,"character":15}],"inheritedFrom":{"type":"reference","id":1596,"name":"Signal.overridden"}},{"id":9857,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":9858,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":9806,"name":"units","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":9807,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"reference","id":46,"name":"UnitName"},"inheritedFrom":{"type":"reference","id":1594,"name":"Signal.units"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":176,"character":10}],"inheritedFrom":{"type":"reference","id":1594,"name":"Signal.units"}},{"id":9798,"name":"value","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":9799,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}},"inheritedFrom":{"type":"reference","id":1586,"name":"Signal.value"}}],"setSignature":[{"id":9800,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":9801,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1586,"name":"Signal.value"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":162,"character":10},{"fileName":"Tone/signal/Signal.ts","line":165,"character":10}],"inheritedFrom":{"type":"reference","id":1586,"name":"Signal.value"}},{"id":9816,"name":"apply","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9817,"name":"apply","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"See [[Param.apply]]."},"parameters":[{"id":9818,"name":"param","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"reference","id":826,"name":"Param"},{"type":"reference","name":"AudioParam"}]}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1604,"name":"Signal.apply"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":197,"character":6}],"inheritedFrom":{"type":"reference","id":1604,"name":"Signal.apply"}},{"id":9790,"name":"cancelAndHoldAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9791,"name":"cancelAndHoldAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":9792,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1578,"name":"Signal.cancelAndHoldAtTime"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":153,"character":20}],"inheritedFrom":{"type":"reference","id":1578,"name":"Signal.cancelAndHoldAtTime"}},{"id":9787,"name":"cancelScheduledValues","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9788,"name":"cancelScheduledValues","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":9789,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1575,"name":"Signal.cancelScheduledValues"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":149,"character":22}],"inheritedFrom":{"type":"reference","id":1575,"name":"Signal.cancelScheduledValues"}},{"id":9845,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9846,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":9847,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":9733,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9734,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":9735,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":9736,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":9737,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"},"inheritedFrom":{"type":"reference","id":1519,"name":"Signal.connect"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":87,"character":8}],"overwrites":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"},"inheritedFrom":{"type":"reference","id":1519,"name":"Signal.connect"}},{"id":9840,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9841,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":9842,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":9843,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":9844,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":9728,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9729,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1524,"name":"Signal.dispose"}}],"sources":[{"fileName":"Tone/signal/Subtract.ts","line":68,"character":8}],"overwrites":{"type":"reference","id":1524,"name":"Signal.dispose"}},{"id":9771,"name":"exponentialApproachValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9772,"name":"exponentialApproachValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":9773,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":9774,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":9775,"name":"rampTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1559,"name":"Signal.exponentialApproachValueAtTime"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":137,"character":31}],"inheritedFrom":{"type":"reference","id":1559,"name":"Signal.exponentialApproachValueAtTime"}},{"id":9756,"name":"exponentialRampTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9757,"name":"exponentialRampTo","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":9758,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":9759,"name":"rampTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":9760,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1544,"name":"Signal.exponentialRampTo"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":125,"character":18}],"inheritedFrom":{"type":"reference","id":1544,"name":"Signal.exponentialRampTo"}},{"id":9752,"name":"exponentialRampToValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9753,"name":"exponentialRampToValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":9754,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":9755,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1540,"name":"Signal.exponentialRampToValueAtTime"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":121,"character":29}],"inheritedFrom":{"type":"reference","id":1540,"name":"Signal.exponentialRampToValueAtTime"}},{"id":9848,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9849,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":9850,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":9873,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9874,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":1495,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"SignalOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":9742,"name":"getValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9743,"name":"getValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":9744,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}},"inheritedFrom":{"type":"reference","id":1530,"name":"Signal.getValueAtTime"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":110,"character":15}],"inheritedFrom":{"type":"reference","id":1530,"name":"Signal.getValueAtTime"}},{"id":9855,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9856,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":9761,"name":"linearRampTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9762,"name":"linearRampTo","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":9763,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":9764,"name":"rampTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":9765,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1549,"name":"Signal.linearRampTo"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":129,"character":13}],"inheritedFrom":{"type":"reference","id":1549,"name":"Signal.linearRampTo"}},{"id":9748,"name":"linearRampToValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9749,"name":"linearRampToValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":9750,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":9751,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1536,"name":"Signal.linearRampToValueAtTime"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":117,"character":24}],"inheritedFrom":{"type":"reference","id":1536,"name":"Signal.linearRampToValueAtTime"}},{"id":9853,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9854,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":9793,"name":"rampTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9794,"name":"rampTo","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":9795,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":9796,"name":"rampTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":9797,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1581,"name":"Signal.rampTo"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":157,"character":7}],"inheritedFrom":{"type":"reference","id":1581,"name":"Signal.rampTo"}},{"id":9875,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9876,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":9877,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":1495,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"SignalOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":9745,"name":"setRampPoint","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9746,"name":"setRampPoint","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":9747,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1533,"name":"Signal.setRampPoint"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":113,"character":13}],"inheritedFrom":{"type":"reference","id":1533,"name":"Signal.setRampPoint"}},{"id":9776,"name":"setTargetAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9777,"name":"setTargetAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":9778,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":9779,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":9780,"name":"timeConstant","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1564,"name":"Signal.setTargetAtTime"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":141,"character":16}],"inheritedFrom":{"type":"reference","id":1564,"name":"Signal.setTargetAtTime"}},{"id":9738,"name":"setValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9739,"name":"setValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":9740,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":9741,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1526,"name":"Signal.setValueAtTime"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":106,"character":15}],"inheritedFrom":{"type":"reference","id":1526,"name":"Signal.setValueAtTime"}},{"id":9781,"name":"setValueCurveAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9782,"name":"setValueCurveAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":9783,"name":"values","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"array","elementType":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}}},{"id":9784,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":9785,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":9786,"name":"scaling","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1569,"name":"Signal.setValueCurveAtTime"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":145,"character":20}],"inheritedFrom":{"type":"reference","id":1569,"name":"Signal.setValueCurveAtTime"}},{"id":9766,"name":"targetRampTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9767,"name":"targetRampTo","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":9768,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":9769,"name":"rampTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":9770,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1554,"name":"Signal.targetRampTo"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":133,"character":13}],"inheritedFrom":{"type":"reference","id":1554,"name":"Signal.targetRampTo"}},{"id":9836,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9837,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":9864,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9865,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":9866,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":9838,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9839,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":9861,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9862,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":9863,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":9885,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9886,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":9867,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9868,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":9869,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":9726,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":9727,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":1495,"typeArguments":[{"type":"stringLiteral","value":"number"}],"name":"SignalOptions"},"overwrites":{"type":"reference","id":1517,"name":"Signal.getDefaults"}}],"sources":[{"fileName":"Tone/signal/Subtract.ts","line":62,"character":19}],"overwrites":{"type":"reference","id":1517,"name":"Signal.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[9721]},{"title":"Properties","kind":1024,"children":[9851,9879,9717,9715,9718,9714,9720,9878]},{"title":"Accessors","kind":262144,"children":[9859,9824,9828,9832,9802,9883,9812,9814,9819,9821,9808,9857,9806,9798]},{"title":"Methods","kind":2048,"children":[9816,9790,9787,9845,9733,9840,9728,9771,9756,9752,9848,9873,9742,9855,9761,9748,9853,9793,9875,9745,9776,9738,9781,9766,9836,9864,9838,9861,9885,9867,9726]}],"sources":[{"fileName":"Tone/signal/Subtract.ts","line":27,"character":21}],"extendedTypes":[{"type":"reference","id":1503,"name":"Signal"}],"implementedTypes":[{"type":"reference","id":739,"typeArguments":[{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}}],"name":"AbstractParam"}]},{"id":10354,"name":"SyncedSignal","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Adds the ability to synchronize the signal to the [[Transport]]"},"typeParameter":[{"id":10355,"name":"TypeName","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"reference","id":46,"name":"UnitName"}}],"children":[{"id":10364,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":10365,"name":"new SyncedSignal","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":10366,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Initial value of the signal"},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":10367,"name":"units","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The unit name, e.g. \"frequency\"\n"},"type":{"type":"reference","id":10355,"name":"TypeName"}}],"type":{"type":"reference","id":10354,"name":"SyncedSignal"},"overwrites":{"type":"reference","id":1511,"name":"Signal.__constructor"}},{"id":10368,"name":"new SyncedSignal","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":10369,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":1495,"typeArguments":[{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}}],"name":"SignalOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":10354,"name":"SyncedSignal"},"overwrites":{"type":"reference","id":1511,"name":"Signal.__constructor"}}],"sources":[{"fileName":"Tone/signal/SyncedSignal.ts","line":35,"character":37},{"fileName":"Tone/signal/SyncedSignal.ts","line":41,"character":58},{"fileName":"Tone/signal/SyncedSignal.ts","line":42,"character":57}],"overwrites":{"type":"reference","id":1511,"name":"Signal.__constructor"}},{"id":10501,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":10529,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":10430,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/signal/Signal.ts","line":53,"character":15}],"type":{"type":"reference","id":1101,"name":"InputNode"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":1510,"name":"Signal.input"}},{"id":10356,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/signal/SyncedSignal.ts","line":13,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"SyncedSignal\"","overwrites":{"type":"reference","id":1505,"name":"Signal.name"}},{"id":10358,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/signal/SyncedSignal.ts","line":20,"character":16}],"type":{"type":"reference","id":1102,"name":"OutputNode"},"overwrites":{"type":"reference","id":1508,"name":"Signal.output"}},{"id":10357,"name":"override","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"Don't override when something is connected to the input"},"sources":[{"fileName":"Tone/signal/SyncedSignal.ts","line":18,"character":18}],"type":{"type":"intrinsic","name":"false"},"defaultValue":"false","overwrites":{"type":"reference","id":1506,"name":"Signal.override"}},{"id":10528,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":10509,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":10510,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":10474,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":10475,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":10476,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":10477,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":10478,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":10479,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":10480,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":10481,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":10482,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":10483,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":10484,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":10485,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":10452,"name":"convert","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":10453,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":1590,"name":"Signal.convert"}}],"setSignature":[{"id":10454,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":10455,"name":"convert","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1590,"name":"Signal.convert"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":169,"character":12},{"fileName":"Tone/signal/Signal.ts","line":172,"character":12}],"inheritedFrom":{"type":"reference","id":1590,"name":"Signal.convert"}},{"id":10533,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":10534,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":10462,"name":"maxValue","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":10463,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1600,"name":"Signal.maxValue"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":187,"character":13}],"inheritedFrom":{"type":"reference","id":1600,"name":"Signal.maxValue"}},{"id":10464,"name":"minValue","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":10465,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1602,"name":"Signal.minValue"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":190,"character":13}],"inheritedFrom":{"type":"reference","id":1602,"name":"Signal.minValue"}},{"id":10469,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":10470,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":10471,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":10472,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":10458,"name":"overridden","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":10459,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":1596,"name":"Signal.overridden"}}],"setSignature":[{"id":10460,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":10461,"name":"overridden","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1596,"name":"Signal.overridden"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":180,"character":15},{"fileName":"Tone/signal/Signal.ts","line":183,"character":15}],"inheritedFrom":{"type":"reference","id":1596,"name":"Signal.overridden"}},{"id":10507,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":10508,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":10456,"name":"units","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":10457,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"reference","id":46,"name":"UnitName"},"inheritedFrom":{"type":"reference","id":1594,"name":"Signal.units"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":176,"character":10}],"inheritedFrom":{"type":"reference","id":1594,"name":"Signal.units"}},{"id":10448,"name":"value","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":10449,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}},"inheritedFrom":{"type":"reference","id":1586,"name":"Signal.value"}}],"setSignature":[{"id":10450,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":10451,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1586,"name":"Signal.value"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":162,"character":10},{"fileName":"Tone/signal/Signal.ts","line":165,"character":10}],"inheritedFrom":{"type":"reference","id":1586,"name":"Signal.value"}},{"id":10466,"name":"apply","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10467,"name":"apply","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"See [[Param.apply]]."},"parameters":[{"id":10468,"name":"param","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"reference","id":826,"name":"Param"},{"type":"reference","name":"AudioParam"}]}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1604,"name":"Signal.apply"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":197,"character":6}],"inheritedFrom":{"type":"reference","id":1604,"name":"Signal.apply"}},{"id":10405,"name":"cancelAndHoldAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10406,"name":"cancelAndHoldAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":10407,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":34,"name":"TransportTime"}}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1578,"name":"Signal.cancelAndHoldAtTime"}}],"sources":[{"fileName":"Tone/signal/SyncedSignal.ts","line":133,"character":20}],"overwrites":{"type":"reference","id":1578,"name":"Signal.cancelAndHoldAtTime"}},{"id":10396,"name":"cancelScheduledValues","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10397,"name":"cancelScheduledValues","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":10398,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":34,"name":"TransportTime"}}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1575,"name":"Signal.cancelScheduledValues"}}],"sources":[{"fileName":"Tone/signal/SyncedSignal.ts","line":120,"character":22}],"overwrites":{"type":"reference","id":1575,"name":"Signal.cancelScheduledValues"}},{"id":10495,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10496,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":10497,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":10433,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10434,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":10435,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":10436,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":10437,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"},"inheritedFrom":{"type":"reference","id":1519,"name":"Signal.connect"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":87,"character":8}],"overwrites":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"},"inheritedFrom":{"type":"reference","id":1519,"name":"Signal.connect"}},{"id":10490,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10491,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":10492,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":10493,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":10494,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":10426,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10427,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1524,"name":"Signal.dispose"}}],"sources":[{"fileName":"Tone/signal/SyncedSignal.ts","line":163,"character":8}],"overwrites":{"type":"reference","id":1524,"name":"Signal.dispose"}},{"id":10438,"name":"exponentialApproachValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10439,"name":"exponentialApproachValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":10440,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":10441,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":10442,"name":"rampTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1559,"name":"Signal.exponentialApproachValueAtTime"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":137,"character":31}],"inheritedFrom":{"type":"reference","id":1559,"name":"Signal.exponentialApproachValueAtTime"}},{"id":10411,"name":"exponentialRampTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10412,"name":"exponentialRampTo","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":10413,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":10414,"name":"rampTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":10415,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":34,"name":"TransportTime"}}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1544,"name":"Signal.exponentialRampTo"}}],"sources":[{"fileName":"Tone/signal/SyncedSignal.ts","line":145,"character":18}],"overwrites":{"type":"reference","id":1544,"name":"Signal.exponentialRampTo"}},{"id":10387,"name":"exponentialRampToValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10388,"name":"exponentialRampToValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":10389,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":10390,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":34,"name":"TransportTime"}}],"type":{"type":"unknown","name":"this"},"overwrites":{"type":"reference","id":1540,"name":"Signal.exponentialRampToValueAtTime"}}],"sources":[{"fileName":"Tone/signal/SyncedSignal.ts","line":108,"character":29}],"overwrites":{"type":"reference","id":1540,"name":"Signal.exponentialRampToValueAtTime"}},{"id":10498,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10499,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":10500,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":10523,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10524,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":1495,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"SignalOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":10376,"name":"getValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10377,"name":"getValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":10378,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":34,"name":"TransportTime"}}],"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}},"overwrites":{"type":"reference","id":1530,"name":"Signal.getValueAtTime"}}],"sources":[{"fileName":"Tone/signal/SyncedSignal.ts","line":91,"character":15}],"overwrites":{"type":"reference","id":1530,"name":"Signal.getValueAtTime"}},{"id":10505,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10506,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":10416,"name":"linearRampTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10417,"name":"linearRampTo","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":10418,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":10419,"name":"rampTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":10420,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":34,"name":"TransportTime"}}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1549,"name":"Signal.linearRampTo"}}],"sources":[{"fileName":"Tone/signal/SyncedSignal.ts","line":151,"character":13}],"overwrites":{"type":"reference","id":1549,"name":"Signal.linearRampTo"}},{"id":10383,"name":"linearRampToValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10384,"name":"linearRampToValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":10385,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":10386,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":34,"name":"TransportTime"}}],"type":{"type":"unknown","name":"this"},"overwrites":{"type":"reference","id":1536,"name":"Signal.linearRampToValueAtTime"}}],"sources":[{"fileName":"Tone/signal/SyncedSignal.ts","line":102,"character":24}],"overwrites":{"type":"reference","id":1536,"name":"Signal.linearRampToValueAtTime"}},{"id":10503,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10504,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":10443,"name":"rampTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10444,"name":"rampTo","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":10445,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":10446,"name":"rampTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":10447,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1581,"name":"Signal.rampTo"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":157,"character":7}],"inheritedFrom":{"type":"reference","id":1581,"name":"Signal.rampTo"}},{"id":10525,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10526,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":10527,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":1495,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"SignalOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":10408,"name":"setRampPoint","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10409,"name":"setRampPoint","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":10410,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":34,"name":"TransportTime"}}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1533,"name":"Signal.setRampPoint"}}],"sources":[{"fileName":"Tone/signal/SyncedSignal.ts","line":139,"character":13}],"overwrites":{"type":"reference","id":1533,"name":"Signal.setRampPoint"}},{"id":10391,"name":"setTargetAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10392,"name":"setTargetAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":10393,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"any"}},{"id":10394,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":34,"name":"TransportTime"}},{"id":10395,"name":"timeConstant","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1564,"name":"Signal.setTargetAtTime"}}],"sources":[{"fileName":"Tone/signal/SyncedSignal.ts","line":114,"character":16}],"overwrites":{"type":"reference","id":1564,"name":"Signal.setTargetAtTime"}},{"id":10379,"name":"setValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10380,"name":"setValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":10381,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":10382,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":34,"name":"TransportTime"}}],"type":{"type":"unknown","name":"this"},"overwrites":{"type":"reference","id":1526,"name":"Signal.setValueAtTime"}}],"sources":[{"fileName":"Tone/signal/SyncedSignal.ts","line":96,"character":15}],"overwrites":{"type":"reference","id":1526,"name":"Signal.setValueAtTime"}},{"id":10399,"name":"setValueCurveAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10400,"name":"setValueCurveAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":10401,"name":"values","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"array","elementType":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}}},{"id":10402,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":34,"name":"TransportTime"}},{"id":10403,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":10404,"name":"scaling","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":23,"name":"NormalRange"}}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1569,"name":"Signal.setValueCurveAtTime"}}],"sources":[{"fileName":"Tone/signal/SyncedSignal.ts","line":126,"character":20}],"overwrites":{"type":"reference","id":1569,"name":"Signal.setValueCurveAtTime"}},{"id":10421,"name":"targetRampTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10422,"name":"targetRampTo","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":10423,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":10424,"name":"rampTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":10425,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":34,"name":"TransportTime"}}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1554,"name":"Signal.targetRampTo"}}],"sources":[{"fileName":"Tone/signal/SyncedSignal.ts","line":157,"character":13}],"overwrites":{"type":"reference","id":1554,"name":"Signal.targetRampTo"}},{"id":10486,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10487,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":10514,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10515,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":10516,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":10488,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10489,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":10511,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10512,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":10513,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":10535,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10536,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":10517,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10518,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":10519,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":10431,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":10432,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":1495,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"SignalOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"},"inheritedFrom":{"type":"reference","id":1517,"name":"Signal.getDefaults"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":79,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"},"inheritedFrom":{"type":"reference","id":1517,"name":"Signal.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[10364]},{"title":"Properties","kind":1024,"children":[10501,10529,10430,10356,10358,10357,10528]},{"title":"Accessors","kind":262144,"children":[10509,10474,10478,10482,10452,10533,10462,10464,10469,10471,10458,10507,10456,10448]},{"title":"Methods","kind":2048,"children":[10466,10405,10396,10495,10433,10490,10426,10438,10411,10387,10498,10523,10376,10505,10416,10383,10503,10443,10525,10408,10391,10379,10399,10421,10486,10514,10488,10511,10535,10517,10431]}],"sources":[{"fileName":"Tone/signal/SyncedSignal.ts","line":11,"character":25}],"extendedTypes":[{"type":"reference","id":1503,"typeArguments":[{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}}],"name":"Signal"}],"implementedTypes":[{"type":"reference","id":739,"typeArguments":[{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}}],"name":"AbstractParam"}]},{"id":11098,"name":"Synth","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Synth is composed simply of a [[OmniOscillator]] routed through an [[AmplitudeEnvelope]].\n```\n+----------------+   +-------------------+\n| OmniOscillator +>--> AmplitudeEnvelope +>--> Output\n+----------------+   +-------------------+\n```","tags":[{"tag":"example","text":"\nconst synth = new Tone.Synth().toDestination();\nsynth.triggerAttackRelease(\"C4\", \"8n\");"}]},"typeParameter":[{"id":11099,"name":"Options","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"reference","id":11090,"name":"SynthOptions"}}],"children":[{"id":11105,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":11106,"name":"new Synth","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":11107,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"the options available for the synth.\n"},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":11090,"name":"SynthOptions"}],"name":"RecursivePartial"}}],"type":{"type":"reference","id":11098,"name":"Synth"},"overwrites":{"type":"reference","id":10834,"name":"Monophonic.__constructor"}}],"sources":[{"fileName":"Tone/instrument/Synth.ts","line":53,"character":38},{"fileName":"Tone/instrument/Synth.ts","line":58,"character":55}],"overwrites":{"type":"reference","id":10834,"name":"Monophonic.__constructor"}},{"id":11192,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":11220,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":11103,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The detune signal"},"sources":[{"fileName":"Tone/instrument/Synth.ts","line":48,"character":16}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"cents"}],"name":"Signal"},"overwrites":{"type":"reference","id":10833,"name":"Monophonic.detune"}},{"id":11104,"name":"envelope","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The envelope"},"sources":[{"fileName":"Tone/instrument/Synth.ts","line":53,"character":18}],"type":{"type":"reference","id":10960,"name":"AmplitudeEnvelope"}},{"id":11102,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The frequency signal"},"sources":[{"fileName":"Tone/instrument/Synth.ts","line":43,"character":19}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"frequency"}],"name":"Signal"},"overwrites":{"type":"reference","id":10832,"name":"Monophonic.frequency"}},{"id":11137,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The instrument only has an output"},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":26,"character":6}],"type":{"type":"intrinsic","name":"undefined"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":10711,"name":"Instrument.input"}},{"id":11100,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/instrument/Synth.ts","line":33,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Synth\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":11123,"name":"onsilence","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Invoked when the release has finished and the output is silent."},"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":31,"character":10}],"type":{"type":"reference","id":10956,"name":"onSilenceCallback"},"inheritedFrom":{"type":"reference","id":10831,"name":"Monophonic.onsilence"}},{"id":11101,"name":"oscillator","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The oscillator."},"sources":[{"fileName":"Tone/instrument/Synth.ts","line":38,"character":20}],"type":{"type":"reference","id":8167,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"OmniOscillator"}},{"id":11136,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":21,"character":7}],"type":{"type":"reference","id":1102,"name":"OutputNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":10710,"name":"Instrument.output"}},{"id":11122,"name":"portamento","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The glide time between notes."},"decorators":[{"name":"timeRange","type":{"type":"reference","id":8896,"name":"timeRange"},"arguments":{"min":"0"}}],"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":26,"character":11}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":10830,"name":"Monophonic.portamento"}},{"id":11138,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The volume of the output in decibels.","tags":[{"tag":"example","text":"\nconst amSynth = new Tone.AMSynth().toDestination();\namSynth.volume.value = -6;\namSynth.triggerAttackRelease(\"G#3\", 0.2);\n"}]},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":35,"character":7}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"decibels"}],"name":"Param"},"inheritedFrom":{"type":"reference","id":10712,"name":"Instrument.volume"}},{"id":11219,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":11200,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":11201,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":11160,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":11161,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":11162,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":11163,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":11164,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":11165,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":11166,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":11167,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":11168,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":11169,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":11170,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":11171,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":11224,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":11225,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":11155,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":11156,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":11157,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":11158,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":11198,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":11199,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":11186,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11187,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":11188,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":11172,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11173,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":11174,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":11175,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":11176,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":11181,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11182,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":11183,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":11184,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":11185,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":11120,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11121,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"clean up"},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":10746,"name":"Instrument.dispose"}}],"sources":[{"fileName":"Tone/instrument/Synth.ts","line":135,"character":8}],"overwrites":{"type":"reference","id":10746,"name":"Instrument.dispose"}},{"id":11189,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11190,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":11191,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":11214,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11215,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":11090,"name":"SynthOptions"}},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":11117,"name":"getLevelAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11118,"name":"getLevelAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":11119,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":23,"name":"NormalRange"},"overwrites":{"type":"reference","id":10854,"name":"Monophonic.getLevelAtTime"}}],"sources":[{"fileName":"Tone/instrument/Synth.ts","line":127,"character":15}],"overwrites":{"type":"reference","id":10854,"name":"Monophonic.getLevelAtTime"}},{"id":11196,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11197,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":11194,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11195,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":11216,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11217,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":11218,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":11090,"name":"SynthOptions"}}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":11132,"name":"setNote","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11133,"name":"setNote","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set the note at the given time. If no time is given, the note\nwill set immediately.","tags":[{"tag":"example","text":"\nconst synth = new Tone.Synth().toDestination();\nsynth.triggerAttack(\"C4\");\n// change to F#6 in one quarter note from now.\nsynth.setNote(\"F#6\", \"+4n\");\n"}]},"parameters":[{"id":11134,"name":"note","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The note to change to."},"type":{"type":"union","types":[{"type":"reference","id":32,"name":"Frequency"},{"type":"reference","id":4656,"name":"FrequencyClass"}]}},{"id":11135,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The time when the note should be set."},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":10857,"name":"Monophonic.setNote"}}],"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":124,"character":8}],"inheritedFrom":{"type":"reference","id":10857,"name":"Monophonic.setNote"}},{"id":11139,"name":"sync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11140,"name":"sync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Sync the instrument to the Transport. All subsequent calls of\n[[triggerAttack]] and [[triggerRelease]] will be scheduled along the transport.","tags":[{"tag":"example","text":"\nconst fmSynth = new Tone.FMSynth().toDestination();\nfmSynth.volume.value = -6;\nfmSynth.sync();\n// schedule 3 notes when the transport first starts\nfmSynth.triggerAttackRelease(\"C4\", \"8n\", 0);\nfmSynth.triggerAttackRelease(\"E4\", \"8n\", \"8n\");\nfmSynth.triggerAttackRelease(\"G4\", \"8n\", \"4n\");\n// start the transport to hear the notes\nTone.Transport.start();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":10720,"name":"Instrument.sync"}}],"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":82,"character":5}],"inheritedFrom":{"type":"reference","id":10720,"name":"Instrument.sync"}},{"id":11177,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11178,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":11205,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11206,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":11207,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":11179,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11180,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":11202,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11203,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":11204,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":11226,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11227,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":11208,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11209,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":11210,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":11124,"name":"triggerAttack","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11125,"name":"triggerAttack","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Trigger the attack of the note optionally with a given velocity.","tags":[{"tag":"example","text":"\nconst synth = new Tone.Synth().toDestination();\n// trigger the note a half second from now at half velocity\nsynth.triggerAttack(\"C4\", \"+0.5\", 0.5);\n"}]},"parameters":[{"id":11126,"name":"note","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The note to trigger."},"type":{"type":"union","types":[{"type":"reference","id":32,"name":"Frequency"},{"type":"reference","id":4656,"name":"FrequencyClass"}]}},{"id":11127,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the note should start."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":11128,"name":"velocity","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The velocity scaler determines how \"loud\" the note will be triggered."},"type":{"type":"reference","id":23,"name":"NormalRange"},"defaultValue":"1"}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":10736,"name":"Instrument.triggerAttack"},"inheritedFrom":{"type":"reference","id":10839,"name":"Monophonic.triggerAttack"}}],"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":71,"character":14}],"overwrites":{"type":"reference","id":10736,"name":"Instrument.triggerAttack"},"inheritedFrom":{"type":"reference","id":10839,"name":"Monophonic.triggerAttack"}},{"id":11149,"name":"triggerAttackRelease","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11150,"name":"triggerAttackRelease","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Trigger the attack and then the release after the duration.","tags":[{"tag":"example","text":"\nconst synth = new Tone.Synth().toDestination();\n// trigger \"C4\" for the duration of an 8th note\nsynth.triggerAttackRelease(\"C4\", \"8n\");\n"}]},"parameters":[{"id":11151,"name":"note","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The note to trigger."},"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":11152,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"How long the note should be held for before\n                        triggering the release. This value must be greater than 0."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":11153,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the note should be triggered."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":11154,"name":"velocity","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The velocity the note should be triggered at."},"type":{"type":"reference","id":23,"name":"NormalRange"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":10730,"name":"Instrument.triggerAttackRelease"}}],"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":145,"character":21}],"inheritedFrom":{"type":"reference","id":10730,"name":"Instrument.triggerAttackRelease"}},{"id":11129,"name":"triggerRelease","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11130,"name":"triggerRelease","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Trigger the release portion of the envelope","tags":[{"tag":"example","text":"\nconst synth = new Tone.Synth().toDestination();\nsynth.triggerAttack(\"C4\");\n// trigger the release a second from now\nsynth.triggerRelease(\"+1\");\n"}]},"parameters":[{"id":11131,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"If no time is given, the release happens immediatly"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":10742,"name":"Instrument.triggerRelease"},"inheritedFrom":{"type":"reference","id":10844,"name":"Monophonic.triggerRelease"}}],"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":88,"character":15}],"overwrites":{"type":"reference","id":10742,"name":"Instrument.triggerRelease"},"inheritedFrom":{"type":"reference","id":10844,"name":"Monophonic.triggerRelease"}},{"id":11147,"name":"unsync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":11148,"name":"unsync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Unsync the instrument from the Transport"},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":10728,"name":"Instrument.unsync"}}],"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":122,"character":7}],"inheritedFrom":{"type":"reference","id":10728,"name":"Instrument.unsync"}},{"id":11108,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":11109,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":11090,"name":"SynthOptions"},"overwrites":{"type":"reference","id":10837,"name":"Monophonic.getDefaults"}}],"sources":[{"fileName":"Tone/instrument/Synth.ts","line":81,"character":19}],"overwrites":{"type":"reference","id":10837,"name":"Monophonic.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[11105]},{"title":"Properties","kind":1024,"children":[11192,11220,11103,11104,11102,11137,11100,11123,11101,11136,11122,11138,11219]},{"title":"Accessors","kind":262144,"children":[11200,11160,11164,11168,11224,11155,11157,11198]},{"title":"Methods","kind":2048,"children":[11186,11172,11181,11120,11189,11214,11117,11196,11194,11216,11132,11139,11177,11205,11179,11202,11226,11208,11124,11149,11129,11147,11108]}],"sources":[{"fileName":"Tone/instrument/Synth.ts","line":31,"character":18}],"extendedTypes":[{"type":"reference","id":10828,"typeArguments":[{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":11090,"name":"SynthOptions"}}],"name":"Monophonic"}],"extendedBy":[{"type":"reference","id":12491,"name":"MembraneSynth"}]},{"id":1970,"name":"TickParam","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A Param class just for computing ticks. Similar to the [[Param]] class,\nbut offers conversion to BPM values as well as ability to compute tick\nduration and elapsed ticks"},"typeParameter":[{"id":1971,"name":"TypeName","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"hertz"},{"type":"stringLiteral","value":"bpm"}]}}],"children":[{"id":1975,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":1976,"name":"new TickParam","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":1977,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The initial value of the signal\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}}],"type":{"type":"reference","id":1970,"name":"TickParam"},"overwrites":{"type":"reference","id":840,"name":"Param.__constructor"}},{"id":1978,"name":"new TickParam","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":1979,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":1959,"typeArguments":[{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"hertz"},{"type":"stringLiteral","value":"bpm"}]}}],"name":"TickParamOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":1970,"name":"TickParam"},"overwrites":{"type":"reference","id":840,"name":"Param.__constructor"}}],"sources":[{"fileName":"Tone/core/clock/TickParam.ts","line":32,"character":25},{"fileName":"Tone/core/clock/TickParam.ts","line":42,"character":29},{"fileName":"Tone/core/clock/TickParam.ts","line":43,"character":59}],"overwrites":{"type":"reference","id":840,"name":"Param.__constructor"}},{"id":2120,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":2033,"name":"convert","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/Param.ts","line":60,"character":8}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":831,"name":"Param.convert"}},{"id":2148,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":2031,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/context/Param.ts","line":57,"character":15}],"type":{"type":"union","types":[{"type":"reference","name":"GainNode"},{"type":"reference","name":"AudioParam"}]},"inheritedFrom":{"type":"reference","id":829,"name":"Param.input"}},{"id":1972,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/clock/TickParam.ts","line":22,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"TickParam\"","overwrites":{"type":"reference","id":828,"name":"Param.name"}},{"id":2034,"name":"overridden","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/Param.ts","line":61,"character":11}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":832,"name":"Param.overridden"}},{"id":2032,"name":"units","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/context/Param.ts","line":59,"character":15}],"type":{"type":"reference","id":46,"name":"UnitName"},"inheritedFrom":{"type":"reference","id":830,"name":"Param.units"}},{"id":2147,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":2128,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":2129,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":2097,"name":"defaultValue","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":2098,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"hertz"},{"type":"stringLiteral","value":"bpm"}]}},"objectType":{"type":"reference","name":"UnitMap"}},"inheritedFrom":{"type":"reference","id":939,"name":"Param.defaultValue"}}],"sources":[{"fileName":"Tone/core/context/Param.ts","line":518,"character":17}],"inheritedFrom":{"type":"reference","id":939,"name":"Param.defaultValue"}},{"id":2152,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":2153,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":2044,"name":"maxValue","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":2045,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":855,"name":"Param.maxValue"}}],"sources":[{"fileName":"Tone/core/context/Param.ts","line":170,"character":13}],"inheritedFrom":{"type":"reference","id":855,"name":"Param.maxValue"}},{"id":2042,"name":"minValue","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":2043,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":853,"name":"Param.minValue"}}],"sources":[{"fileName":"Tone/core/context/Param.ts","line":152,"character":13}],"inheritedFrom":{"type":"reference","id":853,"name":"Param.minValue"}},{"id":2027,"name":"multiplier","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"A multiplier on the bpm value. Useful for setting a PPQ relative to the base frequency value."},"getSignature":[{"id":2028,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"A multiplier on the bpm value. Useful for setting a PPQ relative to the base frequency value."},"type":{"type":"intrinsic","name":"number"}}],"setSignature":[{"id":2029,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"A multiplier on the bpm value. Useful for setting a PPQ relative to the base frequency value."},"parameters":[{"id":2030,"name":"m","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/clock/TickParam.ts","line":260,"character":15},{"fileName":"Tone/core/clock/TickParam.ts","line":263,"character":15}]},{"id":2126,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":2127,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":2038,"name":"value","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":2039,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"hertz"},{"type":"stringLiteral","value":"bpm"}]}},"objectType":{"type":"reference","name":"UnitMap"}},"inheritedFrom":{"type":"reference","id":849,"name":"Param.value"}}],"setSignature":[{"id":2040,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":2041,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"unknown","name":"UnitMap[TypeName]"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":849,"name":"Param.value"}}],"sources":[{"fileName":"Tone/core/context/Param.ts","line":143,"character":10},{"fileName":"Tone/core/context/Param.ts","line":147,"character":10}],"inheritedFrom":{"type":"reference","id":849,"name":"Param.value"}},{"id":2089,"name":"apply","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2090,"name":"apply","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Apply all of the previously scheduled events to the passed in Param or AudioParam.\nThe applied values will start at the context's current time and schedule\nall of the events which are scheduled on this Param onto the passed in param."},"parameters":[{"id":2091,"name":"param","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"reference","id":826,"name":"Param"},{"type":"reference","name":"AudioParam"}]}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":931,"name":"Param.apply"}}],"sources":[{"fileName":"Tone/core/context/Param.ts","line":470,"character":6}],"inheritedFrom":{"type":"reference","id":931,"name":"Param.apply"}},{"id":2081,"name":"cancelAndHoldAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2082,"name":"cancelAndHoldAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":2083,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":923,"name":"Param.cancelAndHoldAtTime"}}],"sources":[{"fileName":"Tone/core/context/Param.ts","line":414,"character":20}],"inheritedFrom":{"type":"reference","id":923,"name":"Param.cancelAndHoldAtTime"}},{"id":2078,"name":"cancelScheduledValues","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2079,"name":"cancelScheduledValues","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":2080,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":920,"name":"Param.cancelScheduledValues"}}],"sources":[{"fileName":"Tone/core/context/Param.ts","line":405,"character":22}],"inheritedFrom":{"type":"reference","id":920,"name":"Param.cancelScheduledValues"}},{"id":2095,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2096,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":58,"name":"Tone.dispose"},"inheritedFrom":{"type":"reference","id":937,"name":"Param.dispose"}}],"sources":[{"fileName":"Tone/core/context/Param.ts","line":512,"character":8}],"overwrites":{"type":"reference","id":58,"name":"Tone.dispose"},"inheritedFrom":{"type":"reference","id":937,"name":"Param.dispose"}},{"id":2067,"name":"exponentialApproachValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2068,"name":"exponentialApproachValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":2069,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"hertz"},{"type":"stringLiteral","value":"bpm"}]}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":2070,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":2071,"name":"rampTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":904,"name":"Param.exponentialApproachValueAtTime"}}],"sources":[{"fileName":"Tone/core/context/Param.ts","line":362,"character":31}],"inheritedFrom":{"type":"reference","id":904,"name":"Param.exponentialApproachValueAtTime"}},{"id":2052,"name":"exponentialRampTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2053,"name":"exponentialRampTo","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":2054,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"hertz"},{"type":"stringLiteral","value":"bpm"}]}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":2055,"name":"rampTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":2056,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":889,"name":"Param.exponentialRampTo"}}],"sources":[{"fileName":"Tone/core/context/Param.ts","line":341,"character":18}],"inheritedFrom":{"type":"reference","id":889,"name":"Param.exponentialRampTo"}},{"id":1995,"name":"exponentialRampToValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1996,"name":"exponentialRampToValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":1997,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"hertz"},{"type":"stringLiteral","value":"bpm"}]}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":1998,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":885,"name":"Param.exponentialRampToValueAtTime"}}],"sources":[{"fileName":"Tone/core/clock/TickParam.ts","line":109,"character":29}],"overwrites":{"type":"reference","id":885,"name":"Param.exponentialRampToValueAtTime"}},{"id":2142,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2143,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":807,"typeArguments":[{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"hertz"},{"type":"stringLiteral","value":"bpm"}]}}],"name":"ParamOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":2006,"name":"getDurationOfTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2007,"name":"getDurationOfTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the elapsed time of the number of ticks from the given time","returns":"The duration of the number of ticks from the given time in seconds\n"},"parameters":[{"id":2008,"name":"ticks","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The number of ticks to calculate"},"type":{"type":"reference","id":35,"name":"Ticks"}},{"id":2009,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The time to get the next tick from"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"}}],"sources":[{"fileName":"Tone/core/clock/TickParam.ts","line":173,"character":19}]},{"id":2003,"name":"getTicksAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2004,"name":"getTicksAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Returns the tick value at the time. Takes into account\nany automation curves scheduled on the signal.","returns":"The number of ticks which have elapsed at the time given any automations.\n"},"parameters":[{"id":2005,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The time to get the tick count at"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":35,"name":"Ticks"}}],"sources":[{"fileName":"Tone/core/clock/TickParam.ts","line":161,"character":15}]},{"id":2010,"name":"getTimeOfTick","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2011,"name":"getTimeOfTick","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Given a tick, returns the time that tick occurs at.","returns":"The time that the tick occurs.\n"},"parameters":[{"id":2012,"name":"tick","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":35,"name":"Ticks"}}],"type":{"type":"reference","id":21,"name":"Seconds"}}],"sources":[{"fileName":"Tone/core/clock/TickParam.ts","line":183,"character":14}]},{"id":2046,"name":"getValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2047,"name":"getValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":2048,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"hertz"},{"type":"stringLiteral","value":"bpm"}]}},"objectType":{"type":"reference","name":"UnitMap"}},"inheritedFrom":{"type":"reference","id":875,"name":"Param.getValueAtTime"}}],"sources":[{"fileName":"Tone/core/context/Param.ts","line":253,"character":15}],"inheritedFrom":{"type":"reference","id":875,"name":"Param.getValueAtTime"}},{"id":2124,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2125,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":2057,"name":"linearRampTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2058,"name":"linearRampTo","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":2059,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"hertz"},{"type":"stringLiteral","value":"bpm"}]}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":2060,"name":"rampTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":2061,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":894,"name":"Param.linearRampTo"}}],"sources":[{"fileName":"Tone/core/context/Param.ts","line":348,"character":13}],"inheritedFrom":{"type":"reference","id":894,"name":"Param.linearRampTo"}},{"id":1991,"name":"linearRampToValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1992,"name":"linearRampToValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":1993,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"hertz"},{"type":"stringLiteral","value":"bpm"}]}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":1994,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":881,"name":"Param.linearRampToValueAtTime"}}],"sources":[{"fileName":"Tone/core/clock/TickParam.ts","line":99,"character":24}],"overwrites":{"type":"reference","id":881,"name":"Param.linearRampToValueAtTime"}},{"id":2122,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2123,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":2084,"name":"rampTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2085,"name":"rampTo","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":2086,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"hertz"},{"type":"stringLiteral","value":"bpm"}]}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":2087,"name":"rampTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"},"defaultValue":"0.1"},{"id":2088,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":926,"name":"Param.rampTo"}}],"sources":[{"fileName":"Tone/core/context/Param.ts","line":456,"character":7}],"inheritedFrom":{"type":"reference","id":926,"name":"Param.rampTo"}},{"id":2144,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2145,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":2146,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":807,"typeArguments":[{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"hertz"},{"type":"stringLiteral","value":"bpm"}]}}],"name":"ParamOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":2092,"name":"setParam","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2093,"name":"setParam","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Replace the Param's internal AudioParam. Will apply scheduled curves\nonto the parameter and replace the connections."},"parameters":[{"id":2094,"name":"param","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"AudioParam"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":934,"name":"Param.setParam"}}],"sources":[{"fileName":"Tone/core/context/Param.ts","line":502,"character":9}],"inheritedFrom":{"type":"reference","id":934,"name":"Param.setParam"}},{"id":2049,"name":"setRampPoint","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2050,"name":"setRampPoint","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":2051,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":878,"name":"Param.setRampPoint"}}],"sources":[{"fileName":"Tone/core/context/Param.ts","line":295,"character":13}],"inheritedFrom":{"type":"reference","id":878,"name":"Param.setRampPoint"}},{"id":1982,"name":"setTargetAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1983,"name":"setTargetAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":1984,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"hertz"},{"type":"stringLiteral","value":"bpm"}]}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":1985,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":1986,"name":"constant","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":909,"name":"Param.setTargetAtTime"}}],"sources":[{"fileName":"Tone/core/clock/TickParam.ts","line":72,"character":16}],"overwrites":{"type":"reference","id":909,"name":"Param.setTargetAtTime"}},{"id":1987,"name":"setValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1988,"name":"setValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":1989,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"hertz"},{"type":"stringLiteral","value":"bpm"}]}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":1990,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":871,"name":"Param.setValueAtTime"}}],"sources":[{"fileName":"Tone/core/clock/TickParam.ts","line":89,"character":15}],"overwrites":{"type":"reference","id":871,"name":"Param.setValueAtTime"}},{"id":2072,"name":"setValueCurveAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2073,"name":"setValueCurveAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":2074,"name":"values","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"array","elementType":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"hertz"},{"type":"stringLiteral","value":"bpm"}]}},"objectType":{"type":"reference","name":"UnitMap"}}}},{"id":2075,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":2076,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":2077,"name":"scaling","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"1"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":914,"name":"Param.setValueCurveAtTime"}}],"sources":[{"fileName":"Tone/core/context/Param.ts","line":392,"character":20}],"inheritedFrom":{"type":"reference","id":914,"name":"Param.setValueCurveAtTime"}},{"id":2062,"name":"targetRampTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2063,"name":"targetRampTo","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":2064,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"hertz"},{"type":"stringLiteral","value":"bpm"}]}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":2065,"name":"rampTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":2066,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":899,"name":"Param.targetRampTo"}}],"sources":[{"fileName":"Tone/core/context/Param.ts","line":355,"character":13}],"inheritedFrom":{"type":"reference","id":899,"name":"Param.targetRampTo"}},{"id":2013,"name":"ticksToTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2014,"name":"ticksToTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert some number of ticks their the duration in seconds accounting\nfor any automation curves starting at the given time.","returns":"The duration in seconds of the ticks.\n"},"parameters":[{"id":2015,"name":"ticks","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The number of ticks to convert to seconds."},"type":{"type":"reference","id":35,"name":"Ticks"}},{"id":2016,"name":"when","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"When along the automation timeline to convert the ticks."},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"}}],"sources":[{"fileName":"Tone/core/clock/TickParam.ts","line":216,"character":12}]},{"id":2017,"name":"timeToTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2018,"name":"timeToTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"The inverse of [[ticksToTime]]. Convert a duration in\nseconds to the corresponding number of ticks accounting for any\nautomation curves starting at the given time.","returns":"The duration in ticks.\n"},"parameters":[{"id":2019,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The time interval to convert to ticks."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":2020,"name":"when","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"When along the automation timeline to convert the ticks."},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":35,"name":"Ticks"}}],"sources":[{"fileName":"Tone/core/clock/TickParam.ts","line":228,"character":12}]},{"id":2133,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2134,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":2135,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":2130,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2131,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":2132,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":2154,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2155,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":2136,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2137,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":2138,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":1980,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":1981,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":1959,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"TickParamOptions"},"overwrites":{"type":"reference","id":847,"name":"Param.getDefaults"}}],"sources":[{"fileName":"Tone/core/clock/TickParam.ts","line":64,"character":19}],"overwrites":{"type":"reference","id":847,"name":"Param.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[1975]},{"title":"Properties","kind":1024,"children":[2120,2033,2148,2031,1972,2034,2032,2147]},{"title":"Accessors","kind":262144,"children":[2128,2097,2152,2044,2042,2027,2126,2038]},{"title":"Methods","kind":2048,"children":[2089,2081,2078,2095,2067,2052,1995,2142,2006,2003,2010,2046,2124,2057,1991,2122,2084,2144,2092,2049,1982,1987,2072,2062,2013,2017,2133,2130,2154,2136,1980]}],"sources":[{"fileName":"Tone/core/clock/TickParam.ts","line":20,"character":22}],"extendedTypes":[{"type":"reference","id":826,"typeArguments":[{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"hertz"},{"type":"stringLiteral","value":"bpm"}]}}],"name":"Param"}],"implementedTypes":[{"type":"reference","id":739,"typeArguments":[{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"hertz"},{"type":"stringLiteral","value":"bpm"}]}}],"name":"AbstractParam"}]},{"id":4850,"name":"TickSignal","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"TickSignal extends Tone.Signal, but adds the capability\nto calculate the number of elapsed ticks. exponential and target curves\nare approximated with multiple linear ramps.","text":"Thank you Bruno Dias, H. Sofia Pinto, and David M. Matos,\nfor your [WAC paper](https://smartech.gatech.edu/bitstream/handle/1853/54588/WAC2016-49.pdf)\ndescribing integrating timing functions for tempo calculations.\n"},"typeParameter":[{"id":4851,"name":"TypeName","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"hertz"},{"type":"stringLiteral","value":"bpm"}]}}],"children":[{"id":4855,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":4856,"name":"new TickSignal","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":4857,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The initial value of the signal\n"},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"hertz"},{"type":"stringLiteral","value":"bpm"}]}},"objectType":{"type":"reference","name":"UnitMap"}}}],"type":{"type":"reference","id":4850,"name":"TickSignal"},"overwrites":{"type":"reference","id":1511,"name":"Signal.__constructor"}},{"id":4858,"name":"new TickSignal","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":4859,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":4841,"typeArguments":[{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"hertz"},{"type":"stringLiteral","value":"bpm"}]}}],"name":"TickSignalOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":4850,"name":"TickSignal"},"overwrites":{"type":"reference","id":1511,"name":"Signal.__constructor"}}],"sources":[{"fileName":"Tone/core/clock/TickSignal.ts","line":29,"character":27},{"fileName":"Tone/core/clock/TickSignal.ts","line":34,"character":40},{"fileName":"Tone/core/clock/TickSignal.ts","line":35,"character":60}],"overwrites":{"type":"reference","id":1511,"name":"Signal.__constructor"}},{"id":5007,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":5035,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":4854,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/clock/TickSignal.ts","line":29,"character":15}],"type":{"type":"reference","id":1101,"name":"InputNode"},"overwrites":{"type":"reference","id":1510,"name":"Signal.input"}},{"id":4852,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/clock/TickSignal.ts","line":23,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"TickSignal\"","overwrites":{"type":"reference","id":1505,"name":"Signal.name"}},{"id":4888,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/signal/Signal.ts","line":51,"character":16}],"type":{"type":"reference","id":1102,"name":"OutputNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":1508,"name":"Signal.output"}},{"id":4886,"name":"override","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"Indicates if the value should be overridden on connection."},"sources":[{"fileName":"Tone/signal/Signal.ts","line":45,"character":18}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"true","inheritedFrom":{"type":"reference","id":1506,"name":"Signal.override"}},{"id":5034,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":5015,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":5016,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":4980,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":4981,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":4982,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":4983,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":4984,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":4985,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":4986,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":4987,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":4988,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":4989,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":4990,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":4991,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":4958,"name":"convert","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":4959,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":1590,"name":"Signal.convert"}}],"setSignature":[{"id":4960,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":4961,"name":"convert","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1590,"name":"Signal.convert"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":169,"character":12},{"fileName":"Tone/signal/Signal.ts","line":172,"character":12}],"inheritedFrom":{"type":"reference","id":1590,"name":"Signal.convert"}},{"id":5039,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":5040,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":4968,"name":"maxValue","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":4969,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1600,"name":"Signal.maxValue"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":187,"character":13}],"inheritedFrom":{"type":"reference","id":1600,"name":"Signal.maxValue"}},{"id":4970,"name":"minValue","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":4971,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1602,"name":"Signal.minValue"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":190,"character":13}],"inheritedFrom":{"type":"reference","id":1602,"name":"Signal.minValue"}},{"id":4880,"name":"multiplier","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"A multiplier on the bpm value. Useful for setting a PPQ relative to the base frequency value."},"getSignature":[{"id":4881,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"A multiplier on the bpm value. Useful for setting a PPQ relative to the base frequency value."},"type":{"type":"intrinsic","name":"number"}}],"setSignature":[{"id":4882,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"A multiplier on the bpm value. Useful for setting a PPQ relative to the base frequency value."},"parameters":[{"id":4883,"name":"m","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/clock/TickSignal.ts","line":82,"character":15},{"fileName":"Tone/core/clock/TickSignal.ts","line":85,"character":15}]},{"id":4975,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":4976,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":4977,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":4978,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":4964,"name":"overridden","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":4965,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":1596,"name":"Signal.overridden"}}],"setSignature":[{"id":4966,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":4967,"name":"overridden","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1596,"name":"Signal.overridden"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":180,"character":15},{"fileName":"Tone/signal/Signal.ts","line":183,"character":15}],"inheritedFrom":{"type":"reference","id":1596,"name":"Signal.overridden"}},{"id":5013,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":5014,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":4962,"name":"units","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":4963,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"reference","id":46,"name":"UnitName"},"inheritedFrom":{"type":"reference","id":1594,"name":"Signal.units"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":176,"character":10}],"inheritedFrom":{"type":"reference","id":1594,"name":"Signal.units"}},{"id":4954,"name":"value","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":4955,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"hertz"},{"type":"stringLiteral","value":"bpm"}]}},"objectType":{"type":"reference","name":"UnitMap"}},"inheritedFrom":{"type":"reference","id":1586,"name":"Signal.value"}}],"setSignature":[{"id":4956,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"parameters":[{"id":4957,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"hertz"},{"type":"stringLiteral","value":"bpm"}]}},"objectType":{"type":"reference","name":"UnitMap"}}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1586,"name":"Signal.value"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":162,"character":10},{"fileName":"Tone/signal/Signal.ts","line":165,"character":10}],"inheritedFrom":{"type":"reference","id":1586,"name":"Signal.value"}},{"id":4972,"name":"apply","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4973,"name":"apply","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"See [[Param.apply]]."},"parameters":[{"id":4974,"name":"param","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"reference","id":826,"name":"Param"},{"type":"reference","name":"AudioParam"}]}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1604,"name":"Signal.apply"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":197,"character":6}],"inheritedFrom":{"type":"reference","id":1604,"name":"Signal.apply"}},{"id":4946,"name":"cancelAndHoldAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4947,"name":"cancelAndHoldAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4948,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1578,"name":"Signal.cancelAndHoldAtTime"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":153,"character":20}],"inheritedFrom":{"type":"reference","id":1578,"name":"Signal.cancelAndHoldAtTime"}},{"id":4943,"name":"cancelScheduledValues","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4944,"name":"cancelScheduledValues","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4945,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1575,"name":"Signal.cancelScheduledValues"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":149,"character":22}],"inheritedFrom":{"type":"reference","id":1575,"name":"Signal.cancelScheduledValues"}},{"id":5001,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5002,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":5003,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":4889,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4890,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4891,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":4892,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":4893,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"},"inheritedFrom":{"type":"reference","id":1519,"name":"Signal.connect"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":87,"character":8}],"overwrites":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"},"inheritedFrom":{"type":"reference","id":1519,"name":"Signal.connect"}},{"id":4996,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4997,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":4998,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":4999,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":5000,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":4884,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4885,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1524,"name":"Signal.dispose"}}],"sources":[{"fileName":"Tone/core/clock/TickSignal.ts","line":89,"character":8}],"overwrites":{"type":"reference","id":1524,"name":"Signal.dispose"}},{"id":4927,"name":"exponentialApproachValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4928,"name":"exponentialApproachValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4929,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"hertz"},{"type":"stringLiteral","value":"bpm"}]}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":4930,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":4931,"name":"rampTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1559,"name":"Signal.exponentialApproachValueAtTime"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":137,"character":31}],"inheritedFrom":{"type":"reference","id":1559,"name":"Signal.exponentialApproachValueAtTime"}},{"id":4912,"name":"exponentialRampTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4913,"name":"exponentialRampTo","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4914,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"hertz"},{"type":"stringLiteral","value":"bpm"}]}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":4915,"name":"rampTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":4916,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1544,"name":"Signal.exponentialRampTo"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":125,"character":18}],"inheritedFrom":{"type":"reference","id":1544,"name":"Signal.exponentialRampTo"}},{"id":4908,"name":"exponentialRampToValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4909,"name":"exponentialRampToValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4910,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"hertz"},{"type":"stringLiteral","value":"bpm"}]}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":4911,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1540,"name":"Signal.exponentialRampToValueAtTime"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":121,"character":29}],"inheritedFrom":{"type":"reference","id":1540,"name":"Signal.exponentialRampToValueAtTime"}},{"id":5004,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5005,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":5006,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":5029,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5030,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":1495,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"SignalOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":4873,"name":"getDurationOfTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4874,"name":"getDurationOfTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4875,"name":"ticks","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":35,"name":"Ticks"}},{"id":4876,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"}}],"sources":[{"fileName":"Tone/core/clock/TickSignal.ts","line":71,"character":19}]},{"id":4877,"name":"getTicksAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4878,"name":"getTicksAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4879,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":35,"name":"Ticks"}}],"sources":[{"fileName":"Tone/core/clock/TickSignal.ts","line":75,"character":15}]},{"id":4870,"name":"getTimeOfTick","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4871,"name":"getTimeOfTick","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4872,"name":"tick","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":35,"name":"Ticks"}}],"type":{"type":"reference","id":21,"name":"Seconds"}}],"sources":[{"fileName":"Tone/core/clock/TickSignal.ts","line":67,"character":14}]},{"id":4898,"name":"getValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4899,"name":"getValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4900,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"hertz"},{"type":"stringLiteral","value":"bpm"}]}},"objectType":{"type":"reference","name":"UnitMap"}},"inheritedFrom":{"type":"reference","id":1530,"name":"Signal.getValueAtTime"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":110,"character":15}],"inheritedFrom":{"type":"reference","id":1530,"name":"Signal.getValueAtTime"}},{"id":5011,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5012,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":4917,"name":"linearRampTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4918,"name":"linearRampTo","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4919,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"hertz"},{"type":"stringLiteral","value":"bpm"}]}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":4920,"name":"rampTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":4921,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1549,"name":"Signal.linearRampTo"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":129,"character":13}],"inheritedFrom":{"type":"reference","id":1549,"name":"Signal.linearRampTo"}},{"id":4904,"name":"linearRampToValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4905,"name":"linearRampToValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4906,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"hertz"},{"type":"stringLiteral","value":"bpm"}]}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":4907,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1536,"name":"Signal.linearRampToValueAtTime"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":117,"character":24}],"inheritedFrom":{"type":"reference","id":1536,"name":"Signal.linearRampToValueAtTime"}},{"id":5009,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5010,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":4949,"name":"rampTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4950,"name":"rampTo","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4951,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"hertz"},{"type":"stringLiteral","value":"bpm"}]}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":4952,"name":"rampTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":4953,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1581,"name":"Signal.rampTo"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":157,"character":7}],"inheritedFrom":{"type":"reference","id":1581,"name":"Signal.rampTo"}},{"id":5031,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5032,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":5033,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":1495,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"SignalOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":4901,"name":"setRampPoint","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4902,"name":"setRampPoint","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4903,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1533,"name":"Signal.setRampPoint"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":113,"character":13}],"inheritedFrom":{"type":"reference","id":1533,"name":"Signal.setRampPoint"}},{"id":4932,"name":"setTargetAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4933,"name":"setTargetAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4934,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"hertz"},{"type":"stringLiteral","value":"bpm"}]}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":4935,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":4936,"name":"timeConstant","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1564,"name":"Signal.setTargetAtTime"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":141,"character":16}],"inheritedFrom":{"type":"reference","id":1564,"name":"Signal.setTargetAtTime"}},{"id":4894,"name":"setValueAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4895,"name":"setValueAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4896,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"hertz"},{"type":"stringLiteral","value":"bpm"}]}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":4897,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1526,"name":"Signal.setValueAtTime"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":106,"character":15}],"inheritedFrom":{"type":"reference","id":1526,"name":"Signal.setValueAtTime"}},{"id":4937,"name":"setValueCurveAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4938,"name":"setValueCurveAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4939,"name":"values","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"array","elementType":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"hertz"},{"type":"stringLiteral","value":"bpm"}]}},"objectType":{"type":"reference","name":"UnitMap"}}}},{"id":4940,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":4941,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":4942,"name":"scaling","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1569,"name":"Signal.setValueCurveAtTime"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":145,"character":20}],"inheritedFrom":{"type":"reference","id":1569,"name":"Signal.setValueCurveAtTime"}},{"id":4922,"name":"targetRampTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4923,"name":"targetRampTo","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4924,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"hertz"},{"type":"stringLiteral","value":"bpm"}]}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":4925,"name":"rampTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":4926,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1554,"name":"Signal.targetRampTo"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":133,"character":13}],"inheritedFrom":{"type":"reference","id":1554,"name":"Signal.targetRampTo"}},{"id":4862,"name":"ticksToTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4863,"name":"ticksToTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4864,"name":"ticks","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":35,"name":"Ticks"}},{"id":4865,"name":"when","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"}}],"sources":[{"fileName":"Tone/core/clock/TickSignal.ts","line":59,"character":12}]},{"id":4866,"name":"timeToTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4867,"name":"timeToTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4868,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}},{"id":4869,"name":"when","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":35,"name":"Ticks"}}],"sources":[{"fileName":"Tone/core/clock/TickSignal.ts","line":63,"character":12}]},{"id":4992,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4993,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":5020,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5021,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":5022,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":4994,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4995,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":5017,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5018,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":5019,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":5041,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5042,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":5023,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5024,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":5025,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":4860,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":4861,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":4841,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"TickSignalOptions"},"overwrites":{"type":"reference","id":1517,"name":"Signal.getDefaults"}}],"sources":[{"fileName":"Tone/core/clock/TickSignal.ts","line":51,"character":19}],"overwrites":{"type":"reference","id":1517,"name":"Signal.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[4855]},{"title":"Properties","kind":1024,"children":[5007,5035,4854,4852,4888,4886,5034]},{"title":"Accessors","kind":262144,"children":[5015,4980,4984,4988,4958,5039,4968,4970,4880,4975,4977,4964,5013,4962,4954]},{"title":"Methods","kind":2048,"children":[4972,4946,4943,5001,4889,4996,4884,4927,4912,4908,5004,5029,4873,4877,4870,4898,5011,4917,4904,5009,4949,5031,4901,4932,4894,4937,4922,4862,4866,4992,5020,4994,5017,5041,5023,4860]}],"sources":[{"fileName":"Tone/core/clock/TickSignal.ts","line":21,"character":23}],"extendedTypes":[{"type":"reference","id":1503,"typeArguments":[{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"hertz"},{"type":"stringLiteral","value":"bpm"}]}}],"name":"Signal"}],"implementedTypes":[{"type":"reference","id":739,"typeArguments":[{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"hertz"},{"type":"stringLiteral","value":"bpm"}]}}],"name":"AbstractParam"}]},{"id":5051,"name":"TickSource","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Uses [TickSignal](TickSignal) to track elapsed ticks with complex automation curves."},"typeParameter":[{"id":5052,"name":"TypeName","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"bpm"},{"type":"stringLiteral","value":"hertz"}]}}],"children":[{"id":5057,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":5058,"name":"new TickSource","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":5059,"name":"frequency","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The initial frequency that the signal ticks at\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}}],"type":{"type":"reference","id":5051,"name":"TickSource"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":5060,"name":"new TickSource","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":5061,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":5043,"name":"TickSourceOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":5051,"name":"TickSource"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/core/clock/TickSource.ts","line":42,"character":71},{"fileName":"Tone/core/clock/TickSource.ts","line":47,"character":33},{"fileName":"Tone/core/clock/TickSource.ts","line":48,"character":51}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":5115,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":5143,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":5054,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The frequency the callback function should be invoked."},"sources":[{"fileName":"Tone/core/clock/TickSource.ts","line":32,"character":19}],"type":{"type":"reference","id":4850,"typeArguments":[{"type":"typeParameter","name":"TypeName","constraint":{"type":"union","types":[{"type":"stringLiteral","value":"bpm"},{"type":"stringLiteral","value":"hertz"}]}}],"name":"TickSignal"}},{"id":5053,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/clock/TickSource.ts","line":27,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"TickSource\"","overwrites":{"type":"reference","name":"Tone.name"}},{"id":5142,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":5123,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":5124,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":5147,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":5148,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":5121,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":5122,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":5086,"name":"seconds","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The time since ticks=0 that the TickSource has been running. Accounts\nfor tempo curves"},"getSignature":[{"id":5087,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The time since ticks=0 that the TickSource has been running. Accounts\nfor tempo curves"},"type":{"type":"reference","id":21,"name":"Seconds"}}],"setSignature":[{"id":5088,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The time since ticks=0 that the TickSource has been running. Accounts\nfor tempo curves"},"parameters":[{"id":5089,"name":"s","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":21,"name":"Seconds"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/clock/TickSource.ts","line":193,"character":12},{"fileName":"Tone/core/clock/TickSource.ts","line":196,"character":12}]},{"id":5064,"name":"state","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Returns the playback state of the source, either \"started\", \"stopped\" or \"paused\"."},"getSignature":[{"id":5065,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Returns the playback state of the source, either \"started\", \"stopped\" or \"paused\"."},"type":{"type":"reference","id":706,"name":"PlaybackState"}}],"sources":[{"fileName":"Tone/core/clock/TickSource.ts","line":76,"character":10}]},{"id":5082,"name":"ticks","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of times the callback was invoked. Starts counting at 0\nand increments after the callback was invoked. Returns -1 when stopped."},"getSignature":[{"id":5083,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of times the callback was invoked. Starts counting at 0\nand increments after the callback was invoked. Returns -1 when stopped."},"type":{"type":"reference","id":35,"name":"Ticks"}}],"setSignature":[{"id":5084,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The number of times the callback was invoked. Starts counting at 0\nand increments after the callback was invoked. Returns -1 when stopped."},"parameters":[{"id":5085,"name":"t","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":35,"name":"Ticks"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/clock/TickSource.ts","line":182,"character":10},{"fileName":"Tone/core/clock/TickSource.ts","line":185,"character":10}]},{"id":5076,"name":"cancel","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5077,"name":"cancel","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Cancel start/stop/pause and setTickAtTime events scheduled after the given time."},"parameters":[{"id":5078,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"When to clear the events after\n"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/clock/TickSource.ts","line":133,"character":7}]},{"id":5113,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5114,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Clean up"},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":58,"name":"Tone.dispose"}}],"sources":[{"fileName":"Tone/core/clock/TickSource.ts","line":331,"character":8}],"overwrites":{"type":"reference","id":58,"name":"Tone.dispose"}},{"id":5104,"name":"forEachTickBetween","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5105,"name":"forEachTickBetween","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Invoke the callback event at all scheduled ticks between the\nstart time and the end time"},"parameters":[{"id":5106,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The beginning of the search range"},"type":{"type":"intrinsic","name":"number"}},{"id":5107,"name":"endTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The end of the search range"},"type":{"type":"intrinsic","name":"number"}},{"id":5108,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The callback to invoke with each tick\n"},"type":{"type":"reflection","declaration":{"id":5109,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":5110,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":5111,"name":"when","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":21,"name":"Seconds"}},{"id":5112,"name":"ticks","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":35,"name":"Ticks"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/clock/TickSource.ts","line":288,"character":65}]}}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/clock/TickSource.ts","line":288,"character":19}]},{"id":5137,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5138,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":5043,"name":"TickSourceOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":5090,"name":"getSecondsAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5091,"name":"getSecondsAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the elapsed seconds at the given time.","returns":"The number of elapsed seconds\n"},"parameters":[{"id":5092,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"When to get the elapsed seconds"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"}}],"sources":[{"fileName":"Tone/core/clock/TickSource.ts","line":207,"character":17}]},{"id":5097,"name":"getStateAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5098,"name":"getStateAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Returns the scheduled state at the given time."},"parameters":[{"id":5099,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The time to query.\n"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":706,"name":"PlaybackState"}}],"sources":[{"fileName":"Tone/core/clock/TickSource.ts","line":260,"character":15}]},{"id":5079,"name":"getTicksAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5080,"name":"getTicksAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the elapsed ticks at the given time","returns":"The number of ticks\n"},"parameters":[{"id":5081,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When to get the tick value"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":35,"name":"Ticks"}}],"sources":[{"fileName":"Tone/core/clock/TickSource.ts","line":145,"character":15}]},{"id":5100,"name":"getTimeOfTick","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5101,"name":"getTimeOfTick","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the time of the given tick. The second argument\nis when to test before. Since ticks can be set (with setTicksAtTime)\nthere may be multiple times for a given tick value.","returns":"The time of the tick\n"},"parameters":[{"id":5102,"name":"tick","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The tick number."},"type":{"type":"reference","id":35,"name":"Ticks"}},{"id":5103,"name":"before","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"When to measure the tick value from."},"type":{"type":"intrinsic","name":"number"},"defaultValue":"this.now()"}],"type":{"type":"reference","id":21,"name":"Seconds"}}],"sources":[{"fileName":"Tone/core/clock/TickSource.ts","line":273,"character":14}]},{"id":5119,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5120,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":5117,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5118,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":5073,"name":"pause","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5074,"name":"pause","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Pause the clock. Pausing does not reset the tick counter."},"parameters":[{"id":5075,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The time when the clock should stop.\n"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/clock/TickSource.ts","line":121,"character":6}]},{"id":5139,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5140,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":5141,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":5043,"name":"TickSourceOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":5093,"name":"setTicksAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5094,"name":"setTicksAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set the clock's ticks at the given time."},"parameters":[{"id":5095,"name":"ticks","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The tick value to set"},"type":{"type":"reference","id":35,"name":"Ticks"}},{"id":5096,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"When to set the tick value\n"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/clock/TickSource.ts","line":245,"character":15}]},{"id":5066,"name":"start","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5067,"name":"start","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Start the clock at the given time. Optionally pass in an offset\nof where to start the tick counter from."},"parameters":[{"id":5068,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The time the clock should start"},"type":{"type":"reference","id":31,"name":"Time"}},{"id":5069,"name":"offset","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The number of ticks to start the source at\n"},"type":{"type":"reference","id":35,"name":"Ticks"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/clock/TickSource.ts","line":86,"character":6}]},{"id":5070,"name":"stop","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5071,"name":"stop","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Stop the clock. Stopping the clock resets the tick counter to 0."},"parameters":[{"id":5072,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The time when the clock should stop.\n"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/clock/TickSource.ts","line":101,"character":5}]},{"id":5128,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5129,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":5130,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":5125,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5126,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":5127,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":5149,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5150,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":5131,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5132,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":5133,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":5062,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":5063,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":5043,"name":"TickSourceOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/core/clock/TickSource.ts","line":66,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[5057]},{"title":"Properties","kind":1024,"children":[5115,5143,5054,5053,5142]},{"title":"Accessors","kind":262144,"children":[5123,5147,5121,5086,5064,5082]},{"title":"Methods","kind":2048,"children":[5076,5113,5104,5137,5090,5097,5079,5100,5119,5117,5073,5139,5093,5066,5070,5128,5125,5149,5131,5062]}],"sources":[{"fileName":"Tone/core/clock/TickSource.ts","line":25,"character":23}],"extendedTypes":[{"type":"reference","id":4793,"typeArguments":[{"type":"reference","id":5043,"name":"TickSourceOptions"}],"name":"ToneWithContext"}]},{"id":355,"name":"Ticker","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A class which provides a reliable callback using either\na Web Worker, or if that isn't supported, falls back to setTimeout."},"children":[{"id":363,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":364,"name":"new Ticker","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":365,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reflection","declaration":{"id":366,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":367,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/clock/Ticker.ts","line":36,"character":22}]}}},{"id":368,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":388,"name":"TickerClockSource"}},{"id":369,"name":"updateInterval","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":21,"name":"Seconds"}}],"type":{"type":"reference","id":355,"name":"Ticker"}}],"sources":[{"fileName":"Tone/core/clock/Ticker.ts","line":34,"character":26}]},{"id":382,"name":"type","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The type of the ticker, either a worker or a timeout"},"getSignature":[{"id":383,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The type of the ticker, either a worker or a timeout"},"type":{"type":"reference","id":388,"name":"TickerClockSource"}}],"setSignature":[{"id":384,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The type of the ticker, either a worker or a timeout"},"parameters":[{"id":385,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":388,"name":"TickerClockSource"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/clock/Ticker.ts","line":134,"character":9},{"fileName":"Tone/core/clock/Ticker.ts","line":137,"character":9}]},{"id":378,"name":"updateInterval","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The rate in seconds the ticker will update"},"getSignature":[{"id":379,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The rate in seconds the ticker will update"},"type":{"type":"reference","id":21,"name":"Seconds"}}],"setSignature":[{"id":380,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The rate in seconds the ticker will update"},"parameters":[{"id":381,"name":"interval","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":21,"name":"Seconds"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/clock/Ticker.ts","line":121,"character":19},{"fileName":"Tone/core/clock/Ticker.ts","line":124,"character":19}]},{"id":386,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":387,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Clean up"},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/clock/Ticker.ts","line":146,"character":8}]}],"groups":[{"title":"Constructors","kind":512,"children":[363]},{"title":"Accessors","kind":262144,"children":[382,378]},{"title":"Methods","kind":2048,"children":[386]}],"sources":[{"fileName":"Tone/core/clock/Ticker.ts","line":9,"character":19}]},{"id":1761,"name":"TicksClass","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Ticks is a primitive type for encoding Time values.\nTicks can be constructed with or without the `new` keyword. Ticks can be passed\ninto the parameter of any method which takes time as an argument.","tags":[{"tag":"example","text":"\nconst t = Tone.Ticks(\"4n\"); // a quarter note as ticks"}]},"typeParameter":[{"id":1779,"name":"Unit","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"string"}}],"children":[{"id":1796,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":1797,"name":"new TicksClass","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":1798,"name":"context","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The context associated with the time value. Used to compute\nTransport and context-relative timing."},"type":{"type":"reference","id":3052,"name":"BaseContext"}},{"id":1799,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The time value as a number, string or object"},"type":{"type":"reference","id":502,"name":"TimeValue"}},{"id":1800,"name":"units","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Unit values\n"},"type":{"type":"reference","id":1779,"name":"Unit"}}],"type":{"type":"reference","id":1761,"name":"TicksClass"},"inheritedFrom":{"type":"reference","id":442,"name":"TimeBaseClass.__constructor"}}],"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":50,"character":43}],"inheritedFrom":{"type":"reference","id":442,"name":"TimeBaseClass.__constructor"}},{"id":1792,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":30,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":437,"name":"TimeBaseClass.context"}},{"id":1826,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":1763,"name":"defaultUnits","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/type/Ticks.ts","line":18,"character":22}],"type":{"type":"reference","id":503,"name":"TimeBaseUnit"},"defaultValue":"\"i\"","overwrites":{"type":"reference","id":441,"name":"TimeBaseClass.defaultUnits"}},{"id":1762,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/type/Ticks.ts","line":16,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Ticks\"","overwrites":{"type":"reference","id":1683,"name":"TransportTimeClass.name"}},{"id":1823,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":1832,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":1833,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":1830,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1831,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect and dispose."},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":58,"name":"Tone.dispose"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":83,"character":8}],"inheritedFrom":{"type":"reference","id":58,"name":"Tone.dispose"}},{"id":1814,"name":"fromType","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1815,"name":"fromType","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Coerce a time type into this units type."},"parameters":[{"id":1816,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"Any time type units\n"},"type":{"type":"reference","id":434,"typeArguments":[{"type":"intrinsic","name":"any"},{"type":"intrinsic","name":"any"}],"name":"TimeBaseClass"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":473,"name":"TimeBaseClass.fromType"}}],"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":270,"character":9}],"inheritedFrom":{"type":"reference","id":473,"name":"TimeBaseClass.fromType"}},{"id":1782,"name":"quantize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1783,"name":"quantize","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Quantize the time by the given subdivision. Optionally add a\npercentage which will move the time value towards the ideal\nquantized value by that percentage.","tags":[{"tag":"example","text":"\nTone.Time(21).quantize(2); // returns 22\nTone.Time(0.6).quantize(\"4n\", 0.5); // returns 0.55\n"}]},"parameters":[{"id":1784,"name":"subdiv","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The subdivision to quantize to"},"type":{"type":"reference","id":31,"name":"Time"}},{"id":1785,"name":"percent","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"Move the time value towards the quantized value by a percentage."},"type":{"type":"intrinsic","name":"number"},"defaultValue":"1"}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":510,"name":"TimeClass.quantize"}}],"sources":[{"fileName":"Tone/core/type/Time.ts","line":48,"character":9}],"inheritedFrom":{"type":"reference","id":510,"name":"TimeClass.quantize"}},{"id":1788,"name":"toBarsBeatsSixteenths","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1789,"name":"toBarsBeatsSixteenths","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the time encoded as Bars:Beats:Sixteenths."},"type":{"type":"reference","id":39,"name":"BarsBeatsSixteenths"},"inheritedFrom":{"type":"reference","id":516,"name":"TimeClass.toBarsBeatsSixteenths"}}],"sources":[{"fileName":"Tone/core/type/Time.ts","line":94,"character":22}],"inheritedFrom":{"type":"reference","id":516,"name":"TimeClass.toBarsBeatsSixteenths"}},{"id":1817,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1818,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the value in hertz"},"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":482,"name":"TimeBaseClass.toFrequency"}}],"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":307,"character":12}],"inheritedFrom":{"type":"reference","id":482,"name":"TimeBaseClass.toFrequency"}},{"id":1790,"name":"toMidi","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1791,"name":"toMidi","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the value as a midi note."},"type":{"type":"reference","id":3,"name":"MidiNote"},"overwrites":{"type":"reference","id":478,"name":"TimeBaseClass.toMidi"},"inheritedFrom":{"type":"reference","id":522,"name":"TimeClass.toMidi"}}],"sources":[{"fileName":"Tone/core/type/Time.ts","line":129,"character":7}],"overwrites":{"type":"reference","id":478,"name":"TimeBaseClass.toMidi"},"inheritedFrom":{"type":"reference","id":522,"name":"TimeClass.toMidi"}},{"id":1821,"name":"toMilliseconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1822,"name":"toMilliseconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the time in milliseconds."},"type":{"type":"reference","id":43,"name":"Milliseconds"},"inheritedFrom":{"type":"reference","id":486,"name":"TimeBaseClass.toMilliseconds"}}],"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":321,"character":15}],"inheritedFrom":{"type":"reference","id":486,"name":"TimeBaseClass.toMilliseconds"}},{"id":1786,"name":"toNotation","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1787,"name":"toNotation","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert a Time to Notation. The notation values are will be the\nclosest representation between 1m to 128th note.","tags":[{"tag":"example","text":"\n// if the Transport is at 120bpm:\nTone.Time(2).toNotation(); // returns \"1m\"\n"}]},"type":{"type":"reference","id":28,"name":"Subdivision"},"inheritedFrom":{"type":"reference","id":514,"name":"TimeClass.toNotation"}}],"sources":[{"fileName":"Tone/core/type/Time.ts","line":68,"character":11}],"inheritedFrom":{"type":"reference","id":514,"name":"TimeClass.toNotation"}},{"id":1819,"name":"toSamples","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1820,"name":"toSamples","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the time in samples"},"type":{"type":"reference","id":40,"name":"Samples"},"inheritedFrom":{"type":"reference","id":484,"name":"TimeBaseClass.toSamples"}}],"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":314,"character":10}],"inheritedFrom":{"type":"reference","id":484,"name":"TimeBaseClass.toSamples"}},{"id":1777,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1778,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the time in seconds"},"type":{"type":"reference","id":21,"name":"Seconds"},"overwrites":{"type":"reference","id":520,"name":"TimeClass.toSeconds"}}],"sources":[{"fileName":"Tone/core/type/Ticks.ts","line":58,"character":10}],"overwrites":{"type":"reference","id":520,"name":"TimeClass.toSeconds"}},{"id":1834,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1835,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":1775,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1776,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the time in ticks"},"type":{"type":"reference","id":35,"name":"Ticks"},"overwrites":{"type":"reference","id":518,"name":"TimeClass.toTicks"}}],"sources":[{"fileName":"Tone/core/type/Ticks.ts","line":51,"character":8}],"overwrites":{"type":"reference","id":518,"name":"TimeClass.toTicks"}},{"id":1801,"name":"valueOf","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1802,"name":"valueOf","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Evaluate the time value. Returns the time in seconds."},"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":449,"name":"TimeBaseClass.valueOf"}}],"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":153,"character":8}],"inheritedFrom":{"type":"reference","id":449,"name":"TimeBaseClass.valueOf"}},{"id":1824,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":1825,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Returns all of the default options belonging to the class."},"type":{"type":"reference","id":47,"name":"BaseToneOptions"},"inheritedFrom":{"type":"reference","id":51,"name":"Tone.getDefaults"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":38,"character":19}],"inheritedFrom":{"type":"reference","id":51,"name":"Tone.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[1796]},{"title":"Properties","kind":1024,"children":[1792,1826,1763,1762,1823]},{"title":"Accessors","kind":262144,"children":[1832]},{"title":"Methods","kind":2048,"children":[1830,1814,1782,1788,1817,1790,1821,1786,1819,1777,1834,1775,1801,1824]}],"sources":[{"fileName":"Tone/core/type/Ticks.ts","line":14,"character":23}],"extendedTypes":[{"type":"reference","id":1681,"typeArguments":[{"type":"reference","id":35,"name":"Ticks"}],"name":"TransportTimeClass"}]},{"id":434,"name":"TimeBaseClass","kind":128,"kindString":"Class","flags":{"isExported":true,"isAbstract":true},"comment":{"shortText":"TimeBase is a flexible encoding of time which can be evaluated to and from a string."},"typeParameter":[{"id":435,"name":"Type","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}},{"id":436,"name":"Unit","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"string"}}],"children":[{"id":442,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":443,"name":"new TimeBaseClass","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":444,"name":"context","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The context associated with the time value. Used to compute\nTransport and context-relative timing."},"type":{"type":"reference","id":3052,"name":"BaseContext"}},{"id":445,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The time value as a number, string or object"},"type":{"type":"reference","id":502,"name":"TimeValue"}},{"id":446,"name":"units","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Unit values\n"},"type":{"type":"reference","id":436,"name":"Unit"}}],"type":{"type":"reference","id":434,"name":"TimeBaseClass"}}],"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":50,"character":43}]},{"id":437,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":30,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"}},{"id":492,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":441,"name":"defaultUnits","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The default units"},"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":50,"character":22}],"type":{"type":"typeParameter","name":"Unit","constraint":{"type":"intrinsic","name":"string"}},"defaultValue":"\"s\" as Unit"},{"id":488,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":498,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":499,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":496,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":497,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect and dispose."},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":58,"name":"Tone.dispose"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":83,"character":8}],"inheritedFrom":{"type":"reference","id":58,"name":"Tone.dispose"}},{"id":473,"name":"fromType","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":474,"name":"fromType","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Coerce a time type into this units type."},"parameters":[{"id":475,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"Any time type units\n"},"type":{"type":"reference","id":434,"typeArguments":[{"type":"intrinsic","name":"any"},{"type":"intrinsic","name":"any"}],"name":"TimeBaseClass"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":270,"character":9}]},{"id":482,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":483,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the value in hertz"},"type":{"type":"reference","id":41,"name":"Hertz"}}],"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":307,"character":12}]},{"id":478,"name":"toMidi","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":479,"name":"toMidi","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the value as a Midi note"},"type":{"type":"reference","id":3,"name":"MidiNote"}}],"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":297,"character":16}]},{"id":486,"name":"toMilliseconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":487,"name":"toMilliseconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the time in milliseconds."},"type":{"type":"reference","id":43,"name":"Milliseconds"}}],"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":321,"character":15}]},{"id":484,"name":"toSamples","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":485,"name":"toSamples","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the time in samples"},"type":{"type":"reference","id":40,"name":"Samples"}}],"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":314,"character":10}]},{"id":476,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":477,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the value in seconds"},"type":{"type":"reference","id":21,"name":"Seconds"}}],"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":292,"character":19}]},{"id":500,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":501,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":480,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":481,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the value into ticks"},"type":{"type":"reference","id":35,"name":"Ticks"}}],"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":302,"character":17}]},{"id":449,"name":"valueOf","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":450,"name":"valueOf","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Evaluate the time value. Returns the time in seconds."},"type":{"type":"typeParameter","name":"Type","constraint":{"type":"intrinsic","name":"number"}}}],"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":153,"character":8}]},{"id":490,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":491,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Returns all of the default options belonging to the class."},"type":{"type":"reference","id":47,"name":"BaseToneOptions"},"inheritedFrom":{"type":"reference","id":51,"name":"Tone.getDefaults"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":38,"character":19}],"inheritedFrom":{"type":"reference","id":51,"name":"Tone.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[442]},{"title":"Properties","kind":1024,"children":[437,492,441,488]},{"title":"Accessors","kind":262144,"children":[498]},{"title":"Methods","kind":2048,"children":[496,473,482,478,486,484,476,500,480,449,490]}],"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":28,"character":35}],"extendedTypes":[{"type":"reference","id":48,"name":"Tone"}],"extendedBy":[{"type":"reference","id":504,"name":"TimeClass"}]},{"id":504,"name":"TimeClass","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"TimeClass is a primitive type for encoding and decoding Time values.\nTimeClass can be passed into the parameter of any method which takes time as an argument.","tags":[{"tag":"param","text":"The time value.","param":"val"},{"tag":"param","text":"The units of the value.","param":"units"},{"tag":"example","text":"\nconst time = Tone.Time(\"4n\"); // a quarter note"}]},"typeParameter":[{"id":505,"name":"Type","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"reference","id":21,"name":"Seconds"},{"type":"reference","id":35,"name":"Ticks"}]}},{"id":506,"name":"Unit","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"string"}}],"children":[{"id":531,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":532,"name":"new TimeClass","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":533,"name":"context","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The context associated with the time value. Used to compute\nTransport and context-relative timing."},"type":{"type":"reference","id":3052,"name":"BaseContext"}},{"id":534,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The time value as a number, string or object"},"type":{"type":"reference","id":502,"name":"TimeValue"}},{"id":535,"name":"units","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Unit values\n"},"type":{"type":"reference","id":506,"name":"Unit"}}],"type":{"type":"reference","id":504,"name":"TimeClass"},"inheritedFrom":{"type":"reference","id":442,"name":"TimeBaseClass.__constructor"}}],"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":50,"character":43}],"inheritedFrom":{"type":"reference","id":442,"name":"TimeBaseClass.__constructor"}},{"id":526,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":30,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":437,"name":"TimeBaseClass.context"}},{"id":570,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":530,"name":"defaultUnits","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The default units"},"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":50,"character":22}],"type":{"type":"typeParameter","name":"Unit","constraint":{"type":"intrinsic","name":"string"}},"defaultValue":"\"s\" as Unit","inheritedFrom":{"type":"reference","id":441,"name":"TimeBaseClass.defaultUnits"}},{"id":507,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/type/Time.ts","line":18,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"TimeClass\"","overwrites":{"type":"reference","name":"Tone.name"}},{"id":567,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":576,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":577,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":574,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":575,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect and dispose."},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":58,"name":"Tone.dispose"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":83,"character":8}],"inheritedFrom":{"type":"reference","id":58,"name":"Tone.dispose"}},{"id":558,"name":"fromType","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":559,"name":"fromType","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Coerce a time type into this units type."},"parameters":[{"id":560,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"Any time type units\n"},"type":{"type":"reference","id":434,"typeArguments":[{"type":"intrinsic","name":"any"},{"type":"intrinsic","name":"any"}],"name":"TimeBaseClass"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":473,"name":"TimeBaseClass.fromType"}}],"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":270,"character":9}],"inheritedFrom":{"type":"reference","id":473,"name":"TimeBaseClass.fromType"}},{"id":510,"name":"quantize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":511,"name":"quantize","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Quantize the time by the given subdivision. Optionally add a\npercentage which will move the time value towards the ideal\nquantized value by that percentage.","tags":[{"tag":"example","text":"\nTone.Time(21).quantize(2); // returns 22\nTone.Time(0.6).quantize(\"4n\", 0.5); // returns 0.55\n"}]},"parameters":[{"id":512,"name":"subdiv","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The subdivision to quantize to"},"type":{"type":"reference","id":31,"name":"Time"}},{"id":513,"name":"percent","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"Move the time value towards the quantized value by a percentage."},"type":{"type":"intrinsic","name":"number"},"defaultValue":"1"}],"type":{"type":"typeParameter","name":"Type","constraint":{"type":"union","types":[{"type":"reference","id":21,"name":"Seconds"},{"type":"reference","id":35,"name":"Ticks"}]}}}],"sources":[{"fileName":"Tone/core/type/Time.ts","line":48,"character":9}]},{"id":516,"name":"toBarsBeatsSixteenths","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":517,"name":"toBarsBeatsSixteenths","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the time encoded as Bars:Beats:Sixteenths."},"type":{"type":"reference","id":39,"name":"BarsBeatsSixteenths"}}],"sources":[{"fileName":"Tone/core/type/Time.ts","line":94,"character":22}]},{"id":561,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":562,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the value in hertz"},"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":482,"name":"TimeBaseClass.toFrequency"}}],"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":307,"character":12}],"inheritedFrom":{"type":"reference","id":482,"name":"TimeBaseClass.toFrequency"}},{"id":522,"name":"toMidi","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":523,"name":"toMidi","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the value as a midi note."},"type":{"type":"reference","id":3,"name":"MidiNote"},"overwrites":{"type":"reference","id":478,"name":"TimeBaseClass.toMidi"}}],"sources":[{"fileName":"Tone/core/type/Time.ts","line":129,"character":7}],"overwrites":{"type":"reference","id":478,"name":"TimeBaseClass.toMidi"}},{"id":565,"name":"toMilliseconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":566,"name":"toMilliseconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the time in milliseconds."},"type":{"type":"reference","id":43,"name":"Milliseconds"},"inheritedFrom":{"type":"reference","id":486,"name":"TimeBaseClass.toMilliseconds"}}],"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":321,"character":15}],"inheritedFrom":{"type":"reference","id":486,"name":"TimeBaseClass.toMilliseconds"}},{"id":514,"name":"toNotation","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":515,"name":"toNotation","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert a Time to Notation. The notation values are will be the\nclosest representation between 1m to 128th note.","tags":[{"tag":"example","text":"\n// if the Transport is at 120bpm:\nTone.Time(2).toNotation(); // returns \"1m\"\n"}]},"type":{"type":"reference","id":28,"name":"Subdivision"}}],"sources":[{"fileName":"Tone/core/type/Time.ts","line":68,"character":11}]},{"id":563,"name":"toSamples","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":564,"name":"toSamples","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the time in samples"},"type":{"type":"reference","id":40,"name":"Samples"},"inheritedFrom":{"type":"reference","id":484,"name":"TimeBaseClass.toSamples"}}],"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":314,"character":10}],"inheritedFrom":{"type":"reference","id":484,"name":"TimeBaseClass.toSamples"}},{"id":520,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":521,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the time in seconds."},"type":{"type":"reference","id":21,"name":"Seconds"},"overwrites":{"type":"reference","id":476,"name":"TimeBaseClass.toSeconds"}}],"sources":[{"fileName":"Tone/core/type/Time.ts","line":122,"character":10}],"overwrites":{"type":"reference","id":476,"name":"TimeBaseClass.toSeconds"}},{"id":578,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":579,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":518,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":519,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the time in ticks."},"type":{"type":"reference","id":35,"name":"Ticks"},"overwrites":{"type":"reference","id":480,"name":"TimeBaseClass.toTicks"}}],"sources":[{"fileName":"Tone/core/type/Time.ts","line":113,"character":8}],"overwrites":{"type":"reference","id":480,"name":"TimeBaseClass.toTicks"}},{"id":536,"name":"valueOf","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":537,"name":"valueOf","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Evaluate the time value. Returns the time in seconds."},"type":{"type":"typeParameter","name":"Type","constraint":{"type":"union","types":[{"type":"reference","id":21,"name":"Seconds"},{"type":"reference","id":35,"name":"Ticks"}]}},"inheritedFrom":{"type":"reference","id":449,"name":"TimeBaseClass.valueOf"}}],"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":153,"character":8}],"inheritedFrom":{"type":"reference","id":449,"name":"TimeBaseClass.valueOf"}},{"id":568,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":569,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Returns all of the default options belonging to the class."},"type":{"type":"reference","id":47,"name":"BaseToneOptions"},"inheritedFrom":{"type":"reference","id":51,"name":"Tone.getDefaults"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":38,"character":19}],"inheritedFrom":{"type":"reference","id":51,"name":"Tone.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[531]},{"title":"Properties","kind":1024,"children":[526,570,530,507,567]},{"title":"Accessors","kind":262144,"children":[576]},{"title":"Methods","kind":2048,"children":[574,558,510,516,561,522,565,514,563,520,578,518,536,568]}],"sources":[{"fileName":"Tone/core/type/Time.ts","line":15,"character":22}],"extendedTypes":[{"type":"reference","id":434,"typeArguments":[{"type":"typeParameter","name":"Type","constraint":{"type":"union","types":[{"type":"reference","id":21,"name":"Seconds"},{"type":"reference","id":35,"name":"Ticks"}]}},{"type":"typeParameter","name":"Unit","constraint":{"type":"intrinsic","name":"string"}}],"name":"TimeBaseClass"}],"extendedBy":[{"type":"reference","id":1681,"name":"TransportTimeClass"},{"type":"reference","id":4656,"name":"FrequencyClass"}]},{"id":244,"name":"Timeline","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A Timeline class for scheduling and maintaining state\nalong a timeline. All events must have a \"time\" property.\nInternally, events are stored in time order for fast\nretrieval."},"typeParameter":[{"id":245,"name":"GenericEvent","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"reference","id":242,"name":"TimelineEvent"}}],"children":[{"id":250,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":251,"name":"new Timeline","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":252,"name":"memory","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The number of previous events that are retained.\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}}],"type":{"type":"reference","id":244,"name":"Timeline"}},{"id":253,"name":"new Timeline","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":254,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":239,"name":"TimelineOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":244,"name":"Timeline"}}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":49,"character":21},{"fileName":"Tone/core/util/Timeline.ts","line":54,"character":30},{"fileName":"Tone/core/util/Timeline.ts","line":55,"character":49}]},{"id":346,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":249,"name":"increasing","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"If the time value must always be greater than or equal to the last\nelement on the list."},"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":49,"character":11}],"type":{"type":"intrinsic","name":"boolean"}},{"id":247,"name":"memory","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The memory of the timeline, i.e.\nhow many events in the past it will retain"},"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":38,"character":7}],"type":{"type":"intrinsic","name":"number"}},{"id":246,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":32,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Timeline\"","overwrites":{"type":"reference","name":"Tone.name"}},{"id":345,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":350,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":351,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":257,"name":"length","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of items in the timeline."},"getSignature":[{"id":258,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of items in the timeline."},"type":{"type":"intrinsic","name":"number"}}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":74,"character":11}]},{"id":259,"name":"add","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":260,"name":"add","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Insert an event object onto the timeline. Events must have a \"time\" attribute."},"parameters":[{"id":261,"name":"event","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The event object to insert into the timeline.\n"},"type":{"type":"typeParameter","name":"GenericEvent","constraint":{"type":"reference","id":242,"name":"TimelineEvent"}}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":82,"character":4}]},{"id":280,"name":"cancel","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":281,"name":"cancel","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Cancel events at and after the given time"},"parameters":[{"id":282,"name":"after","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The time to query.\n"},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":178,"character":7}]},{"id":283,"name":"cancelBefore","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":284,"name":"cancelBefore","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Cancel events before or equal to the given time."},"parameters":[{"id":285,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The time to cancel before.\n"},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":211,"character":13}]},{"id":343,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":344,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Clean up."},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":58,"name":"Tone.dispose"}}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":394,"character":8}],"overwrites":{"type":"reference","id":58,"name":"Tone.dispose"}},{"id":301,"name":"forEach","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":302,"name":"forEach","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Iterate over everything in the array"},"parameters":[{"id":303,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The callback to invoke with every item\n"},"type":{"type":"reflection","declaration":{"id":304,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":305,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":306,"name":"event","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"typeParameter","name":"GenericEvent","constraint":{"type":"reference","id":242,"name":"TimelineEvent"}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":293,"character":18}]}}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":293,"character":8}]},{"id":314,"name":"forEachAfter","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":315,"name":"forEachAfter","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Iterate over everything in the array after the given time."},"parameters":[{"id":316,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The time to check if items are before"},"type":{"type":"reference","id":21,"name":"Seconds"}},{"id":317,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The callback to invoke with every item\n"},"type":{"type":"reflection","declaration":{"id":318,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":319,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":320,"name":"event","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"typeParameter","name":"GenericEvent","constraint":{"type":"reference","id":242,"name":"TimelineEvent"}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":317,"character":38}]}}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":317,"character":13}]},{"id":336,"name":"forEachAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":337,"name":"forEachAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Iterate over everything in the array at the given time"},"parameters":[{"id":338,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The time to check if items are before"},"type":{"type":"intrinsic","name":"number"}},{"id":339,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The callback to invoke with every item\n"},"type":{"type":"reflection","declaration":{"id":340,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":341,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":342,"name":"event","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"typeParameter","name":"GenericEvent","constraint":{"type":"reference","id":242,"name":"TimelineEvent"}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":372,"character":38}]}}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":372,"character":14}]},{"id":307,"name":"forEachBefore","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":308,"name":"forEachBefore","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Iterate over everything in the array at or before the given time."},"parameters":[{"id":309,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The time to check if items are before"},"type":{"type":"reference","id":21,"name":"Seconds"}},{"id":310,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The callback to invoke with every item\n"},"type":{"type":"reflection","declaration":{"id":311,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":312,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":313,"name":"event","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"typeParameter","name":"GenericEvent","constraint":{"type":"reference","id":242,"name":"TimelineEvent"}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":303,"character":39}]}}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":303,"character":14}]},{"id":321,"name":"forEachBetween","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":322,"name":"forEachBetween","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Iterate over everything in the array between the startTime and endTime.\nThe timerange is inclusive of the startTime, but exclusive of the endTime.\nrange = [startTime, endTime)."},"parameters":[{"id":323,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The time to check if items are before"},"type":{"type":"intrinsic","name":"number"}},{"id":324,"name":"endTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The end of the test interval."},"type":{"type":"intrinsic","name":"number"}},{"id":325,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The callback to invoke with every item\n"},"type":{"type":"reflection","declaration":{"id":326,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":327,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":328,"name":"event","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"typeParameter","name":"GenericEvent","constraint":{"type":"reference","id":242,"name":"TimelineEvent"}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":332,"character":61}]}}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":332,"character":15}]},{"id":329,"name":"forEachFrom","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":330,"name":"forEachFrom","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Iterate over everything in the array at or after the given time. Similar to\nforEachAfter, but includes the item(s) at the given time."},"parameters":[{"id":331,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The time to check if items are before"},"type":{"type":"intrinsic","name":"number"}},{"id":332,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The callback to invoke with every item\n"},"type":{"type":"reflection","declaration":{"id":333,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":334,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":335,"name":"event","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"typeParameter","name":"GenericEvent","constraint":{"type":"reference","id":242,"name":"TimelineEvent"}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":356,"character":36}]}}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":356,"character":12}]},{"id":265,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":266,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the nearest event whose time is less than or equal to the given time."},"parameters":[{"id":267,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The time to query.\n"},"type":{"type":"intrinsic","name":"number"}},{"id":268,"name":"param","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":354,"name":"TimelineSearchParam"},"defaultValue":"\"time\""}],"type":{"type":"union","types":[{"type":"typeParameter","name":"GenericEvent","constraint":{"type":"reference","id":242,"name":"TimelineEvent"}},{"type":"intrinsic","name":"null"}]}}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":119,"character":4}]},{"id":273,"name":"getAfter","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":274,"name":"getAfter","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the event which is scheduled after the given time."},"parameters":[{"id":275,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The time to query.\n"},"type":{"type":"intrinsic","name":"number"}},{"id":276,"name":"param","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":354,"name":"TimelineSearchParam"},"defaultValue":"\"time\""}],"type":{"type":"union","types":[{"type":"typeParameter","name":"GenericEvent","constraint":{"type":"reference","id":242,"name":"TimelineEvent"}},{"type":"intrinsic","name":"null"}]}}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":147,"character":9}]},{"id":277,"name":"getBefore","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":278,"name":"getBefore","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the event before the event at the given time."},"parameters":[{"id":279,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The time to query.\n"},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"union","types":[{"type":"typeParameter","name":"GenericEvent","constraint":{"type":"reference","id":242,"name":"TimelineEvent"}},{"type":"intrinsic","name":"null"}]}}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":160,"character":10}]},{"id":269,"name":"peek","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":270,"name":"peek","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the first event in the timeline without removing it","returns":"The first event object\n"},"type":{"type":"union","types":[{"type":"typeParameter","name":"GenericEvent","constraint":{"type":"reference","id":242,"name":"TimelineEvent"}},{"type":"intrinsic","name":"undefined"}]}}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":132,"character":5}]},{"id":286,"name":"previousEvent","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":287,"name":"previousEvent","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Returns the previous event if there is one. null otherwise","returns":"The event right before the given event\n"},"parameters":[{"id":288,"name":"event","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The event to find the previous one of"},"type":{"type":"typeParameter","name":"GenericEvent","constraint":{"type":"reference","id":242,"name":"TimelineEvent"}}}],"type":{"type":"union","types":[{"type":"typeParameter","name":"GenericEvent","constraint":{"type":"reference","id":242,"name":"TimelineEvent"}},{"type":"intrinsic","name":"null"}]}}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":224,"character":14}]},{"id":262,"name":"remove","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":263,"name":"remove","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Remove an event from the timeline.","returns":"this\n"},"parameters":[{"id":264,"name":"event","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The event object to remove from the list."},"type":{"type":"typeParameter","name":"GenericEvent","constraint":{"type":"reference","id":242,"name":"TimelineEvent"}}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":107,"character":7}]},{"id":271,"name":"shift","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":272,"name":"shift","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the first event in the timeline and remove it"},"type":{"type":"union","types":[{"type":"typeParameter","name":"GenericEvent","constraint":{"type":"reference","id":242,"name":"TimelineEvent"}},{"type":"intrinsic","name":"undefined"}]}}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":139,"character":6}]},{"id":352,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":353,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":255,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":256,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":239,"name":"TimelineOptions"},"overwrites":{"type":"reference","id":51,"name":"Tone.getDefaults"}}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":64,"character":19}],"overwrites":{"type":"reference","id":51,"name":"Tone.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[250]},{"title":"Properties","kind":1024,"children":[346,249,247,246,345]},{"title":"Accessors","kind":262144,"children":[350,257]},{"title":"Methods","kind":2048,"children":[259,280,283,343,301,314,336,307,321,329,265,273,277,269,286,262,271,352,255]}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":30,"character":21}],"extendedTypes":[{"type":"reference","id":48,"name":"Tone"}],"extendedBy":[{"type":"reference","id":587,"name":"StateTimeline"}]},{"id":711,"name":"TimelineValue","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Represents a single value which is gettable and settable in a timed way"},"typeParameter":[{"id":712,"name":"Type","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}}],"children":[{"id":716,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":717,"name":"new TimelineValue","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":718,"name":"initialValue","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The value to return if there is no scheduled values\n"},"type":{"type":"typeParameter","name":"Type"}}],"type":{"type":"reference","id":711,"name":"TimelineValue"}}],"sources":[{"fileName":"Tone/core/util/TimelineValue.ts","line":24,"character":29}]},{"id":729,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":713,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/util/TimelineValue.ts","line":14,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"TimelineValue\"","overwrites":{"type":"reference","name":"Tone.name"}},{"id":726,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":735,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":736,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":733,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":734,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect and dispose."},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":58,"name":"Tone.dispose"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":83,"character":8}],"inheritedFrom":{"type":"reference","id":58,"name":"Tone.dispose"}},{"id":723,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":724,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the value at the given time"},"parameters":[{"id":725,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":21,"name":"Seconds"}}],"type":{"type":"typeParameter","name":"Type"}}],"sources":[{"fileName":"Tone/core/util/TimelineValue.ts","line":48,"character":4}]},{"id":719,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":720,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set the value at the given time"},"parameters":[{"id":721,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"typeParameter","name":"Type"}},{"id":722,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":21,"name":"Seconds"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/util/TimelineValue.ts","line":38,"character":4}]},{"id":737,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":738,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":727,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":728,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Returns all of the default options belonging to the class."},"type":{"type":"reference","id":47,"name":"BaseToneOptions"},"inheritedFrom":{"type":"reference","id":51,"name":"Tone.getDefaults"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":38,"character":19}],"inheritedFrom":{"type":"reference","id":51,"name":"Tone.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[716]},{"title":"Properties","kind":1024,"children":[729,713,726]},{"title":"Accessors","kind":262144,"children":[735]},{"title":"Methods","kind":2048,"children":[733,723,719,737,727]}],"sources":[{"fileName":"Tone/core/util/TimelineValue.ts","line":12,"character":26}],"extendedTypes":[{"type":"reference","id":48,"name":"Tone"}]},{"id":48,"name":"Tone","kind":128,"kindString":"Class","flags":{"isExported":true,"isAbstract":true},"comment":{"shortText":"The exported Tone object. Contains all of the classes that default\nto the same context and contains a singleton Transport and Destination node."},"children":[{"id":53,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false"},{"id":49,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version"},{"id":60,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":61,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}]},{"id":58,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":59,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect and dispose."},"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":83,"character":8}]},{"id":62,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":63,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}]},{"id":51,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":52,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Returns all of the default options belonging to the class."},"type":{"type":"reference","id":47,"name":"BaseToneOptions"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":38,"character":19}]}],"groups":[{"title":"Properties","kind":1024,"children":[53,49]},{"title":"Accessors","kind":262144,"children":[60]},{"title":"Methods","kind":2048,"children":[58,62,51]}],"sources":[{"fileName":"Tone/core/Tone.ts","line":23,"character":26},{"fileName":"Tone/fromContext.ts","line":21,"character":9}],"type":{"type":"intersection","types":[{"type":"reflection","declaration":{"id":20053,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"children":[{"id":20055,"name":"Destination","kind":32,"kindString":"Variable","flags":{"isExported":true},"sources":[{"fileName":"Tone/fromContext.ts","line":23,"character":12}],"type":{"type":"reference","id":2545,"name":"Destination"}},{"id":20057,"name":"Draw","kind":32,"kindString":"Variable","flags":{"isExported":true},"sources":[{"fileName":"Tone/fromContext.ts","line":25,"character":5}],"type":{"type":"reference","name":"Draw"}},{"id":20056,"name":"Listener","kind":32,"kindString":"Variable","flags":{"isExported":true},"sources":[{"fileName":"Tone/fromContext.ts","line":24,"character":9}],"type":{"type":"reference","id":2647,"name":"Listener"}},{"id":20054,"name":"Transport","kind":32,"kindString":"Variable","flags":{"isExported":true},"sources":[{"fileName":"Tone/fromContext.ts","line":22,"character":10}],"type":{"type":"reference","name":"Transport"}},{"id":20058,"name":"context","kind":32,"kindString":"Variable","flags":{"isExported":true},"sources":[{"fileName":"Tone/fromContext.ts","line":26,"character":8}],"type":{"type":"reference","id":2755,"name":"Context"}},{"id":20062,"name":"immediate","kind":32,"kindString":"Variable","flags":{"isExported":true},"sources":[{"fileName":"Tone/fromContext.ts","line":28,"character":10}],"type":{"type":"reflection","declaration":{"id":20063,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":20064,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"sources":[{"fileName":"Tone/fromContext.ts","line":28,"character":11}]}}},{"id":20059,"name":"now","kind":32,"kindString":"Variable","flags":{"isExported":true},"sources":[{"fileName":"Tone/fromContext.ts","line":27,"character":4}],"type":{"type":"reflection","declaration":{"id":20060,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":20061,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"sources":[{"fileName":"Tone/fromContext.ts","line":27,"character":5}]}}}],"groups":[{"title":"Variables","kind":32,"children":[20055,20057,20056,20054,20058,20062,20059]}],"sources":[{"fileName":"Tone/fromContext.ts","line":21,"character":11}]}},{"type":"reference","id":20052,"name":"ClassesWithoutSingletons"}]},"extendedBy":[{"type":"reference","id":101,"name":"Emitter"},{"type":"reference","id":244,"name":"Timeline"},{"type":"reference","id":434,"name":"TimeBaseClass"},{"type":"reference","id":711,"name":"TimelineValue"},{"type":"reference","id":1845,"name":"IntervalTimeline"},{"type":"reference","id":4362,"name":"ToneAudioBuffer"},{"type":"reference","id":4793,"name":"ToneWithContext"},{"type":"reference","id":5411,"name":"ToneAudioBuffers"}]},{"id":4362,"name":"ToneAudioBuffer","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"AudioBuffer loading and storage. ToneAudioBuffer is used internally by all\nclasses that make requests for audio files such as Tone.Player,\nTone.Sampler and Tone.Convolver.","tags":[{"tag":"example","text":"\nconst buffer = new Tone.ToneAudioBuffer(\"https://tonejs.github.io/audio/casio/A1.mp3\", () => {\n\tconsole.log(\"loaded\");\n});"}]},"children":[{"id":4370,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":4371,"name":"new ToneAudioBuffer","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":4372,"name":"url","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The url to load, or the audio buffer to set."},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","id":4362,"name":"ToneAudioBuffer"},{"type":"reference","name":"AudioBuffer"}]}},{"id":4373,"name":"onload","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"A callback which is invoked after the buffer is loaded.\n                          It's recommended to use `ToneAudioBuffer.on('load', callback)` instead\n                          since it will give you a callback when _all_ buffers are loaded."},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"reflection","declaration":{"id":4374,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":4375,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4376,"name":"buffer","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":4362,"name":"ToneAudioBuffer"}}],"type":{"type":"intrinsic","name":"void"}}]}}]}},{"id":4377,"name":"onerror","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The callback to invoke if there is an error\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"reflection","declaration":{"id":4378,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":4379,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4380,"name":"error","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Error"}}],"type":{"type":"intrinsic","name":"void"}}]}}]}}],"type":{"type":"reference","id":4362,"name":"ToneAudioBuffer"}},{"id":4381,"name":"new ToneAudioBuffer","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":4382,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":4351,"name":"ToneAudioBufferOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":4362,"name":"ToneAudioBuffer"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioBuffer.ts","line":44,"character":50},{"fileName":"Tone/core/context/ToneAudioBuffer.ts","line":58,"character":3},{"fileName":"Tone/core/context/ToneAudioBuffer.ts","line":59,"character":56}]},{"id":4444,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":4363,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/context/ToneAudioBuffer.ts","line":29,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"ToneAudioBuffer\"","overwrites":{"type":"reference","name":"Tone.name"}},{"id":4366,"name":"onload","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Callback when the buffer is loaded."},"sources":[{"fileName":"Tone/core/context/ToneAudioBuffer.ts","line":44,"character":7}],"type":{"type":"reflection","declaration":{"id":4367,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":4368,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4369,"name":"buffer","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":4362,"name":"ToneAudioBuffer"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioBuffer.ts","line":44,"character":8}]}},"defaultValue":"noOp"},{"id":4427,"name":"baseUrl","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"A path which is prefixed before every url."},"sources":[{"fileName":"Tone/core/context/ToneAudioBuffer.ts","line":326,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"\""},{"id":4434,"name":"downloads","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"All of the downloads"},"sources":[{"fileName":"Tone/core/context/ToneAudioBuffer.ts","line":351,"character":17}],"type":{"type":"reference","typeArguments":[{"type":"reference","typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise"}],"name":"Array"},"defaultValue":"[]"},{"id":4443,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":4448,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":4449,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":4417,"name":"duration","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration of the buffer in seconds."},"getSignature":[{"id":4418,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration of the buffer in seconds."},"type":{"type":"reference","id":21,"name":"Seconds"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioBuffer.ts","line":276,"character":13}]},{"id":4419,"name":"length","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The length of the buffer in samples"},"getSignature":[{"id":4420,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The length of the buffer in samples"},"type":{"type":"reference","id":40,"name":"Samples"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioBuffer.ts","line":287,"character":11}]},{"id":4415,"name":"loaded","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"If the buffer is loaded or not"},"getSignature":[{"id":4416,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"If the buffer is loaded or not"},"type":{"type":"intrinsic","name":"boolean"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioBuffer.ts","line":269,"character":11}]},{"id":4421,"name":"numberOfChannels","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of discrete audio channels. Returns 0 if no buffer is loaded."},"getSignature":[{"id":4422,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of discrete audio channels. Returns 0 if no buffer is loaded."},"type":{"type":"intrinsic","name":"number"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioBuffer.ts","line":298,"character":21}]},{"id":4423,"name":"reverse","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Reverse the buffer."},"getSignature":[{"id":4424,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Reverse the buffer."},"type":{"type":"intrinsic","name":"boolean"}}],"setSignature":[{"id":4425,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"Reverse the buffer."},"parameters":[{"id":4426,"name":"rev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioBuffer.ts","line":309,"character":12},{"fileName":"Tone/core/context/ToneAudioBuffer.ts","line":312,"character":12}]},{"id":4385,"name":"sampleRate","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The sample rate of the AudioBuffer"},"getSignature":[{"id":4386,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The sample rate of the AudioBuffer"},"type":{"type":"intrinsic","name":"number"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioBuffer.ts","line":88,"character":15}]},{"id":4395,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4396,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"clean up"},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":58,"name":"Tone.dispose"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioBuffer.ts","line":154,"character":8}],"overwrites":{"type":"reference","id":58,"name":"Tone.dispose"}},{"id":4397,"name":"fromArray","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4398,"name":"fromArray","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set the audio buffer from the array.\nTo create a multichannel AudioBuffer, pass in a multidimensional array."},"parameters":[{"id":4399,"name":"array","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The array to fill the audio buffer\n"},"type":{"type":"union","types":[{"type":"reference","name":"Float32Array"},{"type":"array","elementType":{"type":"reference","name":"Float32Array"}}]}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioBuffer.ts","line":165,"character":10}]},{"id":4390,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4391,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"The audio buffer stored in the object."},"type":{"type":"union","types":[{"type":"reference","name":"AudioBuffer"},{"type":"intrinsic","name":"undefined"}]}}],"sources":[{"fileName":"Tone/core/context/ToneAudioBuffer.ts","line":124,"character":4}]},{"id":4406,"name":"getChannelData","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4407,"name":"getChannelData","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Returns the Float32Array representing the PCM audio data for the specific channel.","returns":"The audio as a TypedArray\n"},"parameters":[{"id":4408,"name":"channel","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The channel number to return"},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","name":"Float32Array"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioBuffer.ts","line":228,"character":15}]},{"id":4392,"name":"load","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4393,"name":"load","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Makes an fetch request for the selected url then decodes the file as an audio buffer.\nInvokes the callback once the audio buffer loads.","returns":"A Promise which resolves with this ToneAudioBuffer\n"},"parameters":[{"id":4394,"name":"url","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The url of the buffer to load. filetype support depends on the browser."},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","typeArguments":[{"type":"intrinsic","name":"this"}],"name":"Promise"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioBuffer.ts","line":134,"character":11}]},{"id":4387,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4388,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Pass in an AudioBuffer or ToneAudioBuffer to set the value of this buffer."},"parameters":[{"id":4389,"name":"buffer","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"reference","name":"AudioBuffer"},{"type":"reference","id":4362,"name":"ToneAudioBuffer"}]}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioBuffer.ts","line":99,"character":4}]},{"id":4409,"name":"slice","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4410,"name":"slice","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Cut a subsection of the array and return a buffer of the\nsubsection. Does not modify the original buffer"},"parameters":[{"id":4411,"name":"start","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The time to start the slice"},"type":{"type":"reference","id":21,"name":"Seconds"}},{"id":4412,"name":"end","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The end time to slice. If none is given will default to the end of the buffer\n"},"type":{"type":"reference","id":21,"name":"Seconds"},"defaultValue":"this.duration"}],"type":{"type":"reference","id":4362,"name":"ToneAudioBuffer"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioBuffer.ts","line":242,"character":6}]},{"id":4403,"name":"toArray","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4404,"name":"toArray","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the buffer as an array. Single channel buffers will return a 1-dimensional\nFloat32Array, and multichannel buffers will return multidimensional arrays."},"parameters":[{"id":4405,"name":"channel","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"Optionally only copy a single channel from the array.\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}}],"type":{"type":"union","types":[{"type":"reference","name":"Float32Array"},{"type":"array","elementType":{"type":"reference","name":"Float32Array"}}]}}],"sources":[{"fileName":"Tone/core/context/ToneAudioBuffer.ts","line":209,"character":8}]},{"id":4400,"name":"toMono","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4401,"name":"toMono","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Sums multiple channels into 1 channel"},"parameters":[{"id":4402,"name":"chanNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"Optionally only copy a single channel from the array.\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioBuffer.ts","line":185,"character":7}]},{"id":4450,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4451,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":4428,"name":"fromArray","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":4429,"name":"fromArray","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Create a ToneAudioBuffer from the array. To create a multichannel AudioBuffer,\npass in a multidimensional array.","returns":"A ToneAudioBuffer created from the array\n"},"parameters":[{"id":4430,"name":"array","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The array to fill the audio buffer"},"type":{"type":"union","types":[{"type":"reference","name":"Float32Array"},{"type":"array","elementType":{"type":"reference","name":"Float32Array"}}]}}],"type":{"type":"reference","id":4362,"name":"ToneAudioBuffer"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioBuffer.ts","line":334,"character":17}]},{"id":4431,"name":"fromUrl","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":4432,"name":"fromUrl","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Creates a ToneAudioBuffer from a URL, returns a promise which resolves to a ToneAudioBuffer","returns":"A promise which resolves to a ToneAudioBuffer\n"},"parameters":[{"id":4433,"name":"url","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The url to load."},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","typeArguments":[{"type":"reference","id":4362,"name":"ToneAudioBuffer"}],"name":"Promise"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioBuffer.ts","line":343,"character":21}]},{"id":4383,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":4384,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":4351,"name":"ToneAudioBufferOptions"},"overwrites":{"type":"reference","id":51,"name":"Tone.getDefaults"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioBuffer.ts","line":77,"character":19}],"overwrites":{"type":"reference","id":51,"name":"Tone.getDefaults"}},{"id":4435,"name":"load","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":4436,"name":"load","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Loads a url using fetch and returns the AudioBuffer."},"parameters":[{"id":4437,"name":"url","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","typeArguments":[{"type":"reference","name":"AudioBuffer"}],"name":"Promise"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioBuffer.ts","line":356,"character":18}]},{"id":4441,"name":"loaded","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":4442,"name":"loaded","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Returns a Promise which resolves when all of the buffers have loaded"},"type":{"type":"reference","typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioBuffer.ts","line":404,"character":20}]},{"id":4438,"name":"supportsType","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":4439,"name":"supportsType","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Checks a url's extension to see if the current browser can play that file type.","returns":"If the file extension can be played","tags":[{"tag":"static","text":""},{"tag":"example","text":"\nTone.ToneAudioBuffer.supportsType(\"wav\"); // returns true\nTone.ToneAudioBuffer.supportsType(\"path/to/file.wav\"); // returns true\n"}]},"parameters":[{"id":4440,"name":"url","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The url/extension to test"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"boolean"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioBuffer.ts","line":394,"character":20}]}],"groups":[{"title":"Constructors","kind":512,"children":[4370]},{"title":"Properties","kind":1024,"children":[4444,4363,4366,4427,4434,4443]},{"title":"Accessors","kind":262144,"children":[4448,4417,4419,4415,4421,4423,4385]},{"title":"Methods","kind":2048,"children":[4395,4397,4390,4406,4392,4387,4409,4403,4400,4450,4428,4431,4383,4435,4441,4438]}],"sources":[{"fileName":"Tone/core/context/ToneAudioBuffer.ts","line":27,"character":28}],"extendedTypes":[{"type":"reference","id":48,"name":"Tone"}]},{"id":5411,"name":"ToneAudioBuffers","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A data structure for holding multiple buffers in a Map-like datastructure.","tags":[{"tag":"example","text":"\nconst pianoSamples = new Tone.ToneAudioBuffers({\n\tA1: \"https://tonejs.github.io/audio/casio/A1.mp3\",\n\tA2: \"https://tonejs.github.io/audio/casio/A2.mp3\",\n}, () => {\n\tconst player = new Tone.Player().toDestination();\n\t// play one of the samples when they all load\n\tplayer.buffer = pianoSamples.get(\"A2\");\n\tplayer.start();\n});"},{"tag":"example","text":"\n// To pass in additional parameters in the second parameter\nconst buffers = new Tone.ToneAudioBuffers({\n\t urls: {\n\t\t A1: \"A1.mp3\",\n\t\t A2: \"A2.mp3\",\n\t },\n\t onload: () => console.log(\"loaded\"),\n\t baseUrl: \"https://tonejs.github.io/audio/casio/\"\n});"}]},"children":[{"id":5416,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":5417,"name":"new ToneAudioBuffers","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":5418,"name":"urls","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"An object literal or array of urls to load."},"type":{"type":"reference","id":5396,"name":"ToneAudioBuffersUrlMap"}},{"id":5419,"name":"onload","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The callback to invoke when the buffers are loaded."},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"reflection","declaration":{"id":5420,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":5421,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"void"}}]}}]}},{"id":5422,"name":"baseUrl","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"A prefix url to add before all the urls\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"string"}]}}],"type":{"type":"reference","id":5411,"name":"ToneAudioBuffers"}},{"id":5423,"name":"new ToneAudioBuffers","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":5424,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":5401,"name":"ToneAudioBuffersOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":5411,"name":"ToneAudioBuffers"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioBuffers.ts","line":62,"character":27},{"fileName":"Tone/core/context/ToneAudioBuffers.ts","line":73,"character":3},{"fileName":"Tone/core/context/ToneAudioBuffers.ts","line":74,"character":57}]},{"id":5414,"name":"baseUrl","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"A path which is prefixed before every url."},"sources":[{"fileName":"Tone/core/context/ToneAudioBuffers.ts","line":57,"character":8}],"type":{"type":"intrinsic","name":"string"}},{"id":5454,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":5412,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/context/ToneAudioBuffers.ts","line":47,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"ToneAudioBuffers\"","overwrites":{"type":"reference","name":"Tone.name"}},{"id":5453,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":5458,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":5459,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":5438,"name":"loaded","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"If the buffers are loaded or not"},"getSignature":[{"id":5439,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"If the buffers are loaded or not"},"type":{"type":"intrinsic","name":"boolean"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioBuffers.ts","line":132,"character":11}]},{"id":5440,"name":"add","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5441,"name":"add","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Add a buffer by name and url to the Buffers"},"parameters":[{"id":5442,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"A unique name to give the buffer"},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"number"}]}},{"id":5443,"name":"url","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"Either the url of the bufer, or a buffer which will be added with the given name."},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"AudioBuffer"},{"type":"reference","id":4362,"name":"ToneAudioBuffer"}]}},{"id":5444,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The callback to invoke when the url is loaded."},"type":{"type":"reflection","declaration":{"id":5445,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":5446,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioBuffers.ts","line":146,"character":11}]}},"defaultValue":"noOp"},{"id":5447,"name":"onerror","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"Invoked if the buffer can't be loaded\n"},"type":{"type":"reflection","declaration":{"id":5448,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":5449,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":5450,"name":"e","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Error"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioBuffers.ts","line":147,"character":10}]}},"defaultValue":"noOp"}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioBuffers.ts","line":143,"character":4}]},{"id":5451,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5452,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":58,"name":"Tone.dispose"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioBuffers.ts","line":157,"character":8}],"overwrites":{"type":"reference","id":58,"name":"Tone.dispose"}},{"id":5430,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5431,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get a buffer by name. If an array was loaded,\nthen use the array index."},"parameters":[{"id":5432,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The key or index of the buffer.\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"number"}]}}],"type":{"type":"reference","id":4362,"name":"ToneAudioBuffer"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioBuffers.ts","line":114,"character":4}]},{"id":5427,"name":"has","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5428,"name":"has","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"True if the buffers object has a buffer by that name."},"parameters":[{"id":5429,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The key or index of the buffer.\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"number"}]}}],"type":{"type":"intrinsic","name":"boolean"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioBuffers.ts","line":105,"character":4}]},{"id":5460,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5461,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":5425,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":5426,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":5401,"name":"ToneAudioBuffersOptions"},"overwrites":{"type":"reference","id":51,"name":"Tone.getDefaults"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioBuffers.ts","line":92,"character":19}],"overwrites":{"type":"reference","id":51,"name":"Tone.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[5416]},{"title":"Properties","kind":1024,"children":[5414,5454,5412,5453]},{"title":"Accessors","kind":262144,"children":[5458,5438]},{"title":"Methods","kind":2048,"children":[5440,5451,5430,5427,5460,5425]}],"sources":[{"fileName":"Tone/core/context/ToneAudioBuffers.ts","line":45,"character":29}],"extendedTypes":[{"type":"reference","id":48,"name":"Tone"}]},{"id":1004,"name":"ToneAudioNode","kind":128,"kindString":"Class","flags":{"isExported":true,"isAbstract":true},"comment":{"shortText":"ToneAudioNode is the base class for classes which process audio."},"typeParameter":[{"id":1005,"name":"Options","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"}}],"children":[{"id":1060,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Pass in a constructor as the first argument"},"signatures":[{"id":1061,"name":"new ToneAudioNode","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{"shortText":"Pass in a constructor as the first argument"},"parameters":[{"id":1062,"name":"context","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":3052,"name":"BaseContext"}}],"type":{"type":"reference","id":1004,"name":"ToneAudioNode"},"inheritedFrom":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":1063,"name":"new ToneAudioNode","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{"shortText":"Pass in a constructor as the first argument"},"parameters":[{"id":1064,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":1004,"name":"ToneAudioNode"},"inheritedFrom":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":34,"character":39},{"fileName":"Tone/core/context/ToneWithContext.ts","line":39,"character":35},{"fileName":"Tone/core/context/ToneWithContext.ts","line":40,"character":56}],"inheritedFrom":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":1058,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":1093,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":1007,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isAbstract":true},"comment":{"shortText":"The input node or nodes. If the object is a source,\nit does not have any input and this.input is undefined."},"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":36,"character":15}],"type":{"type":"union","types":[{"type":"reference","id":1101,"name":"InputNode"},{"type":"intrinsic","name":"undefined"}]}},{"id":1006,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isAbstract":true,"isReadonly":true},"comment":{"shortText":"The name of the class"},"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":30,"character":23}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"ToneAudioNode\"","overwrites":{"type":"reference","name":"Tone.name"}},{"id":1008,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isAbstract":true},"comment":{"shortText":"The output nodes. If the object is a sink,\nit does not have any output and this.output is undefined."},"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":42,"character":16}],"type":{"type":"union","types":[{"type":"reference","id":1102,"name":"OutputNode"},{"type":"intrinsic","name":"undefined"}]}},{"id":1092,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":1073,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":1074,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":1024,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":1025,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"}}],"setSignature":[{"id":1026,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":1027,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}]},{"id":1028,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":1029,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"}}],"setSignature":[{"id":1030,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":1031,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}]},{"id":1032,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":1033,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"}}],"setSignature":[{"id":1034,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":1035,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}]},{"id":1097,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":1098,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":1009,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":1010,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}]},{"id":1011,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":1012,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}]},{"id":1071,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":1072,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":1050,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1051,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":1052,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}]},{"id":1036,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1037,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":1038,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":1039,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":1040,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}]},{"id":1045,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1046,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":1047,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":1048,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":1049,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}]},{"id":1056,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1057,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Dispose and disconnect"},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":58,"name":"Tone.dispose"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":263,"character":8}],"overwrites":{"type":"reference","id":58,"name":"Tone.dispose"}},{"id":1053,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1054,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":1055,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}]},{"id":1087,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1088,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"}},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":1069,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1070,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":1067,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1068,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":1089,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1090,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":1091,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"}}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":1041,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1042,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}]},{"id":1078,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1079,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":1080,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":1043,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1044,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}]},{"id":1075,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1076,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":1077,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":1099,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1100,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":1081,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1082,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":1083,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":1065,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":1066,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":4791,"name":"ToneWithContextOptions"},"overwrites":{"type":"reference","id":51,"name":"Tone.getDefaults"},"inheritedFrom":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":51,"character":19}],"overwrites":{"type":"reference","id":51,"name":"Tone.getDefaults"},"inheritedFrom":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[1060]},{"title":"Properties","kind":1024,"children":[1058,1093,1007,1006,1008,1092]},{"title":"Accessors","kind":262144,"children":[1073,1024,1028,1032,1097,1009,1011,1071]},{"title":"Methods","kind":2048,"children":[1050,1036,1045,1056,1053,1087,1069,1067,1089,1041,1078,1043,1075,1099,1081,1065]}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":24,"character":35}],"extendedTypes":[{"type":"reference","id":4793,"typeArguments":[{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"}}],"name":"ToneWithContext"}],"extendedBy":[{"type":"reference","id":1143,"name":"Gain"},{"type":"reference","id":1239,"name":"OneShotSource"},{"type":"reference","id":1503,"name":"Signal"},{"type":"reference","id":2449,"name":"Volume"},{"type":"reference","id":2545,"name":"Destination"},{"type":"reference","id":2647,"name":"Listener"},{"type":"reference","id":5295,"name":"Delay"},{"type":"reference","id":5563,"name":"Source"},{"type":"reference","id":6065,"name":"UserMedia"},{"type":"reference","id":6907,"name":"SignalOperator"},{"type":"reference","id":8745,"name":"LFO"},{"type":"reference","id":9126,"name":"Players"},{"type":"reference","id":10546,"name":"Envelope"},{"type":"reference","id":10707,"name":"Instrument"},{"type":"reference","id":11519,"name":"BiquadFilter"},{"type":"reference","id":11618,"name":"Filter"},{"type":"reference","id":12746,"name":"ToneAudioWorklet"},{"type":"reference","id":12959,"name":"OnePoleFilter"},{"type":"reference","id":13068,"name":"LowpassCombFilter"},{"type":"reference","id":14368,"name":"CrossFade"},{"type":"reference","id":14463,"name":"Effect"},{"type":"reference","id":14803,"name":"Panner"},{"type":"reference","id":15011,"name":"Follower"},{"type":"reference","id":15550,"name":"Split"},{"type":"reference","id":15640,"name":"Merge"},{"type":"reference","id":15727,"name":"StereoEffect"},{"type":"reference","id":16376,"name":"PhaseShiftAllpass"},{"type":"reference","id":17359,"name":"MidSideSplit"},{"type":"reference","id":17449,"name":"MidSideMerge"},{"type":"reference","id":17998,"name":"Analyser"},{"type":"reference","id":18107,"name":"MeterBase"},{"type":"reference","id":18588,"name":"Solo"},{"type":"reference","id":18698,"name":"PanVol"},{"type":"reference","id":18800,"name":"Channel"},{"type":"reference","id":18912,"name":"Mono"},{"type":"reference","id":19003,"name":"MultibandSplit"},{"type":"reference","id":19113,"name":"Panner3D"},{"type":"reference","id":19253,"name":"Recorder"},{"type":"reference","id":19358,"name":"Compressor"},{"type":"reference","id":19457,"name":"Gate"},{"type":"reference","id":19559,"name":"Limiter"},{"type":"reference","id":19653,"name":"MidSideCompressor"},{"type":"reference","id":19748,"name":"MultibandCompressor"},{"type":"reference","id":19845,"name":"EQ3"},{"type":"reference","id":19950,"name":"Convolver"}]},{"id":12746,"name":"ToneAudioWorklet","kind":128,"kindString":"Class","flags":{"isExported":true,"isAbstract":true},"typeParameter":[{"id":12747,"name":"Options","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"reference","id":12844,"name":"ToneAudioWorkletOptions"}}],"children":[{"id":12762,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":12763,"name":"new ToneAudioWorklet","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":12764,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":12844,"name":"ToneAudioWorkletOptions"}}}],"type":{"type":"reference","id":12746,"name":"ToneAudioWorklet"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/core/worklet/ToneAudioWorklet.ts","line":44,"character":46}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":12806,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":12836,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":12767,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isAbstract":true},"comment":{"shortText":"The input node or nodes. If the object is a source,\nit does not have any input and this.input is undefined."},"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":36,"character":15}],"type":{"type":"union","types":[{"type":"reference","id":1101,"name":"InputNode"},{"type":"intrinsic","name":"undefined"}]},"inheritedFrom":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":12748,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/worklet/ToneAudioWorklet.ts","line":9,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"ToneAudioWorklet\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":12758,"name":"onprocessorerror","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Callback which is invoked when there is an error in the processing"},"sources":[{"fileName":"Tone/core/worklet/ToneAudioWorklet.ts","line":44,"character":17}],"type":{"type":"reflection","declaration":{"id":12759,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":12760,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":12761,"name":"e","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/worklet/ToneAudioWorklet.ts","line":44,"character":18}]}},"defaultValue":"noOp"},{"id":12768,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isAbstract":true},"comment":{"shortText":"The output nodes. If the object is a sink,\nit does not have any output and this.output is undefined."},"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":42,"character":16}],"type":{"type":"union","types":[{"type":"reference","id":1102,"name":"OutputNode"},{"type":"intrinsic","name":"undefined"}]},"inheritedFrom":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":12835,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":12816,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":12817,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":12774,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":12775,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":12776,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":12777,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":12778,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":12779,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":12780,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":12781,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":12782,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":12783,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":12784,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":12785,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":12840,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":12841,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":12769,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":12770,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":12771,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":12772,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":12814,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":12815,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":12800,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12801,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":12802,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":12786,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12787,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":12788,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":12789,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":12790,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":12795,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12796,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":12797,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":12798,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":12799,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":12765,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12766,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/core/worklet/ToneAudioWorklet.ts","line":66,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":12803,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12804,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":12805,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":12830,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12831,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":12844,"name":"ToneAudioWorkletOptions"}},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":12812,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12813,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":12810,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12811,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":12832,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12833,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":12834,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":12844,"name":"ToneAudioWorkletOptions"}}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":12791,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12792,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":12821,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12822,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":12823,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":12793,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12794,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":12818,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12819,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":12820,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":12842,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12843,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":12824,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":12825,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":12826,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":12808,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":12809,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":4791,"name":"ToneWithContextOptions"},"overwrites":{"type":"reference","id":51,"name":"Tone.getDefaults"},"inheritedFrom":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":51,"character":19}],"overwrites":{"type":"reference","id":51,"name":"Tone.getDefaults"},"inheritedFrom":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[12762]},{"title":"Properties","kind":1024,"children":[12806,12836,12767,12748,12758,12768,12835]},{"title":"Accessors","kind":262144,"children":[12816,12774,12778,12782,12840,12769,12771,12814]},{"title":"Methods","kind":2048,"children":[12800,12786,12795,12765,12803,12830,12812,12810,12832,12791,12821,12793,12818,12842,12824,12808]}],"sources":[{"fileName":"Tone/core/worklet/ToneAudioWorklet.ts","line":7,"character":38}],"extendedTypes":[{"type":"reference","id":1004,"typeArguments":[{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":12844,"name":"ToneAudioWorkletOptions"}}],"name":"ToneAudioNode"}],"extendedBy":[{"type":"reference","id":12854,"name":"FeedbackCombFilter"},{"type":"reference","id":15338,"name":"BitCrusherWorklet"}]},{"id":5728,"name":"ToneBufferSource","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Wrapper around the native BufferSourceNode."},"children":[{"id":5736,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":5737,"name":"new ToneBufferSource","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":5738,"name":"url","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The buffer to play or url to load"},"type":{"type":"union","types":[{"type":"reference","id":4362,"name":"ToneAudioBuffer"},{"type":"reference","name":"AudioBuffer"},{"type":"intrinsic","name":"string"}]}},{"id":5739,"name":"onload","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The callback to invoke when the buffer is done playing.\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"reflection","declaration":{"id":5740,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":5741,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"void"}}]}}]}}],"type":{"type":"reference","id":5728,"name":"ToneBufferSource"},"overwrites":{"type":"reference","id":1251,"name":"OneShotSource.__constructor"}},{"id":5742,"name":"new ToneBufferSource","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":5743,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":5710,"name":"ToneBufferSourceOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":5728,"name":"ToneBufferSource"},"overwrites":{"type":"reference","id":1251,"name":"OneShotSource.__constructor"}}],"sources":[{"fileName":"Tone/source/buffer/ToneBufferSource.ts","line":55,"character":32},{"fileName":"Tone/source/buffer/ToneBufferSource.ts","line":61,"character":80},{"fileName":"Tone/source/buffer/ToneBufferSource.ts","line":62,"character":57}],"overwrites":{"type":"reference","id":1251,"name":"OneShotSource.__constructor"}},{"id":5849,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":5877,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":5786,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Sources do not have input nodes"},"sources":[{"fileName":"Tone/source/OneShotSource.ts","line":37,"character":6}],"type":{"type":"intrinsic","name":"undefined"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":1242,"name":"OneShotSource.input"}},{"id":5729,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/source/buffer/ToneBufferSource.ts","line":33,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"ToneBufferSource\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":5785,"name":"onended","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The callback to invoke after the\nsource is done playing."},"sources":[{"fileName":"Tone/source/OneShotSource.ts","line":32,"character":8}],"type":{"type":"reference","id":1358,"name":"onEndedCallback"},"defaultValue":"noOp","inheritedFrom":{"type":"reference","id":1241,"name":"OneShotSource.onended"}},{"id":5789,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The public output node"},"sources":[{"fileName":"Tone/source/OneShotSource.ts","line":57,"character":7}],"type":{"type":"reference","id":1143,"name":"Gain"},"defaultValue":"new Gain({\n\t\tcontext: this.context,\n\t\tgain: 0,\n\t})","overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":1246,"name":"OneShotSource.output"}},{"id":5732,"name":"playbackRate","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The frequency of the oscillator"},"sources":[{"fileName":"Tone/source/buffer/ToneBufferSource.ts","line":44,"character":22}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"positive"}],"name":"Param"}},{"id":5876,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":5857,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":5858,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":5775,"name":"buffer","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The audio buffer belonging to the player."},"getSignature":[{"id":5776,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The audio buffer belonging to the player."},"type":{"type":"reference","id":4362,"name":"ToneAudioBuffer"}}],"setSignature":[{"id":5777,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The audio buffer belonging to the player."},"parameters":[{"id":5778,"name":"buffer","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":4362,"name":"ToneAudioBuffer"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/buffer/ToneBufferSource.ts","line":222,"character":11},{"fileName":"Tone/source/buffer/ToneBufferSource.ts","line":225,"character":11}]},{"id":5817,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":5818,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":5819,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":5820,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":5821,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":5822,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":5823,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":5824,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":5825,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":5826,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":5827,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":5828,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":5754,"name":"curve","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The curve applied to the fades, either \"linear\" or \"exponential\""},"getSignature":[{"id":5755,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The curve applied to the fades, either \"linear\" or \"exponential\""},"type":{"type":"reference","id":5885,"name":"ToneBufferSourceCurve"}}],"setSignature":[{"id":5756,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The curve applied to the fades, either \"linear\" or \"exponential\""},"parameters":[{"id":5757,"name":"t","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"linear"},{"type":"stringLiteral","value":"exponential"}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/buffer/ToneBufferSource.ts","line":125,"character":10},{"fileName":"Tone/source/buffer/ToneBufferSource.ts","line":128,"character":10}]},{"id":5881,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":5882,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":5746,"name":"fadeIn","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The fadeIn time of the amplitude envelope."},"getSignature":[{"id":5747,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The fadeIn time of the amplitude envelope."},"type":{"type":"reference","id":31,"name":"Time"}}],"setSignature":[{"id":5748,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The fadeIn time of the amplitude envelope."},"parameters":[{"id":5749,"name":"t","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/buffer/ToneBufferSource.ts","line":105,"character":11},{"fileName":"Tone/source/buffer/ToneBufferSource.ts","line":108,"character":11}]},{"id":5750,"name":"fadeOut","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The fadeOut time of the amplitude envelope."},"getSignature":[{"id":5751,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The fadeOut time of the amplitude envelope."},"type":{"type":"reference","id":31,"name":"Time"}}],"setSignature":[{"id":5752,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The fadeOut time of the amplitude envelope."},"parameters":[{"id":5753,"name":"t","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/buffer/ToneBufferSource.ts","line":115,"character":12},{"fileName":"Tone/source/buffer/ToneBufferSource.ts","line":118,"character":12}]},{"id":5779,"name":"loop","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"If the buffer should loop once it's over."},"getSignature":[{"id":5780,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"If the buffer should loop once it's over."},"type":{"type":"intrinsic","name":"boolean"}}],"setSignature":[{"id":5781,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"If the buffer should loop once it's over."},"parameters":[{"id":5782,"name":"loop","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/buffer/ToneBufferSource.ts","line":232,"character":9},{"fileName":"Tone/source/buffer/ToneBufferSource.ts","line":235,"character":9}]},{"id":5771,"name":"loopEnd","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"If loop is true, the loop will end at this position."},"getSignature":[{"id":5772,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"If loop is true, the loop will end at this position."},"type":{"type":"reference","id":31,"name":"Time"}}],"setSignature":[{"id":5773,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"If loop is true, the loop will end at this position."},"parameters":[{"id":5774,"name":"loopEnd","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/buffer/ToneBufferSource.ts","line":212,"character":12},{"fileName":"Tone/source/buffer/ToneBufferSource.ts","line":215,"character":12}]},{"id":5767,"name":"loopStart","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"If loop is true, the loop will start at this position."},"getSignature":[{"id":5768,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"If loop is true, the loop will start at this position."},"type":{"type":"reference","id":31,"name":"Time"}}],"setSignature":[{"id":5769,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"If loop is true, the loop will start at this position."},"parameters":[{"id":5770,"name":"loopStart","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/buffer/ToneBufferSource.ts","line":202,"character":14},{"fileName":"Tone/source/buffer/ToneBufferSource.ts","line":205,"character":14}]},{"id":5813,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":5814,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":5815,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":5816,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":5855,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":5856,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":5809,"name":"state","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Get the playback state at the current time"},"getSignature":[{"id":5810,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Get the playback state at the current time"},"type":{"type":"reference","id":705,"name":"BasicPlaybackState"},"inheritedFrom":{"type":"reference","id":1277,"name":"OneShotSource.state"}}],"sources":[{"fileName":"Tone/source/OneShotSource.ts","line":236,"character":10}],"inheritedFrom":{"type":"reference","id":1277,"name":"OneShotSource.state"}},{"id":5811,"name":"cancelStop","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5812,"name":"cancelStop","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Cancel a scheduled stop event"},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1279,"name":"OneShotSource.cancelStop"}}],"sources":[{"fileName":"Tone/source/OneShotSource.ts","line":243,"character":11}],"inheritedFrom":{"type":"reference","id":1279,"name":"OneShotSource.cancelStop"}},{"id":5843,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5844,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":5845,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":5829,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5830,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":5831,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":5832,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":5833,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":5838,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5839,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":5840,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":5841,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":5842,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":5783,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5784,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Clean up."},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1281,"name":"OneShotSource.dispose"}}],"sources":[{"fileName":"Tone/source/buffer/ToneBufferSource.ts","line":245,"character":8}],"overwrites":{"type":"reference","id":1281,"name":"OneShotSource.dispose"}},{"id":5846,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5847,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":5848,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":5871,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5872,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":5710,"name":"ToneBufferSourceOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":5806,"name":"getStateAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"comment":{"shortText":"Get the playback state at the given time"},"signatures":[{"id":5807,"name":"getStateAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the playback state at the given time"},"parameters":[{"id":5808,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":705,"name":"BasicPlaybackState"},"inheritedFrom":{"type":"reference","id":1274,"name":"OneShotSource.getStateAtTime"}}],"sources":[{"fileName":"Tone/source/OneShotSource.ts","line":220,"character":15}],"inheritedFrom":{"type":"reference","id":1274,"name":"OneShotSource.getStateAtTime"}},{"id":5853,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5854,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":5851,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5852,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":5873,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5874,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":5875,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":5710,"name":"ToneBufferSourceOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":5758,"name":"start","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5759,"name":"start","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Start the buffer"},"parameters":[{"id":5760,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the player should start."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":5761,"name":"offset","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The offset from the beginning of the sample to start at."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":5762,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"How long the sample should play. If no duration is given, it will default to the full length of the sample (minus any offset)"},"type":{"type":"reference","id":31,"name":"Time"}},{"id":5763,"name":"gain","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The gain to play the buffer back at.\n"},"type":{"type":"reference","id":26,"name":"GainFactor"},"defaultValue":"1"}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","name":"OneShotSource.start"}}],"sources":[{"fileName":"Tone/source/buffer/ToneBufferSource.ts","line":139,"character":6}],"overwrites":{"type":"reference","name":"OneShotSource.start"}},{"id":5798,"name":"stop","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5799,"name":"stop","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Stop the source node at the given time."},"parameters":[{"id":5800,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When to stop the source\n"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1266,"name":"OneShotSource.stop"}}],"sources":[{"fileName":"Tone/source/OneShotSource.ts","line":151,"character":5}],"inheritedFrom":{"type":"reference","id":1266,"name":"OneShotSource.stop"}},{"id":5834,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5835,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":5862,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5863,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":5864,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":5836,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5837,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":5859,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5860,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":5861,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":5883,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5884,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":5865,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":5866,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":5867,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":5744,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":5745,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":5710,"name":"ToneBufferSourceOptions"},"overwrites":{"type":"reference","id":1254,"name":"OneShotSource.getDefaults"}}],"sources":[{"fileName":"Tone/source/buffer/ToneBufferSource.ts","line":90,"character":19}],"overwrites":{"type":"reference","id":1254,"name":"OneShotSource.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[5736]},{"title":"Properties","kind":1024,"children":[5849,5877,5786,5729,5785,5789,5732,5876]},{"title":"Accessors","kind":262144,"children":[5857,5775,5817,5821,5825,5754,5881,5746,5750,5779,5771,5767,5813,5815,5855,5809]},{"title":"Methods","kind":2048,"children":[5811,5843,5829,5838,5783,5846,5871,5806,5853,5851,5873,5758,5798,5834,5862,5836,5859,5883,5865,5744]}],"sources":[{"fileName":"Tone/source/buffer/ToneBufferSource.ts","line":31,"character":29}],"extendedTypes":[{"type":"reference","id":1239,"typeArguments":[{"type":"reference","id":5710,"name":"ToneBufferSourceOptions"}],"name":"OneShotSource"}]},{"id":1374,"name":"ToneConstantSource","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Wrapper around the native fire-and-forget ConstantSource.\nAdds the ability to reschedule the stop method."},"typeParameter":[{"id":1375,"name":"TypeName","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"reference","id":46,"name":"UnitName"}}],"children":[{"id":1379,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":1380,"name":"new ToneConstantSource","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":1381,"name":"offset","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The offset value\n"},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}}],"type":{"type":"reference","id":1374,"name":"ToneConstantSource"},"overwrites":{"type":"reference","id":1251,"name":"OneShotSource.__constructor"}},{"id":1382,"name":"new ToneConstantSource","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":1383,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":1362,"typeArguments":[{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}}],"name":"ToneConstantSourceOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":1374,"name":"ToneConstantSource"},"overwrites":{"type":"reference","id":1251,"name":"OneShotSource.__constructor"}}],"sources":[{"fileName":"Tone/signal/ToneConstantSource.ts","line":32,"character":34},{"fileName":"Tone/signal/ToneConstantSource.ts","line":37,"character":40},{"fileName":"Tone/signal/ToneConstantSource.ts","line":38,"character":69}],"overwrites":{"type":"reference","id":1251,"name":"OneShotSource.__constructor"}},{"id":1459,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":1487,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":1395,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Sources do not have input nodes"},"sources":[{"fileName":"Tone/source/OneShotSource.ts","line":37,"character":6}],"type":{"type":"intrinsic","name":"undefined"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":1242,"name":"OneShotSource.input"}},{"id":1376,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/signal/ToneConstantSource.ts","line":22,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"ToneConstantSource\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":1378,"name":"offset","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The offset of the signal generator"},"sources":[{"fileName":"Tone/signal/ToneConstantSource.ts","line":32,"character":16}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}}],"name":"Param"}},{"id":1394,"name":"onended","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The callback to invoke after the\nsource is done playing."},"sources":[{"fileName":"Tone/source/OneShotSource.ts","line":32,"character":8}],"type":{"type":"reference","id":1358,"name":"onEndedCallback"},"defaultValue":"noOp","inheritedFrom":{"type":"reference","id":1241,"name":"OneShotSource.onended"}},{"id":1398,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The public output node"},"sources":[{"fileName":"Tone/source/OneShotSource.ts","line":57,"character":7}],"type":{"type":"reference","id":1143,"name":"Gain"},"defaultValue":"new Gain({\n\t\tcontext: this.context,\n\t\tgain: 0,\n\t})","overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":1246,"name":"OneShotSource.output"}},{"id":1486,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":1467,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":1468,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":1427,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":1428,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":1429,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":1430,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":1431,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":1432,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":1433,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":1434,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":1435,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":1436,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":1437,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":1438,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":1491,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":1492,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":1422,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":1423,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":1424,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":1425,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":1465,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":1466,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":1418,"name":"state","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Get the playback state at the current time"},"getSignature":[{"id":1419,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Get the playback state at the current time"},"type":{"type":"reference","id":705,"name":"BasicPlaybackState"},"inheritedFrom":{"type":"reference","id":1277,"name":"OneShotSource.state"}}],"sources":[{"fileName":"Tone/source/OneShotSource.ts","line":236,"character":10}],"inheritedFrom":{"type":"reference","id":1277,"name":"OneShotSource.state"}},{"id":1420,"name":"cancelStop","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1421,"name":"cancelStop","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Cancel a scheduled stop event"},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1279,"name":"OneShotSource.cancelStop"}}],"sources":[{"fileName":"Tone/source/OneShotSource.ts","line":243,"character":11}],"inheritedFrom":{"type":"reference","id":1279,"name":"OneShotSource.cancelStop"}},{"id":1453,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1454,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":1455,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":1439,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1440,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":1441,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":1442,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":1443,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":1448,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1449,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":1450,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":1451,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":1452,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":1392,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1393,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1281,"name":"OneShotSource.dispose"}}],"sources":[{"fileName":"Tone/signal/ToneConstantSource.ts","line":81,"character":8}],"overwrites":{"type":"reference","id":1281,"name":"OneShotSource.dispose"}},{"id":1456,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1457,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":1458,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":1481,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1482,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":1362,"typeArguments":[{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}}],"name":"ToneConstantSourceOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":1415,"name":"getStateAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"comment":{"shortText":"Get the playback state at the given time"},"signatures":[{"id":1416,"name":"getStateAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the playback state at the given time"},"parameters":[{"id":1417,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":705,"name":"BasicPlaybackState"},"inheritedFrom":{"type":"reference","id":1274,"name":"OneShotSource.getStateAtTime"}}],"sources":[{"fileName":"Tone/source/OneShotSource.ts","line":220,"character":15}],"inheritedFrom":{"type":"reference","id":1274,"name":"OneShotSource.getStateAtTime"}},{"id":1463,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1464,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":1461,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1462,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":1483,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1484,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":1485,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":1362,"typeArguments":[{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}}],"name":"ToneConstantSourceOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":1386,"name":"start","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1387,"name":"start","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Start the source node at the given time"},"parameters":[{"id":1388,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When to start the source\n"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","name":"OneShotSource.start"}}],"sources":[{"fileName":"Tone/signal/ToneConstantSource.ts","line":69,"character":6}],"overwrites":{"type":"reference","name":"OneShotSource.start"}},{"id":1407,"name":"stop","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1408,"name":"stop","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Stop the source node at the given time."},"parameters":[{"id":1409,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When to stop the source\n"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1266,"name":"OneShotSource.stop"}}],"sources":[{"fileName":"Tone/source/OneShotSource.ts","line":151,"character":5}],"inheritedFrom":{"type":"reference","id":1266,"name":"OneShotSource.stop"}},{"id":1444,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1445,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":1472,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1473,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":1474,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":1446,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1447,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":1469,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1470,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":1471,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":1493,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1494,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":1475,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1476,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":1477,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":1384,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":1385,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":1362,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"ToneConstantSourceOptions"},"overwrites":{"type":"reference","id":1254,"name":"OneShotSource.getDefaults"}}],"sources":[{"fileName":"Tone/signal/ToneConstantSource.ts","line":57,"character":19}],"overwrites":{"type":"reference","id":1254,"name":"OneShotSource.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[1379]},{"title":"Properties","kind":1024,"children":[1459,1487,1395,1376,1378,1394,1398,1486]},{"title":"Accessors","kind":262144,"children":[1467,1427,1431,1435,1491,1422,1424,1465,1418]},{"title":"Methods","kind":2048,"children":[1420,1453,1439,1448,1392,1456,1481,1415,1463,1461,1483,1386,1407,1444,1472,1446,1469,1493,1475,1384]}],"sources":[{"fileName":"Tone/signal/ToneConstantSource.ts","line":20,"character":31}],"extendedTypes":[{"type":"reference","id":1239,"typeArguments":[{"type":"reference","id":1362,"typeArguments":[{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}}],"name":"ToneConstantSourceOptions"}],"name":"OneShotSource"}]},{"id":13633,"name":"ToneEvent","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"ToneEvent abstracts away this.context.transport.schedule and provides a schedulable\ncallback for a single or repeatable events along the timeline.","tags":[{"tag":"example","text":"\nconst synth = new Tone.PolySynth().toDestination();\nconst chordEvent = new Tone.ToneEvent(((time, chord) => {\n\t// the chord as well as the exact time of the event\n\t// are passed in as arguments to the callback function\n\tsynth.triggerAttackRelease(chord, 0.5, time);\n}), [\"D4\", \"E4\", \"F4\"]);\n// start the chord at the beginning of the transport timeline\nchordEvent.start();\n// loop it every measure for 8 measures\nchordEvent.loop = 8;\nchordEvent.loopEnd = \"1m\";"}]},"typeParameter":[{"id":13634,"name":"ValueType","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}}],"children":[{"id":13649,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":13650,"name":"new ToneEvent","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":13651,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The callback to invoke at the time."},"type":{"type":"reference","id":13747,"typeArguments":[{"type":"typeParameter","name":"ValueType"}],"name":"ToneEventCallback"}},{"id":13652,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The value or values which should be passed to the callback function on invocation.\n"},"type":{"type":"reference","id":13634,"name":"ValueType"}}],"type":{"type":"reference","id":13633,"name":"ToneEvent"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":13653,"name":"new ToneEvent","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":13654,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":13621,"typeArguments":[{"type":"typeParameter","name":"ValueType"}],"name":"ToneEventOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":13633,"name":"ToneEvent"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/event/ToneEvent.ts","line":104,"character":15},{"fileName":"Tone/event/ToneEvent.ts","line":110,"character":73},{"fileName":"Tone/event/ToneEvent.ts","line":111,"character":61}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":13637,"name":"callback","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The callback to invoke."},"sources":[{"fileName":"Tone/event/ToneEvent.ts","line":55,"character":9}],"type":{"type":"reference","id":13747,"typeArguments":[{"type":"typeParameter","name":"ValueType"}],"name":"ToneEventCallback"}},{"id":13711,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":13739,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":13648,"name":"mute","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"If mute is true, the callback won't be invoked."},"sources":[{"fileName":"Tone/event/ToneEvent.ts","line":104,"character":5}],"type":{"type":"intrinsic","name":"boolean"}},{"id":13635,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/event/ToneEvent.ts","line":45,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"ToneEvent\"","overwrites":{"type":"reference","name":"Tone.name"}},{"id":13638,"name":"value","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The value which is passed to the\ncallback function."},"sources":[{"fileName":"Tone/event/ToneEvent.ts","line":61,"character":6}],"type":{"type":"typeParameter","name":"ValueType"}},{"id":13738,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":13719,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":13720,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":13743,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":13744,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":13670,"name":"humanize","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"If set to true, will apply small random variation\nto the callback time. If the value is given as a time, it will randomize\nby that amount.","tags":[{"tag":"example","text":"\nconst event = new Tone.ToneEvent();\nevent.humanize = true;\n"}]},"getSignature":[{"id":13671,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"If set to true, will apply small random variation\nto the callback time. If the value is given as a time, it will randomize\nby that amount.","tags":[{"tag":"example","text":"\nconst event = new Tone.ToneEvent();\nevent.humanize = true;\n"}]},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"intrinsic","name":"boolean"}]}}],"setSignature":[{"id":13672,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"If set to true, will apply small random variation\nto the callback time. If the value is given as a time, it will randomize\nby that amount.","tags":[{"tag":"example","text":"\nconst event = new Tone.ToneEvent();\nevent.humanize = true;\n"}]},"parameters":[{"id":13673,"name":"variation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"number"},{"type":"intrinsic","name":"false"},{"type":"intrinsic","name":"true"},{"type":"reflection","declaration":{"id":13674,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true}}}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/event/ToneEvent.ts","line":217,"character":13},{"fileName":"Tone/event/ToneEvent.ts","line":221,"character":13}]},{"id":13689,"name":"loop","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"If the note should loop or not\nbetween ToneEvent.loopStart and\nToneEvent.loopEnd. If set to true,\nthe event will loop indefinitely,\nif set to a number greater than 1\nit will play a specific number of\ntimes, if set to false, 0 or 1, the\npart will only play once."},"getSignature":[{"id":13690,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"If the note should loop or not\nbetween ToneEvent.loopStart and\nToneEvent.loopEnd. If set to true,\nthe event will loop indefinitely,\nif set to a number greater than 1\nit will play a specific number of\ntimes, if set to false, 0 or 1, the\npart will only play once."},"type":{"type":"union","types":[{"type":"intrinsic","name":"boolean"},{"type":"intrinsic","name":"number"}]}}],"setSignature":[{"id":13691,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"If the note should loop or not\nbetween ToneEvent.loopStart and\nToneEvent.loopEnd. If set to true,\nthe event will loop indefinitely,\nif set to a number greater than 1\nit will play a specific number of\ntimes, if set to false, 0 or 1, the\npart will only play once."},"parameters":[{"id":13692,"name":"loop","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"number"},{"type":"intrinsic","name":"false"},{"type":"intrinsic","name":"true"}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/event/ToneEvent.ts","line":314,"character":9},{"fileName":"Tone/event/ToneEvent.ts","line":317,"character":9}]},{"id":13697,"name":"loopEnd","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The loopEnd point is the time the event will loop\nif ToneEvent.loop is true."},"getSignature":[{"id":13698,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The loopEnd point is the time the event will loop\nif ToneEvent.loop is true."},"type":{"type":"reference","id":31,"name":"Time"}}],"setSignature":[{"id":13699,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The loopEnd point is the time the event will loop\nif ToneEvent.loop is true."},"parameters":[{"id":13700,"name":"loopEnd","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"number"},{"type":"reflection","declaration":{"id":13701,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true}}}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/event/ToneEvent.ts","line":342,"character":12},{"fileName":"Tone/event/ToneEvent.ts","line":345,"character":12}]},{"id":13702,"name":"loopStart","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The time when the loop should start."},"getSignature":[{"id":13703,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The time when the loop should start."},"type":{"type":"reference","id":31,"name":"Time"}}],"setSignature":[{"id":13704,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The time when the loop should start."},"parameters":[{"id":13705,"name":"loopStart","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"number"},{"type":"reflection","declaration":{"id":13706,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true}}}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/event/ToneEvent.ts","line":355,"character":14},{"fileName":"Tone/event/ToneEvent.ts","line":358,"character":14}]},{"id":13693,"name":"playbackRate","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The playback rate of the event. Defaults to 1.","tags":[{"tag":"example","text":"\nconst note = new Tone.ToneEvent();\nnote.loop = true;\n// repeat the note twice as fast\nnote.playbackRate = 2;\n"}]},"getSignature":[{"id":13694,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The playback rate of the event. Defaults to 1.","tags":[{"tag":"example","text":"\nconst note = new Tone.ToneEvent();\nnote.loop = true;\n// repeat the note twice as fast\nnote.playbackRate = 2;\n"}]},"type":{"type":"reference","id":27,"name":"Positive"}}],"setSignature":[{"id":13695,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The playback rate of the event. Defaults to 1.","tags":[{"tag":"example","text":"\nconst note = new Tone.ToneEvent();\nnote.loop = true;\n// repeat the note twice as fast\nnote.playbackRate = 2;\n"}]},"parameters":[{"id":13696,"name":"rate","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/event/ToneEvent.ts","line":330,"character":17},{"fileName":"Tone/event/ToneEvent.ts","line":333,"character":17}]},{"id":13666,"name":"probability","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The probability of the notes being triggered."},"getSignature":[{"id":13667,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The probability of the notes being triggered."},"type":{"type":"reference","id":23,"name":"NormalRange"}}],"setSignature":[{"id":13668,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The probability of the notes being triggered."},"parameters":[{"id":13669,"name":"prob","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/event/ToneEvent.ts","line":202,"character":16},{"fileName":"Tone/event/ToneEvent.ts","line":205,"character":16}]},{"id":13707,"name":"progress","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The current progress of the loop interval.\nReturns 0 if the event is not started yet or\nit is not set to loop."},"getSignature":[{"id":13708,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The current progress of the loop interval.\nReturns 0 if the event is not started yet or\nit is not set to loop."},"type":{"type":"reference","id":23,"name":"NormalRange"}}],"sources":[{"fileName":"Tone/event/ToneEvent.ts","line":370,"character":13}]},{"id":13717,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":13718,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":13662,"name":"startOffset","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The start from the scheduled start time."},"getSignature":[{"id":13663,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The start from the scheduled start time."},"type":{"type":"reference","id":35,"name":"Ticks"}}],"setSignature":[{"id":13664,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The start from the scheduled start time."},"parameters":[{"id":13665,"name":"offset","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/event/ToneEvent.ts","line":192,"character":16},{"fileName":"Tone/event/ToneEvent.ts","line":195,"character":16}]},{"id":13660,"name":"state","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Returns the playback state of the note, either \"started\" or \"stopped\"."},"getSignature":[{"id":13661,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Returns the playback state of the note, either \"started\" or \"stopped\"."},"type":{"type":"reference","id":705,"name":"BasicPlaybackState"}}],"sources":[{"fileName":"Tone/event/ToneEvent.ts","line":185,"character":10}]},{"id":13681,"name":"cancel","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13682,"name":"cancel","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Cancel all scheduled events greater than or equal to the given time"},"parameters":[{"id":13683,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The time after which events will be cancel.\n"},"type":{"type":"union","types":[{"type":"reference","id":34,"name":"TransportTime"},{"type":"reference","id":1681,"name":"TransportTimeClass"}]}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/event/ToneEvent.ts","line":265,"character":7}]},{"id":13709,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13710,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":58,"name":"Tone.dispose"}}],"sources":[{"fileName":"Tone/event/ToneEvent.ts","line":386,"character":8}],"overwrites":{"type":"reference","id":58,"name":"Tone.dispose"}},{"id":13733,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13734,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":13621,"typeArguments":[{"type":"typeParameter","name":"ValueType"}],"name":"ToneEventOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":13715,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13716,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":13713,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13714,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":13735,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13736,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":13737,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":13621,"typeArguments":[{"type":"typeParameter","name":"ValueType"}],"name":"ToneEventOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":13675,"name":"start","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13676,"name":"start","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Start the note at the given time."},"parameters":[{"id":13677,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the event should start.\n"},"type":{"type":"union","types":[{"type":"reference","id":34,"name":"TransportTime"},{"type":"reference","id":1681,"name":"TransportTimeClass"}]}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/event/ToneEvent.ts","line":229,"character":6}]},{"id":13678,"name":"stop","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13679,"name":"stop","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Stop the Event at the given time."},"parameters":[{"id":13680,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When the event should stop.\n"},"type":{"type":"union","types":[{"type":"reference","id":34,"name":"TransportTime"},{"type":"reference","id":1681,"name":"TransportTimeClass"}]}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/event/ToneEvent.ts","line":246,"character":5}]},{"id":13724,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13725,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":13726,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":13721,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13722,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":13723,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":13745,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13746,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":13727,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13728,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":13729,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":13655,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":13656,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":13621,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"ToneEventOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/event/ToneEvent.ts","line":132,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[13649]},{"title":"Properties","kind":1024,"children":[13637,13711,13739,13648,13635,13638,13738]},{"title":"Accessors","kind":262144,"children":[13719,13743,13670,13689,13697,13702,13693,13666,13707,13717,13662,13660]},{"title":"Methods","kind":2048,"children":[13681,13709,13733,13715,13713,13735,13675,13678,13724,13721,13745,13727,13655]}],"sources":[{"fileName":"Tone/event/ToneEvent.ts","line":43,"character":22}],"extendedTypes":[{"type":"reference","id":4793,"typeArguments":[{"type":"reference","id":13621,"typeArguments":[{"type":"typeParameter","name":"ValueType"}],"name":"ToneEventOptions"}],"name":"ToneWithContext"}],"extendedBy":[{"type":"reference","id":13868,"name":"Part"},{"type":"reference","id":14221,"name":"Sequence"}]},{"id":6589,"name":"ToneOscillatorNode","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Wrapper around the native fire-and-forget OscillatorNode.\nAdds the ability to reschedule the stop method.\n***[[Oscillator]] is better for most use-cases***"},"children":[{"id":6595,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":6596,"name":"new ToneOscillatorNode","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":6597,"name":"frequency","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The frequency value"},"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":6598,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The basic oscillator type\n"},"type":{"type":"reference","name":"OscillatorType"}}],"type":{"type":"reference","id":6589,"name":"ToneOscillatorNode"},"overwrites":{"type":"reference","id":1251,"name":"OneShotSource.__constructor"}},{"id":6599,"name":"new ToneOscillatorNode","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":6600,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":6580,"name":"ToneOscillatorNodeOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":6589,"name":"ToneOscillatorNode"},"overwrites":{"type":"reference","id":1251,"name":"OneShotSource.__constructor"}}],"sources":[{"fileName":"Tone/source/oscillator/ToneOscillatorNode.ts","line":38,"character":33},{"fileName":"Tone/source/oscillator/ToneOscillatorNode.ts","line":47,"character":3},{"fileName":"Tone/source/oscillator/ToneOscillatorNode.ts","line":48,"character":59}],"overwrites":{"type":"reference","id":1251,"name":"OneShotSource.__constructor"}},{"id":6682,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":6710,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":6594,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The detune of the oscillator"},"sources":[{"fileName":"Tone/source/oscillator/ToneOscillatorNode.ts","line":38,"character":16}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"cents"}],"name":"Param"}},{"id":6593,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The frequency of the oscillator"},"sources":[{"fileName":"Tone/source/oscillator/ToneOscillatorNode.ts","line":33,"character":19}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"frequency"}],"name":"Param"}},{"id":6619,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Sources do not have input nodes"},"sources":[{"fileName":"Tone/source/OneShotSource.ts","line":37,"character":6}],"type":{"type":"intrinsic","name":"undefined"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":1242,"name":"OneShotSource.input"}},{"id":6590,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/source/oscillator/ToneOscillatorNode.ts","line":22,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"ToneOscillatorNode\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":6618,"name":"onended","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The callback to invoke after the\nsource is done playing."},"sources":[{"fileName":"Tone/source/OneShotSource.ts","line":32,"character":8}],"type":{"type":"reference","id":1358,"name":"onEndedCallback"},"defaultValue":"noOp","inheritedFrom":{"type":"reference","id":1241,"name":"OneShotSource.onended"}},{"id":6622,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The public output node"},"sources":[{"fileName":"Tone/source/OneShotSource.ts","line":57,"character":7}],"type":{"type":"reference","id":1143,"name":"Gain"},"defaultValue":"new Gain({\n\t\tcontext: this.context,\n\t\tgain: 0,\n\t})","overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":1246,"name":"OneShotSource.output"}},{"id":6709,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":6690,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":6691,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":6650,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":6651,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":6652,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":6653,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":6654,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":6655,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":6656,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":6657,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":6658,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":6659,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":6660,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":6661,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":6714,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":6715,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":6646,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":6647,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":6648,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":6649,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":6688,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":6689,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":6642,"name":"state","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Get the playback state at the current time"},"getSignature":[{"id":6643,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Get the playback state at the current time"},"type":{"type":"reference","id":705,"name":"BasicPlaybackState"},"inheritedFrom":{"type":"reference","id":1277,"name":"OneShotSource.state"}}],"sources":[{"fileName":"Tone/source/OneShotSource.ts","line":236,"character":10}],"inheritedFrom":{"type":"reference","id":1277,"name":"OneShotSource.state"}},{"id":6612,"name":"type","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The oscillator type. Either 'sine', 'sawtooth', 'square', or 'triangle'"},"getSignature":[{"id":6613,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The oscillator type. Either 'sine', 'sawtooth', 'square', or 'triangle'"},"type":{"type":"reference","name":"OscillatorType"}}],"setSignature":[{"id":6614,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The oscillator type. Either 'sine', 'sawtooth', 'square', or 'triangle'"},"parameters":[{"id":6615,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"OscillatorType"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/oscillator/ToneOscillatorNode.ts","line":111,"character":9},{"fileName":"Tone/source/oscillator/ToneOscillatorNode.ts","line":114,"character":9}]},{"id":6644,"name":"cancelStop","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6645,"name":"cancelStop","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Cancel a scheduled stop event"},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1279,"name":"OneShotSource.cancelStop"}}],"sources":[{"fileName":"Tone/source/OneShotSource.ts","line":243,"character":11}],"inheritedFrom":{"type":"reference","id":1279,"name":"OneShotSource.cancelStop"}},{"id":6676,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6677,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":6678,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":6662,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6663,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":6664,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":6665,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":6666,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":6671,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6672,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":6673,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":6674,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":6675,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":6616,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6617,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Clean up."},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1281,"name":"OneShotSource.dispose"}}],"sources":[{"fileName":"Tone/source/oscillator/ToneOscillatorNode.ts","line":121,"character":8}],"overwrites":{"type":"reference","id":1281,"name":"OneShotSource.dispose"}},{"id":6679,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6680,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":6681,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":6704,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6705,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":6580,"name":"ToneOscillatorNodeOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":6639,"name":"getStateAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"comment":{"shortText":"Get the playback state at the given time"},"signatures":[{"id":6640,"name":"getStateAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the playback state at the given time"},"parameters":[{"id":6641,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":705,"name":"BasicPlaybackState"},"inheritedFrom":{"type":"reference","id":1274,"name":"OneShotSource.getStateAtTime"}}],"sources":[{"fileName":"Tone/source/OneShotSource.ts","line":220,"character":15}],"inheritedFrom":{"type":"reference","id":1274,"name":"OneShotSource.getStateAtTime"}},{"id":6686,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6687,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":6684,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6685,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":6706,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6707,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":6708,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":6580,"name":"ToneOscillatorNodeOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":6609,"name":"setPeriodicWave","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6610,"name":"setPeriodicWave","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Sets an arbitrary custom periodic waveform given a PeriodicWave."},"parameters":[{"id":6611,"name":"periodicWave","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"PeriodicWave should be created with context.createPeriodicWave\n"},"type":{"type":"reference","name":"PeriodicWave"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/source/oscillator/ToneOscillatorNode.ts","line":103,"character":16}]},{"id":6603,"name":"start","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6604,"name":"start","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Start the oscillator node at the given time"},"parameters":[{"id":6605,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When to start the oscillator\n"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","name":"OneShotSource.start"}}],"sources":[{"fileName":"Tone/source/oscillator/ToneOscillatorNode.ts","line":87,"character":6}],"overwrites":{"type":"reference","name":"OneShotSource.start"}},{"id":6631,"name":"stop","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6632,"name":"stop","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Stop the source node at the given time."},"parameters":[{"id":6633,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When to stop the source\n"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1266,"name":"OneShotSource.stop"}}],"sources":[{"fileName":"Tone/source/OneShotSource.ts","line":151,"character":5}],"inheritedFrom":{"type":"reference","id":1266,"name":"OneShotSource.stop"}},{"id":6667,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6668,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":6695,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6696,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":6697,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":6669,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6670,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":6692,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6693,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":6694,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":6716,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6717,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":6698,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6699,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":6700,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":6601,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":6602,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":6580,"name":"ToneOscillatorNodeOptions"},"overwrites":{"type":"reference","id":1254,"name":"OneShotSource.getDefaults"}}],"sources":[{"fileName":"Tone/source/oscillator/ToneOscillatorNode.ts","line":75,"character":19}],"overwrites":{"type":"reference","id":1254,"name":"OneShotSource.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[6595]},{"title":"Properties","kind":1024,"children":[6682,6710,6594,6593,6619,6590,6618,6622,6709]},{"title":"Accessors","kind":262144,"children":[6690,6650,6654,6658,6714,6646,6648,6688,6642,6612]},{"title":"Methods","kind":2048,"children":[6644,6676,6662,6671,6616,6679,6704,6639,6686,6684,6706,6609,6603,6631,6667,6695,6669,6692,6716,6698,6601]}],"sources":[{"fileName":"Tone/source/oscillator/ToneOscillatorNode.ts","line":20,"character":31}],"extendedTypes":[{"type":"reference","id":1239,"typeArguments":[{"type":"reference","id":6580,"name":"ToneOscillatorNodeOptions"}],"name":"OneShotSource"}]},{"id":4793,"name":"ToneWithContext","kind":128,"kindString":"Class","flags":{"isExported":true,"isAbstract":true},"comment":{"shortText":"The Base class for all nodes that have an AudioContext."},"typeParameter":[{"id":4794,"name":"Options","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"reference","id":4791,"name":"ToneWithContextOptions"}}],"children":[{"id":4797,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Pass in a constructor as the first argument"},"signatures":[{"id":4798,"name":"new ToneWithContext","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{"shortText":"Pass in a constructor as the first argument"},"parameters":[{"id":4799,"name":"context","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":3052,"name":"BaseContext"}}],"type":{"type":"reference","id":4793,"name":"ToneWithContext"}},{"id":4800,"name":"new ToneWithContext","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{"shortText":"Pass in a constructor as the first argument"},"parameters":[{"id":4801,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":4793,"name":"ToneWithContext"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":34,"character":39},{"fileName":"Tone/core/context/ToneWithContext.ts","line":39,"character":35},{"fileName":"Tone/core/context/ToneWithContext.ts","line":40,"character":56}]},{"id":4795,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"}},{"id":4831,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":4829,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":4810,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":4811,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}]},{"id":4837,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":4838,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":4808,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":4809,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}]},{"id":4835,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4836,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect and dispose."},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":58,"name":"Tone.dispose"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":83,"character":8}],"inheritedFrom":{"type":"reference","id":58,"name":"Tone.dispose"}},{"id":4824,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4825,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":4791,"name":"ToneWithContextOptions"}}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}]},{"id":4806,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4807,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}]},{"id":4804,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4805,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}]},{"id":4826,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4827,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":4828,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"typeParameter","name":"Options","constraint":{"type":"reference","id":4791,"name":"ToneWithContextOptions"}}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}]},{"id":4815,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4816,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":4817,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}]},{"id":4812,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4813,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":4814,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}]},{"id":4839,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4840,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":4818,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4819,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":4820,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}]},{"id":4802,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":4803,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":4791,"name":"ToneWithContextOptions"},"overwrites":{"type":"reference","id":51,"name":"Tone.getDefaults"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":51,"character":19}],"overwrites":{"type":"reference","id":51,"name":"Tone.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[4797]},{"title":"Properties","kind":1024,"children":[4795,4831,4829]},{"title":"Accessors","kind":262144,"children":[4810,4837,4808]},{"title":"Methods","kind":2048,"children":[4835,4824,4806,4804,4826,4815,4812,4839,4818,4802]}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":22,"character":37}],"extendedTypes":[{"type":"reference","id":48,"name":"Tone"}],"extendedBy":[{"type":"reference","id":826,"name":"Param"},{"type":"reference","id":1004,"name":"ToneAudioNode"},{"type":"reference","id":2190,"name":"Transport"},{"type":"reference","id":2958,"name":"Draw"},{"type":"reference","id":5051,"name":"TickSource"},{"type":"reference","id":5156,"name":"Clock"},{"type":"reference","id":13633,"name":"ToneEvent"},{"type":"reference","id":13765,"name":"Loop"}]},{"id":2190,"name":"Transport","kind":128,"kindString":"Class","flags":{"isExported":true,"isConst":true},"comment":{"shortText":"Transport for timing musical events.\nSupports tempo curves and time changes. Unlike browser-based timing (setInterval, requestAnimationFrame)\nTransport timing events pass in the exact time of the scheduled event\nin the argument of the callback function. Pass that time value to the object\nyou're scheduling. <br><br>\nA single transport is created for you when the library is initialized.\n<br><br>\nThe transport emits the events: \"start\", \"stop\", \"pause\", and \"loop\" which are\ncalled with the time of that event as the argument.\nThe Transport object belonging to the global Tone.js Context.\nSee [[Transport]]","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination();\n// repeated event every 8th note\nTone.Transport.scheduleRepeat((time) => {\n\t// use the callback time to schedule events\n\tosc.start(time).stop(time + 0.1);\n}, \"8n\");\n// transport must be started before it starts invoking events\nTone.Transport.start();"},{"tag":"category","text":"Core\n"}]},"children":[{"id":2261,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":2262,"name":"new Transport","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":2263,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":2233,"name":"TransportOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":2190,"name":"Transport"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":162,"character":39},{"fileName":"Tone/core/clock/Transport.ts","line":164,"character":50}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":2252,"name":"bpm","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The Beats Per Minute of the Transport.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination();\nTone.Transport.bpm.value = 80;\n// start/stop the oscillator every quarter note\nTone.Transport.scheduleRepeat(time => {\n\tosc.start(time).stop(time + 0.1);\n}, \"4n\");\nTone.Transport.start();\n// ramp the bpm to 120 over 10 seconds\nTone.Transport.bpm.rampTo(120, 10);\n"}]},"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":118,"character":4}],"type":{"type":"reference","id":1970,"typeArguments":[{"type":"stringLiteral","value":"bpm"}],"name":"TickParam"}},{"id":2404,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":2432,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":2399,"name":"emit","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":716,"character":5}],"type":{"type":"reflection","declaration":{"id":2400,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":2401,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":2402,"name":"event","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"any"}},{"id":2403,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":716,"character":7}]}}},{"id":2246,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":69,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Transport\"","overwrites":{"type":"reference","name":"Tone.name"}},{"id":2391,"name":"off","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":715,"character":4}],"type":{"type":"reflection","declaration":{"id":2392,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":2393,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":2394,"name":"event","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":2440,"name":"TransportEventNames"}},{"id":2395,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":2396,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":2397,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":2398,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":715,"character":46}]}},{"type":"intrinsic","name":"undefined"}]}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":715,"character":6}]}}},{"id":2375,"name":"on","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":713,"character":3}],"type":{"type":"reflection","declaration":{"id":2376,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":2377,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":2378,"name":"event","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":2440,"name":"TransportEventNames"}},{"id":2379,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reflection","declaration":{"id":2380,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":2381,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":2382,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":713,"character":44}]}}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":713,"character":5}]}}},{"id":2383,"name":"once","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":714,"character":5}],"type":{"type":"reflection","declaration":{"id":2384,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":2385,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":2386,"name":"event","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":2440,"name":"TransportEventNames"}},{"id":2387,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reflection","declaration":{"id":2388,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":2389,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":2390,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":714,"character":46}]}}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":714,"character":7}]}}},{"id":2431,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":2359,"name":"PPQ","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Pulses Per Quarter note. This is the smallest resolution\nthe Transport timing supports. This should be set once\non initialization and not set again. Changing this value\nafter other objects have been created can cause problems."},"getSignature":[{"id":2360,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Pulses Per Quarter note. This is the smallest resolution\nthe Transport timing supports. This should be set once\non initialization and not set again. Changing this value\nafter other objects have been created can cause problems."},"type":{"type":"intrinsic","name":"number"}}],"setSignature":[{"id":2361,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"Pulses Per Quarter note. This is the smallest resolution\nthe Transport timing supports. This should be set once\non initialization and not set again. Changing this value\nafter other objects have been created can cause problems."},"parameters":[{"id":2362,"name":"ppq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":609,"character":8},{"fileName":"Tone/core/clock/Transport.ts","line":612,"character":8}]},{"id":2412,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":2413,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":2436,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":2437,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":2323,"name":"loop","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"If the transport loops or not."},"getSignature":[{"id":2324,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"If the transport loops or not."},"type":{"type":"intrinsic","name":"boolean"}}],"setSignature":[{"id":2325,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"If the transport loops or not."},"parameters":[{"id":2326,"name":"loop","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":475,"character":9},{"fileName":"Tone/core/clock/Transport.ts","line":478,"character":9}]},{"id":2319,"name":"loopEnd","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"When the Transport.loop = true, this is the ending position of the loop."},"getSignature":[{"id":2320,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"When the Transport.loop = true, this is the ending position of the loop."},"type":{"type":"reference","id":31,"name":"Time"}}],"setSignature":[{"id":2321,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"When the Transport.loop = true, this is the ending position of the loop."},"parameters":[{"id":2322,"name":"endPosition","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":465,"character":12},{"fileName":"Tone/core/clock/Transport.ts","line":468,"character":12}]},{"id":2315,"name":"loopStart","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"When the Transport.loop = true, this is the starting position of the loop."},"getSignature":[{"id":2316,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"When the Transport.loop = true, this is the starting position of the loop."},"type":{"type":"reference","id":31,"name":"Time"}}],"setSignature":[{"id":2317,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"When the Transport.loop = true, this is the starting position of the loop."},"parameters":[{"id":2318,"name":"startPosition","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":455,"character":14},{"fileName":"Tone/core/clock/Transport.ts","line":458,"character":14}]},{"id":2339,"name":"position","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The Transport's position in Bars:Beats:Sixteenths.\nSetting the value will jump to that position right away."},"getSignature":[{"id":2340,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The Transport's position in Bars:Beats:Sixteenths.\nSetting the value will jump to that position right away."},"type":{"type":"union","types":[{"type":"reference","id":39,"name":"BarsBeatsSixteenths"},{"type":"reference","id":31,"name":"Time"}]}}],"setSignature":[{"id":2341,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The Transport's position in Bars:Beats:Sixteenths.\nSetting the value will jump to that position right away."},"parameters":[{"id":2342,"name":"progress","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":522,"character":13},{"fileName":"Tone/core/clock/Transport.ts","line":527,"character":13}]},{"id":2347,"name":"progress","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The Transport's loop position as a normalized value. Always\nreturns 0 if the transport if loop is not true."},"getSignature":[{"id":2348,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The Transport's loop position as a normalized value. Always\nreturns 0 if the transport if loop is not true."},"type":{"type":"reference","id":23,"name":"NormalRange"}}],"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":549,"character":13}]},{"id":2410,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":2411,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":2343,"name":"seconds","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The Transport's position in seconds\nSetting the value will jump to that position right away."},"getSignature":[{"id":2344,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The Transport's position in seconds\nSetting the value will jump to that position right away."},"type":{"type":"reference","id":21,"name":"Seconds"}}],"setSignature":[{"id":2345,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The Transport's position in seconds\nSetting the value will jump to that position right away."},"parameters":[{"id":2346,"name":"s","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":21,"name":"Seconds"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":536,"character":12},{"fileName":"Tone/core/clock/Transport.ts","line":539,"character":12}]},{"id":2296,"name":"state","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Returns the playback state of the source, either \"started\", \"stopped\", or \"paused\""},"getSignature":[{"id":2297,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Returns the playback state of the source, either \"started\", \"stopped\", or \"paused\""},"type":{"type":"reference","id":706,"name":"PlaybackState"}}],"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":371,"character":10}]},{"id":2331,"name":"swing","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The swing value. Between 0-1 where 1 equal to the note + half the subdivision."},"getSignature":[{"id":2332,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The swing value. Between 0-1 where 1 equal to the note + half the subdivision."},"type":{"type":"reference","id":23,"name":"NormalRange"}}],"setSignature":[{"id":2333,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The swing value. Between 0-1 where 1 equal to the note + half the subdivision."},"parameters":[{"id":2334,"name":"amount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":23,"name":"NormalRange"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":498,"character":10},{"fileName":"Tone/core/clock/Transport.ts","line":501,"character":10}]},{"id":2335,"name":"swingSubdivision","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Set the subdivision which the swing will be applied to.\nThe default value is an 8th note. Value must be less\nthan a quarter note."},"getSignature":[{"id":2336,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Set the subdivision which the swing will be applied to.\nThe default value is an 8th note. Value must be less\nthan a quarter note."},"type":{"type":"reference","id":28,"name":"Subdivision"}}],"setSignature":[{"id":2337,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"Set the subdivision which the swing will be applied to.\nThe default value is an 8th note. Value must be less\nthan a quarter note."},"parameters":[{"id":2338,"name":"subdivision","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":28,"name":"Subdivision"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":511,"character":21},{"fileName":"Tone/core/clock/Transport.ts","line":514,"character":21}]},{"id":2349,"name":"ticks","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The transports current tick position."},"getSignature":[{"id":2350,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The transports current tick position."},"type":{"type":"reference","id":35,"name":"Ticks"}}],"setSignature":[{"id":2351,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The transports current tick position."},"parameters":[{"id":2352,"name":"t","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":35,"name":"Ticks"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":562,"character":10},{"fileName":"Tone/core/clock/Transport.ts","line":565,"character":10}]},{"id":2311,"name":"timeSignature","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The time signature as just the numerator over 4.\nFor example 4/4 would be just 4 and 6/8 would be 3.","tags":[{"tag":"example","text":"\n// common time\nTone.Transport.timeSignature = 4;\n// 7/8\nTone.Transport.timeSignature = [7, 8];\n// this will be reduced to a single number\nTone.Transport.timeSignature; // returns 3.5\n"}]},"getSignature":[{"id":2312,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The time signature as just the numerator over 4.\nFor example 4/4 would be just 4 and 6/8 would be 3.","tags":[{"tag":"example","text":"\n// common time\nTone.Transport.timeSignature = 4;\n// 7/8\nTone.Transport.timeSignature = [7, 8];\n// this will be reduced to a single number\nTone.Transport.timeSignature; // returns 3.5\n"}]},"type":{"type":"reference","id":33,"name":"TimeSignature"}}],"setSignature":[{"id":2313,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The time signature as just the numerator over 4.\nFor example 4/4 would be just 4 and 6/8 would be 3.","tags":[{"tag":"example","text":"\n// common time\nTone.Transport.timeSignature = 4;\n// 7/8\nTone.Transport.timeSignature = [7, 8];\n// this will be reduced to a single number\nTone.Transport.timeSignature; // returns 3.5\n"}]},"parameters":[{"id":2314,"name":"timeSig","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":33,"name":"TimeSignature"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":442,"character":18},{"fileName":"Tone/core/clock/Transport.ts","line":445,"character":18}]},{"id":2291,"name":"cancel","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2292,"name":"cancel","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Remove scheduled events from the timeline after\nthe given time. Repeated events will be removed\nif their startTime is after the given time"},"parameters":[{"id":2293,"name":"after","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"Clear all events after this time.\n"},"type":{"type":"reference","id":34,"name":"TransportTime"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":339,"character":7}]},{"id":2284,"name":"clear","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2285,"name":"clear","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Clear the passed in event id from the timeline"},"parameters":[{"id":2286,"name":"eventId","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The id of the event.\n"},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":309,"character":6}]},{"id":2373,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2374,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Clean up."},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":58,"name":"Tone.dispose"}}],"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":700,"character":8}],"overwrites":{"type":"reference","id":58,"name":"Tone.dispose"}},{"id":2426,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2427,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":2233,"name":"TransportOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":2356,"name":"getSecondsAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2357,"name":"getSecondsAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the elapsed seconds at the given time.","returns":"The number of elapsed seconds\n"},"parameters":[{"id":2358,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"When to get the elapsed seconds"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"}}],"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":599,"character":17}]},{"id":2353,"name":"getTicksAtTime","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2354,"name":"getTicksAtTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the clock's ticks at the given time.","returns":"The tick value at the given time.\n"},"parameters":[{"id":2355,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When to get the tick value"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":35,"name":"Ticks"}}],"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":590,"character":15}]},{"id":2408,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2409,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":2363,"name":"nextSubdivision","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2364,"name":"nextSubdivision","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Returns the time aligned to the next subdivision\nof the Transport. If the Transport is not started,\nit will return 0.\nNote: this will not work precisely during tempo ramps.","returns":"The context time of the next subdivision.","tags":[{"tag":"example","text":"\n// the transport must be started, otherwise returns 0\nTone.Transport.start();\nTone.Transport.nextSubdivision(\"4n\");\n"}]},"parameters":[{"id":2365,"name":"subdivision","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The subdivision to quantize to"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"}}],"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":632,"character":16}]},{"id":2406,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2407,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":2305,"name":"pause","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2306,"name":"pause","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Pause the transport and all sources synced to the transport."},"parameters":[{"id":2307,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":407,"character":6}]},{"id":2270,"name":"schedule","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2271,"name":"schedule","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Schedule an event along the timeline.","returns":"The id of the event which can be used for canceling the event.","tags":[{"tag":"example","text":"\n// schedule an event on the 16th measure\nTone.Transport.schedule((time) => {\n\t// invoked on measure 16\n\tconsole.log(\"measure 16!\");\n}, \"16:0:0\");\n"}]},"parameters":[{"id":2272,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The callback to be invoked at the time."},"type":{"type":"reference","id":2441,"name":"TransportCallback"}},{"id":2273,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The time to invoke the callback at."},"type":{"type":"union","types":[{"type":"reference","id":34,"name":"TransportTime"},{"type":"reference","id":1681,"name":"TransportTimeClass"}]}}],"type":{"type":"intrinsic","name":"number"}}],"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":249,"character":9}]},{"id":2280,"name":"scheduleOnce","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2281,"name":"scheduleOnce","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Schedule an event that will be removed after it is invoked.","returns":"The ID of the scheduled event.\n"},"parameters":[{"id":2282,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The callback to invoke once."},"type":{"type":"reference","id":2441,"name":"TransportCallback"}},{"id":2283,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The time the callback should be invoked."},"type":{"type":"union","types":[{"type":"reference","id":34,"name":"TransportTime"},{"type":"reference","id":1681,"name":"TransportTimeClass"}]}}],"type":{"type":"intrinsic","name":"number"}}],"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":296,"character":13}]},{"id":2274,"name":"scheduleRepeat","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2275,"name":"scheduleRepeat","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Schedule a repeated event along the timeline. The event will fire\nat the `interval` starting at the `startTime` and for the specified\n`duration`.","returns":"The ID of the scheduled event. Use this to cancel the event.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination().start();\n// a callback invoked every eighth note after the first measure\nTone.Transport.scheduleRepeat((time) => {\n\tosc.start(time).stop(time + 0.1);\n}, \"8n\", \"1m\");\n"}]},"parameters":[{"id":2276,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The callback to invoke."},"type":{"type":"reference","id":2441,"name":"TransportCallback"}},{"id":2277,"name":"interval","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The duration between successive callbacks. Must be a positive number."},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}},{"id":2278,"name":"startTime","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"When along the timeline the events should start being invoked."},"type":{"type":"union","types":[{"type":"reference","id":34,"name":"TransportTime"},{"type":"reference","id":1681,"name":"TransportTimeClass"}]}},{"id":2279,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"How long the event should repeat."},"type":{"type":"reference","id":31,"name":"Time"},"defaultValue":"Infinity"}],"type":{"type":"intrinsic","name":"number"}}],"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":273,"character":15}]},{"id":2428,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2429,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":2430,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":2233,"name":"TransportOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":2327,"name":"setLoopPoints","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2328,"name":"setLoopPoints","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set the loop start and stop at the same time.","tags":[{"tag":"example","text":"\n// loop over the first measure\nTone.Transport.setLoopPoints(0, \"1m\");\nTone.Transport.loop = true;\n"}]},"parameters":[{"id":2329,"name":"startPosition","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":34,"name":"TransportTime"}},{"id":2330,"name":"endPosition","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":34,"name":"TransportTime"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":489,"character":14}]},{"id":2298,"name":"start","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2299,"name":"start","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Start the transport and all sources synced to the transport.","tags":[{"tag":"example","text":"\n// start the transport in one second starting at beginning of the 5th measure.\nTone.Transport.start(\"+1\", \"4:0:0\");\n"}]},"parameters":[{"id":2300,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The time when the transport should start."},"type":{"type":"reference","id":31,"name":"Time"}},{"id":2301,"name":"offset","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The timeline offset to start the transport."},"type":{"type":"reference","id":34,"name":"TransportTime"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":383,"character":6}]},{"id":2302,"name":"stop","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2303,"name":"stop","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Stop the transport and all sources synced to the transport.","tags":[{"tag":"example","text":"\nTone.Transport.stop();\n"}]},"parameters":[{"id":2304,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The time when the transport should stop."},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":399,"character":5}]},{"id":2366,"name":"syncSignal","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2367,"name":"syncSignal","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Attaches the signal to the tempo control signal so that\nany changes in the tempo will change the signal in the same\nratio."},"parameters":[{"id":2368,"name":"signal","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{},"type":{"type":"reference","id":1503,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"Signal"}},{"id":2369,"name":"ratio","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"Optionally pass in the ratio between the two signals.\n\t\t\tOtherwise it will be computed based on their current values.\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":655,"character":11}]},{"id":2417,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2418,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":2419,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":2414,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2415,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":2416,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":2438,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2439,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":2420,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2421,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":2422,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":2308,"name":"toggle","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2309,"name":"toggle","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Toggle the current state of the transport. If it is\nstarted, it will stop it, otherwise it will start the Transport."},"parameters":[{"id":2310,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The time of the event\n"},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":417,"character":7}]},{"id":2370,"name":"unsyncSignal","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2371,"name":"unsyncSignal","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Unsyncs a previously synced signal from the transport's control.\nSee Transport.syncSignal."},"parameters":[{"id":2372,"name":"signal","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1503,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"Signal"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":685,"character":13}]},{"id":2264,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":2265,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":2233,"name":"TransportOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":189,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[2261]},{"title":"Properties","kind":1024,"children":[2252,2404,2432,2399,2246,2391,2375,2383,2431]},{"title":"Accessors","kind":262144,"children":[2359,2412,2436,2323,2319,2315,2339,2347,2410,2343,2296,2331,2335,2349,2311]},{"title":"Methods","kind":2048,"children":[2291,2284,2373,2426,2356,2353,2408,2363,2406,2305,2270,2280,2274,2428,2327,2298,2302,2366,2417,2414,2438,2420,2308,2370,2264]}],"sources":[{"fileName":"Tone/core/clock/TransportEvent.ts","line":4,"character":14},{"fileName":"Tone/core/clock/TransportRepeatEvent.ts","line":7,"character":14},{"fileName":"Tone/core/clock/Transport.ts","line":67,"character":22},{"fileName":"Tone/core/context/Context.ts","line":16,"character":14},{"fileName":"Tone/core/context/BaseContext.ts","line":7,"character":14},{"fileName":"Tone/core/context/DummyContext.ts","line":7,"character":14},{"fileName":"Tone/index.ts","line":33,"character":22}],"type":{"type":"reference","name":"Transport"},"defaultValue":"getContext().transport","extendedTypes":[{"type":"reference","id":4793,"typeArguments":[{"type":"reference","id":2233,"name":"TransportOptions"}],"name":"ToneWithContext"}],"implementedTypes":[{"type":"reference","id":101,"typeArguments":[{"type":"reference","id":2440,"name":"TransportEventNames"}],"name":"Emitter"}]},{"id":2166,"name":"TransportEvent","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"TransportEvent is an internal class used by [[Transport]]\nto schedule events. Do no invoke this class directly, it is\nhandled from within Tone.Transport."},"children":[{"id":2176,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":2177,"name":"new TransportEvent","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":2178,"name":"transport","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The transport object which the event belongs to\n"},"type":{"type":"reference","name":"Transport"}},{"id":2179,"name":"opts","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":2159,"name":"TransportEventOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":2166,"name":"TransportEvent"}}],"sources":[{"fileName":"Tone/core/clock/TransportEvent.ts","line":48,"character":30}]},{"id":2168,"name":"id","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The unique id of the event"},"sources":[{"fileName":"Tone/core/clock/TransportEvent.ts","line":27,"character":3}],"type":{"type":"intrinsic","name":"number"},"defaultValue":"TransportEvent._eventId++"},{"id":2169,"name":"time","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The time the event starts"},"sources":[{"fileName":"Tone/core/clock/TransportEvent.ts","line":32,"character":5}],"type":{"type":"reference","id":35,"name":"Ticks"}},{"id":2188,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2189,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Clean up"},"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/core/clock/TransportEvent.ts","line":101,"character":8}]},{"id":2185,"name":"invoke","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2186,"name":"invoke","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Invoke the event callback."},"parameters":[{"id":2187,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The AudioContext time in seconds of the event\n"},"type":{"type":"reference","id":21,"name":"Seconds"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/clock/TransportEvent.ts","line":88,"character":7}]},{"id":2180,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":2181,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":2159,"name":"TransportEventOptions"}}],"sources":[{"fileName":"Tone/core/clock/TransportEvent.ts","line":64,"character":19}]}],"groups":[{"title":"Constructors","kind":512,"children":[2176]},{"title":"Properties","kind":1024,"children":[2168,2169]},{"title":"Methods","kind":2048,"children":[2188,2185,2180]}],"sources":[{"fileName":"Tone/core/clock/TransportEvent.ts","line":17,"character":27}],"extendedBy":[{"type":"reference","id":2200,"name":"TransportRepeatEvent"}]},{"id":2200,"name":"TransportRepeatEvent","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"TransportRepeatEvent is an internal class used by Tone.Transport\nto schedule repeat events. This class should not be instantiated directly."},"children":[{"id":2208,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":2209,"name":"new TransportRepeatEvent","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":2210,"name":"transport","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The transport object which the event belongs to\n"},"type":{"type":"reference","name":"Transport"}},{"id":2211,"name":"opts","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":2191,"name":"TransportRepeatEventOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":2200,"name":"TransportRepeatEvent"},"overwrites":{"type":"reference","id":2176,"name":"TransportEvent.__constructor"}}],"sources":[{"fileName":"Tone/core/clock/TransportRepeatEvent.ts","line":53,"character":32}],"overwrites":{"type":"reference","id":2176,"name":"TransportEvent.__constructor"}},{"id":2228,"name":"id","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The unique id of the event"},"sources":[{"fileName":"Tone/core/clock/TransportEvent.ts","line":27,"character":3}],"type":{"type":"intrinsic","name":"number"},"defaultValue":"TransportEvent._eventId++","inheritedFrom":{"type":"reference","id":2168,"name":"TransportEvent.id"}},{"id":2229,"name":"time","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The time the event starts"},"sources":[{"fileName":"Tone/core/clock/TransportEvent.ts","line":32,"character":5}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":2169,"name":"TransportEvent.time"}},{"id":2225,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2226,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Clean up"},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":2188,"name":"TransportEvent.dispose"}}],"sources":[{"fileName":"Tone/core/clock/TransportRepeatEvent.ts","line":141,"character":8}],"overwrites":{"type":"reference","id":2188,"name":"TransportEvent.dispose"}},{"id":2214,"name":"invoke","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2215,"name":"invoke","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Invoke the callback. Returns the tick time which\nthe next event should be scheduled at."},"parameters":[{"id":2216,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The AudioContext time in seconds of the event\n"},"type":{"type":"reference","id":21,"name":"Seconds"}}],"type":{"type":"intrinsic","name":"void"},"overwrites":{"type":"reference","id":2185,"name":"TransportEvent.invoke"}}],"sources":[{"fileName":"Tone/core/clock/TransportRepeatEvent.ts","line":87,"character":7}],"overwrites":{"type":"reference","id":2185,"name":"TransportEvent.invoke"}},{"id":2212,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":2213,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":2191,"name":"TransportRepeatEventOptions"},"overwrites":{"type":"reference","id":2180,"name":"TransportEvent.getDefaults"}}],"sources":[{"fileName":"Tone/core/clock/TransportRepeatEvent.ts","line":74,"character":19}],"overwrites":{"type":"reference","id":2180,"name":"TransportEvent.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[2208]},{"title":"Properties","kind":1024,"children":[2228,2229]},{"title":"Methods","kind":2048,"children":[2225,2214,2212]}],"sources":[{"fileName":"Tone/core/clock/TransportRepeatEvent.ts","line":18,"character":33}],"extendedTypes":[{"type":"reference","id":2166,"name":"TransportEvent"}]},{"id":1681,"name":"TransportTimeClass","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"TransportTime is a the time along the Transport's\ntimeline. It is similar to Tone.Time, but instead of evaluating\nagainst the AudioContext's clock, it is evaluated against\nthe Transport's position. See [TransportTime wiki](https://github.com/Tonejs/Tone.js/wiki/TransportTime)."},"typeParameter":[{"id":1682,"name":"Type","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"reference","id":21,"name":"Seconds"},{"type":"reference","id":35,"name":"Ticks"}]}},{"id":1686,"name":"Unit","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"string"}}],"children":[{"id":1708,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":1709,"name":"new TransportTimeClass","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":1710,"name":"context","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"shortText":"The context associated with the time value. Used to compute\nTransport and context-relative timing."},"type":{"type":"reference","id":3052,"name":"BaseContext"}},{"id":1711,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The time value as a number, string or object"},"type":{"type":"reference","id":502,"name":"TimeValue"}},{"id":1712,"name":"units","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Unit values\n"},"type":{"type":"reference","id":1686,"name":"Unit"}}],"type":{"type":"reference","id":1681,"name":"TransportTimeClass"},"inheritedFrom":{"type":"reference","id":442,"name":"TimeBaseClass.__constructor"}}],"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":50,"character":43}],"inheritedFrom":{"type":"reference","id":442,"name":"TimeBaseClass.__constructor"}},{"id":1703,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":30,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":437,"name":"TimeBaseClass.context"}},{"id":1747,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":1707,"name":"defaultUnits","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The default units"},"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":50,"character":22}],"type":{"type":"typeParameter","name":"Unit","constraint":{"type":"intrinsic","name":"string"}},"defaultValue":"\"s\" as Unit","inheritedFrom":{"type":"reference","id":441,"name":"TimeBaseClass.defaultUnits"}},{"id":1683,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/core/type/TransportTime.ts","line":15,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"TransportTime\"","overwrites":{"type":"reference","id":507,"name":"TimeClass.name"}},{"id":1744,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":1753,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":1754,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":1751,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1752,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect and dispose."},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":58,"name":"Tone.dispose"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":83,"character":8}],"inheritedFrom":{"type":"reference","id":58,"name":"Tone.dispose"}},{"id":1735,"name":"fromType","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1736,"name":"fromType","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Coerce a time type into this units type."},"parameters":[{"id":1737,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"Any time type units\n"},"type":{"type":"reference","id":434,"typeArguments":[{"type":"intrinsic","name":"any"},{"type":"intrinsic","name":"any"}],"name":"TimeBaseClass"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":473,"name":"TimeBaseClass.fromType"}}],"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":270,"character":9}],"inheritedFrom":{"type":"reference","id":473,"name":"TimeBaseClass.fromType"}},{"id":1689,"name":"quantize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1690,"name":"quantize","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Quantize the time by the given subdivision. Optionally add a\npercentage which will move the time value towards the ideal\nquantized value by that percentage.","tags":[{"tag":"example","text":"\nTone.Time(21).quantize(2); // returns 22\nTone.Time(0.6).quantize(\"4n\", 0.5); // returns 0.55\n"}]},"parameters":[{"id":1691,"name":"subdiv","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The subdivision to quantize to"},"type":{"type":"reference","id":31,"name":"Time"}},{"id":1692,"name":"percent","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"Move the time value towards the quantized value by a percentage."},"type":{"type":"intrinsic","name":"number"},"defaultValue":"1"}],"type":{"type":"typeParameter","name":"Type","constraint":{"type":"union","types":[{"type":"reference","id":21,"name":"Seconds"},{"type":"reference","id":35,"name":"Ticks"}]}},"inheritedFrom":{"type":"reference","id":510,"name":"TimeClass.quantize"}}],"sources":[{"fileName":"Tone/core/type/Time.ts","line":48,"character":9}],"inheritedFrom":{"type":"reference","id":510,"name":"TimeClass.quantize"}},{"id":1695,"name":"toBarsBeatsSixteenths","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1696,"name":"toBarsBeatsSixteenths","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the time encoded as Bars:Beats:Sixteenths."},"type":{"type":"reference","id":39,"name":"BarsBeatsSixteenths"},"inheritedFrom":{"type":"reference","id":516,"name":"TimeClass.toBarsBeatsSixteenths"}}],"sources":[{"fileName":"Tone/core/type/Time.ts","line":94,"character":22}],"inheritedFrom":{"type":"reference","id":516,"name":"TimeClass.toBarsBeatsSixteenths"}},{"id":1738,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1739,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the value in hertz"},"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":482,"name":"TimeBaseClass.toFrequency"}}],"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":307,"character":12}],"inheritedFrom":{"type":"reference","id":482,"name":"TimeBaseClass.toFrequency"}},{"id":1701,"name":"toMidi","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1702,"name":"toMidi","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the value as a midi note."},"type":{"type":"reference","id":3,"name":"MidiNote"},"overwrites":{"type":"reference","id":478,"name":"TimeBaseClass.toMidi"},"inheritedFrom":{"type":"reference","id":522,"name":"TimeClass.toMidi"}}],"sources":[{"fileName":"Tone/core/type/Time.ts","line":129,"character":7}],"overwrites":{"type":"reference","id":478,"name":"TimeBaseClass.toMidi"},"inheritedFrom":{"type":"reference","id":522,"name":"TimeClass.toMidi"}},{"id":1742,"name":"toMilliseconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1743,"name":"toMilliseconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the time in milliseconds."},"type":{"type":"reference","id":43,"name":"Milliseconds"},"inheritedFrom":{"type":"reference","id":486,"name":"TimeBaseClass.toMilliseconds"}}],"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":321,"character":15}],"inheritedFrom":{"type":"reference","id":486,"name":"TimeBaseClass.toMilliseconds"}},{"id":1693,"name":"toNotation","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1694,"name":"toNotation","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert a Time to Notation. The notation values are will be the\nclosest representation between 1m to 128th note.","tags":[{"tag":"example","text":"\n// if the Transport is at 120bpm:\nTone.Time(2).toNotation(); // returns \"1m\"\n"}]},"type":{"type":"reference","id":28,"name":"Subdivision"},"inheritedFrom":{"type":"reference","id":514,"name":"TimeClass.toNotation"}}],"sources":[{"fileName":"Tone/core/type/Time.ts","line":68,"character":11}],"inheritedFrom":{"type":"reference","id":514,"name":"TimeClass.toNotation"}},{"id":1740,"name":"toSamples","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1741,"name":"toSamples","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the time in samples"},"type":{"type":"reference","id":40,"name":"Samples"},"inheritedFrom":{"type":"reference","id":484,"name":"TimeBaseClass.toSamples"}}],"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":314,"character":10}],"inheritedFrom":{"type":"reference","id":484,"name":"TimeBaseClass.toSamples"}},{"id":1699,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1700,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the time in seconds."},"type":{"type":"reference","id":21,"name":"Seconds"},"overwrites":{"type":"reference","id":476,"name":"TimeBaseClass.toSeconds"},"inheritedFrom":{"type":"reference","id":520,"name":"TimeClass.toSeconds"}}],"sources":[{"fileName":"Tone/core/type/Time.ts","line":122,"character":10}],"overwrites":{"type":"reference","id":476,"name":"TimeBaseClass.toSeconds"},"inheritedFrom":{"type":"reference","id":520,"name":"TimeClass.toSeconds"}},{"id":1755,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1756,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":1697,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1698,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the time in ticks."},"type":{"type":"reference","id":35,"name":"Ticks"},"overwrites":{"type":"reference","id":480,"name":"TimeBaseClass.toTicks"},"inheritedFrom":{"type":"reference","id":518,"name":"TimeClass.toTicks"}}],"sources":[{"fileName":"Tone/core/type/Time.ts","line":113,"character":8}],"overwrites":{"type":"reference","id":480,"name":"TimeBaseClass.toTicks"},"inheritedFrom":{"type":"reference","id":518,"name":"TimeClass.toTicks"}},{"id":1713,"name":"valueOf","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":1714,"name":"valueOf","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Evaluate the time value. Returns the time in seconds."},"type":{"type":"typeParameter","name":"Type","constraint":{"type":"union","types":[{"type":"reference","id":21,"name":"Seconds"},{"type":"reference","id":35,"name":"Ticks"}]}},"inheritedFrom":{"type":"reference","id":449,"name":"TimeBaseClass.valueOf"}}],"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":153,"character":8}],"inheritedFrom":{"type":"reference","id":449,"name":"TimeBaseClass.valueOf"}},{"id":1745,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":1746,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Returns all of the default options belonging to the class."},"type":{"type":"reference","id":47,"name":"BaseToneOptions"},"inheritedFrom":{"type":"reference","id":51,"name":"Tone.getDefaults"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":38,"character":19}],"inheritedFrom":{"type":"reference","id":51,"name":"Tone.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[1708]},{"title":"Properties","kind":1024,"children":[1703,1747,1707,1683,1744]},{"title":"Accessors","kind":262144,"children":[1753]},{"title":"Methods","kind":2048,"children":[1751,1735,1689,1695,1738,1701,1742,1693,1740,1699,1755,1697,1713,1745]}],"sources":[{"fileName":"Tone/core/type/TransportTime.ts","line":13,"character":31}],"extendedTypes":[{"type":"reference","id":504,"typeArguments":[{"type":"typeParameter","name":"Type","constraint":{"type":"union","types":[{"type":"reference","id":21,"name":"Seconds"},{"type":"reference","id":35,"name":"Ticks"}]}}],"name":"TimeClass"}],"extendedBy":[{"type":"reference","id":1761,"name":"TicksClass"}]},{"id":17764,"name":"Tremolo","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Tremolo modulates the amplitude of an incoming signal using an [[LFO]].\nThe effect is a stereo effect where the modulation phase is inverted in each channel.","tags":[{"tag":"example","text":"\n// create a tremolo and start it's LFO\nconst tremolo = new Tone.Tremolo(9, 0.75).toDestination().start();\n// route an oscillator through the tremolo and start it\nconst oscillator = new Tone.Oscillator().connect(tremolo).start();\n"}]},"children":[{"id":17772,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":17773,"name":"new Tremolo","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":17774,"name":"frequency","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The rate of the effect."},"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":17775,"name":"depth","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The depth of the effect.\n"},"type":{"type":"reference","id":23,"name":"NormalRange"}}],"type":{"type":"reference","id":17764,"name":"Tremolo"},"overwrites":{"type":"reference","id":15736,"name":"StereoEffect.__constructor"}},{"id":17776,"name":"new Tremolo","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":17777,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":17757,"name":"TremoloOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":17764,"name":"Tremolo"},"overwrites":{"type":"reference","id":15736,"name":"StereoEffect.__constructor"}}],"sources":[{"fileName":"Tone/effect/Tremolo.ts","line":63,"character":39},{"fileName":"Tone/effect/Tremolo.ts","line":69,"character":57},{"fileName":"Tone/effect/Tremolo.ts","line":70,"character":48}],"overwrites":{"type":"reference","id":15736,"name":"StereoEffect.__constructor"}},{"id":17848,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":17876,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":17771,"name":"depth","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The depth of the effect. A depth of 0, has no effect\non the amplitude, and a depth of 1 makes the amplitude\nmodulate fully between 0 and 1."},"sources":[{"fileName":"Tone/effect/Tremolo.ts","line":63,"character":15}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"normalRange"}],"name":"Signal"}},{"id":17770,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The frequency of the tremolo."},"sources":[{"fileName":"Tone/effect/Tremolo.ts","line":56,"character":19}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"frequency"}],"name":"Signal"}},{"id":17800,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/effect/StereoEffect.ts","line":19,"character":15}],"type":{"type":"reference","id":1143,"name":"Gain"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":15730,"name":"StereoEffect.input"}},{"id":17765,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/effect/Tremolo.ts","line":31,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Tremolo\"","overwrites":{"type":"reference","id":15729,"name":"StereoEffect.name"}},{"id":17801,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/effect/StereoEffect.ts","line":20,"character":16}],"type":{"type":"reference","id":14368,"name":"CrossFade"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":15731,"name":"StereoEffect.output"}},{"id":17802,"name":"wet","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The wet control, i.e. how much of the effected\nwill pass through to the output."},"sources":[{"fileName":"Tone/effect/StereoEffect.ts","line":31,"character":13}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"normalRange"}],"name":"Signal"},"inheritedFrom":{"type":"reference","id":15733,"name":"StereoEffect.wet"}},{"id":17875,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":17856,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":17857,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":17816,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":17817,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":17818,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":17819,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":17820,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":17821,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":17822,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":17823,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":17824,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":17825,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":17826,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":17827,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":17880,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":17881,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":17811,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":17812,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":17813,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":17814,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":17854,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":17855,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":17794,"name":"spread","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Amount of stereo spread. When set to 0, both LFO's will be panned centrally.\nWhen set to 180, LFO's will be panned hard left and right respectively."},"getSignature":[{"id":17795,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Amount of stereo spread. When set to 0, both LFO's will be panned centrally.\nWhen set to 180, LFO's will be panned hard left and right respectively."},"type":{"type":"reference","id":37,"name":"Degrees"}}],"setSignature":[{"id":17796,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"Amount of stereo spread. When set to 0, both LFO's will be panned centrally.\nWhen set to 180, LFO's will be panned hard left and right respectively."},"parameters":[{"id":17797,"name":"spread","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/effect/Tremolo.ts","line":173,"character":11},{"fileName":"Tone/effect/Tremolo.ts","line":176,"character":11}]},{"id":17790,"name":"type","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The oscillator type."},"getSignature":[{"id":17791,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The oscillator type."},"type":{"type":"reference","id":6554,"name":"ToneOscillatorType"}}],"setSignature":[{"id":17792,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The oscillator type."},"parameters":[{"id":17793,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"custom"},{"type":"stringLiteral","value":"sawtooth"},{"type":"stringLiteral","value":"sine"},{"type":"stringLiteral","value":"square"},{"type":"stringLiteral","value":"triangle"},{"type":"stringLiteral","value":"sine1"},{"type":"stringLiteral","value":"sine2"},{"type":"stringLiteral","value":"sine3"},{"type":"stringLiteral","value":"sine4"},{"type":"stringLiteral","value":"sine5"},{"type":"stringLiteral","value":"sine6"},{"type":"stringLiteral","value":"sine7"},{"type":"stringLiteral","value":"sine8"},{"type":"stringLiteral","value":"sine9"},{"type":"stringLiteral","value":"sine10"},{"type":"stringLiteral","value":"sine11"},{"type":"stringLiteral","value":"sine12"},{"type":"stringLiteral","value":"sine13"},{"type":"stringLiteral","value":"sine14"},{"type":"stringLiteral","value":"sine15"},{"type":"stringLiteral","value":"sine16"},{"type":"stringLiteral","value":"sine17"},{"type":"stringLiteral","value":"sine18"},{"type":"stringLiteral","value":"sine19"},{"type":"stringLiteral","value":"sine20"},{"type":"stringLiteral","value":"sine21"},{"type":"stringLiteral","value":"sine22"},{"type":"stringLiteral","value":"sine23"},{"type":"stringLiteral","value":"sine24"},{"type":"stringLiteral","value":"sine25"},{"type":"stringLiteral","value":"sine26"},{"type":"stringLiteral","value":"sine27"},{"type":"stringLiteral","value":"sine28"},{"type":"stringLiteral","value":"sine29"},{"type":"stringLiteral","value":"sine30"},{"type":"stringLiteral","value":"sine31"},{"type":"stringLiteral","value":"sine32"},{"type":"stringLiteral","value":"square1"},{"type":"stringLiteral","value":"square2"},{"type":"stringLiteral","value":"square3"},{"type":"stringLiteral","value":"square4"},{"type":"stringLiteral","value":"square5"},{"type":"stringLiteral","value":"square6"},{"type":"stringLiteral","value":"square7"},{"type":"stringLiteral","value":"square8"},{"type":"stringLiteral","value":"square9"},{"type":"stringLiteral","value":"square10"},{"type":"stringLiteral","value":"square11"},{"type":"stringLiteral","value":"square12"},{"type":"stringLiteral","value":"square13"},{"type":"stringLiteral","value":"square14"},{"type":"stringLiteral","value":"square15"},{"type":"stringLiteral","value":"square16"},{"type":"stringLiteral","value":"square17"},{"type":"stringLiteral","value":"square18"},{"type":"stringLiteral","value":"square19"},{"type":"stringLiteral","value":"square20"},{"type":"stringLiteral","value":"square21"},{"type":"stringLiteral","value":"square22"},{"type":"stringLiteral","value":"square23"},{"type":"stringLiteral","value":"square24"},{"type":"stringLiteral","value":"square25"},{"type":"stringLiteral","value":"square26"},{"type":"stringLiteral","value":"square27"},{"type":"stringLiteral","value":"square28"},{"type":"stringLiteral","value":"square29"},{"type":"stringLiteral","value":"square30"},{"type":"stringLiteral","value":"square31"},{"type":"stringLiteral","value":"square32"},{"type":"stringLiteral","value":"triangle1"},{"type":"stringLiteral","value":"triangle2"},{"type":"stringLiteral","value":"triangle3"},{"type":"stringLiteral","value":"triangle4"},{"type":"stringLiteral","value":"triangle5"},{"type":"stringLiteral","value":"triangle6"},{"type":"stringLiteral","value":"triangle7"},{"type":"stringLiteral","value":"triangle8"},{"type":"stringLiteral","value":"triangle9"},{"type":"stringLiteral","value":"triangle10"},{"type":"stringLiteral","value":"triangle11"},{"type":"stringLiteral","value":"triangle12"},{"type":"stringLiteral","value":"triangle13"},{"type":"stringLiteral","value":"triangle14"},{"type":"stringLiteral","value":"triangle15"},{"type":"stringLiteral","value":"triangle16"},{"type":"stringLiteral","value":"triangle17"},{"type":"stringLiteral","value":"triangle18"},{"type":"stringLiteral","value":"triangle19"},{"type":"stringLiteral","value":"triangle20"},{"type":"stringLiteral","value":"triangle21"},{"type":"stringLiteral","value":"triangle22"},{"type":"stringLiteral","value":"triangle23"},{"type":"stringLiteral","value":"triangle24"},{"type":"stringLiteral","value":"triangle25"},{"type":"stringLiteral","value":"triangle26"},{"type":"stringLiteral","value":"triangle27"},{"type":"stringLiteral","value":"triangle28"},{"type":"stringLiteral","value":"triangle29"},{"type":"stringLiteral","value":"triangle30"},{"type":"stringLiteral","value":"triangle31"},{"type":"stringLiteral","value":"triangle32"},{"type":"stringLiteral","value":"sawtooth1"},{"type":"stringLiteral","value":"sawtooth2"},{"type":"stringLiteral","value":"sawtooth3"},{"type":"stringLiteral","value":"sawtooth4"},{"type":"stringLiteral","value":"sawtooth5"},{"type":"stringLiteral","value":"sawtooth6"},{"type":"stringLiteral","value":"sawtooth7"},{"type":"stringLiteral","value":"sawtooth8"},{"type":"stringLiteral","value":"sawtooth9"},{"type":"stringLiteral","value":"sawtooth10"},{"type":"stringLiteral","value":"sawtooth11"},{"type":"stringLiteral","value":"sawtooth12"},{"type":"stringLiteral","value":"sawtooth13"},{"type":"stringLiteral","value":"sawtooth14"},{"type":"stringLiteral","value":"sawtooth15"},{"type":"stringLiteral","value":"sawtooth16"},{"type":"stringLiteral","value":"sawtooth17"},{"type":"stringLiteral","value":"sawtooth18"},{"type":"stringLiteral","value":"sawtooth19"},{"type":"stringLiteral","value":"sawtooth20"},{"type":"stringLiteral","value":"sawtooth21"},{"type":"stringLiteral","value":"sawtooth22"},{"type":"stringLiteral","value":"sawtooth23"},{"type":"stringLiteral","value":"sawtooth24"},{"type":"stringLiteral","value":"sawtooth25"},{"type":"stringLiteral","value":"sawtooth26"},{"type":"stringLiteral","value":"sawtooth27"},{"type":"stringLiteral","value":"sawtooth28"},{"type":"stringLiteral","value":"sawtooth29"},{"type":"stringLiteral","value":"sawtooth30"},{"type":"stringLiteral","value":"sawtooth31"},{"type":"stringLiteral","value":"sawtooth32"}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/effect/Tremolo.ts","line":161,"character":9},{"fileName":"Tone/effect/Tremolo.ts","line":164,"character":9}]},{"id":17842,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17843,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":17844,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":17828,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17829,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":17830,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":17831,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":17832,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":17837,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17838,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":17839,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":17840,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":17841,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":17798,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17799,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":15747,"name":"StereoEffect.dispose"}}],"sources":[{"fileName":"Tone/effect/Tremolo.ts","line":181,"character":8}],"overwrites":{"type":"reference","id":15747,"name":"StereoEffect.dispose"}},{"id":17845,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17846,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":17847,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":17870,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17871,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":17757,"name":"TremoloOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":17852,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17853,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":17850,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17851,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":17872,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17873,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":17874,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":17757,"name":"TremoloOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":17780,"name":"start","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17781,"name":"start","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Start the tremolo."},"parameters":[{"id":17782,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/effect/Tremolo.ts","line":123,"character":6}]},{"id":17783,"name":"stop","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17784,"name":"stop","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Stop the tremolo."},"parameters":[{"id":17785,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/effect/Tremolo.ts","line":132,"character":5}]},{"id":17786,"name":"sync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17787,"name":"sync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Sync the effect to the transport."},"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/effect/Tremolo.ts","line":141,"character":5}]},{"id":17833,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17834,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":17861,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17862,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":17863,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":17835,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17836,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":17858,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17859,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":17860,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":17882,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17883,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":17864,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17865,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":17866,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":17788,"name":"unsync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17789,"name":"unsync","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Unsync the filter from the transport"},"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/effect/Tremolo.ts","line":151,"character":7}]},{"id":17778,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":17779,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":17757,"name":"TremoloOptions"},"overwrites":{"type":"reference","id":15745,"name":"StereoEffect.getDefaults"}}],"sources":[{"fileName":"Tone/effect/Tremolo.ts","line":111,"character":19}],"overwrites":{"type":"reference","id":15745,"name":"StereoEffect.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[17772]},{"title":"Properties","kind":1024,"children":[17848,17876,17771,17770,17800,17765,17801,17802,17875]},{"title":"Accessors","kind":262144,"children":[17856,17816,17820,17824,17880,17811,17813,17854,17794,17790]},{"title":"Methods","kind":2048,"children":[17842,17828,17837,17798,17845,17870,17852,17850,17872,17780,17783,17786,17833,17861,17835,17858,17882,17864,17788,17778]}],"sources":[{"fileName":"Tone/effect/Tremolo.ts","line":29,"character":20}],"extendedTypes":[{"type":"reference","id":15727,"typeArguments":[{"type":"reference","id":17757,"name":"TremoloOptions"}],"name":"StereoEffect"}]},{"id":6065,"name":"UserMedia","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"UserMedia uses MediaDevices.getUserMedia to open up and external microphone or audio input.\nCheck [MediaDevices API Support](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia)\nto see which browsers are supported. Access to an external input\nis limited to secure (HTTPS) connections.","tags":[{"tag":"example","text":"\nconst meter = new Tone.Meter();\nconst mic = new Tone.UserMedia().connect(meter);\nmic.open().then(() => {\n\t// promise resolves when input is available\n\tconsole.log(\"mic open\");\n\t// print the incoming mic levels in decibels\n\tsetInterval(() => console.log(meter.getValue()), 100);\n}).catch(e => {\n\t// promise is rejected when the user doesn't have or allow mic access\n\tconsole.log(\"mic not open\");\n});"}]},"children":[{"id":6074,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":6075,"name":"new UserMedia","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":6076,"name":"volume","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The level of the input in decibels\n"},"type":{"type":"reference","id":22,"name":"Decibels"}}],"type":{"type":"reference","id":6065,"name":"UserMedia"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":6077,"name":"new UserMedia","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":6078,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":6061,"name":"UserMediaOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":6065,"name":"UserMedia"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/source/UserMedia.ts","line":64,"character":36},{"fileName":"Tone/source/UserMedia.ts","line":69,"character":32},{"fileName":"Tone/source/UserMedia.ts","line":70,"character":50}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":6141,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":6169,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":6067,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/source/UserMedia.ts","line":38,"character":15}],"type":{"type":"intrinsic","name":"undefined"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":6066,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/source/UserMedia.ts","line":36,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"UserMedia\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":6068,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/source/UserMedia.ts","line":39,"character":16}],"type":{"type":"reference","id":1102,"name":"OutputNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":6073,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The volume of the output in decibels."},"sources":[{"fileName":"Tone/source/UserMedia.ts","line":64,"character":16}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"decibels"}],"name":"Param"}},{"id":6168,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":6149,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":6150,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":6109,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":6110,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":6111,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":6112,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":6113,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":6114,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":6115,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":6116,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":6117,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":6118,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":6119,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":6120,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":6090,"name":"deviceId","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Returns an identifier for the represented device that is\npersisted across sessions. It is un-guessable by other applications and\nunique to the origin of the calling application. It is reset when the\nuser clears cookies (for Private Browsing, a different identifier is\nused that is not persisted across sessions). Returns undefined when the\ndevice is not open."},"getSignature":[{"id":6091,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Returns an identifier for the represented device that is\npersisted across sessions. It is un-guessable by other applications and\nunique to the origin of the calling application. It is reset when the\nuser clears cookies (for Private Browsing, a different identifier is\nused that is not persisted across sessions). Returns undefined when the\ndevice is not open."},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"undefined"}]}}],"sources":[{"fileName":"Tone/source/UserMedia.ts","line":194,"character":13}]},{"id":6173,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":6174,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":6092,"name":"groupId","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Returns a group identifier. Two devices have the\nsame group identifier if they belong to the same physical device.\nReturns null  when the device is not open."},"getSignature":[{"id":6093,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Returns a group identifier. Two devices have the\nsame group identifier if they belong to the same physical device.\nReturns null  when the device is not open."},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"undefined"}]}}],"sources":[{"fileName":"Tone/source/UserMedia.ts","line":207,"character":12}]},{"id":6094,"name":"label","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Returns a label describing this device (for example \"Built-in Microphone\").\nReturns undefined when the device is not open or label is not available\nbecause of permissions."},"getSignature":[{"id":6095,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Returns a label describing this device (for example \"Built-in Microphone\").\nReturns undefined when the device is not open or label is not available\nbecause of permissions."},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"undefined"}]}}],"sources":[{"fileName":"Tone/source/UserMedia.ts","line":220,"character":10}]},{"id":6096,"name":"mute","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Mute the output.","tags":[{"tag":"example","text":"\nconst mic = new Tone.UserMedia();\nmic.open().then(() => {\n\t// promise resolves when input is available\n});\n// mute the output\nmic.mute = true;\n"}]},"getSignature":[{"id":6097,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Mute the output.","tags":[{"tag":"example","text":"\nconst mic = new Tone.UserMedia();\nmic.open().then(() => {\n\t// promise resolves when input is available\n});\n// mute the output\nmic.mute = true;\n"}]},"type":{"type":"intrinsic","name":"boolean"}}],"setSignature":[{"id":6098,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"Mute the output.","tags":[{"tag":"example","text":"\nconst mic = new Tone.UserMedia();\nmic.open().then(() => {\n\t// promise resolves when input is available\n});\n// mute the output\nmic.mute = true;\n"}]},"parameters":[{"id":6099,"name":"mute","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/UserMedia.ts","line":238,"character":9},{"fileName":"Tone/source/UserMedia.ts","line":241,"character":9}]},{"id":6104,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":6105,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":6106,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":6107,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":6147,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":6148,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":6088,"name":"state","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Returns the playback state of the source, \"started\" when the microphone is open\nand \"stopped\" when the mic is closed."},"getSignature":[{"id":6089,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Returns the playback state of the source, \"started\" when the microphone is open\nand \"stopped\" when the mic is closed."},"type":{"type":"union","types":[{"type":"stringLiteral","value":"started"},{"type":"stringLiteral","value":"stopped"}]}}],"sources":[{"fileName":"Tone/source/UserMedia.ts","line":182,"character":10}]},{"id":6102,"name":"supported","kind":262144,"kindString":"Accessor","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"If getUserMedia is supported by the browser."},"getSignature":[{"id":6103,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"If getUserMedia is supported by the browser."},"type":{"type":"intrinsic","name":"boolean"}}],"sources":[{"fileName":"Tone/source/UserMedia.ts","line":256,"character":21}]},{"id":6135,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6136,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":6137,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":6084,"name":"close","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6085,"name":"close","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Close the media stream"},"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/source/UserMedia.ts","line":148,"character":6}]},{"id":6121,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6122,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":6123,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":6124,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":6125,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":6130,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6131,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":6132,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":6133,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":6134,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":6100,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6101,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/source/UserMedia.ts","line":245,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":6138,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6139,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":6140,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":6163,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6164,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":6061,"name":"UserMediaOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":6145,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6146,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":6143,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6144,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":6081,"name":"open","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6082,"name":"open","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Open the media stream. If a string is passed in, it is assumed\nto be the label or id of the stream, if a number is passed in,\nit is the input number of the stream.","returns":"The promise is resolved when the stream is open.\n"},"parameters":[{"id":6083,"name":"labelOrId","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The label or id of the audio input media device.\n                  With no argument, the default stream is opened."},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"number"}]}}],"type":{"type":"reference","typeArguments":[{"type":"intrinsic","name":"this"}],"name":"Promise"}}],"sources":[{"fileName":"Tone/source/UserMedia.ts","line":100,"character":11}]},{"id":6165,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6166,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":6167,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":6061,"name":"UserMediaOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":6126,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6127,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":6154,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6155,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":6156,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":6128,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6129,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":6151,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6152,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":6153,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":6175,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6176,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":6157,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6158,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":6159,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":6086,"name":"enumerateDevices","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":6087,"name":"enumerateDevices","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Returns a promise which resolves with the list of audio input devices available.","returns":"The promise that is resolved with the devices","tags":[{"tag":"example","text":"\nTone.UserMedia.enumerateDevices().then((devices) => {\n\t// print the device labels\n\tconsole.log(devices.map(device => device.label));\n});\n"}]},"type":{"type":"reference","typeArguments":[{"type":"array","elementType":{"type":"reference","name":"MediaDeviceInfo"}}],"name":"Promise"}}],"sources":[{"fileName":"Tone/source/UserMedia.ts","line":171,"character":30}]},{"id":6079,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":6080,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":6061,"name":"UserMediaOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/source/UserMedia.ts","line":85,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[6074]},{"title":"Properties","kind":1024,"children":[6141,6169,6067,6066,6068,6073,6168]},{"title":"Accessors","kind":262144,"children":[6149,6109,6113,6117,6090,6173,6092,6094,6096,6104,6106,6147,6088,6102]},{"title":"Methods","kind":2048,"children":[6135,6084,6121,6130,6100,6138,6163,6145,6143,6081,6165,6126,6154,6128,6151,6175,6157,6086,6079]}],"sources":[{"fileName":"Tone/source/UserMedia.ts","line":34,"character":22}],"extendedTypes":[{"type":"reference","id":1004,"typeArguments":[{"type":"reference","id":6061,"name":"UserMediaOptions"}],"name":"ToneAudioNode"}]},{"id":17891,"name":"Vibrato","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A Vibrato effect composed of a Tone.Delay and a Tone.LFO. The LFO\nmodulates the delayTime of the delay, causing the pitch to rise and fall."},"children":[{"id":17897,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":17898,"name":"new Vibrato","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":17899,"name":"frequency","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The frequency of the vibrato."},"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":17900,"name":"depth","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The amount the pitch is modulated.\n"},"type":{"type":"reference","id":23,"name":"NormalRange"}}],"type":{"type":"reference","id":17891,"name":"Vibrato"},"overwrites":{"type":"reference","id":14472,"name":"Effect.__constructor"}},{"id":17901,"name":"new Vibrato","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":17902,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":17884,"name":"VibratoOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":17891,"name":"Vibrato"},"overwrites":{"type":"reference","id":14472,"name":"Effect.__constructor"}}],"sources":[{"fileName":"Tone/effect/Vibrato.ts","line":43,"character":38},{"fileName":"Tone/effect/Vibrato.ts","line":49,"character":57},{"fileName":"Tone/effect/Vibrato.ts","line":50,"character":48}],"overwrites":{"type":"reference","id":14472,"name":"Effect.__constructor"}},{"id":17956,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":17984,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":17896,"name":"depth","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The depth of the vibrato."},"sources":[{"fileName":"Tone/effect/Vibrato.ts","line":43,"character":15}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"normalRange"}],"name":"Param"}},{"id":17895,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The frequency of the vibrato"},"sources":[{"fileName":"Tone/effect/Vibrato.ts","line":38,"character":19}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"frequency"}],"name":"Signal"}},{"id":17914,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The effect input node"},"sources":[{"fileName":"Tone/effect/Effect.ts","line":46,"character":6}],"type":{"type":"reference","id":1143,"name":"Gain"},"defaultValue":"new Gain({ context: this.context })","overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":14470,"name":"Effect.input"}},{"id":17892,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/effect/Vibrato.ts","line":24,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Vibrato\"","overwrites":{"type":"reference","id":14465,"name":"Effect.name"}},{"id":17915,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The effect output"},"sources":[{"fileName":"Tone/effect/Effect.ts","line":51,"character":7}],"type":{"type":"reference","id":14368,"name":"CrossFade"},"defaultValue":"this._dryWet","overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":14471,"name":"Effect.output"}},{"id":17911,"name":"wet","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The wet control is how much of the effected\nwill pass through to the output. 1 = 100% effected\nsignal, 0 = 100% dry signal."},"sources":[{"fileName":"Tone/effect/Effect.ts","line":31,"character":4}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"normalRange"}],"name":"Signal"},"defaultValue":"this._dryWet.fade","inheritedFrom":{"type":"reference","id":14467,"name":"Effect.wet"}},{"id":17983,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":17964,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":17965,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":17924,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":17925,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":17926,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":17927,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":17928,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":17929,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":17930,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":17931,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":17932,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":17933,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":17934,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":17935,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":17988,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":17989,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":17919,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":17920,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":17921,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":17922,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":17962,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":17963,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":17905,"name":"type","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Type of oscillator attached to the Vibrato."},"getSignature":[{"id":17906,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Type of oscillator attached to the Vibrato."},"type":{"type":"reference","id":6554,"name":"ToneOscillatorType"}}],"setSignature":[{"id":17907,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"Type of oscillator attached to the Vibrato."},"parameters":[{"id":17908,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"custom"},{"type":"stringLiteral","value":"sawtooth"},{"type":"stringLiteral","value":"sine"},{"type":"stringLiteral","value":"square"},{"type":"stringLiteral","value":"triangle"},{"type":"stringLiteral","value":"sine1"},{"type":"stringLiteral","value":"sine2"},{"type":"stringLiteral","value":"sine3"},{"type":"stringLiteral","value":"sine4"},{"type":"stringLiteral","value":"sine5"},{"type":"stringLiteral","value":"sine6"},{"type":"stringLiteral","value":"sine7"},{"type":"stringLiteral","value":"sine8"},{"type":"stringLiteral","value":"sine9"},{"type":"stringLiteral","value":"sine10"},{"type":"stringLiteral","value":"sine11"},{"type":"stringLiteral","value":"sine12"},{"type":"stringLiteral","value":"sine13"},{"type":"stringLiteral","value":"sine14"},{"type":"stringLiteral","value":"sine15"},{"type":"stringLiteral","value":"sine16"},{"type":"stringLiteral","value":"sine17"},{"type":"stringLiteral","value":"sine18"},{"type":"stringLiteral","value":"sine19"},{"type":"stringLiteral","value":"sine20"},{"type":"stringLiteral","value":"sine21"},{"type":"stringLiteral","value":"sine22"},{"type":"stringLiteral","value":"sine23"},{"type":"stringLiteral","value":"sine24"},{"type":"stringLiteral","value":"sine25"},{"type":"stringLiteral","value":"sine26"},{"type":"stringLiteral","value":"sine27"},{"type":"stringLiteral","value":"sine28"},{"type":"stringLiteral","value":"sine29"},{"type":"stringLiteral","value":"sine30"},{"type":"stringLiteral","value":"sine31"},{"type":"stringLiteral","value":"sine32"},{"type":"stringLiteral","value":"square1"},{"type":"stringLiteral","value":"square2"},{"type":"stringLiteral","value":"square3"},{"type":"stringLiteral","value":"square4"},{"type":"stringLiteral","value":"square5"},{"type":"stringLiteral","value":"square6"},{"type":"stringLiteral","value":"square7"},{"type":"stringLiteral","value":"square8"},{"type":"stringLiteral","value":"square9"},{"type":"stringLiteral","value":"square10"},{"type":"stringLiteral","value":"square11"},{"type":"stringLiteral","value":"square12"},{"type":"stringLiteral","value":"square13"},{"type":"stringLiteral","value":"square14"},{"type":"stringLiteral","value":"square15"},{"type":"stringLiteral","value":"square16"},{"type":"stringLiteral","value":"square17"},{"type":"stringLiteral","value":"square18"},{"type":"stringLiteral","value":"square19"},{"type":"stringLiteral","value":"square20"},{"type":"stringLiteral","value":"square21"},{"type":"stringLiteral","value":"square22"},{"type":"stringLiteral","value":"square23"},{"type":"stringLiteral","value":"square24"},{"type":"stringLiteral","value":"square25"},{"type":"stringLiteral","value":"square26"},{"type":"stringLiteral","value":"square27"},{"type":"stringLiteral","value":"square28"},{"type":"stringLiteral","value":"square29"},{"type":"stringLiteral","value":"square30"},{"type":"stringLiteral","value":"square31"},{"type":"stringLiteral","value":"square32"},{"type":"stringLiteral","value":"triangle1"},{"type":"stringLiteral","value":"triangle2"},{"type":"stringLiteral","value":"triangle3"},{"type":"stringLiteral","value":"triangle4"},{"type":"stringLiteral","value":"triangle5"},{"type":"stringLiteral","value":"triangle6"},{"type":"stringLiteral","value":"triangle7"},{"type":"stringLiteral","value":"triangle8"},{"type":"stringLiteral","value":"triangle9"},{"type":"stringLiteral","value":"triangle10"},{"type":"stringLiteral","value":"triangle11"},{"type":"stringLiteral","value":"triangle12"},{"type":"stringLiteral","value":"triangle13"},{"type":"stringLiteral","value":"triangle14"},{"type":"stringLiteral","value":"triangle15"},{"type":"stringLiteral","value":"triangle16"},{"type":"stringLiteral","value":"triangle17"},{"type":"stringLiteral","value":"triangle18"},{"type":"stringLiteral","value":"triangle19"},{"type":"stringLiteral","value":"triangle20"},{"type":"stringLiteral","value":"triangle21"},{"type":"stringLiteral","value":"triangle22"},{"type":"stringLiteral","value":"triangle23"},{"type":"stringLiteral","value":"triangle24"},{"type":"stringLiteral","value":"triangle25"},{"type":"stringLiteral","value":"triangle26"},{"type":"stringLiteral","value":"triangle27"},{"type":"stringLiteral","value":"triangle28"},{"type":"stringLiteral","value":"triangle29"},{"type":"stringLiteral","value":"triangle30"},{"type":"stringLiteral","value":"triangle31"},{"type":"stringLiteral","value":"triangle32"},{"type":"stringLiteral","value":"sawtooth1"},{"type":"stringLiteral","value":"sawtooth2"},{"type":"stringLiteral","value":"sawtooth3"},{"type":"stringLiteral","value":"sawtooth4"},{"type":"stringLiteral","value":"sawtooth5"},{"type":"stringLiteral","value":"sawtooth6"},{"type":"stringLiteral","value":"sawtooth7"},{"type":"stringLiteral","value":"sawtooth8"},{"type":"stringLiteral","value":"sawtooth9"},{"type":"stringLiteral","value":"sawtooth10"},{"type":"stringLiteral","value":"sawtooth11"},{"type":"stringLiteral","value":"sawtooth12"},{"type":"stringLiteral","value":"sawtooth13"},{"type":"stringLiteral","value":"sawtooth14"},{"type":"stringLiteral","value":"sawtooth15"},{"type":"stringLiteral","value":"sawtooth16"},{"type":"stringLiteral","value":"sawtooth17"},{"type":"stringLiteral","value":"sawtooth18"},{"type":"stringLiteral","value":"sawtooth19"},{"type":"stringLiteral","value":"sawtooth20"},{"type":"stringLiteral","value":"sawtooth21"},{"type":"stringLiteral","value":"sawtooth22"},{"type":"stringLiteral","value":"sawtooth23"},{"type":"stringLiteral","value":"sawtooth24"},{"type":"stringLiteral","value":"sawtooth25"},{"type":"stringLiteral","value":"sawtooth26"},{"type":"stringLiteral","value":"sawtooth27"},{"type":"stringLiteral","value":"sawtooth28"},{"type":"stringLiteral","value":"sawtooth29"},{"type":"stringLiteral","value":"sawtooth30"},{"type":"stringLiteral","value":"sawtooth31"},{"type":"stringLiteral","value":"sawtooth32"}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/effect/Vibrato.ts","line":89,"character":9},{"fileName":"Tone/effect/Vibrato.ts","line":92,"character":9}]},{"id":17950,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17951,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":17952,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":17936,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17937,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":17938,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":17939,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":17940,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":17945,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17946,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":17947,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":17948,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":17949,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":17909,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17910,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":14480,"name":"Effect.dispose"}}],"sources":[{"fileName":"Tone/effect/Vibrato.ts","line":96,"character":8}],"overwrites":{"type":"reference","id":14480,"name":"Effect.dispose"}},{"id":17953,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17954,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":17955,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":17978,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17979,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":17884,"name":"VibratoOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":17960,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17961,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":17958,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17959,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":17980,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17981,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":17982,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":17884,"name":"VibratoOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":17941,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17942,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":17969,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17970,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":17971,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":17943,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17944,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":17966,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17967,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":17968,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":17990,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17991,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":17972,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17973,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":17974,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":17903,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":17904,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":17884,"name":"VibratoOptions"},"overwrites":{"type":"reference","id":14475,"name":"Effect.getDefaults"}}],"sources":[{"fileName":"Tone/effect/Vibrato.ts","line":77,"character":19}],"overwrites":{"type":"reference","id":14475,"name":"Effect.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[17897]},{"title":"Properties","kind":1024,"children":[17956,17984,17896,17895,17914,17892,17915,17911,17983]},{"title":"Accessors","kind":262144,"children":[17964,17924,17928,17932,17988,17919,17921,17962,17905]},{"title":"Methods","kind":2048,"children":[17950,17936,17945,17909,17953,17978,17960,17958,17980,17941,17969,17943,17966,17990,17972,17903]}],"sources":[{"fileName":"Tone/effect/Vibrato.ts","line":22,"character":20}],"extendedTypes":[{"type":"reference","id":14463,"typeArguments":[{"type":"reference","id":17884,"name":"VibratoOptions"}],"name":"Effect"}]},{"id":2449,"name":"Volume","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Volume is a simple volume node, useful for creating a volume fader.","tags":[{"tag":"example","text":"\nconst vol = new Tone.Volume(-12).toDestination();\nconst osc = new Tone.Oscillator().connect(vol).start();"}]},"children":[{"id":2455,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":2456,"name":"new Volume","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":2457,"name":"volume","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"the initial volume in decibels\n"},"type":{"type":"reference","id":22,"name":"Decibels"}}],"type":{"type":"reference","id":2449,"name":"Volume"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":2458,"name":"new Volume","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":2459,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":2445,"name":"VolumeOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":2449,"name":"Volume"},"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}}],"sources":[{"fileName":"Tone/component/channel/Volume.ts","line":47,"character":27},{"fileName":"Tone/component/channel/Volume.ts","line":52,"character":32},{"fileName":"Tone/component/channel/Volume.ts","line":53,"character":47}],"overwrites":{"type":"reference","id":1060,"name":"ToneWithContext.__constructor"}},{"id":2505,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":2533,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":2452,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Input and output are the same"},"sources":[{"fileName":"Tone/component/channel/Volume.ts","line":33,"character":6}],"type":{"type":"reference","id":1143,"typeArguments":[{"type":"stringLiteral","value":"decibels"}],"name":"Gain"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":2450,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/channel/Volume.ts","line":23,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Volume\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":2451,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"the output node"},"sources":[{"fileName":"Tone/component/channel/Volume.ts","line":28,"character":7}],"type":{"type":"reference","id":1143,"typeArguments":[{"type":"stringLiteral","value":"decibels"}],"name":"Gain"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":2454,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The volume control in decibels.","tags":[{"tag":"example","text":"\nconst vol = new Tone.Volume().toDestination();\nconst osc = new Tone.Oscillator().connect(vol).start();\nvol.volume.value = -20;\n"}]},"sources":[{"fileName":"Tone/component/channel/Volume.ts","line":47,"character":7}],"type":{"type":"reference","id":826,"typeArguments":[{"type":"stringLiteral","value":"decibels"}],"name":"Param"}},{"id":2532,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":2513,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":2514,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":2473,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":2474,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":2475,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":2476,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":2477,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":2478,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":2479,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":2480,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":2481,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":2482,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":2483,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":2484,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":2537,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":2538,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":2462,"name":"mute","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Mute the output.","tags":[{"tag":"example","text":"\nconst vol = new Tone.Volume(-12).toDestination();\nconst osc = new Tone.Oscillator().connect(vol).start();\n// mute the output\nvol.mute = true;\n"}]},"getSignature":[{"id":2463,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Mute the output.","tags":[{"tag":"example","text":"\nconst vol = new Tone.Volume(-12).toDestination();\nconst osc = new Tone.Oscillator().connect(vol).start();\n// mute the output\nvol.mute = true;\n"}]},"type":{"type":"intrinsic","name":"boolean"}}],"setSignature":[{"id":2464,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"Mute the output.","tags":[{"tag":"example","text":"\nconst vol = new Tone.Volume(-12).toDestination();\nconst osc = new Tone.Oscillator().connect(vol).start();\n// mute the output\nvol.mute = true;\n"}]},"parameters":[{"id":2465,"name":"mute","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/component/channel/Volume.ts","line":87,"character":9},{"fileName":"Tone/component/channel/Volume.ts","line":90,"character":9}]},{"id":2468,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":2469,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":2470,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":2471,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":2511,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":2512,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":2499,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2500,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":2501,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":2485,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2486,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":2487,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":2488,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":2489,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":2494,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2495,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":2496,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":2497,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":2498,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":2466,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2467,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"clean up"},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/component/channel/Volume.ts","line":103,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":2502,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2503,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":2504,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":2527,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2528,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":2445,"name":"VolumeOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":2509,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2510,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":2507,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2508,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":2529,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2530,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":2531,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":2445,"name":"VolumeOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":2490,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2491,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":2518,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2519,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":2520,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":2492,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2493,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":2515,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2516,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":2517,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":2539,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2540,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":2521,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":2522,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":2523,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":2460,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":2461,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":2445,"name":"VolumeOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/component/channel/Volume.ts","line":72,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[2455]},{"title":"Properties","kind":1024,"children":[2505,2533,2452,2450,2451,2454,2532]},{"title":"Accessors","kind":262144,"children":[2513,2473,2477,2481,2537,2462,2468,2470,2511]},{"title":"Methods","kind":2048,"children":[2499,2485,2494,2466,2502,2527,2509,2507,2529,2490,2518,2492,2515,2539,2521,2460]}],"sources":[{"fileName":"Tone/component/channel/Volume.ts","line":21,"character":19}],"extendedTypes":[{"type":"reference","id":1004,"typeArguments":[{"type":"reference","id":2445,"name":"VolumeOptions"}],"name":"ToneAudioNode"}]},{"id":6998,"name":"WaveShaper","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Wraps the native Web Audio API\n[WaveShaperNode](http://webaudio.github.io/web-audio-api/#the-waveshapernode-interface).","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator().toDestination().start();\n// multiply the output of the signal by 2 using the waveshaper's function\nconst timesTwo = new Tone.WaveShaper((val) => val * 2, 2048).connect(osc.frequency);\nconst signal = new Tone.Signal(440).connect(timesTwo);"}]},"children":[{"id":7003,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":7004,"name":"new WaveShaper","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":7005,"name":"mapping","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The function used to define the values.\n               The mapping function should take two arguments:\n               the first is the value at the current position\n               and the second is the array position.\n               If the argument is an array, that array will be\n               set as the wave shaping function. The input\n               signal is an AudioRange [-1, 1] value and the output\n               signal can take on any numerical values.\n"},"type":{"type":"reference","id":7103,"name":"WaveShaperMapping"}},{"id":7006,"name":"length","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}}],"type":{"type":"reference","id":6998,"name":"WaveShaper"},"overwrites":{"type":"reference","id":6909,"name":"SignalOperator.__constructor"}},{"id":7007,"name":"new WaveShaper","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":7008,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":6993,"name":"WaveShaperOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":6998,"name":"WaveShaper"},"overwrites":{"type":"reference","id":6909,"name":"SignalOperator.__constructor"}}],"sources":[{"fileName":"Tone/signal/WaveShaper.ts","line":46,"character":23},{"fileName":"Tone/signal/WaveShaper.ts","line":60,"character":59},{"fileName":"Tone/signal/WaveShaper.ts","line":61,"character":51}],"overwrites":{"type":"reference","id":6909,"name":"SignalOperator.__constructor"}},{"id":7062,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":7090,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":7001,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The input to the waveshaper node."},"sources":[{"fileName":"Tone/signal/WaveShaper.ts","line":41,"character":6}],"type":{"type":"reference","name":"WaveShaperNode"},"defaultValue":"this._shaper","overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":6999,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/signal/WaveShaper.ts","line":31,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"WaveShaper\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":7002,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The output from the waveshaper node"},"sources":[{"fileName":"Tone/signal/WaveShaper.ts","line":46,"character":7}],"type":{"type":"reference","name":"WaveShaperNode"},"defaultValue":"this._shaper","overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":7089,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":7070,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":7071,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":7035,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":7036,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":7037,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":7038,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":7039,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":7040,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":7041,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":7042,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":7043,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":7044,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":7045,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":7046,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":7015,"name":"curve","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The array to set as the waveshaper curve. For linear curves\narray length does not make much difference, but for complex curves\nlonger arrays will provide smoother interpolation."},"getSignature":[{"id":7016,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The array to set as the waveshaper curve. For linear curves\narray length does not make much difference, but for complex curves\nlonger arrays will provide smoother interpolation."},"type":{"type":"union","types":[{"type":"reference","name":"Float32Array"},{"type":"intrinsic","name":"null"}]}}],"setSignature":[{"id":7017,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The array to set as the waveshaper curve. For linear curves\narray length does not make much difference, but for complex curves\nlonger arrays will provide smoother interpolation."},"parameters":[{"id":7018,"name":"mapping","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"reference","name":"Float32Array"},{"type":"intrinsic","name":"null"}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/signal/WaveShaper.ts","line":106,"character":10},{"fileName":"Tone/signal/WaveShaper.ts","line":110,"character":10}]},{"id":7094,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":7095,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":7030,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":7031,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":7032,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":7033,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":7019,"name":"oversample","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Specifies what type of oversampling (if any) should be used when\napplying the shaping curve. Can either be \"none\", \"2x\" or \"4x\"."},"getSignature":[{"id":7020,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Specifies what type of oversampling (if any) should be used when\napplying the shaping curve. Can either be \"none\", \"2x\" or \"4x\"."},"type":{"type":"reference","name":"OverSampleType"}}],"setSignature":[{"id":7021,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"Specifies what type of oversampling (if any) should be used when\napplying the shaping curve. Can either be \"none\", \"2x\" or \"4x\"."},"parameters":[{"id":7022,"name":"oversampling","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"OverSampleType"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/signal/WaveShaper.ts","line":118,"character":15},{"fileName":"Tone/signal/WaveShaper.ts","line":122,"character":15}]},{"id":7068,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":7069,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":7056,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7057,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":7058,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":7025,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7026,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":7027,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":7028,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":7029,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"},"inheritedFrom":{"type":"reference","id":6912,"name":"SignalOperator.connect"}}],"sources":[{"fileName":"Tone/signal/SignalOperator.ts","line":17,"character":8}],"overwrites":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"},"inheritedFrom":{"type":"reference","id":6912,"name":"SignalOperator.connect"}},{"id":7051,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7052,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":7053,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":7054,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":7055,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":7023,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7024,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Clean up."},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/signal/WaveShaper.ts","line":131,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":7059,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7060,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":7061,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":7084,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7085,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":6993,"name":"WaveShaperOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":7066,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7067,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":7064,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7065,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":7086,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7087,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":7088,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":6993,"name":"WaveShaperOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":7011,"name":"setMap","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7012,"name":"setMap","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Uses a mapping function to set the value of the curve.","tags":[{"tag":"example","text":"\nconst shaper = new Tone.WaveShaper();\n// map the input signal from [-1, 1] to [0, 10]\nshaper.setMap((val, index) => (val + 1) * 5);\n"}]},"parameters":[{"id":7013,"name":"mapping","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The function used to define the values.\n               The mapping function take two arguments:\n               the first is the value at the current position\n               which goes from -1 to 1 over the number of elements\n               in the curve array. The second argument is the array position."},"type":{"type":"reference","id":7098,"name":"WaveShaperMappingFn"}},{"id":7014,"name":"length","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"1024"}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"Tone/signal/WaveShaper.ts","line":91,"character":7}]},{"id":7047,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7048,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":7075,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7076,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":7077,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":7049,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7050,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":7072,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7073,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":7074,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":7096,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7097,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":7078,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7079,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":7080,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":7009,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":7010,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":6993,"name":"WaveShaperOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/signal/WaveShaper.ts","line":73,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[7003]},{"title":"Properties","kind":1024,"children":[7062,7090,7001,6999,7002,7089]},{"title":"Accessors","kind":262144,"children":[7070,7035,7039,7043,7015,7094,7030,7032,7019,7068]},{"title":"Methods","kind":2048,"children":[7056,7025,7051,7023,7059,7084,7066,7064,7086,7011,7047,7075,7049,7072,7096,7078,7009]}],"sources":[{"fileName":"Tone/signal/WaveShaper.ts","line":29,"character":23}],"extendedTypes":[{"type":"reference","id":6907,"typeArguments":[{"type":"reference","id":6993,"name":"WaveShaperOptions"}],"name":"SignalOperator"}]},{"id":18492,"name":"Waveform","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Get the current waveform data of the connected audio source."},"children":[{"id":18494,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":18495,"name":"new Waveform","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":18496,"name":"size","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The size of the Waveform. Value must be a power of two in the range 16 to 16384.\n"},"type":{"type":"reference","id":44,"name":"PowerOfTwo"}}],"type":{"type":"reference","id":18492,"name":"Waveform"},"overwrites":{"type":"reference","id":18113,"name":"MeterBase.__constructor"}},{"id":18497,"name":"new Waveform","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"comment":{},"parameters":[{"id":18498,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":18489,"name":"WaveformOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":18492,"name":"Waveform"},"overwrites":{"type":"reference","id":18113,"name":"MeterBase.__constructor"}}],"sources":[{"fileName":"Tone/component/analysis/Waveform.ts","line":18,"character":36},{"fileName":"Tone/component/analysis/Waveform.ts","line":23,"character":32},{"fileName":"Tone/component/analysis/Waveform.ts","line":24,"character":49}],"overwrites":{"type":"reference","id":18113,"name":"MeterBase.__constructor"}},{"id":18549,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":18577,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":18507,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The signal to be analysed"},"sources":[{"fileName":"Tone/component/analysis/MeterBase.ts","line":17,"character":6}],"type":{"type":"reference","id":1101,"name":"InputNode"},"overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"},"inheritedFrom":{"type":"reference","id":18110,"name":"MeterBase.input"}},{"id":18493,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/component/analysis/Waveform.ts","line":18,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Waveform\"","overwrites":{"type":"reference","id":18109,"name":"MeterBase.name"}},{"id":18508,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The output is just a pass through of the input"},"sources":[{"fileName":"Tone/component/analysis/MeterBase.ts","line":22,"character":7}],"type":{"type":"reference","id":1102,"name":"OutputNode"},"overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"},"inheritedFrom":{"type":"reference","id":18111,"name":"MeterBase.output"}},{"id":18576,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":18557,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":18558,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":18517,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":18518,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":18519,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":18520,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":18521,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":18522,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":18523,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":18524,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":18525,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":18526,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":18527,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":18528,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":18581,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":18582,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":18512,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":18513,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":18514,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":18515,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":18555,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":18556,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":18503,"name":"size","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The size of analysis. This must be a power of two in the range 16 to 16384.\nDetermines the size of the array returned by [[getValue]]."},"getSignature":[{"id":18504,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The size of analysis. This must be a power of two in the range 16 to 16384.\nDetermines the size of the array returned by [[getValue]]."},"type":{"type":"reference","id":44,"name":"PowerOfTwo"}}],"setSignature":[{"id":18505,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"The size of analysis. This must be a power of two in the range 16 to 16384.\nDetermines the size of the array returned by [[getValue]]."},"parameters":[{"id":18506,"name":"size","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/component/analysis/Waveform.ts","line":51,"character":9},{"fileName":"Tone/component/analysis/Waveform.ts","line":54,"character":9}]},{"id":18543,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18544,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":18545,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":18529,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18530,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode"},"parameters":[{"id":18531,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":18532,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output to connect from"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":18533,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input to connect to\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":196,"character":8}],"inheritedFrom":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"}},{"id":18538,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18539,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":18540,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":18541,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":18542,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":18510,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18511,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"},"inheritedFrom":{"type":"reference","id":18116,"name":"MeterBase.dispose"}}],"sources":[{"fileName":"Tone/component/analysis/MeterBase.ts","line":40,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"},"inheritedFrom":{"type":"reference","id":18116,"name":"MeterBase.dispose"}},{"id":18546,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18547,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":18548,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":18571,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18572,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":18489,"name":"WaveformOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":18501,"name":"getValue","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18502,"name":"getValue","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the waveform for the current time as a Float32Array where each value in the array\nrepresents a sample in the waveform."},"type":{"type":"reference","name":"Float32Array"}}],"sources":[{"fileName":"Tone/component/analysis/Waveform.ts","line":43,"character":9}]},{"id":18553,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18554,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":18551,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18552,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":18573,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18574,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":18575,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":18489,"name":"WaveformOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":18534,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18535,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":18562,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18563,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":18564,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":18536,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18537,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":18559,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18560,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":18561,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":18583,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18584,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":18565,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18566,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":18567,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":18499,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":18500,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":18489,"name":"WaveformOptions"},"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/component/analysis/Waveform.ts","line":33,"character":19}],"overwrites":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[18494]},{"title":"Properties","kind":1024,"children":[18549,18577,18507,18493,18508,18576]},{"title":"Accessors","kind":262144,"children":[18557,18517,18521,18525,18581,18512,18514,18555,18503]},{"title":"Methods","kind":2048,"children":[18543,18529,18538,18510,18546,18571,18501,18553,18551,18573,18534,18562,18536,18559,18583,18565,18499]}],"sources":[{"fileName":"Tone/component/analysis/Waveform.ts","line":16,"character":21}],"extendedTypes":[{"type":"reference","id":18107,"typeArguments":[{"type":"reference","id":18489,"name":"WaveformOptions"}],"name":"MeterBase"}]},{"id":8660,"name":"Zero","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Tone.Zero outputs 0's at audio-rate. The reason this has to be\nit's own class is that many browsers optimize out Tone.Signal\nwith a value of 0 and will not process nodes further down the graph."},"children":[{"id":8665,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":8666,"name":"new Zero","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"parameters":[{"id":8667,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"}],"name":"Partial"}}],"type":{"type":"reference","id":8660,"name":"Zero"},"overwrites":{"type":"reference","id":6909,"name":"SignalOperator.__constructor"}}],"sources":[{"fileName":"Tone/signal/Zero.ts","line":29,"character":19},{"fileName":"Tone/signal/Zero.ts","line":31,"character":54}],"overwrites":{"type":"reference","id":6909,"name":"SignalOperator.__constructor"}},{"id":8707,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The context belonging to the node."},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":27,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":962,"name":"ToneWithContext.context"}},{"id":8737,"name":"debug","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Set this debug flag to log all events that happen in this class."},"sources":[{"fileName":"Tone/core/Tone.ts","line":49,"character":6}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false","inheritedFrom":{"type":"reference","id":53,"name":"Tone.debug"}},{"id":8664,"name":"input","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"no input node"},"sources":[{"fileName":"Tone/signal/Zero.ts","line":29,"character":6}],"type":{"type":"intrinsic","name":"undefined"},"defaultValue":"undefined","overwrites":{"type":"reference","id":1007,"name":"ToneAudioNode.input"}},{"id":8661,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"Tone/signal/Zero.ts","line":14,"character":14}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"Zero\"","overwrites":{"type":"reference","id":1006,"name":"ToneAudioNode.name"}},{"id":8663,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Only outputs 0"},"sources":[{"fileName":"Tone/signal/Zero.ts","line":24,"character":7}],"type":{"type":"reference","id":1143,"typeArguments":[{"type":"stringLiteral","value":"gain"}],"name":"Gain"},"defaultValue":"this._gain","overwrites":{"type":"reference","id":1008,"name":"ToneAudioNode.output"}},{"id":8736,"name":"version","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"The version number semver"},"sources":[{"fileName":"Tone/core/Tone.ts","line":28,"character":15}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"version","inheritedFrom":{"type":"reference","id":49,"name":"Tone.version"}},{"id":8717,"name":"blockTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"getSignature":[{"id":8718,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of seconds of 1 processing block (128 samples)","tags":[{"tag":"example","text":"\nconsole.log(Tone.Destination.blockTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":93,"character":14}],"inheritedFrom":{"type":"reference","id":970,"name":"ToneWithContext.blockTime"}},{"id":8680,"name":"channelCount","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"getSignature":[{"id":8681,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"setSignature":[{"id":8682,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCount is the number of channels used when up-mixing and down-mixing\nconnections to any inputs to the node. The default value is 2 except for\nspecific nodes where its value is specially determined."},"parameters":[{"id":8683,"name":"channelCount","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":146,"character":17},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":149,"character":17}],"inheritedFrom":{"type":"reference","id":1024,"name":"ToneAudioNode.channelCount"}},{"id":8684,"name":"channelCountMode","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"getSignature":[{"id":8685,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"type":{"type":"reference","name":"ChannelCountMode"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"setSignature":[{"id":8686,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelCountMode determines how channels will be counted when up-mixing and\ndown-mixing connections to any inputs to the node.\nThe default value is \"max\". This attribute has no effect for nodes with no inputs.\n* \"max\" - computedNumberOfChannels is the maximum of the number of channels of all connections to an input. In this mode channelCount is ignored.\n* \"clamped-max\" - computedNumberOfChannels is determined as for \"max\" and then clamped to a maximum value of the given channelCount.\n* \"explicit\" - computedNumberOfChannels is the exact value as specified by the channelCount."},"parameters":[{"id":8687,"name":"channelCountMode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"clamped-max"},{"type":"stringLiteral","value":"explicit"},{"type":"stringLiteral","value":"max"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":163,"character":21},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":166,"character":21}],"inheritedFrom":{"type":"reference","id":1028,"name":"ToneAudioNode.channelCountMode"}},{"id":8688,"name":"channelInterpretation","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"getSignature":[{"id":8689,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"type":{"type":"reference","name":"ChannelInterpretation"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"setSignature":[{"id":8690,"name":"__set","kind":1048576,"kindString":"Set signature","flags":{"isExported":true},"comment":{"shortText":"channelInterpretation determines how individual channels will be treated\nwhen up-mixing and down-mixing connections to any inputs to the node.\nThe default value is \"speakers\"."},"parameters":[{"id":8691,"name":"channelInterpretation","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"stringLiteral","value":"discrete"},{"type":"stringLiteral","value":"speakers"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":177,"character":26},{"fileName":"Tone/core/context/ToneAudioNode.ts","line":180,"character":26}],"inheritedFrom":{"type":"reference","id":1032,"name":"ToneAudioNode.channelInterpretation"}},{"id":8741,"name":"disposed","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"getSignature":[{"id":8742,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"Indicates if the instance was disposed. 'Disposing' an\ninstance means that all of the Web Audio nodes that were\ncreated for the instance are disconnected and freed for garbage collection."},"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":93,"character":13}],"inheritedFrom":{"type":"reference","id":60,"name":"Tone.disposed"}},{"id":8675,"name":"numberOfInputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"getSignature":[{"id":8676,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of inputs feeding into the AudioNode.\nFor source nodes, this will be 0.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfInputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":51,"character":19}],"inheritedFrom":{"type":"reference","id":1009,"name":"ToneAudioNode.numberOfInputs"}},{"id":8677,"name":"numberOfOutputs","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"getSignature":[{"id":8678,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The number of outputs of the AudioNode.","tags":[{"tag":"example","text":"\nconst node = new Tone.Gain();\nconsole.log(node.numberOfOutputs);\n"}]},"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":69,"character":20}],"inheritedFrom":{"type":"reference","id":1011,"name":"ToneAudioNode.numberOfOutputs"}},{"id":8715,"name":"sampleTime","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"getSignature":[{"id":8716,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"comment":{"shortText":"The duration in seconds of one sample.","tags":[{"tag":"example","text":"\nconsole.log(Tone.Transport.sampleTime);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":84,"character":15}],"inheritedFrom":{"type":"reference","id":968,"name":"ToneWithContext.sampleTime"}},{"id":8701,"name":"chain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8702,"name":"chain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output of this node to the rest of the nodes in series.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/handdrum-loop.mp3\");\nplayer.autostart = true;\nconst filter = new Tone.AutoFilter(4).start();\nconst distortion = new Tone.Distortion(0.5);\n// connect the player to the filter, distortion and then to the master output\nplayer.chain(filter, distortion, Tone.Destination);\n"}]},"parameters":[{"id":8703,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":240,"character":6}],"inheritedFrom":{"type":"reference","id":1050,"name":"ToneAudioNode.chain"}},{"id":8670,"name":"connect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8671,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":8672,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":8673,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":8674,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"},"inheritedFrom":{"type":"reference","id":6912,"name":"SignalOperator.connect"}}],"sources":[{"fileName":"Tone/signal/SignalOperator.ts","line":17,"character":8}],"overwrites":{"type":"reference","id":1036,"name":"ToneAudioNode.connect"},"inheritedFrom":{"type":"reference","id":6912,"name":"SignalOperator.connect"}},{"id":8696,"name":"disconnect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8697,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"disconnect the output"},"parameters":[{"id":8698,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":8699,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":8700,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":225,"character":11}],"inheritedFrom":{"type":"reference","id":1045,"name":"ToneAudioNode.disconnect"}},{"id":8668,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8669,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"clean up"},"type":{"type":"intrinsic","name":"this"},"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}}],"sources":[{"fileName":"Tone/signal/Zero.ts","line":40,"character":8}],"overwrites":{"type":"reference","id":1056,"name":"ToneAudioNode.dispose"}},{"id":8704,"name":"fan","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8705,"name":"fan","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect the output of this node to the rest of the nodes in parallel.","tags":[{"tag":"example","text":"\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/drum-samples/conga-rhythm.mp3\");\nplayer.autostart = true;\nconst pitchShift = new Tone.PitchShift(4).toDestination();\nconst filter = new Tone.Filter(\"G5\").toDestination();\n// connect a node to the pitch shift and filter in parallel\nplayer.fan(pitchShift, filter);\n"}]},"parameters":[{"id":8706,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":255,"character":4}],"inheritedFrom":{"type":"reference","id":1053,"name":"ToneAudioNode.fan"}},{"id":8731,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8732,"name":"get","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the object's attributes.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.get());\n"}]},"type":{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"},"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":154,"character":4}],"inheritedFrom":{"type":"reference","id":984,"name":"ToneWithContext.get"}},{"id":8713,"name":"immediate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8714,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock without any lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.immediate());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":75,"character":10}],"inheritedFrom":{"type":"reference","id":966,"name":"ToneWithContext.immediate"}},{"id":8711,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8712,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return the current time of the Context clock plus the lookAhead.","tags":[{"tag":"example","text":"\nsetInterval(() => {\n\tconsole.log(Tone.now());\n}, 100);\n"}]},"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":64,"character":4}],"inheritedFrom":{"type":"reference","id":964,"name":"ToneWithContext.now"}},{"id":8733,"name":"set","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8734,"name":"set","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set multiple properties at once with an object.","tags":[{"tag":"example","text":"\nconst filter = new Tone.Filter().toDestination();\n// set values using an object\nfilter.set({\n\tfrequency: \"C6\",\n\ttype: \"highpass\"\n});\nconst player = new Tone.Player(\"https://tonejs.github.io/audio/berklee/Analogsynth_octaves_highmid.mp3\").connect(filter);\nplayer.autostart = true;\n"}]},"parameters":[{"id":8735,"name":"props","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"}],"name":"RecursivePartial"}}],"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":188,"character":4}],"inheritedFrom":{"type":"reference","id":986,"name":"ToneWithContext.set"}},{"id":8692,"name":"toDestination","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8693,"name":"toDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C2\").start();\nosc.toDestination();\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":207,"character":14}],"inheritedFrom":{"type":"reference","id":1041,"name":"ToneAudioNode.toDestination"}},{"id":8722,"name":"toFrequency","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8723,"name":"toFrequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input to a frequency number","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toFrequency(\"4n\"));\n"}]},"parameters":[{"id":8724,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":32,"name":"Frequency"}}],"type":{"type":"reference","id":41,"name":"Hertz"},"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":116,"character":12}],"inheritedFrom":{"type":"reference","id":975,"name":"ToneWithContext.toFrequency"}},{"id":8694,"name":"toMaster","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8695,"name":"toMaster","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect the output to the context's destination node.\nSee [[toDestination]]","tags":[{"tag":"deprecated","text":"\n"}]},"type":{"type":"intrinsic","name":"this"},"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":217,"character":9}],"inheritedFrom":{"type":"reference","id":1043,"name":"ToneAudioNode.toMaster"}},{"id":8719,"name":"toSeconds","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8720,"name":"toSeconds","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the incoming time to seconds.\nThis is calculated against the current [[Tone.Transport]] bpm","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nsetInterval(() => console.log(gain.toSeconds(\"4n\")), 100);\n// ramp the tempo to 60 bpm over 30 seconds\nTone.getTransport().bpm.rampTo(60, 30);\n"}]},"parameters":[{"id":8721,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":31,"name":"Time"}}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":106,"character":10}],"inheritedFrom":{"type":"reference","id":972,"name":"ToneWithContext.toSeconds"}},{"id":8743,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8744,"name":"toString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the class to a string","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nconsole.log(osc.toString());\n"}]},"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}}],"sources":[{"fileName":"Tone/core/Tone.ts","line":103,"character":9}],"inheritedFrom":{"type":"reference","id":62,"name":"Tone.toString"}},{"id":8725,"name":"toTicks","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":8726,"name":"toTicks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the input time into ticks","tags":[{"tag":"example","text":"\nconst gain = new Tone.Gain();\nconsole.log(gain.toTicks(\"4n\"));\n"}]},"parameters":[{"id":8727,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":504,"name":"TimeClass"}]}}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":126,"character":8}],"inheritedFrom":{"type":"reference","id":978,"name":"ToneWithContext.toTicks"}},{"id":8709,"name":"getDefaults","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":8710,"name":"getDefaults","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":4791,"name":"ToneWithContextOptions"},"overwrites":{"type":"reference","id":51,"name":"Tone.getDefaults"},"inheritedFrom":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":51,"character":19}],"overwrites":{"type":"reference","id":51,"name":"Tone.getDefaults"},"inheritedFrom":{"type":"reference","id":1065,"name":"ToneWithContext.getDefaults"}}],"groups":[{"title":"Constructors","kind":512,"children":[8665]},{"title":"Properties","kind":1024,"children":[8707,8737,8664,8661,8663,8736]},{"title":"Accessors","kind":262144,"children":[8717,8680,8684,8688,8741,8675,8677,8715]},{"title":"Methods","kind":2048,"children":[8701,8670,8696,8668,8704,8731,8713,8711,8733,8692,8722,8694,8719,8743,8725,8709]}],"sources":[{"fileName":"Tone/signal/Zero.ts","line":12,"character":17}],"extendedTypes":[{"type":"reference","id":6907,"typeArguments":[{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"}],"name":"SignalOperator"}]},{"id":6299,"name":"AMBaseOscillatorOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"AMOscillator Interface"},"children":[{"id":6308,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":6303,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":156,"character":7}],"type":{"type":"reference","id":42,"name":"Cents"},"inheritedFrom":{"type":"reference","id":6190,"name":"BaseOscillatorOptions.detune"}},{"id":6302,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":155,"character":10}],"type":{"type":"reference","id":32,"name":"Frequency"},"inheritedFrom":{"type":"reference","id":6189,"name":"BaseOscillatorOptions.frequency"}},{"id":6300,"name":"harmonicity","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":228,"character":12}],"type":{"type":"reference","id":27,"name":"Positive"}},{"id":6301,"name":"modulationType","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":229,"character":15}],"type":{"type":"reference","id":6553,"name":"AllNonCustomOscillatorType"}},{"id":6306,"name":"mute","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":18,"character":5}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":5560,"name":"SourceOptions.mute"}},{"id":6307,"name":"onstop","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":19,"character":7}],"type":{"type":"reference","id":5706,"name":"onStopCallback"},"inheritedFrom":{"type":"reference","id":5561,"name":"SourceOptions.onstop"}},{"id":6304,"name":"phase","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":157,"character":6}],"type":{"type":"reference","id":37,"name":"Degrees"},"inheritedFrom":{"type":"reference","id":6191,"name":"BaseOscillatorOptions.phase"}},{"id":6305,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":17,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"},"inheritedFrom":{"type":"reference","id":5559,"name":"SourceOptions.volume"}}],"groups":[{"title":"Properties","kind":1024,"children":[6308,6303,6302,6300,6301,6306,6307,6304,6305]}],"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":227,"character":33}],"extendedTypes":[{"type":"reference","id":6188,"name":"BaseOscillatorOptions"}],"extendedBy":[{"type":"reference","id":6309,"name":"AMCustomOscillatorOptions"},{"type":"reference","id":6321,"name":"AMTypeOscillatorOptions"},{"type":"reference","id":6333,"name":"AMPartialsOscillatorOptions"},{"type":"reference","id":6473,"name":"OmniAMCustomOscillatorOptions"},{"type":"reference","id":6485,"name":"OmniAMTypeOscillatorOptions"},{"type":"reference","id":6497,"name":"OmniAMPartialsOscillatorOptions"}]},{"id":6309,"name":"AMCustomOscillatorOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":6320,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":6315,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":156,"character":7}],"type":{"type":"reference","id":42,"name":"Cents"},"inheritedFrom":{"type":"reference","id":6190,"name":"BaseOscillatorOptions.detune"}},{"id":6314,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":155,"character":10}],"type":{"type":"reference","id":32,"name":"Frequency"},"inheritedFrom":{"type":"reference","id":6189,"name":"BaseOscillatorOptions.frequency"}},{"id":6312,"name":"harmonicity","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":228,"character":12}],"type":{"type":"reference","id":27,"name":"Positive"},"inheritedFrom":{"type":"reference","id":6300,"name":"AMBaseOscillatorOptions.harmonicity"}},{"id":6313,"name":"modulationType","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":229,"character":15}],"type":{"type":"reference","id":6553,"name":"AllNonCustomOscillatorType"},"inheritedFrom":{"type":"reference","id":6301,"name":"AMBaseOscillatorOptions.modulationType"}},{"id":6318,"name":"mute","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":18,"character":5}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":5560,"name":"SourceOptions.mute"}},{"id":6319,"name":"onstop","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":19,"character":7}],"type":{"type":"reference","id":5706,"name":"onStopCallback"},"inheritedFrom":{"type":"reference","id":5561,"name":"SourceOptions.onstop"}},{"id":6311,"name":"partials","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":234,"character":9}],"type":{"type":"array","elementType":{"type":"intrinsic","name":"number"}}},{"id":6316,"name":"phase","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":157,"character":6}],"type":{"type":"reference","id":37,"name":"Degrees"},"inheritedFrom":{"type":"reference","id":6191,"name":"BaseOscillatorOptions.phase"}},{"id":6310,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":233,"character":5}],"type":{"type":"stringLiteral","value":"custom"}},{"id":6317,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":17,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"},"inheritedFrom":{"type":"reference","id":5559,"name":"SourceOptions.volume"}}],"groups":[{"title":"Properties","kind":1024,"children":[6320,6315,6314,6312,6313,6318,6319,6311,6316,6310,6317]}],"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":232,"character":35}],"extendedTypes":[{"type":"reference","id":6299,"name":"AMBaseOscillatorOptions"}]},{"id":6344,"name":"AMOscillatorOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":6356,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":6351,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":156,"character":7}],"type":{"type":"reference","id":42,"name":"Cents"},"inheritedFrom":{"type":"reference","id":6190,"name":"BaseOscillatorOptions.detune"}},{"id":6350,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":155,"character":10}],"type":{"type":"reference","id":32,"name":"Frequency"},"inheritedFrom":{"type":"reference","id":6189,"name":"BaseOscillatorOptions.frequency"}},{"id":6345,"name":"harmonicity","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":249,"character":12}],"type":{"type":"reference","id":27,"name":"Positive"}},{"id":6346,"name":"modulationType","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":250,"character":15}],"type":{"type":"reference","id":6553,"name":"AllNonCustomOscillatorType"}},{"id":6354,"name":"mute","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":18,"character":5}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":5560,"name":"SourceOptions.mute"}},{"id":6355,"name":"onstop","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":19,"character":7}],"type":{"type":"reference","id":5706,"name":"onStopCallback"},"inheritedFrom":{"type":"reference","id":5561,"name":"SourceOptions.onstop"}},{"id":6348,"name":"partialCount","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":189,"character":13}],"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":6227,"name":"ToneOscillatorOptions.partialCount"}},{"id":6349,"name":"partials","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":190,"character":9}],"type":{"type":"array","elementType":{"type":"intrinsic","name":"number"}},"inheritedFrom":{"type":"reference","id":6228,"name":"ToneOscillatorOptions.partials"}},{"id":6352,"name":"phase","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":157,"character":6}],"type":{"type":"reference","id":37,"name":"Degrees"},"inheritedFrom":{"type":"reference","id":6191,"name":"BaseOscillatorOptions.phase"}},{"id":6347,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":188,"character":5}],"type":{"type":"reference","id":6554,"name":"ToneOscillatorType"},"inheritedFrom":{"type":"reference","id":6226,"name":"ToneOscillatorOptions.type"}},{"id":6353,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":17,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"},"inheritedFrom":{"type":"reference","id":5559,"name":"SourceOptions.volume"}}],"groups":[{"title":"Properties","kind":1024,"children":[6356,6351,6350,6345,6346,6354,6355,6348,6349,6352,6347,6353]}],"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":248,"character":36}],"extendedTypes":[{"type":"reference","id":6225,"name":"ToneOscillatorOptions"}]},{"id":6333,"name":"AMPartialsOscillatorOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":6343,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":6338,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":156,"character":7}],"type":{"type":"reference","id":42,"name":"Cents"},"inheritedFrom":{"type":"reference","id":6190,"name":"BaseOscillatorOptions.detune"}},{"id":6337,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":155,"character":10}],"type":{"type":"reference","id":32,"name":"Frequency"},"inheritedFrom":{"type":"reference","id":6189,"name":"BaseOscillatorOptions.frequency"}},{"id":6335,"name":"harmonicity","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":228,"character":12}],"type":{"type":"reference","id":27,"name":"Positive"},"inheritedFrom":{"type":"reference","id":6300,"name":"AMBaseOscillatorOptions.harmonicity"}},{"id":6336,"name":"modulationType","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":229,"character":15}],"type":{"type":"reference","id":6553,"name":"AllNonCustomOscillatorType"},"inheritedFrom":{"type":"reference","id":6301,"name":"AMBaseOscillatorOptions.modulationType"}},{"id":6341,"name":"mute","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":18,"character":5}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":5560,"name":"SourceOptions.mute"}},{"id":6342,"name":"onstop","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":19,"character":7}],"type":{"type":"reference","id":5706,"name":"onStopCallback"},"inheritedFrom":{"type":"reference","id":5561,"name":"SourceOptions.onstop"}},{"id":6339,"name":"phase","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":157,"character":6}],"type":{"type":"reference","id":37,"name":"Degrees"},"inheritedFrom":{"type":"reference","id":6191,"name":"BaseOscillatorOptions.phase"}},{"id":6334,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":243,"character":5}],"type":{"type":"reference","id":6551,"name":"TypeWithPartials"}},{"id":6340,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":17,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"},"inheritedFrom":{"type":"reference","id":5559,"name":"SourceOptions.volume"}}],"groups":[{"title":"Properties","kind":1024,"children":[6343,6338,6337,6335,6336,6341,6342,6339,6334,6340]}],"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":242,"character":37}],"extendedTypes":[{"type":"reference","id":6299,"name":"AMBaseOscillatorOptions"}]},{"id":6321,"name":"AMTypeOscillatorOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":6332,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":6327,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":156,"character":7}],"type":{"type":"reference","id":42,"name":"Cents"},"inheritedFrom":{"type":"reference","id":6190,"name":"BaseOscillatorOptions.detune"}},{"id":6326,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":155,"character":10}],"type":{"type":"reference","id":32,"name":"Frequency"},"inheritedFrom":{"type":"reference","id":6189,"name":"BaseOscillatorOptions.frequency"}},{"id":6324,"name":"harmonicity","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":228,"character":12}],"type":{"type":"reference","id":27,"name":"Positive"},"inheritedFrom":{"type":"reference","id":6300,"name":"AMBaseOscillatorOptions.harmonicity"}},{"id":6325,"name":"modulationType","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":229,"character":15}],"type":{"type":"reference","id":6553,"name":"AllNonCustomOscillatorType"},"inheritedFrom":{"type":"reference","id":6301,"name":"AMBaseOscillatorOptions.modulationType"}},{"id":6330,"name":"mute","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":18,"character":5}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":5560,"name":"SourceOptions.mute"}},{"id":6331,"name":"onstop","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":19,"character":7}],"type":{"type":"reference","id":5706,"name":"onStopCallback"},"inheritedFrom":{"type":"reference","id":5561,"name":"SourceOptions.onstop"}},{"id":6323,"name":"partialsCount","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":239,"character":14}],"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}},{"id":6328,"name":"phase","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":157,"character":6}],"type":{"type":"reference","id":37,"name":"Degrees"},"inheritedFrom":{"type":"reference","id":6191,"name":"BaseOscillatorOptions.phase"}},{"id":6322,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":238,"character":5}],"type":{"type":"reference","id":6552,"name":"NonCustomOscillatorType"}},{"id":6329,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":17,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"},"inheritedFrom":{"type":"reference","id":5559,"name":"SourceOptions.volume"}}],"groups":[{"title":"Properties","kind":1024,"children":[6332,6327,6326,6324,6325,6330,6331,6323,6328,6322,6329]}],"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":237,"character":33}],"extendedTypes":[{"type":"reference","id":6299,"name":"AMBaseOscillatorOptions"}]},{"id":17992,"name":"AnalyserOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":17996,"name":"channels","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/analysis/Analyser.ts","line":14,"character":9}],"type":{"type":"intrinsic","name":"number"}},{"id":17997,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":17993,"name":"size","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/analysis/Analyser.ts","line":11,"character":5}],"type":{"type":"reference","id":44,"name":"PowerOfTwo"}},{"id":17995,"name":"smoothing","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/analysis/Analyser.ts","line":13,"character":10}],"type":{"type":"reference","id":23,"name":"NormalRange"}},{"id":17994,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/analysis/Analyser.ts","line":12,"character":5}],"type":{"type":"reference","id":18106,"name":"AnalyserType"}}],"groups":[{"title":"Properties","kind":1024,"children":[17996,17997,17993,17995,17994]}],"sources":[{"fileName":"Tone/component/analysis/Analyser.ts","line":10,"character":32}],"extendedTypes":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}]},{"id":14669,"name":"AutoFilterOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":14670,"name":"baseFrequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/AutoFilter.ts","line":8,"character":14}],"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":14677,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":14675,"name":"depth","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/LFOEffect.ts","line":12,"character":6}],"type":{"type":"reference","id":23,"name":"NormalRange"},"inheritedFrom":{"type":"reference","id":14558,"name":"LFOEffectOptions.depth"}},{"id":14672,"name":"filter","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/AutoFilter.ts","line":10,"character":7}],"type":{"type":"reference","id":1119,"typeArguments":[{"type":"reference","id":11725,"name":"FilterOptions"},{"type":"union","types":[{"type":"typeOperator","operator":"keyof","target":{"type":"reference","id":5558,"name":"SourceOptions"}},{"type":"stringLiteral","value":"frequency"},{"type":"stringLiteral","value":"detune"},{"type":"stringLiteral","value":"gain"}]}],"name":"Omit"}},{"id":14673,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/LFOEffect.ts","line":10,"character":10}],"type":{"type":"reference","id":32,"name":"Frequency"},"inheritedFrom":{"type":"reference","id":14556,"name":"LFOEffectOptions.frequency"}},{"id":14671,"name":"octaves","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/AutoFilter.ts","line":9,"character":8}],"type":{"type":"reference","id":27,"name":"Positive"}},{"id":14674,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/LFOEffect.ts","line":11,"character":5}],"type":{"type":"reference","id":6554,"name":"ToneOscillatorType"},"inheritedFrom":{"type":"reference","id":14557,"name":"LFOEffectOptions.type"}},{"id":14676,"name":"wet","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/Effect.ts","line":9,"character":4}],"type":{"type":"reference","id":23,"name":"NormalRange"},"inheritedFrom":{"type":"reference","id":14461,"name":"EffectOptions.wet"}}],"groups":[{"title":"Properties","kind":1024,"children":[14670,14677,14675,14672,14673,14671,14674,14676]}],"sources":[{"fileName":"Tone/effect/AutoFilter.ts","line":7,"character":34}],"extendedTypes":[{"type":"reference","id":14555,"name":"LFOEffectOptions"}]},{"id":14891,"name":"AutoPannerOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":14892,"name":"channelCount","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/AutoPanner.ts","line":7,"character":13}],"type":{"type":"intrinsic","name":"number"}},{"id":14897,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":14895,"name":"depth","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/LFOEffect.ts","line":12,"character":6}],"type":{"type":"reference","id":23,"name":"NormalRange"},"inheritedFrom":{"type":"reference","id":14558,"name":"LFOEffectOptions.depth"}},{"id":14893,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/LFOEffect.ts","line":10,"character":10}],"type":{"type":"reference","id":32,"name":"Frequency"},"inheritedFrom":{"type":"reference","id":14556,"name":"LFOEffectOptions.frequency"}},{"id":14894,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/LFOEffect.ts","line":11,"character":5}],"type":{"type":"reference","id":6554,"name":"ToneOscillatorType"},"inheritedFrom":{"type":"reference","id":14557,"name":"LFOEffectOptions.type"}},{"id":14896,"name":"wet","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/Effect.ts","line":9,"character":4}],"type":{"type":"reference","id":23,"name":"NormalRange"},"inheritedFrom":{"type":"reference","id":14461,"name":"EffectOptions.wet"}}],"groups":[{"title":"Properties","kind":1024,"children":[14892,14897,14895,14893,14894,14896]}],"sources":[{"fileName":"Tone/effect/AutoPanner.ts","line":6,"character":34}],"extendedTypes":[{"type":"reference","id":14555,"name":"LFOEffectOptions"}]},{"id":15105,"name":"AutoWahOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":15109,"name":"Q","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/AutoWah.ts","line":16,"character":2}],"type":{"type":"reference","id":27,"name":"Positive"}},{"id":15106,"name":"baseFrequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/AutoWah.ts","line":13,"character":14}],"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":15113,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":15111,"name":"follower","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/AutoWah.ts","line":18,"character":9}],"type":{"type":"reference","id":31,"name":"Time"}},{"id":15110,"name":"gain","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/AutoWah.ts","line":17,"character":5}],"type":{"type":"reference","id":26,"name":"GainFactor"}},{"id":15107,"name":"octaves","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/AutoWah.ts","line":14,"character":8}],"type":{"type":"reference","id":27,"name":"Positive"}},{"id":15108,"name":"sensitivity","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/AutoWah.ts","line":15,"character":12}],"type":{"type":"reference","id":22,"name":"Decibels"}},{"id":15112,"name":"wet","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/Effect.ts","line":9,"character":4}],"type":{"type":"reference","id":23,"name":"NormalRange"},"inheritedFrom":{"type":"reference","id":14461,"name":"EffectOptions.wet"}}],"groups":[{"title":"Properties","kind":1024,"children":[15109,15106,15113,15111,15110,15107,15108,15112]}],"sources":[{"fileName":"Tone/effect/AutoWah.ts","line":12,"character":31}],"extendedTypes":[{"type":"reference","id":14460,"name":"EffectOptions"}]},{"id":6188,"name":"BaseOscillatorOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":6195,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":6190,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":156,"character":7}],"type":{"type":"reference","id":42,"name":"Cents"}},{"id":6189,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":155,"character":10}],"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":6193,"name":"mute","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":18,"character":5}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":5560,"name":"SourceOptions.mute"}},{"id":6194,"name":"onstop","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":19,"character":7}],"type":{"type":"reference","id":5706,"name":"onStopCallback"},"inheritedFrom":{"type":"reference","id":5561,"name":"SourceOptions.onstop"}},{"id":6191,"name":"phase","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":157,"character":6}],"type":{"type":"reference","id":37,"name":"Degrees"}},{"id":6192,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":17,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"},"inheritedFrom":{"type":"reference","id":5559,"name":"SourceOptions.volume"}}],"groups":[{"title":"Properties","kind":1024,"children":[6195,6190,6189,6193,6194,6191,6192]}],"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":154,"character":31}],"extendedTypes":[{"type":"reference","id":5558,"name":"SourceOptions"}],"extendedBy":[{"type":"reference","id":6196,"name":"ToneCustomOscillatorOptions"},{"type":"reference","id":6206,"name":"ToneTypeOscillatorOptions"},{"type":"reference","id":6216,"name":"TonePartialOscillatorOptions"},{"type":"reference","id":6225,"name":"ToneOscillatorOptions"},{"type":"reference","id":6236,"name":"FMBaseOscillatorOptions"},{"type":"reference","id":6299,"name":"AMBaseOscillatorOptions"},{"type":"reference","id":6357,"name":"FatBaseOscillatorOptions"},{"type":"reference","id":6415,"name":"PulseOscillatorOptions"},{"type":"reference","id":6425,"name":"PWMOscillatorOptions"}]},{"id":47,"name":"BaseToneOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/Tone.ts","line":16,"character":32},{"fileName":"Tone/core/util/Defaults.ts","line":4,"character":20}],"type":{"type":"reference","id":47,"name":"BaseToneOptions"}},{"id":11512,"name":"BiquadFilterOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":11515,"name":"Q","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/filter/BiquadFilter.ts","line":10,"character":2}],"type":{"type":"intrinsic","name":"number"}},{"id":11518,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":11514,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/filter/BiquadFilter.ts","line":9,"character":7}],"type":{"type":"reference","id":42,"name":"Cents"}},{"id":11513,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/filter/BiquadFilter.ts","line":8,"character":10}],"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":11517,"name":"gain","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/filter/BiquadFilter.ts","line":12,"character":5}],"type":{"type":"reference","id":26,"name":"GainFactor"}},{"id":11516,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/filter/BiquadFilter.ts","line":11,"character":5}],"type":{"type":"reference","name":"BiquadFilterType"}}],"groups":[{"title":"Properties","kind":1024,"children":[11515,11518,11514,11513,11517,11516]}],"sources":[{"fileName":"Tone/component/filter/BiquadFilter.ts","line":7,"character":36}],"extendedTypes":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}]},{"id":15237,"name":"BitCrusherOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":15238,"name":"bits","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/BitCrusher.ts","line":11,"character":5}],"type":{"type":"reference","id":27,"name":"Positive"}},{"id":15240,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":15239,"name":"wet","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/Effect.ts","line":9,"character":4}],"type":{"type":"reference","id":23,"name":"NormalRange"},"inheritedFrom":{"type":"reference","id":14461,"name":"EffectOptions.wet"}}],"groups":[{"title":"Properties","kind":1024,"children":[15238,15240,15239]}],"sources":[{"fileName":"Tone/effect/BitCrusher.ts","line":10,"character":34}],"extendedTypes":[{"type":"reference","id":14460,"name":"EffectOptions"}]},{"id":15335,"name":"BitCrusherWorkletOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":15336,"name":"bits","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/BitCrusher.ts","line":72,"character":5}],"type":{"type":"intrinsic","name":"number"}},{"id":15337,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}}],"groups":[{"title":"Properties","kind":1024,"children":[15336,15337]}],"sources":[{"fileName":"Tone/effect/BitCrusher.ts","line":71,"character":34}],"extendedTypes":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}]},{"id":18793,"name":"ChannelOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":18798,"name":"channelCount","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/channel/Channel.ts","line":15,"character":13}],"type":{"type":"intrinsic","name":"number"}},{"id":18799,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":18797,"name":"mute","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/channel/Channel.ts","line":14,"character":5}],"type":{"type":"intrinsic","name":"boolean"}},{"id":18794,"name":"pan","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/channel/Channel.ts","line":11,"character":4}],"type":{"type":"reference","id":24,"name":"AudioRange"}},{"id":18796,"name":"solo","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/channel/Channel.ts","line":13,"character":5}],"type":{"type":"intrinsic","name":"boolean"}},{"id":18795,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/channel/Channel.ts","line":12,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"}}],"groups":[{"title":"Properties","kind":1024,"children":[18798,18799,18797,18794,18796,18795]}],"sources":[{"fileName":"Tone/component/channel/Channel.ts","line":10,"character":31}],"extendedTypes":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}]},{"id":1000,"name":"ChannelProperties","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":1001,"name":"channelCount","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":11,"character":13}],"type":{"type":"intrinsic","name":"number"}},{"id":1002,"name":"channelCountMode","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":12,"character":17}],"type":{"type":"reference","name":"ChannelCountMode"}},{"id":1003,"name":"channelInterpretation","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":13,"character":22}],"type":{"type":"reference","name":"ChannelInterpretation"}}],"groups":[{"title":"Properties","kind":1024,"children":[1001,1002,1003]}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":10,"character":27}]},{"id":15435,"name":"ChebyshevOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":15439,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":15436,"name":"order","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/Chebyshev.ts","line":7,"character":6}],"type":{"type":"reference","id":27,"name":"Positive"}},{"id":15437,"name":"oversample","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/Chebyshev.ts","line":8,"character":11}],"type":{"type":"reference","name":"OverSampleType"}},{"id":15438,"name":"wet","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/Effect.ts","line":9,"character":4}],"type":{"type":"reference","id":23,"name":"NormalRange"},"inheritedFrom":{"type":"reference","id":14461,"name":"EffectOptions.wet"}}],"groups":[{"title":"Properties","kind":1024,"children":[15439,15436,15437,15438]}],"sources":[{"fileName":"Tone/effect/Chebyshev.ts","line":6,"character":33}],"extendedTypes":[{"type":"reference","id":14460,"name":"EffectOptions"}]},{"id":15926,"name":"ChorusOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":15934,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":15928,"name":"delayTime","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/Chorus.ts","line":12,"character":10}],"type":{"type":"reference","id":43,"name":"Milliseconds"}},{"id":15929,"name":"depth","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/Chorus.ts","line":13,"character":6}],"type":{"type":"reference","id":23,"name":"NormalRange"}},{"id":15932,"name":"feedback","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/StereoFeedbackEffect.ts","line":10,"character":9}],"type":{"type":"reference","id":23,"name":"NormalRange"},"inheritedFrom":{"type":"reference","id":15824,"name":"StereoFeedbackEffectOptions.feedback"}},{"id":15927,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/Chorus.ts","line":11,"character":10}],"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":15931,"name":"spread","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/Chorus.ts","line":15,"character":7}],"type":{"type":"reference","id":37,"name":"Degrees"}},{"id":15930,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/Chorus.ts","line":14,"character":5}],"type":{"type":"reference","id":6554,"name":"ToneOscillatorType"}},{"id":15933,"name":"wet","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/Effect.ts","line":9,"character":4}],"type":{"type":"reference","id":23,"name":"NormalRange"},"inheritedFrom":{"type":"reference","id":14461,"name":"EffectOptions.wet"}}],"groups":[{"title":"Properties","kind":1024,"children":[15934,15928,15929,15932,15927,15931,15930,15933]}],"sources":[{"fileName":"Tone/effect/Chorus.ts","line":10,"character":30}],"extendedTypes":[{"type":"reference","id":15823,"name":"StereoFeedbackEffectOptions"}]},{"id":5151,"name":"ClockOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":5153,"name":"callback","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/clock/Clock.ts","line":15,"character":9}],"type":{"type":"reference","id":5285,"name":"ClockCallback"}},{"id":5155,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":5152,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/clock/Clock.ts","line":14,"character":10}],"type":{"type":"reference","id":41,"name":"Hertz"}},{"id":5154,"name":"units","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/clock/Clock.ts","line":16,"character":6}],"type":{"type":"union","types":[{"type":"stringLiteral","value":"hertz"},{"type":"stringLiteral","value":"bpm"}]}}],"groups":[{"title":"Properties","kind":1024,"children":[5153,5155,5152,5154]}],"sources":[{"fileName":"Tone/core/clock/Clock.ts","line":13,"character":22}],"extendedTypes":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}]},{"id":19351,"name":"CompressorOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":19352,"name":"attack","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/dynamics/Compressor.ts","line":8,"character":7}],"type":{"type":"reference","id":31,"name":"Time"}},{"id":19357,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":19353,"name":"knee","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/dynamics/Compressor.ts","line":9,"character":5}],"type":{"type":"reference","id":22,"name":"Decibels"}},{"id":19354,"name":"ratio","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/dynamics/Compressor.ts","line":10,"character":6}],"type":{"type":"reference","id":27,"name":"Positive"}},{"id":19355,"name":"release","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/dynamics/Compressor.ts","line":11,"character":8}],"type":{"type":"reference","id":31,"name":"Time"}},{"id":19356,"name":"threshold","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/dynamics/Compressor.ts","line":12,"character":10}],"type":{"type":"reference","id":22,"name":"Decibels"}}],"groups":[{"title":"Properties","kind":1024,"children":[19352,19357,19353,19354,19355,19356]}],"sources":[{"fileName":"Tone/component/dynamics/Compressor.ts","line":7,"character":34}],"extendedTypes":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}]},{"id":2742,"name":"ContextOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":2743,"name":"clockSource","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/Context.ts","line":22,"character":12}],"type":{"type":"reference","id":388,"name":"TickerClockSource"}},{"id":2747,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/Context.ts","line":26,"character":8}],"type":{"type":"reference","id":4181,"name":"AnyAudioContext"}},{"id":2744,"name":"latencyHint","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/Context.ts","line":23,"character":12}],"type":{"type":"reference","id":3212,"name":"ContextLatencyHint"}},{"id":2745,"name":"lookAhead","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/Context.ts","line":24,"character":10}],"type":{"type":"reference","id":21,"name":"Seconds"}},{"id":2746,"name":"updateInterval","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/Context.ts","line":25,"character":15}],"type":{"type":"reference","id":21,"name":"Seconds"}}],"groups":[{"title":"Properties","kind":1024,"children":[2743,2747,2744,2745,2746]}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":21,"character":31}]},{"id":2748,"name":"ContextTimeoutEvent","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":2749,"name":"callback","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/Context.ts","line":30,"character":9}],"type":{"type":"reflection","declaration":{"id":2750,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":2751,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":2752,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":30,"character":10}]}}},{"id":2753,"name":"id","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/Context.ts","line":31,"character":3}],"type":{"type":"intrinsic","name":"number"}},{"id":2754,"name":"time","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/Context.ts","line":32,"character":5}],"type":{"type":"reference","id":21,"name":"Seconds"}}],"groups":[{"title":"Properties","kind":1024,"children":[2749,2753,2754]}],"sources":[{"fileName":"Tone/core/context/Context.ts","line":29,"character":36}]},{"id":19943,"name":"ConvolverOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":19949,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":19947,"name":"normalize","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/filter/Convolver.ts","line":9,"character":10}],"type":{"type":"intrinsic","name":"boolean"}},{"id":19944,"name":"onload","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/filter/Convolver.ts","line":8,"character":7}],"type":{"type":"reflection","declaration":{"id":19945,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":19946,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/component/filter/Convolver.ts","line":8,"character":8}]}}},{"id":19948,"name":"url","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"sources":[{"fileName":"Tone/component/filter/Convolver.ts","line":10,"character":4}],"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"AudioBuffer"},{"type":"reference","id":4362,"name":"ToneAudioBuffer"}]}}],"groups":[{"title":"Properties","kind":1024,"children":[19949,19947,19944,19948]}],"sources":[{"fileName":"Tone/component/filter/Convolver.ts","line":7,"character":33}],"extendedTypes":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}]},{"id":14365,"name":"CrossFadeOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":14367,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":14366,"name":"fade","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/channel/CrossFade.ts","line":10,"character":5}],"type":{"type":"reference","id":23,"name":"NormalRange"}}],"groups":[{"title":"Properties","kind":1024,"children":[14367,14366]}],"sources":[{"fileName":"Tone/component/channel/CrossFade.ts","line":9,"character":26}],"extendedTypes":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}]},{"id":5291,"name":"DelayOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":5294,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":5292,"name":"delayTime","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/Delay.ts","line":8,"character":10}],"type":{"type":"reference","id":31,"name":"Time"}},{"id":5293,"name":"maxDelay","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/Delay.ts","line":9,"character":9}],"type":{"type":"reference","id":31,"name":"Time"}}],"groups":[{"title":"Properties","kind":1024,"children":[5294,5292,5293]}],"sources":[{"fileName":"Tone/core/context/Delay.ts","line":7,"character":29}],"extendedTypes":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}]},{"id":2541,"name":"DestinationOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":2544,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":2543,"name":"mute","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/Destination.ts","line":11,"character":5}],"type":{"type":"intrinsic","name":"boolean"}},{"id":2542,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/Destination.ts","line":10,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"}}],"groups":[{"title":"Properties","kind":1024,"children":[2544,2543,2542]}],"sources":[{"fileName":"Tone/core/context/Destination.ts","line":9,"character":28}],"extendedTypes":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}]},{"id":16070,"name":"DistortionOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":16074,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":16071,"name":"distortion","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/Distortion.ts","line":6,"character":11}],"type":{"type":"intrinsic","name":"number"}},{"id":16072,"name":"oversample","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/Distortion.ts","line":7,"character":11}],"type":{"type":"reference","name":"OverSampleType"}},{"id":16073,"name":"wet","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/Effect.ts","line":9,"character":4}],"type":{"type":"reference","id":23,"name":"NormalRange"},"inheritedFrom":{"type":"reference","id":14461,"name":"EffectOptions.wet"}}],"groups":[{"title":"Properties","kind":1024,"children":[16074,16071,16072,16073]}],"sources":[{"fileName":"Tone/effect/Distortion.ts","line":5,"character":34}],"extendedTypes":[{"type":"reference","id":14460,"name":"EffectOptions"}]},{"id":2985,"name":"DrawEvent","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":2986,"name":"callback","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/util/Draw.ts","line":7,"character":9}],"type":{"type":"reflection","declaration":{"id":2987,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":2988,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/util/Draw.ts","line":7,"character":10}]}}},{"id":2989,"name":"time","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":21,"character":5}],"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":243,"name":"TimelineEvent.time"}}],"groups":[{"title":"Properties","kind":1024,"children":[2986,2989]}],"sources":[{"fileName":"Tone/core/util/Draw.ts","line":6,"character":19}],"extendedTypes":[{"type":"reference","id":242,"name":"TimelineEvent"}]},{"id":12026,"name":"DuoSynthOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":12036,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":12034,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":14,"character":7}],"type":{"type":"reference","id":42,"name":"Cents"},"inheritedFrom":{"type":"reference","id":10825,"name":"MonophonicOptions.detune"}},{"id":12029,"name":"harmonicity","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/DuoSynth.ts","line":15,"character":12}],"type":{"type":"reference","id":27,"name":"Positive"}},{"id":12033,"name":"onsilence","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":13,"character":10}],"type":{"type":"reference","id":10956,"name":"onSilenceCallback"},"inheritedFrom":{"type":"reference","id":10824,"name":"MonophonicOptions.onsilence"}},{"id":12032,"name":"portamento","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":12,"character":11}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":10823,"name":"MonophonicOptions.portamento"}},{"id":12031,"name":"vibratoAmount","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/DuoSynth.ts","line":17,"character":14}],"type":{"type":"reference","id":27,"name":"Positive"}},{"id":12030,"name":"vibratoRate","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/DuoSynth.ts","line":16,"character":12}],"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":12027,"name":"voice0","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/DuoSynth.ts","line":13,"character":7}],"type":{"type":"reference","id":1119,"typeArguments":[{"type":"reference","id":11885,"name":"MonoSynthOptions"},{"type":"typeOperator","operator":"keyof","target":{"type":"reference","id":10822,"name":"MonophonicOptions"}}],"name":"Omit"}},{"id":12028,"name":"voice1","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/DuoSynth.ts","line":14,"character":7}],"type":{"type":"reference","id":1119,"typeArguments":[{"type":"reference","id":11885,"name":"MonoSynthOptions"},{"type":"typeOperator","operator":"keyof","target":{"type":"reference","id":10822,"name":"MonophonicOptions"}}],"name":"Omit"}},{"id":12035,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":9,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"},"inheritedFrom":{"type":"reference","id":10705,"name":"InstrumentOptions.volume"}}],"groups":[{"title":"Properties","kind":1024,"children":[12036,12034,12029,12033,12032,12031,12030,12027,12028,12035]}],"sources":[{"fileName":"Tone/instrument/DuoSynth.ts","line":12,"character":32}],"extendedTypes":[{"type":"reference","id":10822,"name":"MonophonicOptions"}]},{"id":19838,"name":"EQ3Options","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":19844,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":19841,"name":"high","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/filter/EQ3.ts","line":13,"character":5}],"type":{"type":"reference","id":22,"name":"Decibels"}},{"id":19843,"name":"highFrequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/filter/EQ3.ts","line":15,"character":14}],"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":19839,"name":"low","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/filter/EQ3.ts","line":11,"character":4}],"type":{"type":"reference","id":22,"name":"Decibels"}},{"id":19842,"name":"lowFrequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/filter/EQ3.ts","line":14,"character":13}],"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":19840,"name":"mid","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/filter/EQ3.ts","line":12,"character":4}],"type":{"type":"reference","id":22,"name":"Decibels"}}],"groups":[{"title":"Properties","kind":1024,"children":[19844,19841,19843,19839,19842,19840]}],"sources":[{"fileName":"Tone/component/filter/EQ3.ts","line":10,"character":20}],"extendedTypes":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}]},{"id":14460,"name":"EffectOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":14462,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":14461,"name":"wet","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/Effect.ts","line":9,"character":4}],"type":{"type":"reference","id":23,"name":"NormalRange"}}],"groups":[{"title":"Properties","kind":1024,"children":[14462,14461]}],"sources":[{"fileName":"Tone/effect/Effect.ts","line":8,"character":30}],"extendedTypes":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}],"extendedBy":[{"type":"reference","id":14555,"name":"LFOEffectOptions"},{"type":"reference","id":15105,"name":"AutoWahOptions"},{"type":"reference","id":15237,"name":"BitCrusherOptions"},{"type":"reference","id":15435,"name":"ChebyshevOptions"},{"type":"reference","id":15823,"name":"StereoFeedbackEffectOptions"},{"type":"reference","id":16070,"name":"DistortionOptions"},{"type":"reference","id":16177,"name":"FeedbackEffectOptions"},{"type":"reference","id":16467,"name":"FrequencyShifterOptions"},{"type":"reference","id":16571,"name":"FreeverbOptions"},{"type":"reference","id":16682,"name":"JCReverbOptions"},{"type":"reference","id":17121,"name":"PhaserOptions"},{"type":"reference","id":17246,"name":"ReverbOptions"},{"type":"reference","id":17645,"name":"StereoWidenerOptions"},{"type":"reference","id":17757,"name":"TremoloOptions"},{"type":"reference","id":17884,"name":"VibratoOptions"}]},{"id":95,"name":"EmitterEventObject","kind":256,"kindString":"Interface","flags":{"isExported":true},"indexSignature":[{"id":96,"name":"__index","kind":8192,"kindString":"Index signature","flags":{"isExported":true},"parameters":[{"id":97,"name":"event","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","typeArguments":[{"type":"reflection","declaration":{"id":98,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":99,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":100,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/util/Emitter.ts","line":5,"character":24}]}}],"name":"Array"}}],"sources":[{"fileName":"Tone/core/util/Emitter.ts","line":4,"character":35}]},{"id":10690,"name":"EnvelopeCurveMap","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":10693,"name":"bounce","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":520,"character":7}],"type":{"type":"reference","id":10687,"name":"EnvelopeCurveObject"}},{"id":10694,"name":"cosine","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":521,"character":7}],"type":{"type":"reference","id":10687,"name":"EnvelopeCurveObject"}},{"id":10692,"name":"exponential","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":519,"character":12}],"type":{"type":"stringLiteral","value":"exponential"}},{"id":10691,"name":"linear","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":518,"character":7}],"type":{"type":"stringLiteral","value":"linear"}},{"id":10696,"name":"ripple","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":523,"character":7}],"type":{"type":"reference","id":10687,"name":"EnvelopeCurveObject"}},{"id":10695,"name":"sine","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":522,"character":5}],"type":{"type":"reference","id":10687,"name":"EnvelopeCurveObject"}},{"id":10697,"name":"step","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":524,"character":5}],"type":{"type":"reference","id":10687,"name":"EnvelopeCurveObject"}}],"groups":[{"title":"Properties","kind":1024,"children":[10693,10694,10692,10691,10696,10695,10697]}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":517,"character":26}]},{"id":10687,"name":"EnvelopeCurveObject","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":10688,"name":"In","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":511,"character":3}],"type":{"type":"array","elementType":{"type":"intrinsic","name":"number"}}},{"id":10689,"name":"Out","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":512,"character":4}],"type":{"type":"array","elementType":{"type":"intrinsic","name":"number"}}}],"groups":[{"title":"Properties","kind":1024,"children":[10688,10689]}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":510,"character":29}]},{"id":10537,"name":"EnvelopeOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":10538,"name":"attack","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":16,"character":7}],"type":{"type":"reference","id":31,"name":"Time"}},{"id":10542,"name":"attackCurve","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":20,"character":12}],"type":{"type":"reference","id":10700,"name":"EnvelopeCurve"}},{"id":10545,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":10539,"name":"decay","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":17,"character":6}],"type":{"type":"reference","id":31,"name":"Time"}},{"id":10544,"name":"decayCurve","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":22,"character":11}],"type":{"type":"reference","id":10698,"name":"BasicEnvelopeCurve"}},{"id":10541,"name":"release","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":19,"character":8}],"type":{"type":"reference","id":31,"name":"Time"}},{"id":10543,"name":"releaseCurve","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":21,"character":13}],"type":{"type":"reference","id":10700,"name":"EnvelopeCurve"}},{"id":10540,"name":"sustain","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":18,"character":8}],"type":{"type":"reference","id":23,"name":"NormalRange"}}],"groups":[{"title":"Properties","kind":1024,"children":[10538,10542,10545,10539,10544,10541,10543,10540]}],"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":15,"character":32}],"extendedTypes":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}],"extendedBy":[{"type":"reference","id":11728,"name":"FrequencyEnvelopeOptions"}]},{"id":18295,"name":"FFTOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":18299,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":18298,"name":"normalRange","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/analysis/FFT.ts","line":11,"character":12}],"type":{"type":"intrinsic","name":"boolean"}},{"id":18296,"name":"size","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/analysis/FFT.ts","line":9,"character":5}],"type":{"type":"reference","id":44,"name":"PowerOfTwo"}},{"id":18297,"name":"smoothing","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/analysis/FFT.ts","line":10,"character":10}],"type":{"type":"reference","id":23,"name":"NormalRange"}}],"groups":[{"title":"Properties","kind":1024,"children":[18299,18298,18296,18297]}],"sources":[{"fileName":"Tone/component/analysis/FFT.ts","line":8,"character":27}],"extendedTypes":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}]},{"id":6236,"name":"FMBaseOscillatorOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"FMOscillator Interface"},"children":[{"id":6246,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":6241,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":156,"character":7}],"type":{"type":"reference","id":42,"name":"Cents"},"inheritedFrom":{"type":"reference","id":6190,"name":"BaseOscillatorOptions.detune"}},{"id":6240,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":155,"character":10}],"type":{"type":"reference","id":32,"name":"Frequency"},"inheritedFrom":{"type":"reference","id":6189,"name":"BaseOscillatorOptions.frequency"}},{"id":6237,"name":"harmonicity","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":197,"character":12}],"type":{"type":"reference","id":27,"name":"Positive"}},{"id":6238,"name":"modulationIndex","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":198,"character":16}],"type":{"type":"reference","id":27,"name":"Positive"}},{"id":6239,"name":"modulationType","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":199,"character":15}],"type":{"type":"reference","id":6553,"name":"AllNonCustomOscillatorType"}},{"id":6244,"name":"mute","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":18,"character":5}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":5560,"name":"SourceOptions.mute"}},{"id":6245,"name":"onstop","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":19,"character":7}],"type":{"type":"reference","id":5706,"name":"onStopCallback"},"inheritedFrom":{"type":"reference","id":5561,"name":"SourceOptions.onstop"}},{"id":6242,"name":"phase","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":157,"character":6}],"type":{"type":"reference","id":37,"name":"Degrees"},"inheritedFrom":{"type":"reference","id":6191,"name":"BaseOscillatorOptions.phase"}},{"id":6243,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":17,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"},"inheritedFrom":{"type":"reference","id":5559,"name":"SourceOptions.volume"}}],"groups":[{"title":"Properties","kind":1024,"children":[6246,6241,6240,6237,6238,6239,6244,6245,6242,6243]}],"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":196,"character":33}],"extendedTypes":[{"type":"reference","id":6188,"name":"BaseOscillatorOptions"}],"extendedBy":[{"type":"reference","id":6247,"name":"FMCustomOscillatorOptions"},{"type":"reference","id":6260,"name":"FMTypeOscillatorOptions"},{"type":"reference","id":6273,"name":"FMPartialsOscillatorOptions"},{"type":"reference","id":6435,"name":"OmniFMCustomOscillatorOptions"},{"type":"reference","id":6448,"name":"OmniFMTypeOscillatorOptions"},{"type":"reference","id":6461,"name":"OmniFMPartialsOscillatorOptions"}]},{"id":6247,"name":"FMCustomOscillatorOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":6259,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":6254,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":156,"character":7}],"type":{"type":"reference","id":42,"name":"Cents"},"inheritedFrom":{"type":"reference","id":6190,"name":"BaseOscillatorOptions.detune"}},{"id":6253,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":155,"character":10}],"type":{"type":"reference","id":32,"name":"Frequency"},"inheritedFrom":{"type":"reference","id":6189,"name":"BaseOscillatorOptions.frequency"}},{"id":6250,"name":"harmonicity","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":197,"character":12}],"type":{"type":"reference","id":27,"name":"Positive"},"inheritedFrom":{"type":"reference","id":6237,"name":"FMBaseOscillatorOptions.harmonicity"}},{"id":6251,"name":"modulationIndex","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":198,"character":16}],"type":{"type":"reference","id":27,"name":"Positive"},"inheritedFrom":{"type":"reference","id":6238,"name":"FMBaseOscillatorOptions.modulationIndex"}},{"id":6252,"name":"modulationType","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":199,"character":15}],"type":{"type":"reference","id":6553,"name":"AllNonCustomOscillatorType"},"inheritedFrom":{"type":"reference","id":6239,"name":"FMBaseOscillatorOptions.modulationType"}},{"id":6257,"name":"mute","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":18,"character":5}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":5560,"name":"SourceOptions.mute"}},{"id":6258,"name":"onstop","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":19,"character":7}],"type":{"type":"reference","id":5706,"name":"onStopCallback"},"inheritedFrom":{"type":"reference","id":5561,"name":"SourceOptions.onstop"}},{"id":6249,"name":"partials","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":204,"character":9}],"type":{"type":"array","elementType":{"type":"intrinsic","name":"number"}}},{"id":6255,"name":"phase","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":157,"character":6}],"type":{"type":"reference","id":37,"name":"Degrees"},"inheritedFrom":{"type":"reference","id":6191,"name":"BaseOscillatorOptions.phase"}},{"id":6248,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":203,"character":5}],"type":{"type":"stringLiteral","value":"custom"}},{"id":6256,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":17,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"},"inheritedFrom":{"type":"reference","id":5559,"name":"SourceOptions.volume"}}],"groups":[{"title":"Properties","kind":1024,"children":[6259,6254,6253,6250,6251,6252,6257,6258,6249,6255,6248,6256]}],"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":202,"character":35}],"extendedTypes":[{"type":"reference","id":6236,"name":"FMBaseOscillatorOptions"}]},{"id":6285,"name":"FMOscillatorOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":6298,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":6293,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":156,"character":7}],"type":{"type":"reference","id":42,"name":"Cents"},"inheritedFrom":{"type":"reference","id":6190,"name":"BaseOscillatorOptions.detune"}},{"id":6292,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":155,"character":10}],"type":{"type":"reference","id":32,"name":"Frequency"},"inheritedFrom":{"type":"reference","id":6189,"name":"BaseOscillatorOptions.frequency"}},{"id":6286,"name":"harmonicity","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":219,"character":12}],"type":{"type":"reference","id":27,"name":"Positive"}},{"id":6287,"name":"modulationIndex","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":220,"character":16}],"type":{"type":"reference","id":27,"name":"Positive"}},{"id":6288,"name":"modulationType","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":221,"character":15}],"type":{"type":"reference","id":6553,"name":"AllNonCustomOscillatorType"}},{"id":6296,"name":"mute","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":18,"character":5}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":5560,"name":"SourceOptions.mute"}},{"id":6297,"name":"onstop","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":19,"character":7}],"type":{"type":"reference","id":5706,"name":"onStopCallback"},"inheritedFrom":{"type":"reference","id":5561,"name":"SourceOptions.onstop"}},{"id":6290,"name":"partialCount","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":189,"character":13}],"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":6227,"name":"ToneOscillatorOptions.partialCount"}},{"id":6291,"name":"partials","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":190,"character":9}],"type":{"type":"array","elementType":{"type":"intrinsic","name":"number"}},"inheritedFrom":{"type":"reference","id":6228,"name":"ToneOscillatorOptions.partials"}},{"id":6294,"name":"phase","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":157,"character":6}],"type":{"type":"reference","id":37,"name":"Degrees"},"inheritedFrom":{"type":"reference","id":6191,"name":"BaseOscillatorOptions.phase"}},{"id":6289,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":188,"character":5}],"type":{"type":"reference","id":6554,"name":"ToneOscillatorType"},"inheritedFrom":{"type":"reference","id":6226,"name":"ToneOscillatorOptions.type"}},{"id":6295,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":17,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"},"inheritedFrom":{"type":"reference","id":5559,"name":"SourceOptions.volume"}}],"groups":[{"title":"Properties","kind":1024,"children":[6298,6293,6292,6286,6287,6288,6296,6297,6290,6291,6294,6289,6295]}],"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":218,"character":36}],"extendedTypes":[{"type":"reference","id":6225,"name":"ToneOscillatorOptions"}]},{"id":6273,"name":"FMPartialsOscillatorOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":6284,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":6279,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":156,"character":7}],"type":{"type":"reference","id":42,"name":"Cents"},"inheritedFrom":{"type":"reference","id":6190,"name":"BaseOscillatorOptions.detune"}},{"id":6278,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":155,"character":10}],"type":{"type":"reference","id":32,"name":"Frequency"},"inheritedFrom":{"type":"reference","id":6189,"name":"BaseOscillatorOptions.frequency"}},{"id":6275,"name":"harmonicity","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":197,"character":12}],"type":{"type":"reference","id":27,"name":"Positive"},"inheritedFrom":{"type":"reference","id":6237,"name":"FMBaseOscillatorOptions.harmonicity"}},{"id":6276,"name":"modulationIndex","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":198,"character":16}],"type":{"type":"reference","id":27,"name":"Positive"},"inheritedFrom":{"type":"reference","id":6238,"name":"FMBaseOscillatorOptions.modulationIndex"}},{"id":6277,"name":"modulationType","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":199,"character":15}],"type":{"type":"reference","id":6553,"name":"AllNonCustomOscillatorType"},"inheritedFrom":{"type":"reference","id":6239,"name":"FMBaseOscillatorOptions.modulationType"}},{"id":6282,"name":"mute","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":18,"character":5}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":5560,"name":"SourceOptions.mute"}},{"id":6283,"name":"onstop","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":19,"character":7}],"type":{"type":"reference","id":5706,"name":"onStopCallback"},"inheritedFrom":{"type":"reference","id":5561,"name":"SourceOptions.onstop"}},{"id":6280,"name":"phase","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":157,"character":6}],"type":{"type":"reference","id":37,"name":"Degrees"},"inheritedFrom":{"type":"reference","id":6191,"name":"BaseOscillatorOptions.phase"}},{"id":6274,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":213,"character":5}],"type":{"type":"reference","id":6551,"name":"TypeWithPartials"}},{"id":6281,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":17,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"},"inheritedFrom":{"type":"reference","id":5559,"name":"SourceOptions.volume"}}],"groups":[{"title":"Properties","kind":1024,"children":[6284,6279,6278,6275,6276,6277,6282,6283,6280,6274,6281]}],"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":212,"character":37}],"extendedTypes":[{"type":"reference","id":6236,"name":"FMBaseOscillatorOptions"}]},{"id":12171,"name":"FMSynthOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":12182,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":12180,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":14,"character":7}],"type":{"type":"reference","id":42,"name":"Cents"},"inheritedFrom":{"type":"reference","id":10825,"name":"MonophonicOptions.detune"}},{"id":12177,"name":"envelope","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Synth.ts","line":16,"character":9}],"type":{"type":"reference","id":1119,"typeArguments":[{"type":"reference","id":10537,"name":"EnvelopeOptions"},{"type":"typeOperator","operator":"keyof","target":{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"}}],"name":"Omit"},"inheritedFrom":{"type":"reference","id":11092,"name":"SynthOptions.envelope"}},{"id":12173,"name":"harmonicity","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/ModulationSynth.ts","line":17,"character":12}],"type":{"type":"reference","id":27,"name":"Positive"},"inheritedFrom":{"type":"reference","id":11229,"name":"ModulationSynthOptions.harmonicity"}},{"id":12175,"name":"modulation","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/ModulationSynth.ts","line":19,"character":11}],"type":{"type":"reference","id":6579,"name":"OmniOscillatorSynthOptions"},"inheritedFrom":{"type":"reference","id":11231,"name":"ModulationSynthOptions.modulation"}},{"id":12174,"name":"modulationEnvelope","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/ModulationSynth.ts","line":18,"character":19}],"type":{"type":"reference","id":1119,"typeArguments":[{"type":"reference","id":10537,"name":"EnvelopeOptions"},{"type":"typeOperator","operator":"keyof","target":{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"}}],"name":"Omit"},"inheritedFrom":{"type":"reference","id":11230,"name":"ModulationSynthOptions.modulationEnvelope"}},{"id":12172,"name":"modulationIndex","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/FMSynth.ts","line":8,"character":16}],"type":{"type":"reference","id":27,"name":"Positive"}},{"id":12179,"name":"onsilence","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":13,"character":10}],"type":{"type":"reference","id":10956,"name":"onSilenceCallback"},"inheritedFrom":{"type":"reference","id":10824,"name":"MonophonicOptions.onsilence"}},{"id":12176,"name":"oscillator","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Synth.ts","line":15,"character":11}],"type":{"type":"reference","id":6579,"name":"OmniOscillatorSynthOptions"},"inheritedFrom":{"type":"reference","id":11091,"name":"SynthOptions.oscillator"}},{"id":12178,"name":"portamento","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":12,"character":11}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":10823,"name":"MonophonicOptions.portamento"}},{"id":12181,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":9,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"},"inheritedFrom":{"type":"reference","id":10705,"name":"InstrumentOptions.volume"}}],"groups":[{"title":"Properties","kind":1024,"children":[12182,12180,12177,12173,12175,12174,12172,12179,12176,12178,12181]}],"sources":[{"fileName":"Tone/instrument/FMSynth.ts","line":7,"character":31}],"extendedTypes":[{"type":"reference","id":11228,"name":"ModulationSynthOptions"}]},{"id":6260,"name":"FMTypeOscillatorOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":6272,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":6267,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":156,"character":7}],"type":{"type":"reference","id":42,"name":"Cents"},"inheritedFrom":{"type":"reference","id":6190,"name":"BaseOscillatorOptions.detune"}},{"id":6266,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":155,"character":10}],"type":{"type":"reference","id":32,"name":"Frequency"},"inheritedFrom":{"type":"reference","id":6189,"name":"BaseOscillatorOptions.frequency"}},{"id":6263,"name":"harmonicity","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":197,"character":12}],"type":{"type":"reference","id":27,"name":"Positive"},"inheritedFrom":{"type":"reference","id":6237,"name":"FMBaseOscillatorOptions.harmonicity"}},{"id":6264,"name":"modulationIndex","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":198,"character":16}],"type":{"type":"reference","id":27,"name":"Positive"},"inheritedFrom":{"type":"reference","id":6238,"name":"FMBaseOscillatorOptions.modulationIndex"}},{"id":6265,"name":"modulationType","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":199,"character":15}],"type":{"type":"reference","id":6553,"name":"AllNonCustomOscillatorType"},"inheritedFrom":{"type":"reference","id":6239,"name":"FMBaseOscillatorOptions.modulationType"}},{"id":6270,"name":"mute","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":18,"character":5}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":5560,"name":"SourceOptions.mute"}},{"id":6271,"name":"onstop","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":19,"character":7}],"type":{"type":"reference","id":5706,"name":"onStopCallback"},"inheritedFrom":{"type":"reference","id":5561,"name":"SourceOptions.onstop"}},{"id":6262,"name":"partialsCount","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":209,"character":14}],"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}},{"id":6268,"name":"phase","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":157,"character":6}],"type":{"type":"reference","id":37,"name":"Degrees"},"inheritedFrom":{"type":"reference","id":6191,"name":"BaseOscillatorOptions.phase"}},{"id":6261,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":208,"character":5}],"type":{"type":"reference","id":6552,"name":"NonCustomOscillatorType"}},{"id":6269,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":17,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"},"inheritedFrom":{"type":"reference","id":5559,"name":"SourceOptions.volume"}}],"groups":[{"title":"Properties","kind":1024,"children":[6272,6267,6266,6263,6264,6265,6270,6271,6262,6268,6261,6269]}],"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":207,"character":33}],"extendedTypes":[{"type":"reference","id":6236,"name":"FMBaseOscillatorOptions"}]},{"id":6357,"name":"FatBaseOscillatorOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"FatOscillator"},"children":[{"id":6366,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":6359,"name":"count","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":257,"character":6}],"type":{"type":"reference","id":27,"name":"Positive"}},{"id":6361,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":156,"character":7}],"type":{"type":"reference","id":42,"name":"Cents"},"inheritedFrom":{"type":"reference","id":6190,"name":"BaseOscillatorOptions.detune"}},{"id":6360,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":155,"character":10}],"type":{"type":"reference","id":32,"name":"Frequency"},"inheritedFrom":{"type":"reference","id":6189,"name":"BaseOscillatorOptions.frequency"}},{"id":6364,"name":"mute","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":18,"character":5}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":5560,"name":"SourceOptions.mute"}},{"id":6365,"name":"onstop","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":19,"character":7}],"type":{"type":"reference","id":5706,"name":"onStopCallback"},"inheritedFrom":{"type":"reference","id":5561,"name":"SourceOptions.onstop"}},{"id":6362,"name":"phase","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":157,"character":6}],"type":{"type":"reference","id":37,"name":"Degrees"},"inheritedFrom":{"type":"reference","id":6191,"name":"BaseOscillatorOptions.phase"}},{"id":6358,"name":"spread","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":256,"character":7}],"type":{"type":"reference","id":42,"name":"Cents"}},{"id":6363,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":17,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"},"inheritedFrom":{"type":"reference","id":5559,"name":"SourceOptions.volume"}}],"groups":[{"title":"Properties","kind":1024,"children":[6366,6359,6361,6360,6364,6365,6362,6358,6363]}],"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":255,"character":34}],"extendedTypes":[{"type":"reference","id":6188,"name":"BaseOscillatorOptions"}],"extendedBy":[{"type":"reference","id":6367,"name":"FatCustomOscillatorOptions"},{"type":"reference","id":6379,"name":"FatTypeOscillatorOptions"},{"type":"reference","id":6391,"name":"FatPartialsOscillatorOptions"},{"type":"reference","id":6508,"name":"OmniFatCustomOscillatorOptions"},{"type":"reference","id":6520,"name":"OmniFatTypeOscillatorOptions"},{"type":"reference","id":6532,"name":"OmniFatPartialsOscillatorOptions"}]},{"id":6367,"name":"FatCustomOscillatorOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":6378,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":6371,"name":"count","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":257,"character":6}],"type":{"type":"reference","id":27,"name":"Positive"},"inheritedFrom":{"type":"reference","id":6359,"name":"FatBaseOscillatorOptions.count"}},{"id":6373,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":156,"character":7}],"type":{"type":"reference","id":42,"name":"Cents"},"inheritedFrom":{"type":"reference","id":6190,"name":"BaseOscillatorOptions.detune"}},{"id":6372,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":155,"character":10}],"type":{"type":"reference","id":32,"name":"Frequency"},"inheritedFrom":{"type":"reference","id":6189,"name":"BaseOscillatorOptions.frequency"}},{"id":6376,"name":"mute","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":18,"character":5}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":5560,"name":"SourceOptions.mute"}},{"id":6377,"name":"onstop","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":19,"character":7}],"type":{"type":"reference","id":5706,"name":"onStopCallback"},"inheritedFrom":{"type":"reference","id":5561,"name":"SourceOptions.onstop"}},{"id":6369,"name":"partials","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":262,"character":9}],"type":{"type":"array","elementType":{"type":"intrinsic","name":"number"}}},{"id":6374,"name":"phase","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":157,"character":6}],"type":{"type":"reference","id":37,"name":"Degrees"},"inheritedFrom":{"type":"reference","id":6191,"name":"BaseOscillatorOptions.phase"}},{"id":6370,"name":"spread","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":256,"character":7}],"type":{"type":"reference","id":42,"name":"Cents"},"inheritedFrom":{"type":"reference","id":6358,"name":"FatBaseOscillatorOptions.spread"}},{"id":6368,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":261,"character":5}],"type":{"type":"stringLiteral","value":"custom"}},{"id":6375,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":17,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"},"inheritedFrom":{"type":"reference","id":5559,"name":"SourceOptions.volume"}}],"groups":[{"title":"Properties","kind":1024,"children":[6378,6371,6373,6372,6376,6377,6369,6374,6370,6368,6375]}],"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":260,"character":36}],"extendedTypes":[{"type":"reference","id":6357,"name":"FatBaseOscillatorOptions"}]},{"id":6402,"name":"FatOscillatorOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":6414,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":6404,"name":"count","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":278,"character":6}],"type":{"type":"reference","id":27,"name":"Positive"}},{"id":6409,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":156,"character":7}],"type":{"type":"reference","id":42,"name":"Cents"},"inheritedFrom":{"type":"reference","id":6190,"name":"BaseOscillatorOptions.detune"}},{"id":6408,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":155,"character":10}],"type":{"type":"reference","id":32,"name":"Frequency"},"inheritedFrom":{"type":"reference","id":6189,"name":"BaseOscillatorOptions.frequency"}},{"id":6412,"name":"mute","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":18,"character":5}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":5560,"name":"SourceOptions.mute"}},{"id":6413,"name":"onstop","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":19,"character":7}],"type":{"type":"reference","id":5706,"name":"onStopCallback"},"inheritedFrom":{"type":"reference","id":5561,"name":"SourceOptions.onstop"}},{"id":6406,"name":"partialCount","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":189,"character":13}],"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":6227,"name":"ToneOscillatorOptions.partialCount"}},{"id":6407,"name":"partials","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":190,"character":9}],"type":{"type":"array","elementType":{"type":"intrinsic","name":"number"}},"inheritedFrom":{"type":"reference","id":6228,"name":"ToneOscillatorOptions.partials"}},{"id":6410,"name":"phase","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":157,"character":6}],"type":{"type":"reference","id":37,"name":"Degrees"},"inheritedFrom":{"type":"reference","id":6191,"name":"BaseOscillatorOptions.phase"}},{"id":6403,"name":"spread","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":277,"character":7}],"type":{"type":"reference","id":42,"name":"Cents"}},{"id":6405,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":188,"character":5}],"type":{"type":"reference","id":6554,"name":"ToneOscillatorType"},"inheritedFrom":{"type":"reference","id":6226,"name":"ToneOscillatorOptions.type"}},{"id":6411,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":17,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"},"inheritedFrom":{"type":"reference","id":5559,"name":"SourceOptions.volume"}}],"groups":[{"title":"Properties","kind":1024,"children":[6414,6404,6409,6408,6412,6413,6406,6407,6410,6403,6405,6411]}],"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":276,"character":37}],"extendedTypes":[{"type":"reference","id":6225,"name":"ToneOscillatorOptions"}]},{"id":6391,"name":"FatPartialsOscillatorOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":6401,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":6394,"name":"count","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":257,"character":6}],"type":{"type":"reference","id":27,"name":"Positive"},"inheritedFrom":{"type":"reference","id":6359,"name":"FatBaseOscillatorOptions.count"}},{"id":6396,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":156,"character":7}],"type":{"type":"reference","id":42,"name":"Cents"},"inheritedFrom":{"type":"reference","id":6190,"name":"BaseOscillatorOptions.detune"}},{"id":6395,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":155,"character":10}],"type":{"type":"reference","id":32,"name":"Frequency"},"inheritedFrom":{"type":"reference","id":6189,"name":"BaseOscillatorOptions.frequency"}},{"id":6399,"name":"mute","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":18,"character":5}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":5560,"name":"SourceOptions.mute"}},{"id":6400,"name":"onstop","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":19,"character":7}],"type":{"type":"reference","id":5706,"name":"onStopCallback"},"inheritedFrom":{"type":"reference","id":5561,"name":"SourceOptions.onstop"}},{"id":6397,"name":"phase","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":157,"character":6}],"type":{"type":"reference","id":37,"name":"Degrees"},"inheritedFrom":{"type":"reference","id":6191,"name":"BaseOscillatorOptions.phase"}},{"id":6393,"name":"spread","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":256,"character":7}],"type":{"type":"reference","id":42,"name":"Cents"},"inheritedFrom":{"type":"reference","id":6358,"name":"FatBaseOscillatorOptions.spread"}},{"id":6392,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":271,"character":5}],"type":{"type":"reference","id":6551,"name":"TypeWithPartials"}},{"id":6398,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":17,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"},"inheritedFrom":{"type":"reference","id":5559,"name":"SourceOptions.volume"}}],"groups":[{"title":"Properties","kind":1024,"children":[6401,6394,6396,6395,6399,6400,6397,6393,6392,6398]}],"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":270,"character":38}],"extendedTypes":[{"type":"reference","id":6357,"name":"FatBaseOscillatorOptions"}]},{"id":6379,"name":"FatTypeOscillatorOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":6390,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":6383,"name":"count","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":257,"character":6}],"type":{"type":"reference","id":27,"name":"Positive"},"inheritedFrom":{"type":"reference","id":6359,"name":"FatBaseOscillatorOptions.count"}},{"id":6385,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":156,"character":7}],"type":{"type":"reference","id":42,"name":"Cents"},"inheritedFrom":{"type":"reference","id":6190,"name":"BaseOscillatorOptions.detune"}},{"id":6384,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":155,"character":10}],"type":{"type":"reference","id":32,"name":"Frequency"},"inheritedFrom":{"type":"reference","id":6189,"name":"BaseOscillatorOptions.frequency"}},{"id":6388,"name":"mute","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":18,"character":5}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":5560,"name":"SourceOptions.mute"}},{"id":6389,"name":"onstop","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":19,"character":7}],"type":{"type":"reference","id":5706,"name":"onStopCallback"},"inheritedFrom":{"type":"reference","id":5561,"name":"SourceOptions.onstop"}},{"id":6381,"name":"partialCount","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":267,"character":13}],"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}},{"id":6386,"name":"phase","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":157,"character":6}],"type":{"type":"reference","id":37,"name":"Degrees"},"inheritedFrom":{"type":"reference","id":6191,"name":"BaseOscillatorOptions.phase"}},{"id":6382,"name":"spread","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":256,"character":7}],"type":{"type":"reference","id":42,"name":"Cents"},"inheritedFrom":{"type":"reference","id":6358,"name":"FatBaseOscillatorOptions.spread"}},{"id":6380,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":266,"character":5}],"type":{"type":"reference","id":6552,"name":"NonCustomOscillatorType"}},{"id":6387,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":17,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"},"inheritedFrom":{"type":"reference","id":5559,"name":"SourceOptions.volume"}}],"groups":[{"title":"Properties","kind":1024,"children":[6390,6383,6385,6384,6388,6389,6381,6386,6382,6380,6387]}],"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":265,"character":34}],"extendedTypes":[{"type":"reference","id":6357,"name":"FatBaseOscillatorOptions"}]},{"id":12850,"name":"FeedbackCombFilterOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":12853,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":12851,"name":"delayTime","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/filter/FeedbackCombFilter.ts","line":11,"character":10}],"type":{"type":"reference","id":31,"name":"Time"}},{"id":12852,"name":"resonance","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/filter/FeedbackCombFilter.ts","line":12,"character":10}],"type":{"type":"reference","id":23,"name":"NormalRange"}}],"groups":[{"title":"Properties","kind":1024,"children":[12853,12851,12852]}],"sources":[{"fileName":"Tone/component/filter/FeedbackCombFilter.ts","line":10,"character":42}],"extendedTypes":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}]},{"id":16274,"name":"FeedbackDelayOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":16279,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":16275,"name":"delayTime","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/FeedbackDelay.ts","line":9,"character":10}],"type":{"type":"reference","id":31,"name":"Time"}},{"id":16277,"name":"feedback","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The feedback from the output back to the input\n```\n+---<--------<---+\n|                |\n|  +----------+  |\n+--> feedback +>-+\n   +----------+\n```"},"sources":[{"fileName":"Tone/effect/FeedbackEffect.ts","line":18,"character":9}],"type":{"type":"reference","id":23,"name":"NormalRange"},"inheritedFrom":{"type":"reference","id":16178,"name":"FeedbackEffectOptions.feedback"}},{"id":16276,"name":"maxDelay","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/FeedbackDelay.ts","line":10,"character":9}],"type":{"type":"reference","id":31,"name":"Time"}},{"id":16278,"name":"wet","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/Effect.ts","line":9,"character":4}],"type":{"type":"reference","id":23,"name":"NormalRange"},"inheritedFrom":{"type":"reference","id":14461,"name":"EffectOptions.wet"}}],"groups":[{"title":"Properties","kind":1024,"children":[16279,16275,16277,16276,16278]}],"sources":[{"fileName":"Tone/effect/FeedbackDelay.ts","line":8,"character":30}],"extendedTypes":[{"type":"reference","id":16177,"name":"FeedbackEffectOptions"}]},{"id":16177,"name":"FeedbackEffectOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":16180,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":16178,"name":"feedback","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The feedback from the output back to the input\n```\n+---<--------<---+\n|                |\n|  +----------+  |\n+--> feedback +>-+\n   +----------+\n```"},"sources":[{"fileName":"Tone/effect/FeedbackEffect.ts","line":18,"character":9}],"type":{"type":"reference","id":23,"name":"NormalRange"}},{"id":16179,"name":"wet","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/Effect.ts","line":9,"character":4}],"type":{"type":"reference","id":23,"name":"NormalRange"},"inheritedFrom":{"type":"reference","id":14461,"name":"EffectOptions.wet"}}],"groups":[{"title":"Properties","kind":1024,"children":[16180,16178,16179]}],"sources":[{"fileName":"Tone/effect/FeedbackEffect.ts","line":7,"character":38}],"extendedTypes":[{"type":"reference","id":14460,"name":"EffectOptions"}],"extendedBy":[{"type":"reference","id":16274,"name":"FeedbackDelayOptions"},{"type":"reference","id":17002,"name":"PitchShiftOptions"}]},{"id":15008,"name":"FollowerOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":15010,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":15009,"name":"smoothing","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/analysis/Follower.ts","line":8,"character":10}],"type":{"type":"reference","id":31,"name":"Time"}}],"groups":[{"title":"Properties","kind":1024,"children":[15010,15009]}],"sources":[{"fileName":"Tone/component/analysis/Follower.ts","line":7,"character":32}],"extendedTypes":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}]},{"id":16571,"name":"FreeverbOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":16575,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":16572,"name":"dampening","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/Freeverb.ts","line":9,"character":10}],"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":16573,"name":"roomSize","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/Freeverb.ts","line":10,"character":9}],"type":{"type":"reference","id":23,"name":"NormalRange"}},{"id":16574,"name":"wet","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/Effect.ts","line":9,"character":4}],"type":{"type":"reference","id":23,"name":"NormalRange"},"inheritedFrom":{"type":"reference","id":14461,"name":"EffectOptions.wet"}}],"groups":[{"title":"Properties","kind":1024,"children":[16575,16572,16573,16574]}],"sources":[{"fileName":"Tone/effect/Freeverb.ts","line":8,"character":32}],"extendedTypes":[{"type":"reference","id":14460,"name":"EffectOptions"}]},{"id":11728,"name":"FrequencyEnvelopeOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":11732,"name":"attack","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":16,"character":7}],"type":{"type":"reference","id":31,"name":"Time"},"inheritedFrom":{"type":"reference","id":10538,"name":"EnvelopeOptions.attack"}},{"id":11736,"name":"attackCurve","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":20,"character":12}],"type":{"type":"reference","id":10700,"name":"EnvelopeCurve"},"inheritedFrom":{"type":"reference","id":10542,"name":"EnvelopeOptions.attackCurve"}},{"id":11729,"name":"baseFrequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/envelope/FrequencyEnvelope.ts","line":9,"character":14}],"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":11739,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":11733,"name":"decay","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":17,"character":6}],"type":{"type":"reference","id":31,"name":"Time"},"inheritedFrom":{"type":"reference","id":10539,"name":"EnvelopeOptions.decay"}},{"id":11738,"name":"decayCurve","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":22,"character":11}],"type":{"type":"reference","id":10698,"name":"BasicEnvelopeCurve"},"inheritedFrom":{"type":"reference","id":10544,"name":"EnvelopeOptions.decayCurve"}},{"id":11731,"name":"exponent","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/envelope/FrequencyEnvelope.ts","line":11,"character":9}],"type":{"type":"intrinsic","name":"number"}},{"id":11730,"name":"octaves","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/envelope/FrequencyEnvelope.ts","line":10,"character":8}],"type":{"type":"intrinsic","name":"number"}},{"id":11735,"name":"release","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":19,"character":8}],"type":{"type":"reference","id":31,"name":"Time"},"inheritedFrom":{"type":"reference","id":10541,"name":"EnvelopeOptions.release"}},{"id":11737,"name":"releaseCurve","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":21,"character":13}],"type":{"type":"reference","id":10700,"name":"EnvelopeCurve"},"inheritedFrom":{"type":"reference","id":10543,"name":"EnvelopeOptions.releaseCurve"}},{"id":11734,"name":"sustain","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":18,"character":8}],"type":{"type":"reference","id":23,"name":"NormalRange"},"inheritedFrom":{"type":"reference","id":10540,"name":"EnvelopeOptions.sustain"}}],"groups":[{"title":"Properties","kind":1024,"children":[11732,11736,11729,11739,11733,11738,11731,11730,11735,11737,11734]}],"sources":[{"fileName":"Tone/component/envelope/FrequencyEnvelope.ts","line":8,"character":41}],"extendedTypes":[{"type":"reference","id":10537,"name":"EnvelopeOptions"}]},{"id":16467,"name":"FrequencyShifterOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":16470,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":16468,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/FrequencyShifter.ts","line":13,"character":10}],"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":16469,"name":"wet","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/Effect.ts","line":9,"character":4}],"type":{"type":"reference","id":23,"name":"NormalRange"},"inheritedFrom":{"type":"reference","id":14461,"name":"EffectOptions.wet"}}],"groups":[{"title":"Properties","kind":1024,"children":[16470,16468,16469]}],"sources":[{"fileName":"Tone/effect/FrequencyShifter.ts","line":12,"character":33}],"extendedTypes":[{"type":"reference","id":14460,"name":"EffectOptions"}]},{"id":1135,"name":"GainOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"typeParameter":[{"id":1136,"name":"TypeName","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"reference","id":46,"name":"UnitName"}}],"children":[{"id":1142,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":1139,"name":"convert","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/Gain.ts","line":10,"character":8}],"type":{"type":"intrinsic","name":"boolean"}},{"id":1137,"name":"gain","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/Gain.ts","line":8,"character":5}],"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":1141,"name":"maxValue","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"sources":[{"fileName":"Tone/core/context/Gain.ts","line":12,"character":9}],"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}},{"id":1140,"name":"minValue","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"sources":[{"fileName":"Tone/core/context/Gain.ts","line":11,"character":9}],"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}},{"id":1138,"name":"units","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/Gain.ts","line":9,"character":6}],"type":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}}}],"groups":[{"title":"Properties","kind":1024,"children":[1142,1139,1137,1141,1140,1138]}],"sources":[{"fileName":"Tone/core/context/Gain.ts","line":7,"character":21}],"extendedTypes":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}]},{"id":19453,"name":"GateOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":19456,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":19455,"name":"smoothing","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/dynamics/Gate.ts","line":11,"character":10}],"type":{"type":"reference","id":31,"name":"Time"}},{"id":19454,"name":"threshold","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/dynamics/Gate.ts","line":10,"character":10}],"type":{"type":"reference","id":22,"name":"Decibels"}}],"groups":[{"title":"Properties","kind":1024,"children":[19456,19455,19454]}],"sources":[{"fileName":"Tone/component/dynamics/Gate.ts","line":9,"character":28}],"extendedTypes":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}]},{"id":9258,"name":"GrainPlayerOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":9278,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":9271,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/buffer/GrainPlayer.ts","line":19,"character":7}],"type":{"type":"reference","id":42,"name":"Cents"}},{"id":9269,"name":"grainSize","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/buffer/GrainPlayer.ts","line":17,"character":10}],"type":{"type":"reference","id":21,"name":"Seconds"}},{"id":9272,"name":"loop","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/buffer/GrainPlayer.ts","line":20,"character":5}],"type":{"type":"intrinsic","name":"boolean"}},{"id":9274,"name":"loopEnd","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/buffer/GrainPlayer.ts","line":22,"character":8}],"type":{"type":"reference","id":31,"name":"Time"}},{"id":9273,"name":"loopStart","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/buffer/GrainPlayer.ts","line":21,"character":10}],"type":{"type":"reference","id":31,"name":"Time"}},{"id":9276,"name":"mute","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":18,"character":5}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":5560,"name":"SourceOptions.mute"}},{"id":9262,"name":"onerror","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/buffer/GrainPlayer.ts","line":13,"character":8}],"type":{"type":"reflection","declaration":{"id":9263,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":9264,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":9265,"name":"error","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Error"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/buffer/GrainPlayer.ts","line":13,"character":9}]}}},{"id":9259,"name":"onload","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/buffer/GrainPlayer.ts","line":12,"character":7}],"type":{"type":"reflection","declaration":{"id":9260,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":9261,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/buffer/GrainPlayer.ts","line":12,"character":8}]}}},{"id":9277,"name":"onstop","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":19,"character":7}],"type":{"type":"reference","id":5706,"name":"onStopCallback"},"inheritedFrom":{"type":"reference","id":5561,"name":"SourceOptions.onstop"}},{"id":9268,"name":"overlap","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/buffer/GrainPlayer.ts","line":16,"character":8}],"type":{"type":"reference","id":21,"name":"Seconds"}},{"id":9270,"name":"playbackRate","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/buffer/GrainPlayer.ts","line":18,"character":13}],"type":{"type":"reference","id":27,"name":"Positive"}},{"id":9266,"name":"reverse","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/buffer/GrainPlayer.ts","line":14,"character":8}],"type":{"type":"intrinsic","name":"boolean"}},{"id":9267,"name":"url","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"sources":[{"fileName":"Tone/source/buffer/GrainPlayer.ts","line":15,"character":4}],"type":{"type":"union","types":[{"type":"reference","id":4362,"name":"ToneAudioBuffer"},{"type":"intrinsic","name":"string"},{"type":"reference","name":"AudioBuffer"}]}},{"id":9275,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":17,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"},"inheritedFrom":{"type":"reference","id":5559,"name":"SourceOptions.volume"}}],"groups":[{"title":"Properties","kind":1024,"children":[9278,9271,9269,9272,9274,9273,9276,9262,9259,9277,9268,9270,9266,9267,9275]}],"sources":[{"fileName":"Tone/source/buffer/GrainPlayer.ts","line":11,"character":28}],"extendedTypes":[{"type":"reference","id":5558,"name":"SourceOptions"}]},{"id":10704,"name":"InstrumentOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":10706,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":10705,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":9,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"}}],"groups":[{"title":"Properties","kind":1024,"children":[10706,10705]}],"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":8,"character":34}],"extendedTypes":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}],"extendedBy":[{"type":"reference","id":10822,"name":"MonophonicOptions"},{"type":"reference","id":12622,"name":"NoiseSynthOptions"},{"type":"reference","id":13164,"name":"PluckSynthOptions"},{"type":"reference","id":13288,"name":"PolySynthOptions"},{"type":"reference","id":13467,"name":"SamplerOptions"}]},{"id":1840,"name":"IntervalTimelineEvent","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"An IntervalTimeline event must have a time and duration"},"indexSignature":[{"id":1843,"name":"__index","kind":8192,"kindString":"Index signature","flags":{"isExported":true},"comment":{"shortText":"An IntervalTimeline event must have a time and duration"},"parameters":[{"id":1844,"name":"propName","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"any"}}],"children":[{"id":1842,"name":"duration","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/util/IntervalTimeline.ts","line":10,"character":9}],"type":{"type":"intrinsic","name":"number"}},{"id":1841,"name":"time","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/util/IntervalTimeline.ts","line":9,"character":5}],"type":{"type":"intrinsic","name":"number"}}],"groups":[{"title":"Properties","kind":1024,"children":[1842,1841]}],"sources":[{"fileName":"Tone/core/util/IntervalTimeline.ts","line":8,"character":38}]},{"id":16682,"name":"JCReverbOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":16685,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":16683,"name":"roomSize","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/JCReverb.ts","line":10,"character":9}],"type":{"type":"reference","id":23,"name":"NormalRange"}},{"id":16684,"name":"wet","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/Effect.ts","line":9,"character":4}],"type":{"type":"reference","id":23,"name":"NormalRange"},"inheritedFrom":{"type":"reference","id":14461,"name":"EffectOptions.wet"}}],"groups":[{"title":"Properties","kind":1024,"children":[16685,16683,16684]}],"sources":[{"fileName":"Tone/effect/JCReverb.ts","line":9,"character":32}],"extendedTypes":[{"type":"reference","id":14460,"name":"EffectOptions"}]},{"id":14555,"name":"LFOEffectOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":14560,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":14558,"name":"depth","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/LFOEffect.ts","line":12,"character":6}],"type":{"type":"reference","id":23,"name":"NormalRange"}},{"id":14556,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/LFOEffect.ts","line":10,"character":10}],"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":14557,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/LFOEffect.ts","line":11,"character":5}],"type":{"type":"reference","id":6554,"name":"ToneOscillatorType"}},{"id":14559,"name":"wet","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/Effect.ts","line":9,"character":4}],"type":{"type":"reference","id":23,"name":"NormalRange"},"inheritedFrom":{"type":"reference","id":14461,"name":"EffectOptions.wet"}}],"groups":[{"title":"Properties","kind":1024,"children":[14560,14558,14556,14557,14559]}],"sources":[{"fileName":"Tone/effect/LFOEffect.ts","line":9,"character":33}],"extendedTypes":[{"type":"reference","id":14460,"name":"EffectOptions"}],"extendedBy":[{"type":"reference","id":14669,"name":"AutoFilterOptions"},{"type":"reference","id":14891,"name":"AutoPannerOptions"}]},{"id":19556,"name":"LimiterOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":19558,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":19557,"name":"threshold","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/dynamics/Limiter.ts","line":9,"character":10}],"type":{"type":"reference","id":22,"name":"Decibels"}}],"groups":[{"title":"Properties","kind":1024,"children":[19558,19557]}],"sources":[{"fileName":"Tone/component/dynamics/Limiter.ts","line":8,"character":31}],"extendedTypes":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}]},{"id":2636,"name":"ListenerOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":2646,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":2640,"name":"forwardX","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/Listener.ts","line":9,"character":9}],"type":{"type":"intrinsic","name":"number"}},{"id":2641,"name":"forwardY","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/Listener.ts","line":10,"character":9}],"type":{"type":"intrinsic","name":"number"}},{"id":2642,"name":"forwardZ","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/Listener.ts","line":11,"character":9}],"type":{"type":"intrinsic","name":"number"}},{"id":2637,"name":"positionX","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/Listener.ts","line":6,"character":10}],"type":{"type":"intrinsic","name":"number"}},{"id":2638,"name":"positionY","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/Listener.ts","line":7,"character":10}],"type":{"type":"intrinsic","name":"number"}},{"id":2639,"name":"positionZ","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/Listener.ts","line":8,"character":10}],"type":{"type":"intrinsic","name":"number"}},{"id":2643,"name":"upX","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/Listener.ts","line":12,"character":4}],"type":{"type":"intrinsic","name":"number"}},{"id":2644,"name":"upY","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/Listener.ts","line":13,"character":4}],"type":{"type":"intrinsic","name":"number"}},{"id":2645,"name":"upZ","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/Listener.ts","line":14,"character":4}],"type":{"type":"intrinsic","name":"number"}}],"groups":[{"title":"Properties","kind":1024,"children":[2646,2640,2641,2642,2637,2638,2639,2643,2644,2645]}],"sources":[{"fileName":"Tone/core/context/Listener.ts","line":5,"character":32}],"extendedTypes":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}]},{"id":3213,"name":"Logger","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"A basic logging interface"},"children":[{"id":3214,"name":"log","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/util/Debug.ts","line":35,"character":4}],"type":{"type":"reflection","declaration":{"id":3215,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3216,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3217,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/util/Debug.ts","line":35,"character":5}]}}},{"id":3218,"name":"warn","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/util/Debug.ts","line":36,"character":5}],"type":{"type":"reflection","declaration":{"id":3219,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3220,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3221,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/util/Debug.ts","line":36,"character":6}]}}}],"groups":[{"title":"Properties","kind":1024,"children":[3214,3218]}],"sources":[{"fileName":"Tone/core/util/Debug.ts","line":34,"character":16}]},{"id":13753,"name":"LoopOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":13754,"name":"callback","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/event/Loop.ts","line":9,"character":9}],"type":{"type":"reflection","declaration":{"id":13755,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":13756,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":13757,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":21,"name":"Seconds"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/event/Loop.ts","line":9,"character":10}]}}},{"id":13764,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":13763,"name":"humanize","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/event/Loop.ts","line":15,"character":9}],"type":{"type":"union","types":[{"type":"intrinsic","name":"boolean"},{"type":"reference","id":31,"name":"Time"}]}},{"id":13758,"name":"interval","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/event/Loop.ts","line":10,"character":9}],"type":{"type":"reference","id":31,"name":"Time"}},{"id":13760,"name":"iterations","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/event/Loop.ts","line":12,"character":11}],"type":{"type":"intrinsic","name":"number"}},{"id":13762,"name":"mute","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/event/Loop.ts","line":14,"character":5}],"type":{"type":"intrinsic","name":"boolean"}},{"id":13759,"name":"playbackRate","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/event/Loop.ts","line":11,"character":13}],"type":{"type":"reference","id":27,"name":"Positive"}},{"id":13761,"name":"probability","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/event/Loop.ts","line":13,"character":12}],"type":{"type":"reference","id":23,"name":"NormalRange"}}],"groups":[{"title":"Properties","kind":1024,"children":[13754,13764,13763,13758,13760,13762,13759,13761]}],"sources":[{"fileName":"Tone/event/Loop.ts","line":8,"character":28}],"extendedTypes":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}],"extendedBy":[{"type":"reference","id":14087,"name":"PatternOptions"}]},{"id":13063,"name":"LowpassCombFilterOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":13067,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":13066,"name":"dampening","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/filter/LowpassCombFilter.ts","line":12,"character":10}],"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":13064,"name":"delayTime","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/filter/LowpassCombFilter.ts","line":10,"character":10}],"type":{"type":"reference","id":31,"name":"Time"}},{"id":13065,"name":"resonance","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/filter/LowpassCombFilter.ts","line":11,"character":10}],"type":{"type":"reference","id":23,"name":"NormalRange"}}],"groups":[{"title":"Properties","kind":1024,"children":[13067,13066,13064,13065]}],"sources":[{"fileName":"Tone/component/filter/LowpassCombFilter.ts","line":9,"character":34}],"extendedTypes":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}]},{"id":12481,"name":"MembraneSynthOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":12490,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":12488,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":14,"character":7}],"type":{"type":"reference","id":42,"name":"Cents"},"inheritedFrom":{"type":"reference","id":10825,"name":"MonophonicOptions.detune"}},{"id":12485,"name":"envelope","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Synth.ts","line":16,"character":9}],"type":{"type":"reference","id":1119,"typeArguments":[{"type":"reference","id":10537,"name":"EnvelopeOptions"},{"type":"typeOperator","operator":"keyof","target":{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"}}],"name":"Omit"},"inheritedFrom":{"type":"reference","id":11092,"name":"SynthOptions.envelope"}},{"id":12483,"name":"octaves","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/MembraneSynth.ts","line":11,"character":8}],"type":{"type":"reference","id":27,"name":"Positive"}},{"id":12487,"name":"onsilence","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":13,"character":10}],"type":{"type":"reference","id":10956,"name":"onSilenceCallback"},"inheritedFrom":{"type":"reference","id":10824,"name":"MonophonicOptions.onsilence"}},{"id":12484,"name":"oscillator","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Synth.ts","line":15,"character":11}],"type":{"type":"reference","id":6579,"name":"OmniOscillatorSynthOptions"},"inheritedFrom":{"type":"reference","id":11091,"name":"SynthOptions.oscillator"}},{"id":12482,"name":"pitchDecay","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/MembraneSynth.ts","line":10,"character":11}],"type":{"type":"reference","id":31,"name":"Time"}},{"id":12486,"name":"portamento","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":12,"character":11}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":10823,"name":"MonophonicOptions.portamento"}},{"id":12489,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":9,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"},"inheritedFrom":{"type":"reference","id":10705,"name":"InstrumentOptions.volume"}}],"groups":[{"title":"Properties","kind":1024,"children":[12490,12488,12485,12483,12487,12484,12482,12486,12489]}],"sources":[{"fileName":"Tone/instrument/MembraneSynth.ts","line":9,"character":37}],"extendedTypes":[{"type":"reference","id":11090,"name":"SynthOptions"}]},{"id":15637,"name":"MergeOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":15638,"name":"channels","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/channel/Merge.ts","line":6,"character":9}],"type":{"type":"reference","id":27,"name":"Positive"}},{"id":15639,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}}],"groups":[{"title":"Properties","kind":1024,"children":[15638,15639]}],"sources":[{"fileName":"Tone/component/channel/Merge.ts","line":5,"character":22}],"extendedTypes":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}]},{"id":12319,"name":"MetalSynthOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":12329,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":12327,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":14,"character":7}],"type":{"type":"reference","id":42,"name":"Cents"},"inheritedFrom":{"type":"reference","id":10825,"name":"MonophonicOptions.detune"}},{"id":12324,"name":"envelope","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/MetalSynth.ts","line":19,"character":9}],"type":{"type":"reference","id":1119,"typeArguments":[{"type":"reference","id":10537,"name":"EnvelopeOptions"},{"type":"typeOperator","operator":"keyof","target":{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"}}],"name":"Omit"}},{"id":12320,"name":"harmonicity","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/MetalSynth.ts","line":15,"character":12}],"type":{"type":"reference","id":27,"name":"Positive"}},{"id":12321,"name":"modulationIndex","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/MetalSynth.ts","line":16,"character":16}],"type":{"type":"reference","id":27,"name":"Positive"}},{"id":12322,"name":"octaves","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/MetalSynth.ts","line":17,"character":8}],"type":{"type":"intrinsic","name":"number"}},{"id":12326,"name":"onsilence","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":13,"character":10}],"type":{"type":"reference","id":10956,"name":"onSilenceCallback"},"inheritedFrom":{"type":"reference","id":10824,"name":"MonophonicOptions.onsilence"}},{"id":12325,"name":"portamento","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":12,"character":11}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":10823,"name":"MonophonicOptions.portamento"}},{"id":12323,"name":"resonance","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/MetalSynth.ts","line":18,"character":10}],"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":12328,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":9,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"},"inheritedFrom":{"type":"reference","id":10705,"name":"InstrumentOptions.volume"}}],"groups":[{"title":"Properties","kind":1024,"children":[12329,12327,12324,12320,12321,12322,12326,12325,12323,12328]}],"sources":[{"fileName":"Tone/instrument/MetalSynth.ts","line":14,"character":34}],"extendedTypes":[{"type":"reference","id":10822,"name":"MonophonicOptions"}]},{"id":18194,"name":"MeterOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":18197,"name":"channels","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/analysis/Meter.ts","line":11,"character":9}],"type":{"type":"intrinsic","name":"number"}},{"id":18198,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":18196,"name":"normalRange","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/analysis/Meter.ts","line":10,"character":12}],"type":{"type":"intrinsic","name":"boolean"}},{"id":18195,"name":"smoothing","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/analysis/Meter.ts","line":9,"character":10}],"type":{"type":"reference","id":23,"name":"NormalRange"}}],"groups":[{"title":"Properties","kind":1024,"children":[18197,18198,18196,18195]}],"sources":[{"fileName":"Tone/component/analysis/Meter.ts","line":8,"character":29}],"extendedTypes":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}]},{"id":19649,"name":"MidSideCompressorOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":19652,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":19650,"name":"mid","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/dynamics/MidSideCompressor.ts","line":9,"character":4}],"type":{"type":"reference","id":1119,"typeArguments":[{"type":"reference","id":19351,"name":"CompressorOptions"},{"type":"typeOperator","operator":"keyof","target":{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"}}],"name":"Omit"}},{"id":19651,"name":"side","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/dynamics/MidSideCompressor.ts","line":10,"character":5}],"type":{"type":"reference","id":1119,"typeArguments":[{"type":"reference","id":19351,"name":"CompressorOptions"},{"type":"typeOperator","operator":"keyof","target":{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"}}],"name":"Omit"}}],"groups":[{"title":"Properties","kind":1024,"children":[19652,19650,19651]}],"sources":[{"fileName":"Tone/component/dynamics/MidSideCompressor.ts","line":8,"character":41}],"extendedTypes":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}]},{"id":11228,"name":"ModulationSynthOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":11238,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":11236,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":14,"character":7}],"type":{"type":"reference","id":42,"name":"Cents"},"inheritedFrom":{"type":"reference","id":10825,"name":"MonophonicOptions.detune"}},{"id":11233,"name":"envelope","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Synth.ts","line":16,"character":9}],"type":{"type":"reference","id":1119,"typeArguments":[{"type":"reference","id":10537,"name":"EnvelopeOptions"},{"type":"typeOperator","operator":"keyof","target":{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"}}],"name":"Omit"},"inheritedFrom":{"type":"reference","id":11092,"name":"SynthOptions.envelope"}},{"id":11229,"name":"harmonicity","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/ModulationSynth.ts","line":17,"character":12}],"type":{"type":"reference","id":27,"name":"Positive"}},{"id":11231,"name":"modulation","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/ModulationSynth.ts","line":19,"character":11}],"type":{"type":"reference","id":6579,"name":"OmniOscillatorSynthOptions"}},{"id":11230,"name":"modulationEnvelope","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/ModulationSynth.ts","line":18,"character":19}],"type":{"type":"reference","id":1119,"typeArguments":[{"type":"reference","id":10537,"name":"EnvelopeOptions"},{"type":"typeOperator","operator":"keyof","target":{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"}}],"name":"Omit"}},{"id":11235,"name":"onsilence","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":13,"character":10}],"type":{"type":"reference","id":10956,"name":"onSilenceCallback"},"inheritedFrom":{"type":"reference","id":10824,"name":"MonophonicOptions.onsilence"}},{"id":11232,"name":"oscillator","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Synth.ts","line":15,"character":11}],"type":{"type":"reference","id":6579,"name":"OmniOscillatorSynthOptions"},"inheritedFrom":{"type":"reference","id":11091,"name":"SynthOptions.oscillator"}},{"id":11234,"name":"portamento","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":12,"character":11}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":10823,"name":"MonophonicOptions.portamento"}},{"id":11237,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":9,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"},"inheritedFrom":{"type":"reference","id":10705,"name":"InstrumentOptions.volume"}}],"groups":[{"title":"Properties","kind":1024,"children":[11238,11236,11233,11229,11231,11230,11235,11232,11234,11237]}],"sources":[{"fileName":"Tone/instrument/ModulationSynth.ts","line":16,"character":39}],"extendedTypes":[{"type":"reference","id":11090,"name":"SynthOptions"}],"extendedBy":[{"type":"reference","id":12171,"name":"FMSynthOptions"}]},{"id":11885,"name":"MonoSynthOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":11894,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":11892,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":14,"character":7}],"type":{"type":"reference","id":42,"name":"Cents"},"inheritedFrom":{"type":"reference","id":10825,"name":"MonophonicOptions.detune"}},{"id":11887,"name":"envelope","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/MonoSynth.ts","line":17,"character":9}],"type":{"type":"reference","id":1119,"typeArguments":[{"type":"reference","id":10537,"name":"EnvelopeOptions"},{"type":"typeOperator","operator":"keyof","target":{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"}}],"name":"Omit"}},{"id":11889,"name":"filter","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/MonoSynth.ts","line":19,"character":7}],"type":{"type":"reference","id":1119,"typeArguments":[{"type":"reference","id":11725,"name":"FilterOptions"},{"type":"typeOperator","operator":"keyof","target":{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"}}],"name":"Omit"}},{"id":11888,"name":"filterEnvelope","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/MonoSynth.ts","line":18,"character":15}],"type":{"type":"reference","id":1119,"typeArguments":[{"type":"reference","id":11728,"name":"FrequencyEnvelopeOptions"},{"type":"typeOperator","operator":"keyof","target":{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"}}],"name":"Omit"}},{"id":11891,"name":"onsilence","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":13,"character":10}],"type":{"type":"reference","id":10956,"name":"onSilenceCallback"},"inheritedFrom":{"type":"reference","id":10824,"name":"MonophonicOptions.onsilence"}},{"id":11886,"name":"oscillator","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/MonoSynth.ts","line":16,"character":11}],"type":{"type":"reference","id":6579,"name":"OmniOscillatorSynthOptions"}},{"id":11890,"name":"portamento","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":12,"character":11}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":10823,"name":"MonophonicOptions.portamento"}},{"id":11893,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":9,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"},"inheritedFrom":{"type":"reference","id":10705,"name":"InstrumentOptions.volume"}}],"groups":[{"title":"Properties","kind":1024,"children":[11894,11892,11887,11889,11888,11891,11886,11890,11893]}],"sources":[{"fileName":"Tone/instrument/MonoSynth.ts","line":15,"character":33}],"extendedTypes":[{"type":"reference","id":10822,"name":"MonophonicOptions"}]},{"id":10822,"name":"MonophonicOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":10827,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":10825,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":14,"character":7}],"type":{"type":"reference","id":42,"name":"Cents"}},{"id":10824,"name":"onsilence","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":13,"character":10}],"type":{"type":"reference","id":10956,"name":"onSilenceCallback"}},{"id":10823,"name":"portamento","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":12,"character":11}],"type":{"type":"reference","id":21,"name":"Seconds"}},{"id":10826,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":9,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"},"inheritedFrom":{"type":"reference","id":10705,"name":"InstrumentOptions.volume"}}],"groups":[{"title":"Properties","kind":1024,"children":[10827,10825,10824,10823,10826]}],"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":11,"character":34}],"extendedTypes":[{"type":"reference","id":10704,"name":"InstrumentOptions"}],"extendedBy":[{"type":"reference","id":11090,"name":"SynthOptions"},{"type":"reference","id":11885,"name":"MonoSynthOptions"},{"type":"reference","id":12026,"name":"DuoSynthOptions"},{"type":"reference","id":12319,"name":"MetalSynthOptions"}]},{"id":19741,"name":"MultibandCompressorOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":19747,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":19744,"name":"high","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/dynamics/MultibandCompressor.ts","line":13,"character":5}],"type":{"type":"reference","id":1119,"typeArguments":[{"type":"reference","id":19351,"name":"CompressorOptions"},{"type":"typeOperator","operator":"keyof","target":{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"}}],"name":"Omit"}},{"id":19746,"name":"highFrequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/dynamics/MultibandCompressor.ts","line":15,"character":14}],"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":19743,"name":"low","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/dynamics/MultibandCompressor.ts","line":12,"character":4}],"type":{"type":"reference","id":1119,"typeArguments":[{"type":"reference","id":19351,"name":"CompressorOptions"},{"type":"typeOperator","operator":"keyof","target":{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"}}],"name":"Omit"}},{"id":19745,"name":"lowFrequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/dynamics/MultibandCompressor.ts","line":14,"character":13}],"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":19742,"name":"mid","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/dynamics/MultibandCompressor.ts","line":11,"character":4}],"type":{"type":"reference","id":1119,"typeArguments":[{"type":"reference","id":19351,"name":"CompressorOptions"},{"type":"typeOperator","operator":"keyof","target":{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"}}],"name":"Omit"}}],"groups":[{"title":"Properties","kind":1024,"children":[19747,19744,19746,19743,19745,19742]}],"sources":[{"fileName":"Tone/component/dynamics/MultibandCompressor.ts","line":10,"character":43}],"extendedTypes":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}]},{"id":18998,"name":"MultibandSplitOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":18999,"name":"Q","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/channel/MultibandSplit.ts","line":10,"character":2}],"type":{"type":"reference","id":27,"name":"Positive"}},{"id":19002,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":19001,"name":"highFrequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/channel/MultibandSplit.ts","line":12,"character":14}],"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":19000,"name":"lowFrequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/channel/MultibandSplit.ts","line":11,"character":13}],"type":{"type":"reference","id":32,"name":"Frequency"}}],"groups":[{"title":"Properties","kind":1024,"children":[18999,19002,19001,19000]}],"sources":[{"fileName":"Tone/component/channel/MultibandSplit.ts","line":9,"character":31}],"extendedTypes":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}]},{"id":6044,"name":"NoiseCache","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"The cached noise buffers"},"indexSignature":[{"id":6045,"name":"__index","kind":8192,"kindString":"Index signature","flags":{"isExported":true},"comment":{"shortText":"The cached noise buffers"},"parameters":[{"id":6046,"name":"key","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"union","types":[{"type":"reference","id":4362,"name":"ToneAudioBuffer"},{"type":"intrinsic","name":"null"}]}}],"sources":[{"fileName":"Tone/source/Noise.ts","line":209,"character":20}]},{"id":5886,"name":"NoiseOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":5894,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":5889,"name":"fadeIn","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Noise.ts","line":13,"character":7}],"type":{"type":"reference","id":31,"name":"Time"}},{"id":5890,"name":"fadeOut","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Noise.ts","line":14,"character":8}],"type":{"type":"reference","id":31,"name":"Time"}},{"id":5892,"name":"mute","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":18,"character":5}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":5560,"name":"SourceOptions.mute"}},{"id":5893,"name":"onstop","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":19,"character":7}],"type":{"type":"reference","id":5706,"name":"onStopCallback"},"inheritedFrom":{"type":"reference","id":5561,"name":"SourceOptions.onstop"}},{"id":5888,"name":"playbackRate","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Noise.ts","line":12,"character":13}],"type":{"type":"reference","id":27,"name":"Positive"}},{"id":5887,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Noise.ts","line":11,"character":5}],"type":{"type":"reference","id":6047,"name":"NoiseType"}},{"id":5891,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":17,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"},"inheritedFrom":{"type":"reference","id":5559,"name":"SourceOptions.volume"}}],"groups":[{"title":"Properties","kind":1024,"children":[5894,5889,5890,5892,5893,5888,5887,5891]}],"sources":[{"fileName":"Tone/source/Noise.ts","line":10,"character":29}],"extendedTypes":[{"type":"reference","id":5558,"name":"SourceOptions"}]},{"id":12622,"name":"NoiseSynthOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":12626,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":12623,"name":"envelope","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/NoiseSynth.ts","line":12,"character":9}],"type":{"type":"reference","id":1119,"typeArguments":[{"type":"reference","id":10537,"name":"EnvelopeOptions"},{"type":"typeOperator","operator":"keyof","target":{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"}}],"name":"Omit"}},{"id":12624,"name":"noise","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/NoiseSynth.ts","line":13,"character":6}],"type":{"type":"reference","id":1119,"typeArguments":[{"type":"reference","id":5886,"name":"NoiseOptions"},{"type":"typeOperator","operator":"keyof","target":{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"}}],"name":"Omit"}},{"id":12625,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":9,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"},"inheritedFrom":{"type":"reference","id":10705,"name":"InstrumentOptions.volume"}}],"groups":[{"title":"Properties","kind":1024,"children":[12626,12623,12624,12625]}],"sources":[{"fileName":"Tone/instrument/NoiseSynth.ts","line":11,"character":34}],"extendedTypes":[{"type":"reference","id":10704,"name":"InstrumentOptions"}]},{"id":822,"name":"NormalAutomationEvent","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":824,"name":"time","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/Param.ts","line":36,"character":5}],"type":{"type":"intrinsic","name":"number"}},{"id":823,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/Param.ts","line":35,"character":5}],"type":{"type":"reference","typeArguments":[{"type":"reference","id":998,"name":"AutomationType"},{"type":"stringLiteral","value":"setTargetAtTime"}],"name":"Exclude"}},{"id":825,"name":"value","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/Param.ts","line":37,"character":6}],"type":{"type":"intrinsic","name":"number"}}],"groups":[{"title":"Properties","kind":1024,"children":[824,823,825]}],"sources":[{"fileName":"Tone/core/context/Param.ts","line":34,"character":31}]},{"id":6473,"name":"OmniAMCustomOscillatorOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Omni AM"},"children":[{"id":6484,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":6479,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":156,"character":7}],"type":{"type":"reference","id":42,"name":"Cents"},"inheritedFrom":{"type":"reference","id":6190,"name":"BaseOscillatorOptions.detune"}},{"id":6478,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":155,"character":10}],"type":{"type":"reference","id":32,"name":"Frequency"},"inheritedFrom":{"type":"reference","id":6189,"name":"BaseOscillatorOptions.frequency"}},{"id":6476,"name":"harmonicity","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":228,"character":12}],"type":{"type":"reference","id":27,"name":"Positive"},"inheritedFrom":{"type":"reference","id":6300,"name":"AMBaseOscillatorOptions.harmonicity"}},{"id":6477,"name":"modulationType","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":229,"character":15}],"type":{"type":"reference","id":6553,"name":"AllNonCustomOscillatorType"},"inheritedFrom":{"type":"reference","id":6301,"name":"AMBaseOscillatorOptions.modulationType"}},{"id":6482,"name":"mute","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":18,"character":5}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":5560,"name":"SourceOptions.mute"}},{"id":6483,"name":"onstop","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":19,"character":7}],"type":{"type":"reference","id":5706,"name":"onStopCallback"},"inheritedFrom":{"type":"reference","id":5561,"name":"SourceOptions.onstop"}},{"id":6475,"name":"partials","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":410,"character":9}],"type":{"type":"array","elementType":{"type":"intrinsic","name":"number"}}},{"id":6480,"name":"phase","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":157,"character":6}],"type":{"type":"reference","id":37,"name":"Degrees"},"inheritedFrom":{"type":"reference","id":6191,"name":"BaseOscillatorOptions.phase"}},{"id":6474,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":409,"character":5}],"type":{"type":"stringLiteral","value":"amcustom"}},{"id":6481,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":17,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"},"inheritedFrom":{"type":"reference","id":5559,"name":"SourceOptions.volume"}}],"groups":[{"title":"Properties","kind":1024,"children":[6484,6479,6478,6476,6477,6482,6483,6475,6480,6474,6481]}],"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":408,"character":39}],"extendedTypes":[{"type":"reference","id":6299,"name":"AMBaseOscillatorOptions"}]},{"id":6497,"name":"OmniAMPartialsOscillatorOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":6507,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":6502,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":156,"character":7}],"type":{"type":"reference","id":42,"name":"Cents"},"inheritedFrom":{"type":"reference","id":6190,"name":"BaseOscillatorOptions.detune"}},{"id":6501,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":155,"character":10}],"type":{"type":"reference","id":32,"name":"Frequency"},"inheritedFrom":{"type":"reference","id":6189,"name":"BaseOscillatorOptions.frequency"}},{"id":6499,"name":"harmonicity","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":228,"character":12}],"type":{"type":"reference","id":27,"name":"Positive"},"inheritedFrom":{"type":"reference","id":6300,"name":"AMBaseOscillatorOptions.harmonicity"}},{"id":6500,"name":"modulationType","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":229,"character":15}],"type":{"type":"reference","id":6553,"name":"AllNonCustomOscillatorType"},"inheritedFrom":{"type":"reference","id":6301,"name":"AMBaseOscillatorOptions.modulationType"}},{"id":6505,"name":"mute","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":18,"character":5}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":5560,"name":"SourceOptions.mute"}},{"id":6506,"name":"onstop","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":19,"character":7}],"type":{"type":"reference","id":5706,"name":"onStopCallback"},"inheritedFrom":{"type":"reference","id":5561,"name":"SourceOptions.onstop"}},{"id":6503,"name":"phase","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":157,"character":6}],"type":{"type":"reference","id":37,"name":"Degrees"},"inheritedFrom":{"type":"reference","id":6191,"name":"BaseOscillatorOptions.phase"}},{"id":6498,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":419,"character":5}],"type":{"type":"reference","id":6569,"name":"AMTypeWithPartials"}},{"id":6504,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":17,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"},"inheritedFrom":{"type":"reference","id":5559,"name":"SourceOptions.volume"}}],"groups":[{"title":"Properties","kind":1024,"children":[6507,6502,6501,6499,6500,6505,6506,6503,6498,6504]}],"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":418,"character":41}],"extendedTypes":[{"type":"reference","id":6299,"name":"AMBaseOscillatorOptions"}]},{"id":6485,"name":"OmniAMTypeOscillatorOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":6496,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":6491,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":156,"character":7}],"type":{"type":"reference","id":42,"name":"Cents"},"inheritedFrom":{"type":"reference","id":6190,"name":"BaseOscillatorOptions.detune"}},{"id":6490,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":155,"character":10}],"type":{"type":"reference","id":32,"name":"Frequency"},"inheritedFrom":{"type":"reference","id":6189,"name":"BaseOscillatorOptions.frequency"}},{"id":6488,"name":"harmonicity","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":228,"character":12}],"type":{"type":"reference","id":27,"name":"Positive"},"inheritedFrom":{"type":"reference","id":6300,"name":"AMBaseOscillatorOptions.harmonicity"}},{"id":6489,"name":"modulationType","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":229,"character":15}],"type":{"type":"reference","id":6553,"name":"AllNonCustomOscillatorType"},"inheritedFrom":{"type":"reference","id":6301,"name":"AMBaseOscillatorOptions.modulationType"}},{"id":6494,"name":"mute","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":18,"character":5}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":5560,"name":"SourceOptions.mute"}},{"id":6495,"name":"onstop","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":19,"character":7}],"type":{"type":"reference","id":5706,"name":"onStopCallback"},"inheritedFrom":{"type":"reference","id":5561,"name":"SourceOptions.onstop"}},{"id":6487,"name":"partialsCount","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":415,"character":14}],"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}},{"id":6492,"name":"phase","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":157,"character":6}],"type":{"type":"reference","id":37,"name":"Degrees"},"inheritedFrom":{"type":"reference","id":6191,"name":"BaseOscillatorOptions.phase"}},{"id":6486,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":414,"character":5}],"type":{"type":"union","types":[{"type":"stringLiteral","value":"amsine"},{"type":"stringLiteral","value":"amsquare"},{"type":"stringLiteral","value":"amsawtooth"},{"type":"stringLiteral","value":"amtriangle"}]}},{"id":6493,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":17,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"},"inheritedFrom":{"type":"reference","id":5559,"name":"SourceOptions.volume"}}],"groups":[{"title":"Properties","kind":1024,"children":[6496,6491,6490,6488,6489,6494,6495,6487,6492,6486,6493]}],"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":413,"character":37}],"extendedTypes":[{"type":"reference","id":6299,"name":"AMBaseOscillatorOptions"}]},{"id":6435,"name":"OmniFMCustomOscillatorOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Omni FM"},"children":[{"id":6447,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":6442,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":156,"character":7}],"type":{"type":"reference","id":42,"name":"Cents"},"inheritedFrom":{"type":"reference","id":6190,"name":"BaseOscillatorOptions.detune"}},{"id":6441,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":155,"character":10}],"type":{"type":"reference","id":32,"name":"Frequency"},"inheritedFrom":{"type":"reference","id":6189,"name":"BaseOscillatorOptions.frequency"}},{"id":6438,"name":"harmonicity","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":197,"character":12}],"type":{"type":"reference","id":27,"name":"Positive"},"inheritedFrom":{"type":"reference","id":6237,"name":"FMBaseOscillatorOptions.harmonicity"}},{"id":6439,"name":"modulationIndex","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":198,"character":16}],"type":{"type":"reference","id":27,"name":"Positive"},"inheritedFrom":{"type":"reference","id":6238,"name":"FMBaseOscillatorOptions.modulationIndex"}},{"id":6440,"name":"modulationType","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":199,"character":15}],"type":{"type":"reference","id":6553,"name":"AllNonCustomOscillatorType"},"inheritedFrom":{"type":"reference","id":6239,"name":"FMBaseOscillatorOptions.modulationType"}},{"id":6445,"name":"mute","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":18,"character":5}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":5560,"name":"SourceOptions.mute"}},{"id":6446,"name":"onstop","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":19,"character":7}],"type":{"type":"reference","id":5706,"name":"onStopCallback"},"inheritedFrom":{"type":"reference","id":5561,"name":"SourceOptions.onstop"}},{"id":6437,"name":"partials","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":393,"character":9}],"type":{"type":"array","elementType":{"type":"intrinsic","name":"number"}}},{"id":6443,"name":"phase","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":157,"character":6}],"type":{"type":"reference","id":37,"name":"Degrees"},"inheritedFrom":{"type":"reference","id":6191,"name":"BaseOscillatorOptions.phase"}},{"id":6436,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":392,"character":5}],"type":{"type":"stringLiteral","value":"fmcustom"}},{"id":6444,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":17,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"},"inheritedFrom":{"type":"reference","id":5559,"name":"SourceOptions.volume"}}],"groups":[{"title":"Properties","kind":1024,"children":[6447,6442,6441,6438,6439,6440,6445,6446,6437,6443,6436,6444]}],"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":391,"character":39}],"extendedTypes":[{"type":"reference","id":6236,"name":"FMBaseOscillatorOptions"}]},{"id":6461,"name":"OmniFMPartialsOscillatorOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":6472,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":6467,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":156,"character":7}],"type":{"type":"reference","id":42,"name":"Cents"},"inheritedFrom":{"type":"reference","id":6190,"name":"BaseOscillatorOptions.detune"}},{"id":6466,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":155,"character":10}],"type":{"type":"reference","id":32,"name":"Frequency"},"inheritedFrom":{"type":"reference","id":6189,"name":"BaseOscillatorOptions.frequency"}},{"id":6463,"name":"harmonicity","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":197,"character":12}],"type":{"type":"reference","id":27,"name":"Positive"},"inheritedFrom":{"type":"reference","id":6237,"name":"FMBaseOscillatorOptions.harmonicity"}},{"id":6464,"name":"modulationIndex","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":198,"character":16}],"type":{"type":"reference","id":27,"name":"Positive"},"inheritedFrom":{"type":"reference","id":6238,"name":"FMBaseOscillatorOptions.modulationIndex"}},{"id":6465,"name":"modulationType","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":199,"character":15}],"type":{"type":"reference","id":6553,"name":"AllNonCustomOscillatorType"},"inheritedFrom":{"type":"reference","id":6239,"name":"FMBaseOscillatorOptions.modulationType"}},{"id":6470,"name":"mute","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":18,"character":5}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":5560,"name":"SourceOptions.mute"}},{"id":6471,"name":"onstop","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":19,"character":7}],"type":{"type":"reference","id":5706,"name":"onStopCallback"},"inheritedFrom":{"type":"reference","id":5561,"name":"SourceOptions.onstop"}},{"id":6468,"name":"phase","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":157,"character":6}],"type":{"type":"reference","id":37,"name":"Degrees"},"inheritedFrom":{"type":"reference","id":6191,"name":"BaseOscillatorOptions.phase"}},{"id":6462,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":402,"character":5}],"type":{"type":"reference","id":6564,"name":"FMTypeWithPartials"}},{"id":6469,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":17,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"},"inheritedFrom":{"type":"reference","id":5559,"name":"SourceOptions.volume"}}],"groups":[{"title":"Properties","kind":1024,"children":[6472,6467,6466,6463,6464,6465,6470,6471,6468,6462,6469]}],"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":401,"character":41}],"extendedTypes":[{"type":"reference","id":6236,"name":"FMBaseOscillatorOptions"}]},{"id":6448,"name":"OmniFMTypeOscillatorOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":6460,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":6455,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":156,"character":7}],"type":{"type":"reference","id":42,"name":"Cents"},"inheritedFrom":{"type":"reference","id":6190,"name":"BaseOscillatorOptions.detune"}},{"id":6454,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":155,"character":10}],"type":{"type":"reference","id":32,"name":"Frequency"},"inheritedFrom":{"type":"reference","id":6189,"name":"BaseOscillatorOptions.frequency"}},{"id":6451,"name":"harmonicity","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":197,"character":12}],"type":{"type":"reference","id":27,"name":"Positive"},"inheritedFrom":{"type":"reference","id":6237,"name":"FMBaseOscillatorOptions.harmonicity"}},{"id":6452,"name":"modulationIndex","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":198,"character":16}],"type":{"type":"reference","id":27,"name":"Positive"},"inheritedFrom":{"type":"reference","id":6238,"name":"FMBaseOscillatorOptions.modulationIndex"}},{"id":6453,"name":"modulationType","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":199,"character":15}],"type":{"type":"reference","id":6553,"name":"AllNonCustomOscillatorType"},"inheritedFrom":{"type":"reference","id":6239,"name":"FMBaseOscillatorOptions.modulationType"}},{"id":6458,"name":"mute","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":18,"character":5}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":5560,"name":"SourceOptions.mute"}},{"id":6459,"name":"onstop","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":19,"character":7}],"type":{"type":"reference","id":5706,"name":"onStopCallback"},"inheritedFrom":{"type":"reference","id":5561,"name":"SourceOptions.onstop"}},{"id":6450,"name":"partialsCount","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":398,"character":14}],"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}},{"id":6456,"name":"phase","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":157,"character":6}],"type":{"type":"reference","id":37,"name":"Degrees"},"inheritedFrom":{"type":"reference","id":6191,"name":"BaseOscillatorOptions.phase"}},{"id":6449,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":397,"character":5}],"type":{"type":"union","types":[{"type":"stringLiteral","value":"fmsine"},{"type":"stringLiteral","value":"fmsquare"},{"type":"stringLiteral","value":"fmsawtooth"},{"type":"stringLiteral","value":"fmtriangle"}]}},{"id":6457,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":17,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"},"inheritedFrom":{"type":"reference","id":5559,"name":"SourceOptions.volume"}}],"groups":[{"title":"Properties","kind":1024,"children":[6460,6455,6454,6451,6452,6453,6458,6459,6450,6456,6449,6457]}],"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":396,"character":37}],"extendedTypes":[{"type":"reference","id":6236,"name":"FMBaseOscillatorOptions"}]},{"id":6508,"name":"OmniFatCustomOscillatorOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Omni Fat"},"children":[{"id":6519,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":6512,"name":"count","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":257,"character":6}],"type":{"type":"reference","id":27,"name":"Positive"},"inheritedFrom":{"type":"reference","id":6359,"name":"FatBaseOscillatorOptions.count"}},{"id":6514,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":156,"character":7}],"type":{"type":"reference","id":42,"name":"Cents"},"inheritedFrom":{"type":"reference","id":6190,"name":"BaseOscillatorOptions.detune"}},{"id":6513,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":155,"character":10}],"type":{"type":"reference","id":32,"name":"Frequency"},"inheritedFrom":{"type":"reference","id":6189,"name":"BaseOscillatorOptions.frequency"}},{"id":6517,"name":"mute","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":18,"character":5}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":5560,"name":"SourceOptions.mute"}},{"id":6518,"name":"onstop","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":19,"character":7}],"type":{"type":"reference","id":5706,"name":"onStopCallback"},"inheritedFrom":{"type":"reference","id":5561,"name":"SourceOptions.onstop"}},{"id":6510,"name":"partials","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":427,"character":9}],"type":{"type":"array","elementType":{"type":"intrinsic","name":"number"}}},{"id":6515,"name":"phase","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":157,"character":6}],"type":{"type":"reference","id":37,"name":"Degrees"},"inheritedFrom":{"type":"reference","id":6191,"name":"BaseOscillatorOptions.phase"}},{"id":6511,"name":"spread","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":256,"character":7}],"type":{"type":"reference","id":42,"name":"Cents"},"inheritedFrom":{"type":"reference","id":6358,"name":"FatBaseOscillatorOptions.spread"}},{"id":6509,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":426,"character":5}],"type":{"type":"stringLiteral","value":"fatcustom"}},{"id":6516,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":17,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"},"inheritedFrom":{"type":"reference","id":5559,"name":"SourceOptions.volume"}}],"groups":[{"title":"Properties","kind":1024,"children":[6519,6512,6514,6513,6517,6518,6510,6515,6511,6509,6516]}],"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":425,"character":40}],"extendedTypes":[{"type":"reference","id":6357,"name":"FatBaseOscillatorOptions"}]},{"id":6532,"name":"OmniFatPartialsOscillatorOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":6542,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":6535,"name":"count","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":257,"character":6}],"type":{"type":"reference","id":27,"name":"Positive"},"inheritedFrom":{"type":"reference","id":6359,"name":"FatBaseOscillatorOptions.count"}},{"id":6537,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":156,"character":7}],"type":{"type":"reference","id":42,"name":"Cents"},"inheritedFrom":{"type":"reference","id":6190,"name":"BaseOscillatorOptions.detune"}},{"id":6536,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":155,"character":10}],"type":{"type":"reference","id":32,"name":"Frequency"},"inheritedFrom":{"type":"reference","id":6189,"name":"BaseOscillatorOptions.frequency"}},{"id":6540,"name":"mute","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":18,"character":5}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":5560,"name":"SourceOptions.mute"}},{"id":6541,"name":"onstop","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":19,"character":7}],"type":{"type":"reference","id":5706,"name":"onStopCallback"},"inheritedFrom":{"type":"reference","id":5561,"name":"SourceOptions.onstop"}},{"id":6538,"name":"phase","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":157,"character":6}],"type":{"type":"reference","id":37,"name":"Degrees"},"inheritedFrom":{"type":"reference","id":6191,"name":"BaseOscillatorOptions.phase"}},{"id":6534,"name":"spread","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":256,"character":7}],"type":{"type":"reference","id":42,"name":"Cents"},"inheritedFrom":{"type":"reference","id":6358,"name":"FatBaseOscillatorOptions.spread"}},{"id":6533,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":436,"character":5}],"type":{"type":"reference","id":6574,"name":"FatTypeWithPartials"}},{"id":6539,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":17,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"},"inheritedFrom":{"type":"reference","id":5559,"name":"SourceOptions.volume"}}],"groups":[{"title":"Properties","kind":1024,"children":[6542,6535,6537,6536,6540,6541,6538,6534,6533,6539]}],"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":435,"character":42}],"extendedTypes":[{"type":"reference","id":6357,"name":"FatBaseOscillatorOptions"}]},{"id":6520,"name":"OmniFatTypeOscillatorOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":6531,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":6524,"name":"count","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":257,"character":6}],"type":{"type":"reference","id":27,"name":"Positive"},"inheritedFrom":{"type":"reference","id":6359,"name":"FatBaseOscillatorOptions.count"}},{"id":6526,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":156,"character":7}],"type":{"type":"reference","id":42,"name":"Cents"},"inheritedFrom":{"type":"reference","id":6190,"name":"BaseOscillatorOptions.detune"}},{"id":6525,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":155,"character":10}],"type":{"type":"reference","id":32,"name":"Frequency"},"inheritedFrom":{"type":"reference","id":6189,"name":"BaseOscillatorOptions.frequency"}},{"id":6529,"name":"mute","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":18,"character":5}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":5560,"name":"SourceOptions.mute"}},{"id":6530,"name":"onstop","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":19,"character":7}],"type":{"type":"reference","id":5706,"name":"onStopCallback"},"inheritedFrom":{"type":"reference","id":5561,"name":"SourceOptions.onstop"}},{"id":6522,"name":"partialsCount","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":432,"character":14}],"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}},{"id":6527,"name":"phase","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":157,"character":6}],"type":{"type":"reference","id":37,"name":"Degrees"},"inheritedFrom":{"type":"reference","id":6191,"name":"BaseOscillatorOptions.phase"}},{"id":6523,"name":"spread","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":256,"character":7}],"type":{"type":"reference","id":42,"name":"Cents"},"inheritedFrom":{"type":"reference","id":6358,"name":"FatBaseOscillatorOptions.spread"}},{"id":6521,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":431,"character":5}],"type":{"type":"union","types":[{"type":"stringLiteral","value":"fatsine"},{"type":"stringLiteral","value":"fatsquare"},{"type":"stringLiteral","value":"fatsawtooth"},{"type":"stringLiteral","value":"fattriangle"}]}},{"id":6528,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":17,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"},"inheritedFrom":{"type":"reference","id":5559,"name":"SourceOptions.volume"}}],"groups":[{"title":"Properties","kind":1024,"children":[6531,6524,6526,6525,6529,6530,6522,6527,6523,6521,6528]}],"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":430,"character":38}],"extendedTypes":[{"type":"reference","id":6357,"name":"FatBaseOscillatorOptions"}]},{"id":8160,"name":"OmniOscillatorSource","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"All of the Oscillator constructor types mapped to their name."},"children":[{"id":8162,"name":"am","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":31,"character":5}],"type":{"type":"reference","id":7362,"name":"AMOscillator"}},{"id":8166,"name":"fat","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":35,"character":6}],"type":{"type":"reference","id":7837,"name":"FatOscillator"}},{"id":8161,"name":"fm","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":30,"character":5}],"type":{"type":"reference","id":7524,"name":"FMOscillator"}},{"id":8165,"name":"oscillator","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":34,"character":13}],"type":{"type":"reference","id":6718,"name":"Oscillator"}},{"id":8164,"name":"pulse","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":33,"character":8}],"type":{"type":"reference","id":7686,"name":"PulseOscillator"}},{"id":8163,"name":"pwm","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":32,"character":6}],"type":{"type":"reference","id":8011,"name":"PWMOscillator"}}],"groups":[{"title":"Properties","kind":1024,"children":[8162,8166,8161,8165,8164,8163]}],"sources":[{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":29,"character":30}]},{"id":12955,"name":"OnePoleFilterOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":12958,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":12956,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/filter/OnePoleFilter.ts","line":9,"character":10}],"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":12957,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/filter/OnePoleFilter.ts","line":10,"character":5}],"type":{"type":"reference","id":13062,"name":"OnePoleFilterType"}}],"groups":[{"title":"Properties","kind":1024,"children":[12958,12956,12957]}],"sources":[{"fileName":"Tone/component/filter/OnePoleFilter.ts","line":8,"character":37}],"extendedTypes":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}]},{"id":1233,"name":"OneShotSourceOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":1238,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":1237,"name":"curve","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/OneShotSource.ts","line":19,"character":6}],"type":{"type":"reference","id":1357,"name":"OneShotSourceCurve"}},{"id":1235,"name":"fadeIn","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/OneShotSource.ts","line":17,"character":7}],"type":{"type":"reference","id":31,"name":"Time"}},{"id":1236,"name":"fadeOut","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/OneShotSource.ts","line":18,"character":8}],"type":{"type":"reference","id":31,"name":"Time"}},{"id":1234,"name":"onended","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/OneShotSource.ts","line":16,"character":8}],"type":{"type":"reference","id":1358,"name":"onEndedCallback"}}],"groups":[{"title":"Properties","kind":1024,"children":[1238,1237,1235,1236,1234]}],"sources":[{"fileName":"Tone/source/OneShotSource.ts","line":15,"character":37}],"extendedTypes":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}],"extendedBy":[{"type":"reference","id":1362,"name":"ToneConstantSourceOptions"},{"type":"reference","id":5710,"name":"ToneBufferSourceOptions"},{"type":"reference","id":6580,"name":"ToneOscillatorNodeOptions"}]},{"id":6425,"name":"PWMOscillatorOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"PWM Oscillator"},"children":[{"id":6434,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":6429,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":156,"character":7}],"type":{"type":"reference","id":42,"name":"Cents"},"inheritedFrom":{"type":"reference","id":6190,"name":"BaseOscillatorOptions.detune"}},{"id":6428,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":155,"character":10}],"type":{"type":"reference","id":32,"name":"Frequency"},"inheritedFrom":{"type":"reference","id":6189,"name":"BaseOscillatorOptions.frequency"}},{"id":6427,"name":"modulationFrequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":294,"character":20}],"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":6432,"name":"mute","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":18,"character":5}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":5560,"name":"SourceOptions.mute"}},{"id":6433,"name":"onstop","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":19,"character":7}],"type":{"type":"reference","id":5706,"name":"onStopCallback"},"inheritedFrom":{"type":"reference","id":5561,"name":"SourceOptions.onstop"}},{"id":6430,"name":"phase","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":157,"character":6}],"type":{"type":"reference","id":37,"name":"Degrees"},"inheritedFrom":{"type":"reference","id":6191,"name":"BaseOscillatorOptions.phase"}},{"id":6426,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":293,"character":5}],"type":{"type":"stringLiteral","value":"pwm"}},{"id":6431,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":17,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"},"inheritedFrom":{"type":"reference","id":5559,"name":"SourceOptions.volume"}}],"groups":[{"title":"Properties","kind":1024,"children":[6434,6429,6428,6427,6432,6433,6430,6426,6431]}],"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":292,"character":37}],"extendedTypes":[{"type":"reference","id":6188,"name":"BaseOscillatorOptions"}]},{"id":18692,"name":"PanVolOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":18696,"name":"channelCount","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/channel/PanVol.ts","line":13,"character":13}],"type":{"type":"intrinsic","name":"number"}},{"id":18697,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":18695,"name":"mute","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/channel/PanVol.ts","line":12,"character":5}],"type":{"type":"intrinsic","name":"boolean"}},{"id":18693,"name":"pan","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/channel/PanVol.ts","line":10,"character":4}],"type":{"type":"reference","id":24,"name":"AudioRange"}},{"id":18694,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/channel/PanVol.ts","line":11,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"}}],"groups":[{"title":"Properties","kind":1024,"children":[18696,18697,18695,18693,18694]}],"sources":[{"fileName":"Tone/component/channel/PanVol.ts","line":9,"character":30}],"extendedTypes":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}]},{"id":19097,"name":"Panner3DOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":19098,"name":"coneInnerAngle","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/channel/Panner3D.ts","line":8,"character":15}],"type":{"type":"reference","id":37,"name":"Degrees"}},{"id":19099,"name":"coneOuterAngle","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/channel/Panner3D.ts","line":9,"character":15}],"type":{"type":"reference","id":37,"name":"Degrees"}},{"id":19100,"name":"coneOuterGain","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/channel/Panner3D.ts","line":10,"character":14}],"type":{"type":"reference","id":26,"name":"GainFactor"}},{"id":19112,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":19101,"name":"distanceModel","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/channel/Panner3D.ts","line":11,"character":14}],"type":{"type":"reference","name":"DistanceModelType"}},{"id":19102,"name":"maxDistance","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/channel/Panner3D.ts","line":12,"character":12}],"type":{"type":"intrinsic","name":"number"}},{"id":19103,"name":"orientationX","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/channel/Panner3D.ts","line":13,"character":13}],"type":{"type":"intrinsic","name":"number"}},{"id":19104,"name":"orientationY","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/channel/Panner3D.ts","line":14,"character":13}],"type":{"type":"intrinsic","name":"number"}},{"id":19105,"name":"orientationZ","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/channel/Panner3D.ts","line":15,"character":13}],"type":{"type":"intrinsic","name":"number"}},{"id":19106,"name":"panningModel","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/channel/Panner3D.ts","line":16,"character":13}],"type":{"type":"reference","name":"PanningModelType"}},{"id":19107,"name":"positionX","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/channel/Panner3D.ts","line":17,"character":10}],"type":{"type":"intrinsic","name":"number"}},{"id":19108,"name":"positionY","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/channel/Panner3D.ts","line":18,"character":10}],"type":{"type":"intrinsic","name":"number"}},{"id":19109,"name":"positionZ","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/channel/Panner3D.ts","line":19,"character":10}],"type":{"type":"intrinsic","name":"number"}},{"id":19110,"name":"refDistance","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/channel/Panner3D.ts","line":20,"character":12}],"type":{"type":"intrinsic","name":"number"}},{"id":19111,"name":"rolloffFactor","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/channel/Panner3D.ts","line":21,"character":14}],"type":{"type":"intrinsic","name":"number"}}],"groups":[{"title":"Properties","kind":1024,"children":[19098,19099,19100,19112,19101,19102,19103,19104,19105,19106,19107,19108,19109,19110,19111]}],"sources":[{"fileName":"Tone/component/channel/Panner3D.ts","line":7,"character":32}],"extendedTypes":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}]},{"id":807,"name":"ParamOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"typeParameter":[{"id":808,"name":"TypeName","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"reference","id":46,"name":"UnitName"}}],"children":[{"id":816,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":812,"name":"convert","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/Param.ts","line":16,"character":8}],"type":{"type":"intrinsic","name":"boolean"}},{"id":814,"name":"maxValue","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"sources":[{"fileName":"Tone/core/context/Param.ts","line":18,"character":9}],"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}},{"id":813,"name":"minValue","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"sources":[{"fileName":"Tone/core/context/Param.ts","line":17,"character":9}],"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}},{"id":811,"name":"param","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/Param.ts","line":15,"character":6}],"type":{"type":"union","types":[{"type":"reference","name":"AudioParam"},{"type":"reference","id":826,"typeArguments":[{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}}],"name":"Param"}]}},{"id":815,"name":"swappable","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"sources":[{"fileName":"Tone/core/context/Param.ts","line":19,"character":10}],"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"false"},{"type":"intrinsic","name":"true"}]}},{"id":809,"name":"units","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/Param.ts","line":13,"character":6}],"type":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}}},{"id":810,"name":"value","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"sources":[{"fileName":"Tone/core/context/Param.ts","line":14,"character":6}],"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}}],"groups":[{"title":"Properties","kind":1024,"children":[816,812,814,813,811,815,809,810]}],"sources":[{"fileName":"Tone/core/context/Param.ts","line":12,"character":29}],"extendedTypes":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}],"extendedBy":[{"type":"reference","id":1959,"name":"TickParamOptions"}]},{"id":13864,"name":"PartOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"typeParameter":[{"id":13865,"name":"T","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}}],"children":[{"id":13866,"name":"events","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/event/Part.ts","line":18,"character":7}],"type":{"type":"array","elementType":{"type":"typeParameter","name":"T"}}}],"groups":[{"title":"Properties","kind":1024,"children":[13866]}],"sources":[{"fileName":"Tone/event/Part.ts","line":17,"character":21}],"extendedTypes":[{"type":"reflection","declaration":{"id":13867,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"sources":[{"fileName":"Tone/event/Part.ts","line":17,"character":32}]}}]},{"id":14087,"name":"PatternOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"typeParameter":[{"id":14088,"name":"ValueType","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}}],"children":[{"id":14091,"name":"callback","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/event/Pattern.ts","line":11,"character":9}],"type":{"type":"reflection","declaration":{"id":14092,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":14093,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":14094,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":21,"name":"Seconds"}},{"id":14095,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":14088,"name":"ValueType"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/event/Pattern.ts","line":11,"character":10}]}},"overwrites":{"type":"reference","id":13754,"name":"LoopOptions.callback"}},{"id":14102,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":14101,"name":"humanize","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/event/Loop.ts","line":15,"character":9}],"type":{"type":"union","types":[{"type":"intrinsic","name":"boolean"},{"type":"reference","id":31,"name":"Time"}]},"inheritedFrom":{"type":"reference","id":13763,"name":"LoopOptions.humanize"}},{"id":14096,"name":"interval","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/event/Loop.ts","line":10,"character":9}],"type":{"type":"reference","id":31,"name":"Time"},"inheritedFrom":{"type":"reference","id":13758,"name":"LoopOptions.interval"}},{"id":14098,"name":"iterations","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/event/Loop.ts","line":12,"character":11}],"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":13760,"name":"LoopOptions.iterations"}},{"id":14100,"name":"mute","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/event/Loop.ts","line":14,"character":5}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":13762,"name":"LoopOptions.mute"}},{"id":14089,"name":"pattern","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/event/Pattern.ts","line":9,"character":8}],"type":{"type":"reference","id":14038,"name":"PatternName"}},{"id":14097,"name":"playbackRate","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/event/Loop.ts","line":11,"character":13}],"type":{"type":"reference","id":27,"name":"Positive"},"inheritedFrom":{"type":"reference","id":13759,"name":"LoopOptions.playbackRate"}},{"id":14099,"name":"probability","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/event/Loop.ts","line":13,"character":12}],"type":{"type":"reference","id":23,"name":"NormalRange"},"inheritedFrom":{"type":"reference","id":13761,"name":"LoopOptions.probability"}},{"id":14090,"name":"values","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/event/Pattern.ts","line":10,"character":7}],"type":{"type":"array","elementType":{"type":"typeParameter","name":"ValueType"}}}],"groups":[{"title":"Properties","kind":1024,"children":[14091,14102,14101,14096,14098,14100,14089,14097,14099,14090]}],"sources":[{"fileName":"Tone/event/Pattern.ts","line":8,"character":31}],"extendedTypes":[{"type":"reference","id":13753,"name":"LoopOptions"}]},{"id":17121,"name":"PhaserOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":17125,"name":"Q","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/Phaser.ts","line":12,"character":2}],"type":{"type":"reference","id":27,"name":"Positive"}},{"id":17126,"name":"baseFrequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/Phaser.ts","line":13,"character":14}],"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":17128,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":17122,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/Phaser.ts","line":9,"character":10}],"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":17123,"name":"octaves","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/Phaser.ts","line":10,"character":8}],"type":{"type":"reference","id":27,"name":"Positive"}},{"id":17124,"name":"stages","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/Phaser.ts","line":11,"character":7}],"type":{"type":"reference","id":27,"name":"Positive"}},{"id":17127,"name":"wet","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/Effect.ts","line":9,"character":4}],"type":{"type":"reference","id":23,"name":"NormalRange"},"inheritedFrom":{"type":"reference","id":14461,"name":"EffectOptions.wet"}}],"groups":[{"title":"Properties","kind":1024,"children":[17125,17126,17128,17122,17123,17124,17127]}],"sources":[{"fileName":"Tone/effect/Phaser.ts","line":8,"character":30}],"extendedTypes":[{"type":"reference","id":14460,"name":"EffectOptions"}]},{"id":16891,"name":"PingPongDelayOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":16896,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":16892,"name":"delayTime","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/PingPongDelay.ts","line":9,"character":10}],"type":{"type":"reference","id":31,"name":"Time"}},{"id":16894,"name":"feedback","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/StereoXFeedbackEffect.ts","line":6,"character":9}],"type":{"type":"reference","id":23,"name":"NormalRange"},"overwrites":{"type":"reference","id":15824,"name":"StereoFeedbackEffectOptions.feedback"},"inheritedFrom":{"type":"reference","id":16789,"name":"StereoXFeedbackEffectOptions.feedback"}},{"id":16893,"name":"maxDelay","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/PingPongDelay.ts","line":10,"character":9}],"type":{"type":"reference","id":21,"name":"Seconds"}},{"id":16895,"name":"wet","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/Effect.ts","line":9,"character":4}],"type":{"type":"reference","id":23,"name":"NormalRange"},"inheritedFrom":{"type":"reference","id":14461,"name":"EffectOptions.wet"}}],"groups":[{"title":"Properties","kind":1024,"children":[16896,16892,16894,16893,16895]}],"sources":[{"fileName":"Tone/effect/PingPongDelay.ts","line":8,"character":37}],"extendedTypes":[{"type":"reference","id":16788,"name":"StereoXFeedbackEffectOptions"}]},{"id":17002,"name":"PitchShiftOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":17008,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":17005,"name":"delayTime","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/PitchShift.ts","line":15,"character":10}],"type":{"type":"reference","id":31,"name":"Time"}},{"id":17006,"name":"feedback","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The feedback from the output back to the input\n```\n+---<--------<---+\n|                |\n|  +----------+  |\n+--> feedback +>-+\n   +----------+\n```"},"sources":[{"fileName":"Tone/effect/FeedbackEffect.ts","line":18,"character":9}],"type":{"type":"reference","id":23,"name":"NormalRange"},"inheritedFrom":{"type":"reference","id":16178,"name":"FeedbackEffectOptions.feedback"}},{"id":17003,"name":"pitch","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/PitchShift.ts","line":13,"character":6}],"type":{"type":"reference","id":25,"name":"Interval"}},{"id":17007,"name":"wet","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/Effect.ts","line":9,"character":4}],"type":{"type":"reference","id":23,"name":"NormalRange"},"inheritedFrom":{"type":"reference","id":14461,"name":"EffectOptions.wet"}},{"id":17004,"name":"windowSize","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/PitchShift.ts","line":14,"character":11}],"type":{"type":"reference","id":21,"name":"Seconds"}}],"groups":[{"title":"Properties","kind":1024,"children":[17008,17005,17006,17003,17007,17004]}],"sources":[{"fileName":"Tone/effect/PitchShift.ts","line":12,"character":34}],"extendedTypes":[{"type":"reference","id":16177,"name":"FeedbackEffectOptions"}]},{"id":8900,"name":"PlayerOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":8910,"name":"autostart","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/buffer/Player.ts","line":16,"character":10}],"type":{"type":"intrinsic","name":"boolean"}},{"id":8920,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":8914,"name":"fadeIn","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/buffer/Player.ts","line":20,"character":7}],"type":{"type":"reference","id":31,"name":"Time"}},{"id":8915,"name":"fadeOut","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/buffer/Player.ts","line":21,"character":8}],"type":{"type":"reference","id":31,"name":"Time"}},{"id":8909,"name":"loop","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/buffer/Player.ts","line":15,"character":5}],"type":{"type":"intrinsic","name":"boolean"}},{"id":8912,"name":"loopEnd","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/buffer/Player.ts","line":18,"character":8}],"type":{"type":"reference","id":31,"name":"Time"}},{"id":8911,"name":"loopStart","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/buffer/Player.ts","line":17,"character":10}],"type":{"type":"reference","id":31,"name":"Time"}},{"id":8918,"name":"mute","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":18,"character":5}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":5560,"name":"SourceOptions.mute"}},{"id":8904,"name":"onerror","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/buffer/Player.ts","line":13,"character":8}],"type":{"type":"reflection","declaration":{"id":8905,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":8906,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":8907,"name":"error","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Error"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/buffer/Player.ts","line":13,"character":9}]}}},{"id":8901,"name":"onload","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/buffer/Player.ts","line":12,"character":7}],"type":{"type":"reflection","declaration":{"id":8902,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":8903,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/buffer/Player.ts","line":12,"character":8}]}}},{"id":8919,"name":"onstop","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":19,"character":7}],"type":{"type":"reference","id":5706,"name":"onStopCallback"},"inheritedFrom":{"type":"reference","id":5561,"name":"SourceOptions.onstop"}},{"id":8908,"name":"playbackRate","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/buffer/Player.ts","line":14,"character":13}],"type":{"type":"reference","id":27,"name":"Positive"}},{"id":8913,"name":"reverse","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/buffer/Player.ts","line":19,"character":8}],"type":{"type":"intrinsic","name":"boolean"}},{"id":8916,"name":"url","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"sources":[{"fileName":"Tone/source/buffer/Player.ts","line":22,"character":4}],"type":{"type":"union","types":[{"type":"reference","id":4362,"name":"ToneAudioBuffer"},{"type":"intrinsic","name":"string"},{"type":"reference","name":"AudioBuffer"}]}},{"id":8917,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":17,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"},"inheritedFrom":{"type":"reference","id":5559,"name":"SourceOptions.volume"}}],"groups":[{"title":"Properties","kind":1024,"children":[8910,8920,8914,8915,8909,8912,8911,8918,8904,8901,8919,8908,8913,8916,8917]}],"sources":[{"fileName":"Tone/source/buffer/Player.ts","line":11,"character":30}],"extendedTypes":[{"type":"reference","id":5558,"name":"SourceOptions"}]},{"id":9110,"name":"PlayersOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":9121,"name":"baseUrl","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/buffer/Players.ts","line":20,"character":8}],"type":{"type":"intrinsic","name":"string"}},{"id":9125,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":9122,"name":"fadeIn","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/buffer/Players.ts","line":21,"character":7}],"type":{"type":"reference","id":31,"name":"Time"}},{"id":9123,"name":"fadeOut","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/buffer/Players.ts","line":22,"character":8}],"type":{"type":"reference","id":31,"name":"Time"}},{"id":9113,"name":"mute","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/buffer/Players.ts","line":17,"character":5}],"type":{"type":"intrinsic","name":"boolean"},"overwrites":{"type":"reference","id":5560,"name":"SourceOptions.mute"}},{"id":9117,"name":"onerror","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/buffer/Players.ts","line":19,"character":8}],"type":{"type":"reflection","declaration":{"id":9118,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":9119,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":9120,"name":"error","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Error"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/buffer/Players.ts","line":19,"character":9}]}}},{"id":9114,"name":"onload","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/buffer/Players.ts","line":18,"character":7}],"type":{"type":"reflection","declaration":{"id":9115,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":9116,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/buffer/Players.ts","line":18,"character":8}]}}},{"id":9124,"name":"onstop","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":19,"character":7}],"type":{"type":"reference","id":5706,"name":"onStopCallback"},"inheritedFrom":{"type":"reference","id":5561,"name":"SourceOptions.onstop"}},{"id":9111,"name":"urls","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/buffer/Players.ts","line":15,"character":5}],"type":{"type":"reference","id":5396,"name":"ToneAudioBuffersUrlMap"}},{"id":9112,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/buffer/Players.ts","line":16,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"},"overwrites":{"type":"reference","id":5559,"name":"SourceOptions.volume"}}],"groups":[{"title":"Properties","kind":1024,"children":[9121,9125,9122,9123,9113,9117,9114,9124,9111,9112]}],"sources":[{"fileName":"Tone/source/buffer/Players.ts","line":14,"character":31}],"extendedTypes":[{"type":"reference","id":5558,"name":"SourceOptions"}]},{"id":13164,"name":"PluckSynthOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":13165,"name":"attackNoise","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/PluckSynth.ts","line":10,"character":12}],"type":{"type":"intrinsic","name":"number"}},{"id":13170,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":13166,"name":"dampening","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/PluckSynth.ts","line":11,"character":10}],"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":13168,"name":"release","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/PluckSynth.ts","line":13,"character":8}],"type":{"type":"reference","id":31,"name":"Time"}},{"id":13167,"name":"resonance","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/PluckSynth.ts","line":12,"character":10}],"type":{"type":"reference","id":23,"name":"NormalRange"}},{"id":13169,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":9,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"},"inheritedFrom":{"type":"reference","id":10705,"name":"InstrumentOptions.volume"}}],"groups":[{"title":"Properties","kind":1024,"children":[13165,13170,13166,13168,13167,13169]}],"sources":[{"fileName":"Tone/instrument/PluckSynth.ts","line":9,"character":34}],"extendedTypes":[{"type":"reference","id":10704,"name":"InstrumentOptions"}]},{"id":13288,"name":"PolySynthOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"typeParameter":[{"id":13289,"name":"Voice","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}}],"children":[{"id":13294,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":13290,"name":"maxPolyphony","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/PolySynth.ts","line":37,"character":13}],"type":{"type":"intrinsic","name":"number"}},{"id":13292,"name":"options","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/PolySynth.ts","line":39,"character":8}],"type":{"type":"reference","id":13460,"typeArguments":[{"type":"typeParameter","name":"Voice"}],"name":"PartialVoiceOptions"}},{"id":13291,"name":"voice","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/PolySynth.ts","line":38,"character":6}],"type":{"type":"reference","id":13449,"typeArguments":[{"type":"typeParameter","name":"Voice"}],"name":"VoiceConstructor"}},{"id":13293,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":9,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"},"inheritedFrom":{"type":"reference","id":10705,"name":"InstrumentOptions.volume"}}],"groups":[{"title":"Properties","kind":1024,"children":[13294,13290,13292,13291,13293]}],"sources":[{"fileName":"Tone/instrument/PolySynth.ts","line":36,"character":33}],"extendedTypes":[{"type":"reference","id":10704,"name":"InstrumentOptions"}]},{"id":10148,"name":"PowOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":10150,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":10149,"name":"value","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/signal/Pow.ts","line":7,"character":6}],"type":{"type":"intrinsic","name":"number"}}],"groups":[{"title":"Properties","kind":1024,"children":[10150,10149]}],"sources":[{"fileName":"Tone/signal/Pow.ts","line":6,"character":27}],"extendedTypes":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}]},{"id":6415,"name":"PulseOscillatorOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Pulse Oscillator"},"children":[{"id":6424,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":6419,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":156,"character":7}],"type":{"type":"reference","id":42,"name":"Cents"},"inheritedFrom":{"type":"reference","id":6190,"name":"BaseOscillatorOptions.detune"}},{"id":6418,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":155,"character":10}],"type":{"type":"reference","id":32,"name":"Frequency"},"inheritedFrom":{"type":"reference","id":6189,"name":"BaseOscillatorOptions.frequency"}},{"id":6422,"name":"mute","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":18,"character":5}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":5560,"name":"SourceOptions.mute"}},{"id":6423,"name":"onstop","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":19,"character":7}],"type":{"type":"reference","id":5706,"name":"onStopCallback"},"inheritedFrom":{"type":"reference","id":5561,"name":"SourceOptions.onstop"}},{"id":6420,"name":"phase","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":157,"character":6}],"type":{"type":"reference","id":37,"name":"Degrees"},"inheritedFrom":{"type":"reference","id":6191,"name":"BaseOscillatorOptions.phase"}},{"id":6416,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":285,"character":5}],"type":{"type":"stringLiteral","value":"pulse"}},{"id":6421,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":17,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"},"inheritedFrom":{"type":"reference","id":5559,"name":"SourceOptions.volume"}},{"id":6417,"name":"width","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":286,"character":6}],"type":{"type":"reference","id":24,"name":"AudioRange"}}],"groups":[{"title":"Properties","kind":1024,"children":[6424,6419,6418,6422,6423,6420,6416,6421,6417]}],"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":284,"character":39}],"extendedTypes":[{"type":"reference","id":6188,"name":"BaseOscillatorOptions"}]},{"id":19250,"name":"RecorderOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":19252,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":19251,"name":"mimeType","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"sources":[{"fileName":"Tone/component/channel/Recorder.ts","line":9,"character":9}],"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"string"}]}}],"groups":[{"title":"Properties","kind":1024,"children":[19252,19251]}],"sources":[{"fileName":"Tone/component/channel/Recorder.ts","line":8,"character":32}],"extendedTypes":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}]},{"id":17246,"name":"ReverbOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":17250,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":17247,"name":"decay","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/Reverb.ts","line":12,"character":6}],"type":{"type":"reference","id":21,"name":"Seconds"}},{"id":17248,"name":"preDelay","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/Reverb.ts","line":13,"character":9}],"type":{"type":"reference","id":21,"name":"Seconds"}},{"id":17249,"name":"wet","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/Effect.ts","line":9,"character":4}],"type":{"type":"reference","id":23,"name":"NormalRange"},"inheritedFrom":{"type":"reference","id":14461,"name":"EffectOptions.wet"}}],"groups":[{"title":"Properties","kind":1024,"children":[17250,17247,17248,17249]}],"sources":[{"fileName":"Tone/effect/Reverb.ts","line":11,"character":23}],"extendedTypes":[{"type":"reference","id":14460,"name":"EffectOptions"}]},{"id":13467,"name":"SamplerOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":13468,"name":"attack","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Sampler.ts","line":20,"character":7}],"type":{"type":"reference","id":31,"name":"Time"}},{"id":13477,"name":"baseUrl","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Sampler.ts","line":24,"character":8}],"type":{"type":"intrinsic","name":"string"}},{"id":13481,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":13478,"name":"curve","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Sampler.ts","line":25,"character":6}],"type":{"type":"reference","id":5885,"name":"ToneBufferSourceCurve"}},{"id":13473,"name":"onerror","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Sampler.ts","line":23,"character":8}],"type":{"type":"reflection","declaration":{"id":13474,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":13475,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":13476,"name":"error","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Error"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/instrument/Sampler.ts","line":23,"character":9}]}}},{"id":13470,"name":"onload","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Sampler.ts","line":22,"character":7}],"type":{"type":"reflection","declaration":{"id":13471,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":13472,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/instrument/Sampler.ts","line":22,"character":8}]}}},{"id":13469,"name":"release","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Sampler.ts","line":21,"character":8}],"type":{"type":"reference","id":31,"name":"Time"}},{"id":13479,"name":"urls","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Sampler.ts","line":26,"character":5}],"type":{"type":"reference","id":13462,"name":"SamplesMap"}},{"id":13480,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":9,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"},"inheritedFrom":{"type":"reference","id":10705,"name":"InstrumentOptions.volume"}}],"groups":[{"title":"Properties","kind":1024,"children":[13468,13477,13481,13478,13473,13470,13469,13479,13480]}],"sources":[{"fileName":"Tone/instrument/Sampler.ts","line":19,"character":31}],"extendedTypes":[{"type":"reference","id":10704,"name":"InstrumentOptions"}]},{"id":13462,"name":"SamplesMap","kind":256,"kindString":"Interface","flags":{"isExported":true},"indexSignature":[{"id":13465,"name":"__index","kind":8192,"kindString":"Index signature","flags":{"isExported":true},"parameters":[{"id":13466,"name":"midi","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"union","types":[{"type":"reference","id":4362,"name":"ToneAudioBuffer"},{"type":"reference","name":"AudioBuffer"},{"type":"intrinsic","name":"string"}]}}],"sources":[{"fileName":"Tone/instrument/Sampler.ts","line":14,"character":20}]},{"id":10246,"name":"ScaleExpOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":10250,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":10247,"name":"exponent","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/signal/ScaleExp.ts","line":7,"character":9}],"type":{"type":"reference","id":27,"name":"Positive"}},{"id":10249,"name":"max","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/signal/Scale.ts","line":9,"character":4}],"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":8556,"name":"ScaleOptions.max"}},{"id":10248,"name":"min","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/signal/Scale.ts","line":8,"character":4}],"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":8555,"name":"ScaleOptions.min"}}],"groups":[{"title":"Properties","kind":1024,"children":[10250,10247,10249,10248]}],"sources":[{"fileName":"Tone/signal/ScaleExp.ts","line":6,"character":32}],"extendedTypes":[{"type":"reference","id":8554,"name":"ScaleOptions"}]},{"id":8554,"name":"ScaleOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":8557,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":8556,"name":"max","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/signal/Scale.ts","line":9,"character":4}],"type":{"type":"intrinsic","name":"number"}},{"id":8555,"name":"min","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/signal/Scale.ts","line":8,"character":4}],"type":{"type":"intrinsic","name":"number"}}],"groups":[{"title":"Properties","kind":1024,"children":[8557,8556,8555]}],"sources":[{"fileName":"Tone/signal/Scale.ts","line":7,"character":29}],"extendedTypes":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}],"extendedBy":[{"type":"reference","id":10246,"name":"ScaleExpOptions"}]},{"id":14214,"name":"SequenceOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"typeParameter":[{"id":14215,"name":"T","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}}],"children":[{"id":14219,"name":"events","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/event/Sequence.ts","line":14,"character":7}],"type":{"type":"reference","id":14363,"typeArguments":[{"type":"typeParameter","name":"T"}],"name":"SequenceEventDescription"}},{"id":14217,"name":"loopEnd","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/event/Sequence.ts","line":12,"character":8}],"type":{"type":"intrinsic","name":"number"}},{"id":14216,"name":"loopStart","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/event/Sequence.ts","line":11,"character":10}],"type":{"type":"intrinsic","name":"number"}},{"id":14218,"name":"subdivision","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/event/Sequence.ts","line":13,"character":12}],"type":{"type":"reference","id":31,"name":"Time"}}],"groups":[{"title":"Properties","kind":1024,"children":[14219,14217,14216,14218]}],"sources":[{"fileName":"Tone/event/Sequence.ts","line":10,"character":25}],"extendedTypes":[{"type":"reflection","declaration":{"id":14220,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"sources":[{"fileName":"Tone/event/Sequence.ts","line":10,"character":36}]}}]},{"id":1495,"name":"SignalOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"typeParameter":[{"id":1496,"name":"TypeName","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"reference","id":46,"name":"UnitName"}}],"children":[{"id":1502,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":1499,"name":"convert","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/signal/Signal.ts","line":13,"character":8}],"type":{"type":"intrinsic","name":"boolean"}},{"id":1501,"name":"maxValue","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"sources":[{"fileName":"Tone/signal/Signal.ts","line":15,"character":9}],"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}},{"id":1500,"name":"minValue","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"sources":[{"fileName":"Tone/signal/Signal.ts","line":14,"character":9}],"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}},{"id":1498,"name":"units","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/signal/Signal.ts","line":12,"character":6}],"type":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}}},{"id":1497,"name":"value","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/signal/Signal.ts","line":11,"character":6}],"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}}],"groups":[{"title":"Properties","kind":1024,"children":[1502,1499,1501,1500,1498,1497]}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":10,"character":30}],"extendedTypes":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}],"extendedBy":[{"type":"reference","id":4841,"name":"TickSignalOptions"}]},{"id":18585,"name":"SoloOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":18587,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":18586,"name":"solo","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/channel/Solo.ts","line":7,"character":5}],"type":{"type":"intrinsic","name":"boolean"}}],"groups":[{"title":"Properties","kind":1024,"children":[18587,18586]}],"sources":[{"fileName":"Tone/component/channel/Solo.ts","line":6,"character":28}],"extendedTypes":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}]},{"id":5558,"name":"SourceOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":5562,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":5560,"name":"mute","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":18,"character":5}],"type":{"type":"intrinsic","name":"boolean"}},{"id":5561,"name":"onstop","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":19,"character":7}],"type":{"type":"reference","id":5706,"name":"onStopCallback"}},{"id":5559,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":17,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"}}],"groups":[{"title":"Properties","kind":1024,"children":[5562,5560,5561,5559]}],"sources":[{"fileName":"Tone/source/Source.ts","line":16,"character":30}],"extendedTypes":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}],"extendedBy":[{"type":"reference","id":5886,"name":"NoiseOptions"},{"type":"reference","id":6188,"name":"BaseOscillatorOptions"},{"type":"reference","id":8900,"name":"PlayerOptions"},{"type":"reference","id":9110,"name":"PlayersOptions"},{"type":"reference","id":9258,"name":"GrainPlayerOptions"}]},{"id":15547,"name":"SplitOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":15548,"name":"channels","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/channel/Split.ts","line":5,"character":9}],"type":{"type":"intrinsic","name":"number"}},{"id":15549,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}}],"groups":[{"title":"Properties","kind":1024,"children":[15548,15549]}],"sources":[{"fileName":"Tone/component/channel/Split.ts","line":4,"character":22}],"extendedTypes":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}]},{"id":584,"name":"StateTimelineEvent","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":585,"name":"state","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/util/StateTimeline.ts","line":9,"character":6}],"type":{"type":"reference","id":706,"name":"PlaybackState"}},{"id":586,"name":"time","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":21,"character":5}],"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":243,"name":"TimelineEvent.time"}}],"groups":[{"title":"Properties","kind":1024,"children":[585,586]}],"sources":[{"fileName":"Tone/core/util/StateTimeline.ts","line":8,"character":35}],"extendedTypes":[{"type":"reference","id":242,"name":"TimelineEvent"}]},{"id":15823,"name":"StereoFeedbackEffectOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":15826,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":15824,"name":"feedback","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/StereoFeedbackEffect.ts","line":10,"character":9}],"type":{"type":"reference","id":23,"name":"NormalRange"}},{"id":15825,"name":"wet","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/Effect.ts","line":9,"character":4}],"type":{"type":"reference","id":23,"name":"NormalRange"},"inheritedFrom":{"type":"reference","id":14461,"name":"EffectOptions.wet"}}],"groups":[{"title":"Properties","kind":1024,"children":[15826,15824,15825]}],"sources":[{"fileName":"Tone/effect/StereoFeedbackEffect.ts","line":9,"character":44}],"extendedTypes":[{"type":"reference","id":14460,"name":"EffectOptions"}],"extendedBy":[{"type":"reference","id":15926,"name":"ChorusOptions"},{"type":"reference","id":16788,"name":"StereoXFeedbackEffectOptions"}]},{"id":17645,"name":"StereoWidenerOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":17648,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":17647,"name":"wet","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/Effect.ts","line":9,"character":4}],"type":{"type":"reference","id":23,"name":"NormalRange"},"inheritedFrom":{"type":"reference","id":14461,"name":"EffectOptions.wet"}},{"id":17646,"name":"width","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/StereoWidener.ts","line":11,"character":6}],"type":{"type":"reference","id":23,"name":"NormalRange"}}],"groups":[{"title":"Properties","kind":1024,"children":[17648,17647,17646]}],"sources":[{"fileName":"Tone/effect/StereoWidener.ts","line":10,"character":37}],"extendedTypes":[{"type":"reference","id":14460,"name":"EffectOptions"}]},{"id":16788,"name":"StereoXFeedbackEffectOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":16791,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":16789,"name":"feedback","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/StereoXFeedbackEffect.ts","line":6,"character":9}],"type":{"type":"reference","id":23,"name":"NormalRange"},"overwrites":{"type":"reference","id":15824,"name":"StereoFeedbackEffectOptions.feedback"}},{"id":16790,"name":"wet","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/Effect.ts","line":9,"character":4}],"type":{"type":"reference","id":23,"name":"NormalRange"},"inheritedFrom":{"type":"reference","id":14461,"name":"EffectOptions.wet"}}],"groups":[{"title":"Properties","kind":1024,"children":[16791,16789,16790]}],"sources":[{"fileName":"Tone/effect/StereoXFeedbackEffect.ts","line":5,"character":45}],"extendedTypes":[{"type":"reference","id":15823,"name":"StereoFeedbackEffectOptions"}],"extendedBy":[{"type":"reference","id":16891,"name":"PingPongDelayOptions"}]},{"id":2242,"name":"SyncedSignalEvent","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":2244,"name":"initial","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":39,"character":8}],"type":{"type":"intrinsic","name":"number"}},{"id":2245,"name":"ratio","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":40,"character":6}],"type":{"type":"reference","id":1143,"name":"Gain"}},{"id":2243,"name":"signal","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":38,"character":7}],"type":{"type":"reference","id":1503,"name":"Signal"}}],"groups":[{"title":"Properties","kind":1024,"children":[2244,2245,2243]}],"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":37,"character":27}]},{"id":11090,"name":"SynthOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":11097,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":11095,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":14,"character":7}],"type":{"type":"reference","id":42,"name":"Cents"},"inheritedFrom":{"type":"reference","id":10825,"name":"MonophonicOptions.detune"}},{"id":11092,"name":"envelope","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Synth.ts","line":16,"character":9}],"type":{"type":"reference","id":1119,"typeArguments":[{"type":"reference","id":10537,"name":"EnvelopeOptions"},{"type":"typeOperator","operator":"keyof","target":{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"}}],"name":"Omit"}},{"id":11094,"name":"onsilence","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":13,"character":10}],"type":{"type":"reference","id":10956,"name":"onSilenceCallback"},"inheritedFrom":{"type":"reference","id":10824,"name":"MonophonicOptions.onsilence"}},{"id":11091,"name":"oscillator","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Synth.ts","line":15,"character":11}],"type":{"type":"reference","id":6579,"name":"OmniOscillatorSynthOptions"}},{"id":11093,"name":"portamento","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":12,"character":11}],"type":{"type":"reference","id":21,"name":"Seconds"},"inheritedFrom":{"type":"reference","id":10823,"name":"MonophonicOptions.portamento"}},{"id":11096,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Instrument.ts","line":9,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"},"inheritedFrom":{"type":"reference","id":10705,"name":"InstrumentOptions.volume"}}],"groups":[{"title":"Properties","kind":1024,"children":[11097,11095,11092,11094,11091,11093,11096]}],"sources":[{"fileName":"Tone/instrument/Synth.ts","line":14,"character":29}],"extendedTypes":[{"type":"reference","id":10822,"name":"MonophonicOptions"}],"extendedBy":[{"type":"reference","id":11228,"name":"ModulationSynthOptions"},{"type":"reference","id":12481,"name":"MembraneSynthOptions"}]},{"id":817,"name":"TargetAutomationEvent","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":821,"name":"constant","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/Param.ts","line":31,"character":9}],"type":{"type":"intrinsic","name":"number"}},{"id":819,"name":"time","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/Param.ts","line":29,"character":5}],"type":{"type":"intrinsic","name":"number"}},{"id":818,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/Param.ts","line":28,"character":5}],"type":{"type":"stringLiteral","value":"setTargetAtTime"}},{"id":820,"name":"value","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/Param.ts","line":30,"character":6}],"type":{"type":"intrinsic","name":"number"}}],"groups":[{"title":"Properties","kind":1024,"children":[821,819,818,820]}],"sources":[{"fileName":"Tone/core/context/Param.ts","line":27,"character":31}]},{"id":1959,"name":"TickParamOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"typeParameter":[{"id":1960,"name":"TypeName","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"reference","id":46,"name":"UnitName"}}],"children":[{"id":1969,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":1965,"name":"convert","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/Param.ts","line":16,"character":8}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":812,"name":"ParamOptions.convert"}},{"id":1967,"name":"maxValue","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"sources":[{"fileName":"Tone/core/context/Param.ts","line":18,"character":9}],"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]},"inheritedFrom":{"type":"reference","id":814,"name":"ParamOptions.maxValue"}},{"id":1966,"name":"minValue","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"sources":[{"fileName":"Tone/core/context/Param.ts","line":17,"character":9}],"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]},"inheritedFrom":{"type":"reference","id":813,"name":"ParamOptions.minValue"}},{"id":1961,"name":"multiplier","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/clock/TickParam.ts","line":12,"character":11}],"type":{"type":"intrinsic","name":"number"}},{"id":1964,"name":"param","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/Param.ts","line":15,"character":6}],"type":{"type":"union","types":[{"type":"reference","name":"AudioParam"},{"type":"reference","id":826,"typeArguments":[{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}}],"name":"Param"}]},"inheritedFrom":{"type":"reference","id":811,"name":"ParamOptions.param"}},{"id":1968,"name":"swappable","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"sources":[{"fileName":"Tone/core/context/Param.ts","line":19,"character":10}],"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"false"},{"type":"intrinsic","name":"true"}]},"inheritedFrom":{"type":"reference","id":815,"name":"ParamOptions.swappable"}},{"id":1962,"name":"units","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/Param.ts","line":13,"character":6}],"type":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"inheritedFrom":{"type":"reference","id":809,"name":"ParamOptions.units"}},{"id":1963,"name":"value","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"sources":[{"fileName":"Tone/core/context/Param.ts","line":14,"character":6}],"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}},"inheritedFrom":{"type":"reference","id":810,"name":"ParamOptions.value"}}],"groups":[{"title":"Properties","kind":1024,"children":[1969,1965,1967,1966,1961,1964,1968,1962,1963]}],"sources":[{"fileName":"Tone/core/clock/TickParam.ts","line":11,"character":26}],"extendedTypes":[{"type":"reference","id":807,"typeArguments":[{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}}],"name":"ParamOptions"}]},{"id":4841,"name":"TickSignalOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"typeParameter":[{"id":4842,"name":"TypeName","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"reference","id":46,"name":"UnitName"}}],"children":[{"id":4849,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":4846,"name":"convert","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/signal/Signal.ts","line":13,"character":8}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":1499,"name":"SignalOptions.convert"}},{"id":4848,"name":"maxValue","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"sources":[{"fileName":"Tone/signal/Signal.ts","line":15,"character":9}],"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]},"inheritedFrom":{"type":"reference","id":1501,"name":"SignalOptions.maxValue"}},{"id":4847,"name":"minValue","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"sources":[{"fileName":"Tone/signal/Signal.ts","line":14,"character":9}],"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]},"inheritedFrom":{"type":"reference","id":1500,"name":"SignalOptions.minValue"}},{"id":4844,"name":"multiplier","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/clock/TickSignal.ts","line":9,"character":11}],"type":{"type":"intrinsic","name":"number"}},{"id":4845,"name":"units","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/signal/Signal.ts","line":12,"character":6}],"type":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"inheritedFrom":{"type":"reference","id":1498,"name":"SignalOptions.units"}},{"id":4843,"name":"value","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/clock/TickSignal.ts","line":8,"character":6}],"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}},"overwrites":{"type":"reference","id":1497,"name":"SignalOptions.value"}}],"groups":[{"title":"Properties","kind":1024,"children":[4849,4846,4848,4847,4844,4845,4843]}],"sources":[{"fileName":"Tone/core/clock/TickSignal.ts","line":7,"character":27}],"extendedTypes":[{"type":"reference","id":1495,"typeArguments":[{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}}],"name":"SignalOptions"}]},{"id":5047,"name":"TickSourceOffsetEvent","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":5050,"name":"seconds","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/clock/TickSource.ts","line":19,"character":8}],"type":{"type":"intrinsic","name":"number"}},{"id":5048,"name":"ticks","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/clock/TickSource.ts","line":17,"character":6}],"type":{"type":"intrinsic","name":"number"}},{"id":5049,"name":"time","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/clock/TickSource.ts","line":18,"character":5}],"type":{"type":"intrinsic","name":"number"}}],"groups":[{"title":"Properties","kind":1024,"children":[5050,5048,5049]}],"sources":[{"fileName":"Tone/core/clock/TickSource.ts","line":16,"character":31}]},{"id":5043,"name":"TickSourceOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":5046,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":5044,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/clock/TickSource.ts","line":12,"character":10}],"type":{"type":"intrinsic","name":"number"}},{"id":5045,"name":"units","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/clock/TickSource.ts","line":13,"character":6}],"type":{"type":"union","types":[{"type":"stringLiteral","value":"bpm"},{"type":"stringLiteral","value":"hertz"}]}}],"groups":[{"title":"Properties","kind":1024,"children":[5046,5044,5045]}],"sources":[{"fileName":"Tone/core/clock/TickSource.ts","line":11,"character":27}],"extendedTypes":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}]},{"id":423,"name":"TimeExpression","kind":256,"kindString":"Interface","flags":{"isExported":true},"typeParameter":[{"id":424,"name":"Type","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"indexSignature":[{"id":425,"name":"__index","kind":8192,"kindString":"Index signature","flags":{"isExported":true},"parameters":[{"id":426,"name":"key","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reflection","declaration":{"id":427,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"children":[{"id":429,"name":"method","kind":32,"kindString":"Variable","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":21,"character":8}],"type":{"type":"reflection","declaration":{"id":430,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":431,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":432,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"string"}},{"id":433,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"string"}}}],"type":{"type":"typeParameter","name":"Type","constraint":{"type":"intrinsic","name":"number"}}}],"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":21,"character":9}]}}},{"id":428,"name":"regexp","kind":32,"kindString":"Variable","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":20,"character":8}],"type":{"type":"reference","name":"RegExp"}}],"groups":[{"title":"Variables","kind":32,"children":[429,428]}],"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":19,"character":15}]}}}],"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":18,"character":31}]},{"id":242,"name":"TimelineEvent","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"An event must have a time number"},"children":[{"id":243,"name":"time","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":21,"character":5}],"type":{"type":"intrinsic","name":"number"}}],"groups":[{"title":"Properties","kind":1024,"children":[243]}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":20,"character":30}],"extendedBy":[{"type":"reference","id":584,"name":"StateTimelineEvent"},{"type":"reference","id":707,"name":"TimelineValueEvent"},{"type":"reference","id":2985,"name":"DrawEvent"}]},{"id":239,"name":"TimelineOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"The options object for Timeline"},"children":[{"id":241,"name":"increasing","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":14,"character":11}],"type":{"type":"intrinsic","name":"boolean"}},{"id":240,"name":"memory","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":13,"character":7}],"type":{"type":"intrinsic","name":"number"}}],"groups":[{"title":"Properties","kind":1024,"children":[241,240]}],"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":12,"character":25}]},{"id":707,"name":"TimelineValueEvent","kind":256,"kindString":"Interface","flags":{"isExported":true},"typeParameter":[{"id":708,"name":"T","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}}],"children":[{"id":710,"name":"time","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":21,"character":5}],"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":243,"name":"TimelineEvent.time"}},{"id":709,"name":"value","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/util/TimelineValue.ts","line":6,"character":6}],"type":{"type":"typeParameter","name":"T"}}],"groups":[{"title":"Properties","kind":1024,"children":[710,709]}],"sources":[{"fileName":"Tone/core/util/TimelineValue.ts","line":5,"character":28}],"extendedTypes":[{"type":"reference","id":242,"name":"TimelineEvent"}]},{"id":4351,"name":"ToneAudioBufferOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":4358,"name":"onerror","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneAudioBuffer.ts","line":14,"character":8}],"type":{"type":"reflection","declaration":{"id":4359,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":4360,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4361,"name":"error","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Error"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioBuffer.ts","line":14,"character":9}]}}},{"id":4354,"name":"onload","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneAudioBuffer.ts","line":13,"character":7}],"type":{"type":"reflection","declaration":{"id":4355,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":4356,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4357,"name":"buffer","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":4362,"name":"ToneAudioBuffer"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioBuffer.ts","line":13,"character":8}]}}},{"id":4353,"name":"reverse","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneAudioBuffer.ts","line":12,"character":8}],"type":{"type":"intrinsic","name":"boolean"}},{"id":4352,"name":"url","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"sources":[{"fileName":"Tone/core/context/ToneAudioBuffer.ts","line":11,"character":4}],"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"AudioBuffer"},{"type":"reference","id":4362,"name":"ToneAudioBuffer"}]}}],"groups":[{"title":"Properties","kind":1024,"children":[4358,4354,4353,4352]}],"sources":[{"fileName":"Tone/core/context/ToneAudioBuffer.ts","line":10,"character":32}]},{"id":5401,"name":"ToneAudioBuffersOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":5410,"name":"baseUrl","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneAudioBuffers.ts","line":17,"character":8}],"type":{"type":"intrinsic","name":"string"}},{"id":5406,"name":"onerror","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"sources":[{"fileName":"Tone/core/context/ToneAudioBuffers.ts","line":16,"character":8}],"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"reflection","declaration":{"id":5407,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":5408,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":5409,"name":"error","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Error"}}],"type":{"type":"intrinsic","name":"void"}}]}}]}},{"id":5403,"name":"onload","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneAudioBuffers.ts","line":15,"character":7}],"type":{"type":"reflection","declaration":{"id":5404,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":5405,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioBuffers.ts","line":15,"character":8}]}}},{"id":5402,"name":"urls","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneAudioBuffers.ts","line":14,"character":5}],"type":{"type":"reference","id":5396,"name":"ToneAudioBuffersUrlMap"}}],"groups":[{"title":"Properties","kind":1024,"children":[5410,5406,5403,5402]}],"sources":[{"fileName":"Tone/core/context/ToneAudioBuffers.ts","line":13,"character":33}]},{"id":5396,"name":"ToneAudioBuffersUrlMap","kind":256,"kindString":"Interface","flags":{"isExported":true},"indexSignature":[{"id":5399,"name":"__index","kind":8192,"kindString":"Index signature","flags":{"isExported":true},"parameters":[{"id":5400,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"AudioBuffer"},{"type":"reference","id":4362,"name":"ToneAudioBuffer"}]}}],"sources":[{"fileName":"Tone/core/context/ToneAudioBuffers.ts","line":8,"character":39}]},{"id":5710,"name":"ToneBufferSourceOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":5727,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":5712,"name":"curve","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/buffer/ToneBufferSource.ts","line":16,"character":6}],"type":{"type":"reference","id":5885,"name":"ToneBufferSourceCurve"},"overwrites":{"type":"reference","id":1237,"name":"OneShotSourceOptions.curve"}},{"id":5714,"name":"fadeIn","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/buffer/ToneBufferSource.ts","line":18,"character":7}],"type":{"type":"reference","id":31,"name":"Time"},"overwrites":{"type":"reference","id":1235,"name":"OneShotSourceOptions.fadeIn"}},{"id":5715,"name":"fadeOut","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/buffer/ToneBufferSource.ts","line":19,"character":8}],"type":{"type":"reference","id":31,"name":"Time"},"overwrites":{"type":"reference","id":1236,"name":"OneShotSourceOptions.fadeOut"}},{"id":5718,"name":"loop","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/buffer/ToneBufferSource.ts","line":22,"character":5}],"type":{"type":"intrinsic","name":"boolean"}},{"id":5717,"name":"loopEnd","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/buffer/ToneBufferSource.ts","line":21,"character":8}],"type":{"type":"reference","id":31,"name":"Time"}},{"id":5716,"name":"loopStart","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/buffer/ToneBufferSource.ts","line":20,"character":10}],"type":{"type":"reference","id":31,"name":"Time"}},{"id":5726,"name":"onended","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/OneShotSource.ts","line":16,"character":8}],"type":{"type":"reference","id":1358,"name":"onEndedCallback"},"inheritedFrom":{"type":"reference","id":1234,"name":"OneShotSourceOptions.onended"}},{"id":5722,"name":"onerror","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/buffer/ToneBufferSource.ts","line":24,"character":8}],"type":{"type":"reflection","declaration":{"id":5723,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":5724,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":5725,"name":"error","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Error"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/buffer/ToneBufferSource.ts","line":24,"character":9}]}}},{"id":5719,"name":"onload","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/buffer/ToneBufferSource.ts","line":23,"character":7}],"type":{"type":"reflection","declaration":{"id":5720,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":5721,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/buffer/ToneBufferSource.ts","line":23,"character":8}]}}},{"id":5713,"name":"playbackRate","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/buffer/ToneBufferSource.ts","line":17,"character":13}],"type":{"type":"reference","id":27,"name":"Positive"}},{"id":5711,"name":"url","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/buffer/ToneBufferSource.ts","line":15,"character":4}],"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"AudioBuffer"},{"type":"reference","id":4362,"name":"ToneAudioBuffer"}]}}],"groups":[{"title":"Properties","kind":1024,"children":[5727,5712,5714,5715,5718,5717,5716,5726,5722,5719,5713,5711]}],"sources":[{"fileName":"Tone/source/buffer/ToneBufferSource.ts","line":14,"character":40}],"extendedTypes":[{"type":"reference","id":1233,"name":"OneShotSourceOptions"}]},{"id":1362,"name":"ToneConstantSourceOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"typeParameter":[{"id":1363,"name":"TypeName","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"reference","id":46,"name":"UnitName"}}],"children":[{"id":1373,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":1364,"name":"convert","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/signal/ToneConstantSource.ts","line":8,"character":8}],"type":{"type":"intrinsic","name":"boolean"}},{"id":1372,"name":"curve","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/OneShotSource.ts","line":19,"character":6}],"type":{"type":"reference","id":1357,"name":"OneShotSourceCurve"},"inheritedFrom":{"type":"reference","id":1237,"name":"OneShotSourceOptions.curve"}},{"id":1370,"name":"fadeIn","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/OneShotSource.ts","line":17,"character":7}],"type":{"type":"reference","id":31,"name":"Time"},"inheritedFrom":{"type":"reference","id":1235,"name":"OneShotSourceOptions.fadeIn"}},{"id":1371,"name":"fadeOut","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/OneShotSource.ts","line":18,"character":8}],"type":{"type":"reference","id":31,"name":"Time"},"inheritedFrom":{"type":"reference","id":1236,"name":"OneShotSourceOptions.fadeOut"}},{"id":1368,"name":"maxValue","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"sources":[{"fileName":"Tone/signal/ToneConstantSource.ts","line":12,"character":9}],"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}},{"id":1367,"name":"minValue","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"sources":[{"fileName":"Tone/signal/ToneConstantSource.ts","line":11,"character":9}],"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}},{"id":1365,"name":"offset","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/signal/ToneConstantSource.ts","line":9,"character":7}],"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":1369,"name":"onended","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/OneShotSource.ts","line":16,"character":8}],"type":{"type":"reference","id":1358,"name":"onEndedCallback"},"inheritedFrom":{"type":"reference","id":1234,"name":"OneShotSourceOptions.onended"}},{"id":1366,"name":"units","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/signal/ToneConstantSource.ts","line":10,"character":6}],"type":{"type":"typeParameter","name":"TypeName","constraint":{"type":"reference","id":46,"name":"UnitName"}}}],"groups":[{"title":"Properties","kind":1024,"children":[1373,1364,1372,1370,1371,1368,1367,1365,1369,1366]}],"sources":[{"fileName":"Tone/signal/ToneConstantSource.ts","line":7,"character":42}],"extendedTypes":[{"type":"reference","id":1233,"name":"OneShotSourceOptions"}]},{"id":6196,"name":"ToneCustomOscillatorOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Oscillator Interfaces"},"children":[{"id":6205,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":6200,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":156,"character":7}],"type":{"type":"reference","id":42,"name":"Cents"},"inheritedFrom":{"type":"reference","id":6190,"name":"BaseOscillatorOptions.detune"}},{"id":6199,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":155,"character":10}],"type":{"type":"reference","id":32,"name":"Frequency"},"inheritedFrom":{"type":"reference","id":6189,"name":"BaseOscillatorOptions.frequency"}},{"id":6203,"name":"mute","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":18,"character":5}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":5560,"name":"SourceOptions.mute"}},{"id":6204,"name":"onstop","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":19,"character":7}],"type":{"type":"reference","id":5706,"name":"onStopCallback"},"inheritedFrom":{"type":"reference","id":5561,"name":"SourceOptions.onstop"}},{"id":6198,"name":"partials","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":173,"character":9}],"type":{"type":"array","elementType":{"type":"intrinsic","name":"number"}}},{"id":6201,"name":"phase","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":157,"character":6}],"type":{"type":"reference","id":37,"name":"Degrees"},"inheritedFrom":{"type":"reference","id":6191,"name":"BaseOscillatorOptions.phase"}},{"id":6197,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":172,"character":5}],"type":{"type":"stringLiteral","value":"custom"}},{"id":6202,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":17,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"},"inheritedFrom":{"type":"reference","id":5559,"name":"SourceOptions.volume"}}],"groups":[{"title":"Properties","kind":1024,"children":[6205,6200,6199,6203,6204,6198,6201,6197,6202]}],"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":171,"character":37}],"extendedTypes":[{"type":"reference","id":6188,"name":"BaseOscillatorOptions"}]},{"id":13621,"name":"ToneEventOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"typeParameter":[{"id":13622,"name":"T","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}}],"children":[{"id":13623,"name":"callback","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/event/ToneEvent.ts","line":14,"character":9}],"type":{"type":"reference","id":13747,"typeArguments":[{"type":"typeParameter","name":"T"}],"name":"ToneEventCallback"}},{"id":13632,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":13631,"name":"humanize","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/event/ToneEvent.ts","line":22,"character":9}],"type":{"type":"union","types":[{"type":"intrinsic","name":"boolean"},{"type":"reference","id":31,"name":"Time"}]}},{"id":13624,"name":"loop","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/event/ToneEvent.ts","line":15,"character":5}],"type":{"type":"union","types":[{"type":"intrinsic","name":"boolean"},{"type":"intrinsic","name":"number"}]}},{"id":13625,"name":"loopEnd","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/event/ToneEvent.ts","line":16,"character":8}],"type":{"type":"reference","id":31,"name":"Time"}},{"id":13626,"name":"loopStart","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/event/ToneEvent.ts","line":17,"character":10}],"type":{"type":"reference","id":31,"name":"Time"}},{"id":13630,"name":"mute","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/event/ToneEvent.ts","line":21,"character":5}],"type":{"type":"intrinsic","name":"boolean"}},{"id":13627,"name":"playbackRate","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/event/ToneEvent.ts","line":18,"character":13}],"type":{"type":"reference","id":27,"name":"Positive"}},{"id":13629,"name":"probability","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/event/ToneEvent.ts","line":20,"character":12}],"type":{"type":"reference","id":23,"name":"NormalRange"}},{"id":13628,"name":"value","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"sources":[{"fileName":"Tone/event/ToneEvent.ts","line":19,"character":6}],"type":{"type":"reference","id":13622,"name":"T"}}],"groups":[{"title":"Properties","kind":1024,"children":[13623,13632,13631,13624,13625,13626,13630,13627,13629,13628]}],"sources":[{"fileName":"Tone/event/ToneEvent.ts","line":13,"character":33}],"extendedTypes":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}]},{"id":6177,"name":"ToneOscillatorInterface","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"The common interface of all Oscillators"},"children":[{"id":6178,"name":"baseType","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The oscillator type without the partialsCount appended to the end","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator();\nosc.type = \"sine2\";\nconsole.log(osc.baseType); // \"sine\"\n"}]},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":19,"character":9}],"type":{"type":"union","types":[{"type":"reference","name":"OscillatorType"},{"type":"stringLiteral","value":"pulse"},{"type":"stringLiteral","value":"pwm"}]}},{"id":6181,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The detune value in cents (100th of a semitone).","tags":[{"tag":"example","text":"\nconst osc = new Tone.PulseOscillator(\"F3\").toDestination().start();\n// pitch it 1 octave = 12 semitones = 1200 cents\nosc.detune.setValueAtTime(-1200, Tone.now());\nosc.detune.setValueAtTime(1200, Tone.now() + 0.5);\nosc.detune.linearRampToValueAtTime(0, Tone.now() + 1);\nosc.stop(Tone.now() + 1.5);\n"}]},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":51,"character":16}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"cents"}],"name":"Signal"}},{"id":6180,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"shortText":"The frequency value of the oscillator","tags":[{"tag":"example","text":"\nconst osc = new Tone.FMOscillator(\"Bb4\").toDestination().start();\nosc.frequency.rampTo(\"D2\", 3);\n"}]},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":39,"character":19}],"type":{"type":"reference","id":1503,"typeArguments":[{"type":"stringLiteral","value":"frequency"}],"name":"Signal"}},{"id":6184,"name":"partialCount","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"'partialCount' offers an alternative way to set the number of used partials.\nWhen partialCount is 0, the maximum number of partials are used when representing\nthe waveform using the periodicWave. When 'partials' is set, this value is\nnot settable, but equals the length of the partials array. A square wave wave\nis composed of only odd harmonics up through the harmonic series. Partial count\ncan limit the number of harmonics which are used to generate the waveform.","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"C3\", \"square\").toDestination().start();\nosc.partialCount = 1;\nsetInterval(() => {\n\tosc.partialCount++;\n\tconsole.log(osc.partialCount);\n}, 500);\n"}]},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":98,"character":13}],"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}},{"id":6183,"name":"partials","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The partials describes the relative amplitude of each of the harmonics of the oscillator.\nThe first value in the array is the first harmonic (i.e. the fundamental frequency), the\nsecond harmonic is an octave up, the third harmonic is an octave and a fifth, etc. The resulting\noscillator output is composed of a sine tone at the relative amplitude at each of the harmonic intervals.","text":"Setting this value will automatically set the type to \"custom\".\nThe value is an empty array when the type is not \"custom\".","tags":[{"tag":"example","text":"\nconst osc = new Tone.Oscillator(\"F3\").toDestination().start();\nsetInterval(() => {\n\t// generate 8 random partials\n\tosc.partials = new Array(8).fill(0).map(() => Math.random());\n}, 1000);\n"}]},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":81,"character":9}],"type":{"type":"array","elementType":{"type":"intrinsic","name":"number"}}},{"id":6182,"name":"phase","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The phase is the starting position within the oscillator's cycle. For example\na phase of 180 would start halfway through the oscillator's cycle.","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst osc = new Tone.Oscillator({\n\t\tfrequency: 20,\n\t\tphase: 90\n\t}).toDestination().start();\n}, 0.1, 1);\n"}]},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":64,"character":6}],"type":{"type":"reference","id":37,"name":"Degrees"}},{"id":6179,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The oscillator's type. Also capable of setting the first x number of partials of the oscillator.\nFor example: \"sine4\" would set be the first 4 partials of the sine wave and \"triangle8\" would\nset the first 8 partials of the triangle wave.","tags":[{"tag":"example","text":"\nreturn Tone.Offline(() => {\n\tconst osc = new Tone.Oscillator().toDestination().start();\n\tosc.type = \"sine2\";\n}, 0.1, 1);\n"}]},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":31,"character":5}],"type":{"type":"reference","id":6555,"name":"ExtendedToneOscillatorType"}},{"id":6185,"name":"asArray","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":6186,"name":"asArray","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Returns an array of values which represents the waveform."},"parameters":[{"id":6187,"name":"length","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The length of the waveform to return\n"},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","typeArguments":[{"type":"reference","name":"Float32Array"}],"name":"Promise"}}],"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":104,"character":8}]}],"groups":[{"title":"Properties","kind":1024,"children":[6178,6181,6180,6184,6183,6182,6179]},{"title":"Methods","kind":2048,"children":[6185]}],"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":10,"character":40}],"implementedBy":[{"type":"reference","id":7362,"name":"AMOscillator"},{"type":"reference","id":7524,"name":"FMOscillator"},{"type":"reference","id":7837,"name":"FatOscillator"},{"type":"reference","id":6718,"name":"Oscillator"},{"type":"reference","id":8011,"name":"PWMOscillator"},{"type":"reference","id":7686,"name":"PulseOscillator"}]},{"id":6580,"name":"ToneOscillatorNodeOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":6588,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":6587,"name":"curve","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/OneShotSource.ts","line":19,"character":6}],"type":{"type":"reference","id":1357,"name":"OneShotSourceCurve"},"inheritedFrom":{"type":"reference","id":1237,"name":"OneShotSourceOptions.curve"}},{"id":6582,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/ToneOscillatorNode.ts","line":10,"character":7}],"type":{"type":"reference","id":42,"name":"Cents"}},{"id":6585,"name":"fadeIn","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/OneShotSource.ts","line":17,"character":7}],"type":{"type":"reference","id":31,"name":"Time"},"inheritedFrom":{"type":"reference","id":1235,"name":"OneShotSourceOptions.fadeIn"}},{"id":6586,"name":"fadeOut","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/OneShotSource.ts","line":18,"character":8}],"type":{"type":"reference","id":31,"name":"Time"},"inheritedFrom":{"type":"reference","id":1236,"name":"OneShotSourceOptions.fadeOut"}},{"id":6581,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/ToneOscillatorNode.ts","line":9,"character":10}],"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":6584,"name":"onended","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/OneShotSource.ts","line":16,"character":8}],"type":{"type":"reference","id":1358,"name":"onEndedCallback"},"inheritedFrom":{"type":"reference","id":1234,"name":"OneShotSourceOptions.onended"}},{"id":6583,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/ToneOscillatorNode.ts","line":11,"character":5}],"type":{"type":"reference","name":"OscillatorType"}}],"groups":[{"title":"Properties","kind":1024,"children":[6588,6587,6582,6585,6586,6581,6584,6583]}],"sources":[{"fileName":"Tone/source/oscillator/ToneOscillatorNode.ts","line":8,"character":42}],"extendedTypes":[{"type":"reference","id":1233,"name":"OneShotSourceOptions"}]},{"id":6225,"name":"ToneOscillatorOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":6235,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":6230,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":156,"character":7}],"type":{"type":"reference","id":42,"name":"Cents"},"inheritedFrom":{"type":"reference","id":6190,"name":"BaseOscillatorOptions.detune"}},{"id":6229,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":155,"character":10}],"type":{"type":"reference","id":32,"name":"Frequency"},"inheritedFrom":{"type":"reference","id":6189,"name":"BaseOscillatorOptions.frequency"}},{"id":6233,"name":"mute","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":18,"character":5}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":5560,"name":"SourceOptions.mute"}},{"id":6234,"name":"onstop","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":19,"character":7}],"type":{"type":"reference","id":5706,"name":"onStopCallback"},"inheritedFrom":{"type":"reference","id":5561,"name":"SourceOptions.onstop"}},{"id":6227,"name":"partialCount","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":189,"character":13}],"type":{"type":"intrinsic","name":"number"}},{"id":6228,"name":"partials","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":190,"character":9}],"type":{"type":"array","elementType":{"type":"intrinsic","name":"number"}}},{"id":6231,"name":"phase","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":157,"character":6}],"type":{"type":"reference","id":37,"name":"Degrees"},"inheritedFrom":{"type":"reference","id":6191,"name":"BaseOscillatorOptions.phase"}},{"id":6226,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":188,"character":5}],"type":{"type":"reference","id":6554,"name":"ToneOscillatorType"}},{"id":6232,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":17,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"},"inheritedFrom":{"type":"reference","id":5559,"name":"SourceOptions.volume"}}],"groups":[{"title":"Properties","kind":1024,"children":[6235,6230,6229,6233,6234,6227,6228,6231,6226,6232]}],"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":187,"character":38}],"extendedTypes":[{"type":"reference","id":6188,"name":"BaseOscillatorOptions"}],"extendedBy":[{"type":"reference","id":6285,"name":"FMOscillatorOptions"},{"type":"reference","id":6344,"name":"AMOscillatorOptions"},{"type":"reference","id":6402,"name":"FatOscillatorOptions"}]},{"id":14799,"name":"TonePannerOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":14801,"name":"channelCount","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/channel/Panner.ts","line":9,"character":13}],"type":{"type":"intrinsic","name":"number"}},{"id":14802,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":14800,"name":"pan","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/channel/Panner.ts","line":8,"character":4}],"type":{"type":"reference","id":24,"name":"AudioRange"}}],"groups":[{"title":"Properties","kind":1024,"children":[14801,14802,14800]}],"sources":[{"fileName":"Tone/component/channel/Panner.ts","line":7,"character":27}],"extendedTypes":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}]},{"id":6216,"name":"TonePartialOscillatorOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":6224,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":6219,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":156,"character":7}],"type":{"type":"reference","id":42,"name":"Cents"},"inheritedFrom":{"type":"reference","id":6190,"name":"BaseOscillatorOptions.detune"}},{"id":6218,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":155,"character":10}],"type":{"type":"reference","id":32,"name":"Frequency"},"inheritedFrom":{"type":"reference","id":6189,"name":"BaseOscillatorOptions.frequency"}},{"id":6222,"name":"mute","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":18,"character":5}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":5560,"name":"SourceOptions.mute"}},{"id":6223,"name":"onstop","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":19,"character":7}],"type":{"type":"reference","id":5706,"name":"onStopCallback"},"inheritedFrom":{"type":"reference","id":5561,"name":"SourceOptions.onstop"}},{"id":6220,"name":"phase","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":157,"character":6}],"type":{"type":"reference","id":37,"name":"Degrees"},"inheritedFrom":{"type":"reference","id":6191,"name":"BaseOscillatorOptions.phase"}},{"id":6217,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":182,"character":5}],"type":{"type":"reference","id":6551,"name":"TypeWithPartials"}},{"id":6221,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":17,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"},"inheritedFrom":{"type":"reference","id":5559,"name":"SourceOptions.volume"}}],"groups":[{"title":"Properties","kind":1024,"children":[6224,6219,6218,6222,6223,6220,6217,6221]}],"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":181,"character":38}],"extendedTypes":[{"type":"reference","id":6188,"name":"BaseOscillatorOptions"}]},{"id":6206,"name":"ToneTypeOscillatorOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":6215,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":6210,"name":"detune","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":156,"character":7}],"type":{"type":"reference","id":42,"name":"Cents"},"inheritedFrom":{"type":"reference","id":6190,"name":"BaseOscillatorOptions.detune"}},{"id":6209,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":155,"character":10}],"type":{"type":"reference","id":32,"name":"Frequency"},"inheritedFrom":{"type":"reference","id":6189,"name":"BaseOscillatorOptions.frequency"}},{"id":6213,"name":"mute","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":18,"character":5}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":5560,"name":"SourceOptions.mute"}},{"id":6214,"name":"onstop","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":19,"character":7}],"type":{"type":"reference","id":5706,"name":"onStopCallback"},"inheritedFrom":{"type":"reference","id":5561,"name":"SourceOptions.onstop"}},{"id":6208,"name":"partialCount","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":178,"character":13}],"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}},{"id":6211,"name":"phase","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":157,"character":6}],"type":{"type":"reference","id":37,"name":"Degrees"},"inheritedFrom":{"type":"reference","id":6191,"name":"BaseOscillatorOptions.phase"}},{"id":6207,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":177,"character":5}],"type":{"type":"reference","id":6552,"name":"NonCustomOscillatorType"}},{"id":6212,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":17,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"},"inheritedFrom":{"type":"reference","id":5559,"name":"SourceOptions.volume"}}],"groups":[{"title":"Properties","kind":1024,"children":[6215,6210,6209,6213,6214,6208,6211,6207,6212]}],"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":176,"character":35}],"extendedTypes":[{"type":"reference","id":6188,"name":"BaseOscillatorOptions"}]},{"id":3244,"name":"ToneWindow","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Interface for things that Tone.js adds to the window"},"indexSignature":[{"id":3586,"name":"__index","kind":8192,"kindString":"Index signature","flags":{"isExported":true},"comment":{"shortText":"Interface for things that Tone.js adds to the window"},"parameters":[{"id":3587,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","id":4146,"name":"Window"}}],"children":[{"id":4152,"name":"BlobEvent","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/@types/dom-mediacapture-record/index.d.ts","line":75,"character":13}],"type":{"type":"query","queryType":{"type":"reference","name":"BlobEvent"}},"inheritedFrom":{"type":"reference","id":4152,"name":"Window.BlobEvent"}},{"id":4151,"name":"MediaRecorder","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/@types/dom-mediacapture-record/index.d.ts","line":74,"character":17}],"type":{"type":"query","queryType":{"type":"reference","name":"MediaRecorder"}},"inheritedFrom":{"type":"reference","id":4151,"name":"Window.MediaRecorder"}},{"id":4153,"name":"MediaRecorderErrorEvent","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/@types/dom-mediacapture-record/index.d.ts","line":76,"character":27}],"type":{"type":"query","queryType":{"type":"reference","name":"MediaRecorderErrorEvent"}},"inheritedFrom":{"type":"reference","id":4153,"name":"Window.MediaRecorderErrorEvent"}},{"id":3246,"name":"TONE_DEBUG_CLASS","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"sources":[{"fileName":"Tone/core/context/AudioContext.ts","line":33,"character":17}],"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"string"}]}},{"id":3245,"name":"TONE_SILENCE_LOGGING","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"sources":[{"fileName":"Tone/core/context/AudioContext.ts","line":32,"character":21}],"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"false"},{"type":"intrinsic","name":"true"}]}},{"id":4146,"name":"Window","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18558,"character":18}],"type":{"type":"reflection","declaration":{"id":4147,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"children":[{"id":4149,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":4150,"name":"new __type","kind":16384,"kindString":"Constructor signature","flags":{"isExported":true},"type":{"type":"reference","id":4146,"name":"Window"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18559,"character":22}]},{"id":4148,"name":"prototype","kind":32,"kindString":"Variable","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18559,"character":13}],"type":{"type":"reference","id":4146,"name":"Window"}}],"groups":[{"title":"Constructors","kind":512,"children":[4149]},{"title":"Variables","kind":32,"children":[4148]}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18558,"character":19}]}},"extendedBy":[{"type":"reference","id":3244,"name":"ToneWindow"}]},{"id":4155,"name":"after","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Execute after running tests.","text":"- _Only available when invoked via the mocha CLI._\n","tags":[{"tag":"see","text":"https://mochajs.org/api/global.html#after\n"}]},"sources":[{"fileName":"node_modules/@types/mocha/index.d.ts","line":2265,"character":13}],"type":{"type":"reference","name":"HookFunction"},"inheritedFrom":{"type":"reference","id":4155,"name":"MochaGlobals.after"}},{"id":4157,"name":"afterEach","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Execute after each test case.","text":"- _Only available when invoked via the mocha CLI._\n","tags":[{"tag":"see","text":"https://mochajs.org/api/global.html#afterEach\n"}]},"sources":[{"fileName":"node_modules/@types/mocha/index.d.ts","line":2283,"character":17}],"type":{"type":"reference","name":"HookFunction"},"inheritedFrom":{"type":"reference","id":4157,"name":"MochaGlobals.afterEach"}},{"id":3247,"name":"applicationCache","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18433,"character":29}],"type":{"type":"reference","name":"ApplicationCache"},"inheritedFrom":{"type":"reference","id":3247,"name":"Window.applicationCache"}},{"id":4154,"name":"before","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Execute before running tests.","text":"- _Only available when invoked via the mocha CLI._\n","tags":[{"tag":"see","text":"https://mochajs.org/api/global.html#before\n"}]},"sources":[{"fileName":"node_modules/@types/mocha/index.d.ts","line":2256,"character":14}],"type":{"type":"reference","name":"HookFunction"},"inheritedFrom":{"type":"reference","id":4154,"name":"MochaGlobals.before"}},{"id":4156,"name":"beforeEach","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Execute before each test case.","text":"- _Only available when invoked via the mocha CLI._\n","tags":[{"tag":"see","text":"https://mochajs.org/api/global.html#beforeEach\n"}]},"sources":[{"fileName":"node_modules/@types/mocha/index.d.ts","line":2274,"character":18}],"type":{"type":"reference","name":"HookFunction"},"inheritedFrom":{"type":"reference","id":4156,"name":"MochaGlobals.beforeEach"}},{"id":4099,"name":"caches","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18610,"character":19}],"type":{"type":"reference","name":"CacheStorage"},"inheritedFrom":{"type":"reference","id":4099,"name":"WindowOrWorkerGlobalScope.caches"}},{"id":3248,"name":"clientInformation","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18434,"character":30}],"type":{"type":"reference","name":"Navigator"},"inheritedFrom":{"type":"reference","id":3248,"name":"Window.clientInformation"}},{"id":3249,"name":"closed","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18435,"character":19}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":3249,"name":"Window.closed"}},{"id":4159,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Describe a \"suite\" containing nested suites and tests.","text":"- _Only available when invoked via the mocha CLI._\n"},"sources":[{"fileName":"node_modules/@types/mocha/index.d.ts","line":2297,"character":15}],"type":{"type":"reference","name":"SuiteFunction"},"inheritedFrom":{"type":"reference","id":4159,"name":"MochaGlobals.context"}},{"id":4100,"name":"crypto","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18611,"character":19}],"type":{"type":"reference","name":"Crypto"},"inheritedFrom":{"type":"reference","id":4100,"name":"WindowOrWorkerGlobalScope.crypto"}},{"id":3250,"name":"customElements","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18436,"character":18}],"type":{"type":"reference","name":"CustomElementRegistry"},"inheritedFrom":{"type":"reference","id":3250,"name":"Window.customElements"}},{"id":3251,"name":"defaultStatus","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18437,"character":17}],"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":3251,"name":"Window.defaultStatus"}},{"id":4158,"name":"describe","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Describe a \"suite\" containing nested suites and tests.","text":"- _Only available when invoked via the mocha CLI._\n"},"sources":[{"fileName":"node_modules/@types/mocha/index.d.ts","line":2290,"character":16}],"type":{"type":"reference","name":"SuiteFunction"},"inheritedFrom":{"type":"reference","id":4158,"name":"MochaGlobals.describe"}},{"id":3252,"name":"devicePixelRatio","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18438,"character":29}],"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":3252,"name":"Window.devicePixelRatio"}},{"id":3253,"name":"doNotTrack","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18439,"character":23}],"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":3253,"name":"Window.doNotTrack"}},{"id":3254,"name":"document","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18440,"character":21}],"type":{"type":"reference","name":"Document"},"inheritedFrom":{"type":"reference","id":3254,"name":"Window.document"}},{"id":3255,"name":"event","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"tags":[{"tag":"deprecated","text":""}]},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18442,"character":18}],"type":{"type":"union","types":[{"type":"reference","name":"Event"},{"type":"intrinsic","name":"undefined"}]},"inheritedFrom":{"type":"reference","id":3255,"name":"Window.event"}},{"id":3256,"name":"external","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"tags":[{"tag":"deprecated","text":""}]},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18444,"character":21}],"type":{"type":"reference","name":"External"},"inheritedFrom":{"type":"reference","id":3256,"name":"Window.external"}},{"id":3257,"name":"frameElement","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18445,"character":25}],"type":{"type":"reference","name":"Element"},"inheritedFrom":{"type":"reference","id":3257,"name":"Window.frameElement"}},{"id":3258,"name":"frames","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18446,"character":19}],"type":{"type":"reference","id":4146,"name":"Window"},"inheritedFrom":{"type":"reference","id":3258,"name":"Window.frames"}},{"id":3259,"name":"history","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18447,"character":20}],"type":{"type":"reference","name":"History"},"inheritedFrom":{"type":"reference","id":3259,"name":"Window.history"}},{"id":4101,"name":"indexedDB","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18612,"character":22}],"type":{"type":"reference","name":"IDBFactory"},"inheritedFrom":{"type":"reference","id":4101,"name":"WindowOrWorkerGlobalScope.indexedDB"}},{"id":3260,"name":"innerHeight","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18448,"character":24}],"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":3260,"name":"Window.innerHeight"}},{"id":3261,"name":"innerWidth","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18449,"character":23}],"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":3261,"name":"Window.innerWidth"}},{"id":4102,"name":"isSecureContext","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18613,"character":28}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":4102,"name":"WindowOrWorkerGlobalScope.isSecureContext"}},{"id":4162,"name":"it","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Describes a test case.","text":"- _Only available when invoked via the mocha CLI._\n"},"sources":[{"fileName":"node_modules/@types/mocha/index.d.ts","line":2318,"character":10}],"type":{"type":"reference","name":"TestFunction"},"inheritedFrom":{"type":"reference","id":4162,"name":"MochaGlobals.it"}},{"id":3262,"name":"length","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18450,"character":19}],"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":3262,"name":"Window.length"}},{"id":4098,"name":"localStorage","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18606,"character":25}],"type":{"type":"reference","name":"Storage"},"inheritedFrom":{"type":"reference","id":4098,"name":"WindowLocalStorage.localStorage"}},{"id":3263,"name":"location","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18451,"character":12}],"type":{"type":"reference","name":"Location"},"inheritedFrom":{"type":"reference","id":3263,"name":"Window.location"}},{"id":3264,"name":"locationbar","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18452,"character":24}],"type":{"type":"reference","name":"BarProp"},"inheritedFrom":{"type":"reference","id":3264,"name":"Window.locationbar"}},{"id":3265,"name":"menubar","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18453,"character":20}],"type":{"type":"reference","name":"BarProp"},"inheritedFrom":{"type":"reference","id":3265,"name":"Window.menubar"}},{"id":3266,"name":"msContentScript","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18454,"character":28}],"type":{"type":"reference","name":"ExtensionScriptApis"},"inheritedFrom":{"type":"reference","id":3266,"name":"Window.msContentScript"}},{"id":3267,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18455,"character":8}],"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":3267,"name":"Window.name"}},{"id":3268,"name":"navigator","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18456,"character":22}],"type":{"type":"reference","name":"Navigator"},"inheritedFrom":{"type":"reference","id":3268,"name":"Window.navigator"}},{"id":3269,"name":"offscreenBuffering","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18457,"character":22}],"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"boolean"}]},"inheritedFrom":{"type":"reference","id":3269,"name":"Window.offscreenBuffering"}},{"id":3597,"name":"onabort","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Fires when the user aborts the download.","tags":[{"tag":"param","text":"The event.\n","param":"ev"}]},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5777,"character":11}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3598,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3599,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3600,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3601,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"UIEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5777,"character":12}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3597,"name":"GlobalEventHandlers.onabort"}},{"id":4018,"name":"onafterprint","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18583,"character":16}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":4019,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":4020,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4021,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"WindowEventHandlers"}},{"id":4022,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18583,"character":17}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":4018,"name":"WindowEventHandlers.onafterprint"}},{"id":3602,"name":"onanimationcancel","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5778,"character":21}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3603,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3604,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3605,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3606,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"AnimationEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5778,"character":22}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3602,"name":"GlobalEventHandlers.onanimationcancel"}},{"id":3607,"name":"onanimationend","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5779,"character":18}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3608,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3609,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3610,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3611,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"AnimationEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5779,"character":19}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3607,"name":"GlobalEventHandlers.onanimationend"}},{"id":3612,"name":"onanimationiteration","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5780,"character":24}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3613,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3614,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3615,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3616,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"AnimationEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5780,"character":25}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3612,"name":"GlobalEventHandlers.onanimationiteration"}},{"id":3617,"name":"onanimationstart","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5781,"character":20}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3618,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3619,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3620,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3621,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"AnimationEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5781,"character":21}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3617,"name":"GlobalEventHandlers.onanimationstart"}},{"id":3622,"name":"onauxclick","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5782,"character":14}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3623,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3624,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3625,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3626,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"MouseEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5782,"character":15}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3622,"name":"GlobalEventHandlers.onauxclick"}},{"id":4023,"name":"onbeforeprint","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18584,"character":17}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":4024,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":4025,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4026,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"WindowEventHandlers"}},{"id":4027,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18584,"character":18}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":4023,"name":"WindowEventHandlers.onbeforeprint"}},{"id":4028,"name":"onbeforeunload","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18585,"character":18}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":4029,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":4030,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4031,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"WindowEventHandlers"}},{"id":4032,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"BeforeUnloadEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18585,"character":19}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":4028,"name":"WindowEventHandlers.onbeforeunload"}},{"id":3627,"name":"onblur","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Fires when the object loses the input focus.","tags":[{"tag":"param","text":"The focus event.\n","param":"ev"}]},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5787,"character":10}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3628,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3629,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3630,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3631,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"FocusEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5787,"character":11}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3627,"name":"GlobalEventHandlers.onblur"}},{"id":3632,"name":"oncancel","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5788,"character":12}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3633,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3634,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3635,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3636,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5788,"character":13}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3632,"name":"GlobalEventHandlers.oncancel"}},{"id":3637,"name":"oncanplay","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Occurs when playback is possible, but would require further buffering.","tags":[{"tag":"param","text":"The event.\n","param":"ev"}]},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5793,"character":13}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3638,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3639,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3640,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3641,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5793,"character":14}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3637,"name":"GlobalEventHandlers.oncanplay"}},{"id":3642,"name":"oncanplaythrough","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5794,"character":20}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3643,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3644,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3645,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3646,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5794,"character":21}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3642,"name":"GlobalEventHandlers.oncanplaythrough"}},{"id":3647,"name":"onchange","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Fires when the contents of the object or selection have changed.","tags":[{"tag":"param","text":"The event.\n","param":"ev"}]},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5799,"character":12}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3648,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3649,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3650,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3651,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5799,"character":13}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3647,"name":"GlobalEventHandlers.onchange"}},{"id":3652,"name":"onclick","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Fires when the user clicks the left mouse button on the object","tags":[{"tag":"param","text":"The mouse event.\n","param":"ev"}]},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5804,"character":11}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3653,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3654,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3655,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3656,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"MouseEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5804,"character":12}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3652,"name":"GlobalEventHandlers.onclick"}},{"id":3657,"name":"onclose","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5805,"character":11}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3658,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3659,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3660,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3661,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5805,"character":12}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3657,"name":"GlobalEventHandlers.onclose"}},{"id":3270,"name":"oncompassneedscalibration","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18458,"character":29}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3271,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3272,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3273,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":4146,"name":"Window"}},{"id":3274,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18458,"character":30}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3270,"name":"Window.oncompassneedscalibration"}},{"id":3662,"name":"oncontextmenu","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Fires when the user clicks the right mouse button in the client area, opening the context menu.","tags":[{"tag":"param","text":"The mouse event.\n","param":"ev"}]},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5810,"character":17}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3663,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3664,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3665,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3666,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"MouseEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5810,"character":18}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3662,"name":"GlobalEventHandlers.oncontextmenu"}},{"id":3667,"name":"oncuechange","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5811,"character":15}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3668,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3669,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3670,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3671,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5811,"character":16}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3667,"name":"GlobalEventHandlers.oncuechange"}},{"id":3672,"name":"ondblclick","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Fires when the user double-clicks the object.","tags":[{"tag":"param","text":"The mouse event.\n","param":"ev"}]},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5816,"character":14}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3673,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3674,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3675,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3676,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"MouseEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5816,"character":15}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3672,"name":"GlobalEventHandlers.ondblclick"}},{"id":3275,"name":"ondevicelight","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18459,"character":17}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3276,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3277,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3278,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":4146,"name":"Window"}},{"id":3279,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"DeviceLightEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18459,"character":18}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3275,"name":"Window.ondevicelight"}},{"id":3280,"name":"ondevicemotion","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18460,"character":18}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3281,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3282,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3283,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":4146,"name":"Window"}},{"id":3284,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"DeviceMotionEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18460,"character":19}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3280,"name":"Window.ondevicemotion"}},{"id":3285,"name":"ondeviceorientation","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18461,"character":23}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3286,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3287,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3288,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":4146,"name":"Window"}},{"id":3289,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"DeviceOrientationEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18461,"character":24}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3285,"name":"Window.ondeviceorientation"}},{"id":3290,"name":"ondeviceorientationabsolute","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18462,"character":31}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3291,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3292,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3293,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":4146,"name":"Window"}},{"id":3294,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"DeviceOrientationEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18462,"character":32}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3290,"name":"Window.ondeviceorientationabsolute"}},{"id":3677,"name":"ondrag","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Fires on the source object continuously during a drag operation.","tags":[{"tag":"param","text":"The event.\n","param":"ev"}]},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5821,"character":10}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3678,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3679,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3680,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3681,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"DragEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5821,"character":11}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3677,"name":"GlobalEventHandlers.ondrag"}},{"id":3682,"name":"ondragend","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Fires on the source object when the user releases the mouse at the close of a drag operation.","tags":[{"tag":"param","text":"The event.\n","param":"ev"}]},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5826,"character":13}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3683,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3684,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3685,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3686,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"DragEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5826,"character":14}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3682,"name":"GlobalEventHandlers.ondragend"}},{"id":3687,"name":"ondragenter","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Fires on the target element when the user drags the object to a valid drop target.","tags":[{"tag":"param","text":"The drag event.\n","param":"ev"}]},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5831,"character":15}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3688,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3689,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3690,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3691,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"DragEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5831,"character":16}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3687,"name":"GlobalEventHandlers.ondragenter"}},{"id":3692,"name":"ondragexit","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5832,"character":14}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3693,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3694,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3695,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3696,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5832,"character":15}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3692,"name":"GlobalEventHandlers.ondragexit"}},{"id":3697,"name":"ondragleave","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation.","tags":[{"tag":"param","text":"The drag event.\n","param":"ev"}]},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5837,"character":15}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3698,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3699,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3700,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3701,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"DragEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5837,"character":16}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3697,"name":"GlobalEventHandlers.ondragleave"}},{"id":3702,"name":"ondragover","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Fires on the target element continuously while the user drags the object over a valid drop target.","tags":[{"tag":"param","text":"The event.\n","param":"ev"}]},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5842,"character":14}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3703,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3704,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3705,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3706,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"DragEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5842,"character":15}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3702,"name":"GlobalEventHandlers.ondragover"}},{"id":3707,"name":"ondragstart","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Fires on the source object when the user starts to drag a text selection or selected object.","tags":[{"tag":"param","text":"The event.\n","param":"ev"}]},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5847,"character":15}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3708,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3709,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3710,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3711,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"DragEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5847,"character":16}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3707,"name":"GlobalEventHandlers.ondragstart"}},{"id":3712,"name":"ondrop","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5848,"character":10}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3713,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3714,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3715,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3716,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"DragEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5848,"character":11}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3712,"name":"GlobalEventHandlers.ondrop"}},{"id":3717,"name":"ondurationchange","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Occurs when the duration attribute is updated.","tags":[{"tag":"param","text":"The event.\n","param":"ev"}]},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5853,"character":20}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3718,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3719,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3720,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3721,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5853,"character":21}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3717,"name":"GlobalEventHandlers.ondurationchange"}},{"id":3722,"name":"onemptied","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Occurs when the media element is reset to its initial state.","tags":[{"tag":"param","text":"The event.\n","param":"ev"}]},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5858,"character":13}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3723,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3724,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3725,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3726,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5858,"character":14}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3722,"name":"GlobalEventHandlers.onemptied"}},{"id":3727,"name":"onended","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Occurs when the end of playback is reached.","tags":[{"tag":"param","text":"The event\n","param":"ev"}]},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5863,"character":11}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3728,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3729,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3730,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3731,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5863,"character":12}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3727,"name":"GlobalEventHandlers.onended"}},{"id":3732,"name":"onerror","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Fires when an error occurs during object loading.","tags":[{"tag":"param","text":"The event.\n","param":"ev"}]},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5868,"character":11}],"type":{"type":"reference","name":"OnErrorEventHandler"},"inheritedFrom":{"type":"reference","id":3732,"name":"GlobalEventHandlers.onerror"}},{"id":3733,"name":"onfocus","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Fires when the object receives focus.","tags":[{"tag":"param","text":"The event.\n","param":"ev"}]},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5873,"character":11}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3734,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3735,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3736,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3737,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"FocusEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5873,"character":12}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3733,"name":"GlobalEventHandlers.onfocus"}},{"id":3738,"name":"ongotpointercapture","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5874,"character":23}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3739,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3740,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3741,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3742,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"PointerEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5874,"character":24}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3738,"name":"GlobalEventHandlers.ongotpointercapture"}},{"id":4033,"name":"onhashchange","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18586,"character":16}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":4034,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":4035,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4036,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"WindowEventHandlers"}},{"id":4037,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"HashChangeEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18586,"character":17}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":4033,"name":"WindowEventHandlers.onhashchange"}},{"id":3743,"name":"oninput","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5875,"character":11}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3744,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3745,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3746,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3747,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5875,"character":12}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3743,"name":"GlobalEventHandlers.oninput"}},{"id":3748,"name":"oninvalid","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5876,"character":13}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3749,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3750,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3751,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3752,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5876,"character":14}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3748,"name":"GlobalEventHandlers.oninvalid"}},{"id":3753,"name":"onkeydown","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Fires when the user presses a key.","tags":[{"tag":"param","text":"The keyboard event\n","param":"ev"}]},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5881,"character":13}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3754,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3755,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3756,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3757,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"KeyboardEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5881,"character":14}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3753,"name":"GlobalEventHandlers.onkeydown"}},{"id":3758,"name":"onkeypress","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Fires when the user presses an alphanumeric key.","tags":[{"tag":"param","text":"The event.\n","param":"ev"}]},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5886,"character":14}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3759,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3760,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3761,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3762,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"KeyboardEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5886,"character":15}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3758,"name":"GlobalEventHandlers.onkeypress"}},{"id":3763,"name":"onkeyup","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Fires when the user releases a key.","tags":[{"tag":"param","text":"The keyboard event\n","param":"ev"}]},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5891,"character":11}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3764,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3765,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3766,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3767,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"KeyboardEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5891,"character":12}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3763,"name":"GlobalEventHandlers.onkeyup"}},{"id":4038,"name":"onlanguagechange","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18587,"character":20}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":4039,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":4040,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4041,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"WindowEventHandlers"}},{"id":4042,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18587,"character":21}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":4038,"name":"WindowEventHandlers.onlanguagechange"}},{"id":3768,"name":"onload","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Fires immediately after the browser loads the object.","tags":[{"tag":"param","text":"The event.\n","param":"ev"}]},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5896,"character":10}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3769,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3770,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3771,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3772,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5896,"character":11}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3768,"name":"GlobalEventHandlers.onload"}},{"id":3773,"name":"onloadeddata","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Occurs when media data is loaded at the current playback position.","tags":[{"tag":"param","text":"The event.\n","param":"ev"}]},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5901,"character":16}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3774,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3775,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3776,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3777,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5901,"character":17}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3773,"name":"GlobalEventHandlers.onloadeddata"}},{"id":3778,"name":"onloadedmetadata","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Occurs when the duration and dimensions of the media have been determined.","tags":[{"tag":"param","text":"The event.\n","param":"ev"}]},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5906,"character":20}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3779,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3780,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3781,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3782,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5906,"character":21}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3778,"name":"GlobalEventHandlers.onloadedmetadata"}},{"id":3783,"name":"onloadstart","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Occurs when Internet Explorer begins looking for media data.","tags":[{"tag":"param","text":"The event.\n","param":"ev"}]},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5911,"character":15}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3784,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3785,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3786,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3787,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5911,"character":16}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3783,"name":"GlobalEventHandlers.onloadstart"}},{"id":3788,"name":"onlostpointercapture","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5912,"character":24}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3789,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3790,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3791,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3792,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"PointerEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5912,"character":25}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3788,"name":"GlobalEventHandlers.onlostpointercapture"}},{"id":4043,"name":"onmessage","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18588,"character":13}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":4044,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":4045,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4046,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"WindowEventHandlers"}},{"id":4047,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"MessageEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18588,"character":14}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":4043,"name":"WindowEventHandlers.onmessage"}},{"id":4048,"name":"onmessageerror","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18589,"character":18}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":4049,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":4050,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4051,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"WindowEventHandlers"}},{"id":4052,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"MessageEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18589,"character":19}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":4048,"name":"WindowEventHandlers.onmessageerror"}},{"id":3793,"name":"onmousedown","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Fires when the user clicks the object with either mouse button.","tags":[{"tag":"param","text":"The mouse event.\n","param":"ev"}]},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5917,"character":15}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3794,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3795,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3796,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3797,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"MouseEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5917,"character":16}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3793,"name":"GlobalEventHandlers.onmousedown"}},{"id":3798,"name":"onmouseenter","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5918,"character":16}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3799,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3800,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3801,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3802,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"MouseEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5918,"character":17}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3798,"name":"GlobalEventHandlers.onmouseenter"}},{"id":3803,"name":"onmouseleave","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5919,"character":16}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3804,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3805,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3806,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3807,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"MouseEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5919,"character":17}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3803,"name":"GlobalEventHandlers.onmouseleave"}},{"id":3808,"name":"onmousemove","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Fires when the user moves the mouse over the object.","tags":[{"tag":"param","text":"The mouse event.\n","param":"ev"}]},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5924,"character":15}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3809,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3810,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3811,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3812,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"MouseEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5924,"character":16}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3808,"name":"GlobalEventHandlers.onmousemove"}},{"id":3813,"name":"onmouseout","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Fires when the user moves the mouse pointer outside the boundaries of the object.","tags":[{"tag":"param","text":"The mouse event.\n","param":"ev"}]},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5929,"character":14}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3814,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3815,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3816,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3817,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"MouseEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5929,"character":15}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3813,"name":"GlobalEventHandlers.onmouseout"}},{"id":3818,"name":"onmouseover","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Fires when the user moves the mouse pointer into the object.","tags":[{"tag":"param","text":"The mouse event.\n","param":"ev"}]},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5934,"character":15}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3819,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3820,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3821,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3822,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"MouseEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5934,"character":16}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3818,"name":"GlobalEventHandlers.onmouseover"}},{"id":3823,"name":"onmouseup","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Fires when the user releases a mouse button while the mouse is over the object.","tags":[{"tag":"param","text":"The mouse event.\n","param":"ev"}]},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5939,"character":13}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3824,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3825,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3826,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3827,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"MouseEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5939,"character":14}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3823,"name":"GlobalEventHandlers.onmouseup"}},{"id":3295,"name":"onmousewheel","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18463,"character":16}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3296,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3297,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3298,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":4146,"name":"Window"}},{"id":3299,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18463,"character":17}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3295,"name":"Window.onmousewheel"}},{"id":3300,"name":"onmsgesturechange","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18464,"character":21}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3301,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3302,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3303,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":4146,"name":"Window"}},{"id":3304,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18464,"character":22}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3300,"name":"Window.onmsgesturechange"}},{"id":3305,"name":"onmsgesturedoubletap","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18465,"character":24}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3306,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3307,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3308,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":4146,"name":"Window"}},{"id":3309,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18465,"character":25}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3305,"name":"Window.onmsgesturedoubletap"}},{"id":3310,"name":"onmsgestureend","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18466,"character":18}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3311,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3312,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3313,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":4146,"name":"Window"}},{"id":3314,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18466,"character":19}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3310,"name":"Window.onmsgestureend"}},{"id":3315,"name":"onmsgesturehold","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18467,"character":19}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3316,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3317,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3318,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":4146,"name":"Window"}},{"id":3319,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18467,"character":20}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3315,"name":"Window.onmsgesturehold"}},{"id":3320,"name":"onmsgesturestart","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18468,"character":20}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3321,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3322,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3323,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":4146,"name":"Window"}},{"id":3324,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18468,"character":21}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3320,"name":"Window.onmsgesturestart"}},{"id":3325,"name":"onmsgesturetap","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18469,"character":18}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3326,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3327,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3328,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":4146,"name":"Window"}},{"id":3329,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18469,"character":19}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3325,"name":"Window.onmsgesturetap"}},{"id":3330,"name":"onmsinertiastart","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18470,"character":20}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3331,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3332,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3333,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":4146,"name":"Window"}},{"id":3334,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18470,"character":21}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3330,"name":"Window.onmsinertiastart"}},{"id":3335,"name":"onmspointercancel","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18471,"character":21}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3336,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3337,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3338,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":4146,"name":"Window"}},{"id":3339,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18471,"character":22}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3335,"name":"Window.onmspointercancel"}},{"id":3340,"name":"onmspointerdown","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18472,"character":19}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3341,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3342,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3343,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":4146,"name":"Window"}},{"id":3344,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18472,"character":20}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3340,"name":"Window.onmspointerdown"}},{"id":3345,"name":"onmspointerenter","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18473,"character":20}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3346,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3347,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3348,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":4146,"name":"Window"}},{"id":3349,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18473,"character":21}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3345,"name":"Window.onmspointerenter"}},{"id":3350,"name":"onmspointerleave","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18474,"character":20}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3351,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3352,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3353,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":4146,"name":"Window"}},{"id":3354,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18474,"character":21}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3350,"name":"Window.onmspointerleave"}},{"id":3355,"name":"onmspointermove","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18475,"character":19}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3356,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3357,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3358,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":4146,"name":"Window"}},{"id":3359,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18475,"character":20}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3355,"name":"Window.onmspointermove"}},{"id":3360,"name":"onmspointerout","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18476,"character":18}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3361,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3362,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3363,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":4146,"name":"Window"}},{"id":3364,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18476,"character":19}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3360,"name":"Window.onmspointerout"}},{"id":3365,"name":"onmspointerover","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18477,"character":19}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3366,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3367,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3368,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":4146,"name":"Window"}},{"id":3369,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18477,"character":20}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3365,"name":"Window.onmspointerover"}},{"id":3370,"name":"onmspointerup","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18478,"character":17}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3371,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3372,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3373,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":4146,"name":"Window"}},{"id":3374,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18478,"character":18}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3370,"name":"Window.onmspointerup"}},{"id":4053,"name":"onoffline","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18590,"character":13}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":4054,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":4055,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4056,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"WindowEventHandlers"}},{"id":4057,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18590,"character":14}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":4053,"name":"WindowEventHandlers.onoffline"}},{"id":4058,"name":"ononline","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18591,"character":12}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":4059,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":4060,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4061,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"WindowEventHandlers"}},{"id":4062,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18591,"character":13}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":4058,"name":"WindowEventHandlers.ononline"}},{"id":3375,"name":"onorientationchange","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"tags":[{"tag":"deprecated","text":""}]},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18480,"character":23}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3376,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3377,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3378,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":4146,"name":"Window"}},{"id":3379,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18480,"character":24}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3375,"name":"Window.onorientationchange"}},{"id":4063,"name":"onpagehide","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18592,"character":14}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":4064,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":4065,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4066,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"WindowEventHandlers"}},{"id":4067,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"PageTransitionEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18592,"character":15}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":4063,"name":"WindowEventHandlers.onpagehide"}},{"id":4068,"name":"onpageshow","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18593,"character":14}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":4069,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":4070,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4071,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"WindowEventHandlers"}},{"id":4072,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"PageTransitionEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18593,"character":15}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":4068,"name":"WindowEventHandlers.onpageshow"}},{"id":3828,"name":"onpause","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Occurs when playback is paused.","tags":[{"tag":"param","text":"The event.\n","param":"ev"}]},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5944,"character":11}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3829,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3830,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3831,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3832,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5944,"character":12}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3828,"name":"GlobalEventHandlers.onpause"}},{"id":3833,"name":"onplay","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Occurs when the play method is requested.","tags":[{"tag":"param","text":"The event.\n","param":"ev"}]},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5949,"character":10}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3834,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3835,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3836,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3837,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5949,"character":11}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3833,"name":"GlobalEventHandlers.onplay"}},{"id":3838,"name":"onplaying","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Occurs when the audio or video has started playing.","tags":[{"tag":"param","text":"The event.\n","param":"ev"}]},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5954,"character":13}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3839,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3840,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3841,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3842,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5954,"character":14}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3838,"name":"GlobalEventHandlers.onplaying"}},{"id":3843,"name":"onpointercancel","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5955,"character":19}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3844,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3845,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3846,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3847,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"PointerEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5955,"character":20}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3843,"name":"GlobalEventHandlers.onpointercancel"}},{"id":3848,"name":"onpointerdown","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5956,"character":17}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3849,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3850,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3851,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3852,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"PointerEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5956,"character":18}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3848,"name":"GlobalEventHandlers.onpointerdown"}},{"id":3853,"name":"onpointerenter","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5957,"character":18}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3854,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3855,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3856,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3857,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"PointerEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5957,"character":19}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3853,"name":"GlobalEventHandlers.onpointerenter"}},{"id":3858,"name":"onpointerleave","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5958,"character":18}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3859,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3860,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3861,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3862,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"PointerEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5958,"character":19}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3858,"name":"GlobalEventHandlers.onpointerleave"}},{"id":3863,"name":"onpointermove","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5959,"character":17}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3864,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3865,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3866,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3867,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"PointerEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5959,"character":18}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3863,"name":"GlobalEventHandlers.onpointermove"}},{"id":3868,"name":"onpointerout","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5960,"character":16}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3869,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3870,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3871,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3872,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"PointerEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5960,"character":17}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3868,"name":"GlobalEventHandlers.onpointerout"}},{"id":3873,"name":"onpointerover","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5961,"character":17}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3874,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3875,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3876,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3877,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"PointerEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5961,"character":18}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3873,"name":"GlobalEventHandlers.onpointerover"}},{"id":3878,"name":"onpointerup","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5962,"character":15}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3879,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3880,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3881,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3882,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"PointerEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5962,"character":16}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3878,"name":"GlobalEventHandlers.onpointerup"}},{"id":4073,"name":"onpopstate","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18594,"character":14}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":4074,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":4075,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4076,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"WindowEventHandlers"}},{"id":4077,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"PopStateEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18594,"character":15}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":4073,"name":"WindowEventHandlers.onpopstate"}},{"id":3883,"name":"onprogress","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Occurs to indicate progress while downloading media data.","tags":[{"tag":"param","text":"The event.\n","param":"ev"}]},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5967,"character":14}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3884,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3885,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3886,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3887,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"ProgressEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5967,"character":15}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3883,"name":"GlobalEventHandlers.onprogress"}},{"id":3888,"name":"onratechange","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Occurs when the playback rate is increased or decreased.","tags":[{"tag":"param","text":"The event.\n","param":"ev"}]},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5972,"character":16}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3889,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3890,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3891,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3892,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5972,"character":17}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3888,"name":"GlobalEventHandlers.onratechange"}},{"id":3380,"name":"onreadystatechange","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18481,"character":22}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3381,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3382,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3383,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":4146,"name":"Window"}},{"id":3384,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","typeArguments":[{"type":"reference","id":4146,"name":"Window"}],"name":"ProgressEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18481,"character":23}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3380,"name":"Window.onreadystatechange"}},{"id":4078,"name":"onrejectionhandled","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18595,"character":22}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":4079,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":4080,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4081,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"WindowEventHandlers"}},{"id":4082,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"PromiseRejectionEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18595,"character":23}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":4078,"name":"WindowEventHandlers.onrejectionhandled"}},{"id":3893,"name":"onreset","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Fires when the user resets a form.","tags":[{"tag":"param","text":"The event.\n","param":"ev"}]},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5977,"character":11}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3894,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3895,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3896,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3897,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5977,"character":12}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3893,"name":"GlobalEventHandlers.onreset"}},{"id":3898,"name":"onresize","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5978,"character":12}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3899,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3900,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3901,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3902,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"UIEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5978,"character":13}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3898,"name":"GlobalEventHandlers.onresize"}},{"id":3903,"name":"onscroll","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Fires when the user repositions the scroll box in the scroll bar on the object.","tags":[{"tag":"param","text":"The event.\n","param":"ev"}]},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5983,"character":12}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3904,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3905,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3906,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3907,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5983,"character":13}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3903,"name":"GlobalEventHandlers.onscroll"}},{"id":3908,"name":"onsecuritypolicyviolation","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5984,"character":29}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3909,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3910,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3911,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3912,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"SecurityPolicyViolationEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5984,"character":30}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3908,"name":"GlobalEventHandlers.onsecuritypolicyviolation"}},{"id":3913,"name":"onseeked","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Occurs when the seek operation ends.","tags":[{"tag":"param","text":"The event.\n","param":"ev"}]},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5989,"character":12}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3914,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3915,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3916,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3917,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5989,"character":13}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3913,"name":"GlobalEventHandlers.onseeked"}},{"id":3918,"name":"onseeking","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Occurs when the current playback position is moved.","tags":[{"tag":"param","text":"The event.\n","param":"ev"}]},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5994,"character":13}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3919,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3920,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3921,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3922,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5994,"character":14}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3918,"name":"GlobalEventHandlers.onseeking"}},{"id":3923,"name":"onselect","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Fires when the current selection changes.","tags":[{"tag":"param","text":"The event.\n","param":"ev"}]},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5999,"character":12}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3924,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3925,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3926,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3927,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5999,"character":13}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3923,"name":"GlobalEventHandlers.onselect"}},{"id":3928,"name":"onselectionchange","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":6000,"character":21}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3929,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3930,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3931,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3932,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":6000,"character":22}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3928,"name":"GlobalEventHandlers.onselectionchange"}},{"id":3933,"name":"onselectstart","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":6001,"character":17}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3934,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3935,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3936,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3937,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":6001,"character":18}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3933,"name":"GlobalEventHandlers.onselectstart"}},{"id":3938,"name":"onstalled","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Occurs when the download has stopped.","tags":[{"tag":"param","text":"The event.\n","param":"ev"}]},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":6006,"character":13}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3939,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3940,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3941,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3942,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":6006,"character":14}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3938,"name":"GlobalEventHandlers.onstalled"}},{"id":4083,"name":"onstorage","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18596,"character":13}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":4084,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":4085,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4086,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"WindowEventHandlers"}},{"id":4087,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"StorageEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18596,"character":14}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":4083,"name":"WindowEventHandlers.onstorage"}},{"id":3943,"name":"onsubmit","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":6007,"character":12}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3944,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3945,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3946,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3947,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":6007,"character":13}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3943,"name":"GlobalEventHandlers.onsubmit"}},{"id":3948,"name":"onsuspend","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Occurs if the load operation has been intentionally halted.","tags":[{"tag":"param","text":"The event.\n","param":"ev"}]},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":6012,"character":13}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3949,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3950,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3951,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3952,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":6012,"character":14}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3948,"name":"GlobalEventHandlers.onsuspend"}},{"id":3953,"name":"ontimeupdate","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Occurs to indicate the current playback position.","tags":[{"tag":"param","text":"The event.\n","param":"ev"}]},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":6017,"character":16}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3954,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3955,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3956,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3957,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":6017,"character":17}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3953,"name":"GlobalEventHandlers.ontimeupdate"}},{"id":3958,"name":"ontoggle","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":6018,"character":12}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3959,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3960,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3961,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3962,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":6018,"character":13}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3958,"name":"GlobalEventHandlers.ontoggle"}},{"id":3963,"name":"ontouchcancel","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":6019,"character":17}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3964,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3965,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3966,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3967,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"TouchEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":6019,"character":19}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3963,"name":"GlobalEventHandlers.ontouchcancel"}},{"id":3968,"name":"ontouchend","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":6020,"character":14}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3969,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3970,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3971,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3972,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"TouchEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":6020,"character":16}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3968,"name":"GlobalEventHandlers.ontouchend"}},{"id":3973,"name":"ontouchmove","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":6021,"character":15}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3974,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3975,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3976,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3977,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"TouchEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":6021,"character":17}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3973,"name":"GlobalEventHandlers.ontouchmove"}},{"id":3978,"name":"ontouchstart","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":6022,"character":16}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3979,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3980,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3981,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3982,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"TouchEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":6022,"character":18}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3978,"name":"GlobalEventHandlers.ontouchstart"}},{"id":3983,"name":"ontransitioncancel","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":6023,"character":22}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3984,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3985,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3986,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3987,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"TransitionEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":6023,"character":23}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3983,"name":"GlobalEventHandlers.ontransitioncancel"}},{"id":3988,"name":"ontransitionend","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":6024,"character":19}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3989,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3990,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3991,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3992,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"TransitionEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":6024,"character":20}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3988,"name":"GlobalEventHandlers.ontransitionend"}},{"id":3993,"name":"ontransitionrun","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":6025,"character":19}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3994,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3995,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3996,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":3997,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"TransitionEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":6025,"character":20}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3993,"name":"GlobalEventHandlers.ontransitionrun"}},{"id":3998,"name":"ontransitionstart","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":6026,"character":21}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3999,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":4000,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4001,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":4002,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"TransitionEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":6026,"character":22}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3998,"name":"GlobalEventHandlers.ontransitionstart"}},{"id":4088,"name":"onunhandledrejection","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18597,"character":24}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":4089,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":4090,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4091,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"WindowEventHandlers"}},{"id":4092,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"PromiseRejectionEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18597,"character":25}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":4088,"name":"WindowEventHandlers.onunhandledrejection"}},{"id":4093,"name":"onunload","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18598,"character":12}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":4094,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":4095,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4096,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"WindowEventHandlers"}},{"id":4097,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18598,"character":13}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":4093,"name":"WindowEventHandlers.onunload"}},{"id":4003,"name":"onvolumechange","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Occurs when the volume is changed, or playback is muted or unmuted.","tags":[{"tag":"param","text":"The event.\n","param":"ev"}]},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":6031,"character":18}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":4004,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":4005,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4006,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":4007,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":6031,"character":19}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":4003,"name":"GlobalEventHandlers.onvolumechange"}},{"id":3385,"name":"onvrdisplayactivate","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18482,"character":23}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3386,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3387,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3388,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":4146,"name":"Window"}},{"id":3389,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18482,"character":24}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3385,"name":"Window.onvrdisplayactivate"}},{"id":3390,"name":"onvrdisplayblur","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18483,"character":19}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3391,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3392,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3393,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":4146,"name":"Window"}},{"id":3394,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18483,"character":20}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3390,"name":"Window.onvrdisplayblur"}},{"id":3395,"name":"onvrdisplayconnect","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18484,"character":22}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3396,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3397,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3398,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":4146,"name":"Window"}},{"id":3399,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18484,"character":23}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3395,"name":"Window.onvrdisplayconnect"}},{"id":3400,"name":"onvrdisplaydeactivate","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18485,"character":25}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3401,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3402,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3403,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":4146,"name":"Window"}},{"id":3404,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18485,"character":26}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3400,"name":"Window.onvrdisplaydeactivate"}},{"id":3405,"name":"onvrdisplaydisconnect","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18486,"character":25}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3406,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3407,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3408,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":4146,"name":"Window"}},{"id":3409,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18486,"character":26}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3405,"name":"Window.onvrdisplaydisconnect"}},{"id":3410,"name":"onvrdisplayfocus","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18487,"character":20}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3411,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3412,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3413,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":4146,"name":"Window"}},{"id":3414,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18487,"character":21}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3410,"name":"Window.onvrdisplayfocus"}},{"id":3415,"name":"onvrdisplaypointerrestricted","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18488,"character":32}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3416,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3417,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3418,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":4146,"name":"Window"}},{"id":3419,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18488,"character":33}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3415,"name":"Window.onvrdisplaypointerrestricted"}},{"id":3420,"name":"onvrdisplaypointerunrestricted","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18489,"character":34}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3421,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3422,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3423,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":4146,"name":"Window"}},{"id":3424,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18489,"character":35}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3420,"name":"Window.onvrdisplaypointerunrestricted"}},{"id":3425,"name":"onvrdisplaypresentchange","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18490,"character":28}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":3426,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3427,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3428,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":4146,"name":"Window"}},{"id":3429,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18490,"character":29}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3425,"name":"Window.onvrdisplaypresentchange"}},{"id":4008,"name":"onwaiting","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Occurs when playback stops because the next frame of a video resource is not available.","tags":[{"tag":"param","text":"The event.\n","param":"ev"}]},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":6036,"character":13}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":4009,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":4010,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4011,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":4012,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":6036,"character":14}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":4008,"name":"GlobalEventHandlers.onwaiting"}},{"id":4013,"name":"onwheel","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":6037,"character":11}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":4014,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":4015,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4016,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"GlobalEventHandlers"}},{"id":4017,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"WheelEvent"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":6037,"character":12}]}},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":4013,"name":"GlobalEventHandlers.onwheel"}},{"id":3430,"name":"opener","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18491,"character":10}],"type":{"type":"intrinsic","name":"any"},"inheritedFrom":{"type":"reference","id":3430,"name":"Window.opener"}},{"id":3431,"name":"orientation","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"comment":{"tags":[{"tag":"deprecated","text":""}]},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18493,"character":24}],"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"number"}]},"inheritedFrom":{"type":"reference","id":3431,"name":"Window.orientation"}},{"id":4103,"name":"origin","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18614,"character":19}],"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":4103,"name":"WindowOrWorkerGlobalScope.origin"}},{"id":3432,"name":"outerHeight","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18494,"character":24}],"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":3432,"name":"Window.outerHeight"}},{"id":3433,"name":"outerWidth","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18495,"character":23}],"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":3433,"name":"Window.outerWidth"}},{"id":3434,"name":"pageXOffset","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18496,"character":24}],"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":3434,"name":"Window.pageXOffset"}},{"id":3435,"name":"pageYOffset","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18497,"character":24}],"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":3435,"name":"Window.pageYOffset"}},{"id":3436,"name":"parent","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18498,"character":19}],"type":{"type":"reference","id":4146,"name":"Window"},"inheritedFrom":{"type":"reference","id":3436,"name":"Window.parent"}},{"id":4104,"name":"performance","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18615,"character":24}],"type":{"type":"reference","name":"Performance"},"inheritedFrom":{"type":"reference","id":4104,"name":"WindowOrWorkerGlobalScope.performance"}},{"id":3437,"name":"personalbar","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18499,"character":24}],"type":{"type":"reference","name":"BarProp"},"inheritedFrom":{"type":"reference","id":3437,"name":"Window.personalbar"}},{"id":4172,"name":"run","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/@types/mocha/index.d.ts","line":2391,"character":11}],"type":{"type":"query","queryType":{"type":"reference","name":"run"}},"inheritedFrom":{"type":"reference","id":4172,"name":"MochaGlobals.run"}},{"id":3438,"name":"screen","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18500,"character":19}],"type":{"type":"reference","name":"Screen"},"inheritedFrom":{"type":"reference","id":3438,"name":"Window.screen"}},{"id":3439,"name":"screenLeft","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18501,"character":23}],"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":3439,"name":"Window.screenLeft"}},{"id":3440,"name":"screenTop","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18502,"character":22}],"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":3440,"name":"Window.screenTop"}},{"id":3441,"name":"screenX","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18503,"character":20}],"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":3441,"name":"Window.screenX"}},{"id":3442,"name":"screenY","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18504,"character":20}],"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":3442,"name":"Window.screenY"}},{"id":3443,"name":"scrollX","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18505,"character":20}],"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":3443,"name":"Window.scrollX"}},{"id":3444,"name":"scrollY","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18506,"character":20}],"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":3444,"name":"Window.scrollY"}},{"id":3445,"name":"scrollbars","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18507,"character":23}],"type":{"type":"reference","name":"BarProp"},"inheritedFrom":{"type":"reference","id":3445,"name":"Window.scrollbars"}},{"id":3446,"name":"self","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18508,"character":17}],"type":{"type":"intersection","types":[{"type":"reference","id":4146,"name":"Window"},{"type":"query","queryType":{"type":"reference","name":"globalThis"}}]},"inheritedFrom":{"type":"reference","id":3446,"name":"Window.self"}},{"id":4145,"name":"sessionStorage","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18629,"character":27}],"type":{"type":"reference","name":"Storage"},"inheritedFrom":{"type":"reference","id":4145,"name":"WindowSessionStorage.sessionStorage"}},{"id":4168,"name":"setup","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Execute before each test case.","text":"- _Only available when invoked via the mocha CLI._\n","tags":[{"tag":"see","text":"https://mochajs.org/api/global.html#beforeEach\n"}]},"sources":[{"fileName":"node_modules/@types/mocha/index.d.ts","line":2366,"character":13}],"type":{"type":"reference","name":"HookFunction"},"inheritedFrom":{"type":"reference","id":4168,"name":"MochaGlobals.setup"}},{"id":4163,"name":"specify","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Describes a test case.","text":"- _Only available when invoked via the mocha CLI._\n"},"sources":[{"fileName":"node_modules/@types/mocha/index.d.ts","line":2325,"character":15}],"type":{"type":"reference","name":"TestFunction"},"inheritedFrom":{"type":"reference","id":4163,"name":"MochaGlobals.specify"}},{"id":3447,"name":"speechSynthesis","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18509,"character":28}],"type":{"type":"reference","name":"SpeechSynthesis"},"inheritedFrom":{"type":"reference","id":3447,"name":"Window.speechSynthesis"}},{"id":3448,"name":"status","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18510,"character":10}],"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":3448,"name":"Window.status"}},{"id":3449,"name":"statusbar","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18511,"character":22}],"type":{"type":"reference","name":"BarProp"},"inheritedFrom":{"type":"reference","id":3449,"name":"Window.statusbar"}},{"id":3450,"name":"styleMedia","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18512,"character":23}],"type":{"type":"reference","name":"StyleMedia"},"inheritedFrom":{"type":"reference","id":3450,"name":"Window.styleMedia"}},{"id":4170,"name":"suite","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Describe a \"suite\" containing nested suites and tests.","text":"- _Only available when invoked via the mocha CLI._\n"},"sources":[{"fileName":"node_modules/@types/mocha/index.d.ts","line":2382,"character":13}],"type":{"type":"reference","name":"SuiteFunction"},"inheritedFrom":{"type":"reference","id":4170,"name":"MochaGlobals.suite"}},{"id":4166,"name":"suiteSetup","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Execute before running tests.","text":"- _Only available when invoked via the mocha CLI._\n","tags":[{"tag":"see","text":"https://mochajs.org/api/global.html#before\n"}]},"sources":[{"fileName":"node_modules/@types/mocha/index.d.ts","line":2348,"character":18}],"type":{"type":"reference","name":"HookFunction"},"inheritedFrom":{"type":"reference","id":4166,"name":"MochaGlobals.suiteSetup"}},{"id":4167,"name":"suiteTeardown","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Execute after running tests.","text":"- _Only available when invoked via the mocha CLI._\n","tags":[{"tag":"see","text":"https://mochajs.org/api/global.html#after\n"}]},"sources":[{"fileName":"node_modules/@types/mocha/index.d.ts","line":2357,"character":21}],"type":{"type":"reference","name":"HookFunction"},"inheritedFrom":{"type":"reference","id":4167,"name":"MochaGlobals.suiteTeardown"}},{"id":4169,"name":"teardown","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Execute after each test case.","text":"- _Only available when invoked via the mocha CLI._\n","tags":[{"tag":"see","text":"https://mochajs.org/api/global.html#afterEach\n"}]},"sources":[{"fileName":"node_modules/@types/mocha/index.d.ts","line":2375,"character":16}],"type":{"type":"reference","name":"HookFunction"},"inheritedFrom":{"type":"reference","id":4169,"name":"MochaGlobals.teardown"}},{"id":4171,"name":"test","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Describes a test case.","text":"- _Only available when invoked via the mocha CLI._\n"},"sources":[{"fileName":"node_modules/@types/mocha/index.d.ts","line":2389,"character":12}],"type":{"type":"reference","name":"TestFunction"},"inheritedFrom":{"type":"reference","id":4171,"name":"MochaGlobals.test"}},{"id":3451,"name":"toolbar","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18513,"character":20}],"type":{"type":"reference","name":"BarProp"},"inheritedFrom":{"type":"reference","id":3451,"name":"Window.toolbar"}},{"id":3452,"name":"top","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18514,"character":16}],"type":{"type":"reference","id":4146,"name":"Window"},"inheritedFrom":{"type":"reference","id":3452,"name":"Window.top"}},{"id":3453,"name":"visualViewport","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18515,"character":27}],"type":{"type":"reference","name":"VisualViewport"},"inheritedFrom":{"type":"reference","id":3453,"name":"Window.visualViewport"}},{"id":3454,"name":"window","kind":1024,"kindString":"Property","flags":{"isExported":true,"isReadonly":true},"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18516,"character":19}],"type":{"type":"intersection","types":[{"type":"reference","id":4146,"name":"Window"},{"type":"query","queryType":{"type":"reference","name":"globalThis"}}]},"inheritedFrom":{"type":"reference","id":3454,"name":"Window.window"}},{"id":4161,"name":"xcontext","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Pending suite.","text":"- _Only available when invoked via the mocha CLI._\n"},"sources":[{"fileName":"node_modules/@types/mocha/index.d.ts","line":2311,"character":16}],"type":{"type":"reference","name":"PendingSuiteFunction"},"inheritedFrom":{"type":"reference","id":4161,"name":"MochaGlobals.xcontext"}},{"id":4160,"name":"xdescribe","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Pending suite.","text":"- _Only available when invoked via the mocha CLI._\n"},"sources":[{"fileName":"node_modules/@types/mocha/index.d.ts","line":2304,"character":17}],"type":{"type":"reference","name":"PendingSuiteFunction"},"inheritedFrom":{"type":"reference","id":4160,"name":"MochaGlobals.xdescribe"}},{"id":4164,"name":"xit","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Describes a pending test case.","text":"- _Only available when invoked via the mocha CLI._\n"},"sources":[{"fileName":"node_modules/@types/mocha/index.d.ts","line":2332,"character":11}],"type":{"type":"reference","name":"PendingTestFunction"},"inheritedFrom":{"type":"reference","id":4164,"name":"MochaGlobals.xit"}},{"id":4165,"name":"xspecify","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Describes a pending test case.","text":"- _Only available when invoked via the mocha CLI._\n"},"sources":[{"fileName":"node_modules/@types/mocha/index.d.ts","line":2339,"character":16}],"type":{"type":"reference","name":"PendingTestFunction"},"inheritedFrom":{"type":"reference","id":4165,"name":"MochaGlobals.xspecify"}},{"id":3558,"name":"addEventListener","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":3559,"name":"addEventListener","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"typeParameter":[{"id":3560,"name":"K","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"typeOperator","operator":"keyof","target":{"type":"reference","name":"WindowEventMap"}}}],"parameters":[{"id":3561,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"typeParameter","name":"K","constraint":{"type":"typeOperator","operator":"keyof","target":{"type":"reference","name":"WindowEventMap"}}}},{"id":3562,"name":"listener","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reflection","declaration":{"id":3563,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3564,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3565,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":4146,"name":"Window"}},{"id":3566,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"K","constraint":{"type":"typeOperator","operator":"keyof","target":{"type":"reference","name":"WindowEventMap"}}},"objectType":{"type":"reference","name":"WindowEventMap"}}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18551,"character":71}]}}},{"id":3567,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"boolean"},{"type":"reference","name":"AddEventListenerOptions"}]}}],"type":{"type":"intrinsic","name":"void"},"overwrites":{"type":"reference","name":"EventTarget.addEventListener"},"inheritedFrom":{"type":"reference","id":3558,"name":"Window.addEventListener"}},{"id":3568,"name":"addEventListener","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3569,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"string"}},{"id":3570,"name":"listener","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"EventListenerOrEventListenerObject"}},{"id":3571,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"boolean"},{"type":"reference","name":"AddEventListenerOptions"}]}}],"type":{"type":"intrinsic","name":"void"},"overwrites":{"type":"reference","name":"EventTarget.addEventListener"},"inheritedFrom":{"type":"reference","id":3558,"name":"Window.addEventListener"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18551,"character":20},{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18552,"character":20}],"overwrites":{"type":"reference","name":"EventTarget.addEventListener"},"inheritedFrom":{"type":"reference","id":3558,"name":"Window.addEventListener"}},{"id":3455,"name":"alert","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":3456,"name":"alert","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3457,"name":"message","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":3455,"name":"Window.alert"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18517,"character":9}],"inheritedFrom":{"type":"reference","id":3455,"name":"Window.alert"}},{"id":4105,"name":"atob","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4106,"name":"atob","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4107,"name":"data","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":4105,"name":"WindowOrWorkerGlobalScope.atob"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18616,"character":8}],"inheritedFrom":{"type":"reference","id":4105,"name":"WindowOrWorkerGlobalScope.atob"}},{"id":3458,"name":"blur","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":3459,"name":"blur","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":3458,"name":"Window.blur"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18518,"character":8}],"inheritedFrom":{"type":"reference","id":3458,"name":"Window.blur"}},{"id":4108,"name":"btoa","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4109,"name":"btoa","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4110,"name":"data","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","id":4108,"name":"WindowOrWorkerGlobalScope.btoa"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18617,"character":8}],"inheritedFrom":{"type":"reference","id":4108,"name":"WindowOrWorkerGlobalScope.btoa"}},{"id":3591,"name":"cancelAnimationFrame","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":3592,"name":"cancelAnimationFrame","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3593,"name":"handle","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":3591,"name":"AnimationFrameProvider.cancelAnimationFrame"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":2107,"character":24}],"inheritedFrom":{"type":"reference","id":3591,"name":"AnimationFrameProvider.cancelAnimationFrame"}},{"id":3460,"name":"captureEvents","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":3461,"name":"captureEvents","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"tags":[{"tag":"deprecated","text":""}]},"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":3460,"name":"Window.captureEvents"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18520,"character":17}],"inheritedFrom":{"type":"reference","id":3460,"name":"Window.captureEvents"}},{"id":4111,"name":"clearInterval","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4112,"name":"clearInterval","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4113,"name":"handle","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":4111,"name":"WindowOrWorkerGlobalScope.clearInterval"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18618,"character":17}],"inheritedFrom":{"type":"reference","id":4111,"name":"WindowOrWorkerGlobalScope.clearInterval"}},{"id":4114,"name":"clearTimeout","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4115,"name":"clearTimeout","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4116,"name":"handle","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":4114,"name":"WindowOrWorkerGlobalScope.clearTimeout"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18619,"character":16}],"inheritedFrom":{"type":"reference","id":4114,"name":"WindowOrWorkerGlobalScope.clearTimeout"}},{"id":3462,"name":"close","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":3463,"name":"close","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":3462,"name":"Window.close"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18521,"character":9}],"inheritedFrom":{"type":"reference","id":3462,"name":"Window.close"}},{"id":3464,"name":"confirm","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":3465,"name":"confirm","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3466,"name":"message","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"string"}]}}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":3464,"name":"Window.confirm"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18522,"character":11}],"inheritedFrom":{"type":"reference","id":3464,"name":"Window.confirm"}},{"id":4117,"name":"createImageBitmap","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4118,"name":"createImageBitmap","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4119,"name":"image","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"ImageBitmapSource"}},{"id":4120,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","name":"ImageBitmapOptions"}}],"type":{"type":"reference","typeArguments":[{"type":"reference","name":"ImageBitmap"}],"name":"Promise"},"inheritedFrom":{"type":"reference","id":4117,"name":"WindowOrWorkerGlobalScope.createImageBitmap"}},{"id":4121,"name":"createImageBitmap","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4122,"name":"image","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"ImageBitmapSource"}},{"id":4123,"name":"sx","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}},{"id":4124,"name":"sy","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}},{"id":4125,"name":"sw","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}},{"id":4126,"name":"sh","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}},{"id":4127,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","name":"ImageBitmapOptions"}}],"type":{"type":"reference","typeArguments":[{"type":"reference","name":"ImageBitmap"}],"name":"Promise"},"inheritedFrom":{"type":"reference","id":4117,"name":"WindowOrWorkerGlobalScope.createImageBitmap"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18620,"character":21},{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18621,"character":21}],"inheritedFrom":{"type":"reference","id":4117,"name":"WindowOrWorkerGlobalScope.createImageBitmap"}},{"id":3467,"name":"departFocus","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":3468,"name":"departFocus","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3469,"name":"navigationReason","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"NavigationReason"}},{"id":3470,"name":"origin","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"FocusNavigationOrigin"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":3467,"name":"Window.departFocus"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18523,"character":15}],"inheritedFrom":{"type":"reference","id":3467,"name":"Window.departFocus"}},{"id":3588,"name":"dispatchEvent","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":3589,"name":"dispatchEvent","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise."},"parameters":[{"id":3590,"name":"event","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Event"}}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":3588,"name":"EventTarget.dispatchEvent"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":5428,"character":17}],"inheritedFrom":{"type":"reference","id":3588,"name":"EventTarget.dispatchEvent"}},{"id":4128,"name":"fetch","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4129,"name":"fetch","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4130,"name":"input","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"RequestInfo"}},{"id":4131,"name":"init","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","name":"RequestInit"}}],"type":{"type":"reference","typeArguments":[{"type":"reference","name":"Response"}],"name":"Promise"},"inheritedFrom":{"type":"reference","id":4128,"name":"WindowOrWorkerGlobalScope.fetch"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18622,"character":9}],"inheritedFrom":{"type":"reference","id":4128,"name":"WindowOrWorkerGlobalScope.fetch"}},{"id":3471,"name":"focus","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":3472,"name":"focus","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":3471,"name":"Window.focus"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18524,"character":9}],"inheritedFrom":{"type":"reference","id":3471,"name":"Window.focus"}},{"id":3473,"name":"getComputedStyle","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":3474,"name":"getComputedStyle","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3475,"name":"elt","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Element"}},{"id":3476,"name":"pseudoElt","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"null"}]}}],"type":{"type":"reference","name":"CSSStyleDeclaration"},"inheritedFrom":{"type":"reference","id":3473,"name":"Window.getComputedStyle"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18525,"character":20}],"inheritedFrom":{"type":"reference","id":3473,"name":"Window.getComputedStyle"}},{"id":3477,"name":"getMatchedCSSRules","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":3478,"name":"getMatchedCSSRules","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3479,"name":"elt","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Element"}},{"id":3480,"name":"pseudoElt","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"null"}]}}],"type":{"type":"reference","name":"CSSRuleList"},"inheritedFrom":{"type":"reference","id":3477,"name":"Window.getMatchedCSSRules"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18526,"character":22}],"inheritedFrom":{"type":"reference","id":3477,"name":"Window.getMatchedCSSRules"}},{"id":3481,"name":"getSelection","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":3482,"name":"getSelection","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"reference","name":"Selection"},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3481,"name":"Window.getSelection"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18527,"character":16}],"inheritedFrom":{"type":"reference","id":3481,"name":"Window.getSelection"}},{"id":3483,"name":"matchMedia","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":3484,"name":"matchMedia","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3485,"name":"query","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"MediaQueryList"},"inheritedFrom":{"type":"reference","id":3483,"name":"Window.matchMedia"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18528,"character":14}],"inheritedFrom":{"type":"reference","id":3483,"name":"Window.matchMedia"}},{"id":3486,"name":"moveBy","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":3487,"name":"moveBy","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3488,"name":"x","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}},{"id":3489,"name":"y","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":3486,"name":"Window.moveBy"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18529,"character":10}],"inheritedFrom":{"type":"reference","id":3486,"name":"Window.moveBy"}},{"id":3490,"name":"moveTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":3491,"name":"moveTo","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3492,"name":"x","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}},{"id":3493,"name":"y","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":3490,"name":"Window.moveTo"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18530,"character":10}],"inheritedFrom":{"type":"reference","id":3490,"name":"Window.moveTo"}},{"id":3494,"name":"msWriteProfilerMark","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":3495,"name":"msWriteProfilerMark","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3496,"name":"profilerMarkName","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":3494,"name":"Window.msWriteProfilerMark"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18531,"character":23}],"inheritedFrom":{"type":"reference","id":3494,"name":"Window.msWriteProfilerMark"}},{"id":3497,"name":"open","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":3498,"name":"open","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3499,"name":"url","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"string"}]}},{"id":3500,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"string"}]}},{"id":3501,"name":"features","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"string"}]}},{"id":3502,"name":"replace","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"false"},{"type":"intrinsic","name":"true"}]}}],"type":{"type":"union","types":[{"type":"reference","id":4146,"name":"Window"},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3497,"name":"Window.open"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18532,"character":8}],"inheritedFrom":{"type":"reference","id":3497,"name":"Window.open"}},{"id":3503,"name":"postMessage","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":3504,"name":"postMessage","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3505,"name":"message","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"any"}},{"id":3506,"name":"targetOrigin","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"string"}},{"id":3507,"name":"transfer","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"array","elementType":{"type":"reference","name":"Transferable"}}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":3503,"name":"Window.postMessage"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18533,"character":15}],"inheritedFrom":{"type":"reference","id":3503,"name":"Window.postMessage"}},{"id":3508,"name":"print","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":3509,"name":"print","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":3508,"name":"Window.print"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18534,"character":9}],"inheritedFrom":{"type":"reference","id":3508,"name":"Window.print"}},{"id":3510,"name":"prompt","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":3511,"name":"prompt","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3512,"name":"message","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"string"}]}},{"id":3513,"name":"_default","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"string"}]}}],"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"null"}]},"inheritedFrom":{"type":"reference","id":3510,"name":"Window.prompt"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18535,"character":10}],"inheritedFrom":{"type":"reference","id":3510,"name":"Window.prompt"}},{"id":4132,"name":"queueMicrotask","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4133,"name":"queueMicrotask","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4134,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"VoidFunction"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":4132,"name":"WindowOrWorkerGlobalScope.queueMicrotask"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18623,"character":18}],"inheritedFrom":{"type":"reference","id":4132,"name":"WindowOrWorkerGlobalScope.queueMicrotask"}},{"id":3514,"name":"releaseEvents","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":3515,"name":"releaseEvents","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"tags":[{"tag":"deprecated","text":""}]},"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":3514,"name":"Window.releaseEvents"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18537,"character":17}],"inheritedFrom":{"type":"reference","id":3514,"name":"Window.releaseEvents"}},{"id":3572,"name":"removeEventListener","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":3573,"name":"removeEventListener","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"typeParameter":[{"id":3574,"name":"K","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"typeOperator","operator":"keyof","target":{"type":"reference","name":"WindowEventMap"}}}],"parameters":[{"id":3575,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"typeParameter","name":"K","constraint":{"type":"typeOperator","operator":"keyof","target":{"type":"reference","name":"WindowEventMap"}}}},{"id":3576,"name":"listener","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reflection","declaration":{"id":3577,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":3578,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3579,"name":"this","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":4146,"name":"Window"}},{"id":3580,"name":"ev","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"indexedAccess","indexType":{"type":"typeParameter","name":"K","constraint":{"type":"typeOperator","operator":"keyof","target":{"type":"reference","name":"WindowEventMap"}}},"objectType":{"type":"reference","name":"WindowEventMap"}}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18553,"character":74}]}}},{"id":3581,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"boolean"},{"type":"reference","name":"EventListenerOptions"}]}}],"type":{"type":"intrinsic","name":"void"},"overwrites":{"type":"reference","name":"EventTarget.removeEventListener"},"inheritedFrom":{"type":"reference","id":3572,"name":"Window.removeEventListener"}},{"id":3582,"name":"removeEventListener","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3583,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"string"}},{"id":3584,"name":"listener","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"EventListenerOrEventListenerObject"}},{"id":3585,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"boolean"},{"type":"reference","name":"EventListenerOptions"}]}}],"type":{"type":"intrinsic","name":"void"},"overwrites":{"type":"reference","name":"EventTarget.removeEventListener"},"inheritedFrom":{"type":"reference","id":3572,"name":"Window.removeEventListener"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18553,"character":23},{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18554,"character":23}],"overwrites":{"type":"reference","name":"EventTarget.removeEventListener"},"inheritedFrom":{"type":"reference","id":3572,"name":"Window.removeEventListener"}},{"id":3594,"name":"requestAnimationFrame","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":3595,"name":"requestAnimationFrame","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3596,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"FrameRequestCallback"}}],"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":3594,"name":"AnimationFrameProvider.requestAnimationFrame"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":2108,"character":25}],"inheritedFrom":{"type":"reference","id":3594,"name":"AnimationFrameProvider.requestAnimationFrame"}},{"id":3516,"name":"resizeBy","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":3517,"name":"resizeBy","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3518,"name":"x","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}},{"id":3519,"name":"y","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":3516,"name":"Window.resizeBy"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18538,"character":12}],"inheritedFrom":{"type":"reference","id":3516,"name":"Window.resizeBy"}},{"id":3520,"name":"resizeTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":3521,"name":"resizeTo","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3522,"name":"width","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}},{"id":3523,"name":"height","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":3520,"name":"Window.resizeTo"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18539,"character":12}],"inheritedFrom":{"type":"reference","id":3520,"name":"Window.resizeTo"}},{"id":3524,"name":"scroll","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":3525,"name":"scroll","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3526,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","name":"ScrollToOptions"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":3524,"name":"Window.scroll"}},{"id":3527,"name":"scroll","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3528,"name":"x","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}},{"id":3529,"name":"y","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":3524,"name":"Window.scroll"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18540,"character":10},{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18541,"character":10}],"inheritedFrom":{"type":"reference","id":3524,"name":"Window.scroll"}},{"id":3530,"name":"scrollBy","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":3531,"name":"scrollBy","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3532,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","name":"ScrollToOptions"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":3530,"name":"Window.scrollBy"}},{"id":3533,"name":"scrollBy","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3534,"name":"x","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}},{"id":3535,"name":"y","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":3530,"name":"Window.scrollBy"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18542,"character":12},{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18543,"character":12}],"inheritedFrom":{"type":"reference","id":3530,"name":"Window.scrollBy"}},{"id":3536,"name":"scrollTo","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":3537,"name":"scrollTo","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3538,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","name":"ScrollToOptions"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":3536,"name":"Window.scrollTo"}},{"id":3539,"name":"scrollTo","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3540,"name":"x","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}},{"id":3541,"name":"y","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":3536,"name":"Window.scrollTo"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18544,"character":12},{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18545,"character":12}],"inheritedFrom":{"type":"reference","id":3536,"name":"Window.scrollTo"}},{"id":4135,"name":"setInterval","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4136,"name":"setInterval","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4137,"name":"handler","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"TimerHandler"}},{"id":4138,"name":"timeout","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}},{"id":4139,"name":"arguments","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":4135,"name":"WindowOrWorkerGlobalScope.setInterval"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18624,"character":15}],"inheritedFrom":{"type":"reference","id":4135,"name":"WindowOrWorkerGlobalScope.setInterval"}},{"id":4140,"name":"setTimeout","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4141,"name":"setTimeout","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4142,"name":"handler","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"TimerHandler"}},{"id":4143,"name":"timeout","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}},{"id":4144,"name":"arguments","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":4140,"name":"WindowOrWorkerGlobalScope.setTimeout"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18625,"character":14}],"inheritedFrom":{"type":"reference","id":4140,"name":"WindowOrWorkerGlobalScope.setTimeout"}},{"id":3542,"name":"stop","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":3543,"name":"stop","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":3542,"name":"Window.stop"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18546,"character":8}],"inheritedFrom":{"type":"reference","id":3542,"name":"Window.stop"}},{"id":3544,"name":"webkitCancelAnimationFrame","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":3545,"name":"webkitCancelAnimationFrame","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3546,"name":"handle","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","id":3544,"name":"Window.webkitCancelAnimationFrame"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18547,"character":30}],"inheritedFrom":{"type":"reference","id":3544,"name":"Window.webkitCancelAnimationFrame"}},{"id":3547,"name":"webkitConvertPointFromNodeToPage","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":3548,"name":"webkitConvertPointFromNodeToPage","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3549,"name":"node","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Node"}},{"id":3550,"name":"pt","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"WebKitPoint"}}],"type":{"type":"reference","name":"WebKitPoint"},"inheritedFrom":{"type":"reference","id":3547,"name":"Window.webkitConvertPointFromNodeToPage"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18548,"character":36}],"inheritedFrom":{"type":"reference","id":3547,"name":"Window.webkitConvertPointFromNodeToPage"}},{"id":3551,"name":"webkitConvertPointFromPageToNode","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":3552,"name":"webkitConvertPointFromPageToNode","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3553,"name":"node","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"Node"}},{"id":3554,"name":"pt","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"WebKitPoint"}}],"type":{"type":"reference","name":"WebKitPoint"},"inheritedFrom":{"type":"reference","id":3551,"name":"Window.webkitConvertPointFromPageToNode"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18549,"character":36}],"inheritedFrom":{"type":"reference","id":3551,"name":"Window.webkitConvertPointFromPageToNode"}},{"id":3555,"name":"webkitRequestAnimationFrame","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":3556,"name":"webkitRequestAnimationFrame","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":3557,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"FrameRequestCallback"}}],"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","id":3555,"name":"Window.webkitRequestAnimationFrame"}}],"sources":[{"fileName":"node_modules/typescript/lib/lib.dom.d.ts","line":18550,"character":31}],"inheritedFrom":{"type":"reference","id":3555,"name":"Window.webkitRequestAnimationFrame"}}],"groups":[{"title":"Properties","kind":1024,"children":[4152,4151,4153,3246,3245,4146,4155,4157,3247,4154,4156,4099,3248,3249,4159,4100,3250,3251,4158,3252,3253,3254,3255,3256,3257,3258,3259,4101,3260,3261,4102,4162,3262,4098,3263,3264,3265,3266,3267,3268,3269,3597,4018,3602,3607,3612,3617,3622,4023,4028,3627,3632,3637,3642,3647,3652,3657,3270,3662,3667,3672,3275,3280,3285,3290,3677,3682,3687,3692,3697,3702,3707,3712,3717,3722,3727,3732,3733,3738,4033,3743,3748,3753,3758,3763,4038,3768,3773,3778,3783,3788,4043,4048,3793,3798,3803,3808,3813,3818,3823,3295,3300,3305,3310,3315,3320,3325,3330,3335,3340,3345,3350,3355,3360,3365,3370,4053,4058,3375,4063,4068,3828,3833,3838,3843,3848,3853,3858,3863,3868,3873,3878,4073,3883,3888,3380,4078,3893,3898,3903,3908,3913,3918,3923,3928,3933,3938,4083,3943,3948,3953,3958,3963,3968,3973,3978,3983,3988,3993,3998,4088,4093,4003,3385,3390,3395,3400,3405,3410,3415,3420,3425,4008,4013,3430,3431,4103,3432,3433,3434,3435,3436,4104,3437,4172,3438,3439,3440,3441,3442,3443,3444,3445,3446,4145,4168,4163,3447,3448,3449,3450,4170,4166,4167,4169,4171,3451,3452,3453,3454,4161,4160,4164,4165]},{"title":"Methods","kind":2048,"children":[3558,3455,4105,3458,4108,3591,3460,4111,4114,3462,3464,4117,3467,3588,4128,3471,3473,3477,3481,3483,3486,3490,3494,3497,3503,3508,3510,4132,3514,3572,3594,3516,3520,3524,3530,3536,4135,4140,3542,3544,3547,3551,3555]}],"sources":[{"fileName":"Tone/core/context/AudioContext.ts","line":31,"character":20}],"extendedTypes":[{"type":"reference","id":4146,"name":"Window"}]},{"id":4791,"name":"ToneWithContextOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"A unit which process audio"},"children":[{"id":4792,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"}}],"groups":[{"title":"Properties","kind":1024,"children":[4792]}],"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":15,"character":39}],"extendedBy":[{"type":"reference","id":807,"name":"ParamOptions"},{"type":"reference","id":1135,"name":"GainOptions"},{"type":"reference","id":1233,"name":"OneShotSourceOptions"},{"type":"reference","id":1495,"name":"SignalOptions"},{"type":"reference","id":2233,"name":"TransportOptions"},{"type":"reference","id":2445,"name":"VolumeOptions"},{"type":"reference","id":2541,"name":"DestinationOptions"},{"type":"reference","id":2636,"name":"ListenerOptions"},{"type":"reference","id":5043,"name":"TickSourceOptions"},{"type":"reference","id":5151,"name":"ClockOptions"},{"type":"reference","id":5291,"name":"DelayOptions"},{"type":"reference","id":5558,"name":"SourceOptions"},{"type":"reference","id":6061,"name":"UserMediaOptions"},{"type":"reference","id":6993,"name":"WaveShaperOptions"},{"type":"reference","id":8554,"name":"ScaleOptions"},{"type":"reference","id":10148,"name":"PowOptions"},{"type":"reference","id":10537,"name":"EnvelopeOptions"},{"type":"reference","id":10704,"name":"InstrumentOptions"},{"type":"reference","id":11512,"name":"BiquadFilterOptions"},{"type":"reference","id":12850,"name":"FeedbackCombFilterOptions"},{"type":"reference","id":12955,"name":"OnePoleFilterOptions"},{"type":"reference","id":13063,"name":"LowpassCombFilterOptions"},{"type":"reference","id":13621,"name":"ToneEventOptions"},{"type":"reference","id":13753,"name":"LoopOptions"},{"type":"reference","id":14365,"name":"CrossFadeOptions"},{"type":"reference","id":14460,"name":"EffectOptions"},{"type":"reference","id":14799,"name":"TonePannerOptions"},{"type":"reference","id":15008,"name":"FollowerOptions"},{"type":"reference","id":15335,"name":"BitCrusherWorkletOptions"},{"type":"reference","id":15547,"name":"SplitOptions"},{"type":"reference","id":15637,"name":"MergeOptions"},{"type":"reference","id":17992,"name":"AnalyserOptions"},{"type":"reference","id":18194,"name":"MeterOptions"},{"type":"reference","id":18295,"name":"FFTOptions"},{"type":"reference","id":18489,"name":"WaveformOptions"},{"type":"reference","id":18585,"name":"SoloOptions"},{"type":"reference","id":18692,"name":"PanVolOptions"},{"type":"reference","id":18793,"name":"ChannelOptions"},{"type":"reference","id":18998,"name":"MultibandSplitOptions"},{"type":"reference","id":19097,"name":"Panner3DOptions"},{"type":"reference","id":19250,"name":"RecorderOptions"},{"type":"reference","id":19351,"name":"CompressorOptions"},{"type":"reference","id":19453,"name":"GateOptions"},{"type":"reference","id":19556,"name":"LimiterOptions"},{"type":"reference","id":19649,"name":"MidSideCompressorOptions"},{"type":"reference","id":19741,"name":"MultibandCompressorOptions"},{"type":"reference","id":19838,"name":"EQ3Options"},{"type":"reference","id":19943,"name":"ConvolverOptions"}]},{"id":2159,"name":"TransportEventOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":2160,"name":"callback","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/clock/TransportEvent.ts","line":7,"character":9}],"type":{"type":"reflection","declaration":{"id":2161,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":2162,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":2163,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/clock/TransportEvent.ts","line":7,"character":10}]}}},{"id":2164,"name":"once","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/clock/TransportEvent.ts","line":8,"character":5}],"type":{"type":"intrinsic","name":"boolean"}},{"id":2165,"name":"time","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/clock/TransportEvent.ts","line":9,"character":5}],"type":{"type":"reference","id":35,"name":"Ticks"}}],"groups":[{"title":"Properties","kind":1024,"children":[2160,2164,2165]}],"sources":[{"fileName":"Tone/core/clock/TransportEvent.ts","line":6,"character":38}],"extendedBy":[{"type":"reference","id":2191,"name":"TransportRepeatEventOptions"}]},{"id":2233,"name":"TransportOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":2234,"name":"bpm","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":26,"character":4}],"type":{"type":"reference","id":36,"name":"BPM"}},{"id":2241,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":2239,"name":"loopEnd","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":31,"character":8}],"type":{"type":"reference","id":31,"name":"Time"}},{"id":2238,"name":"loopStart","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":30,"character":10}],"type":{"type":"reference","id":31,"name":"Time"}},{"id":2240,"name":"ppq","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":32,"character":4}],"type":{"type":"intrinsic","name":"number"}},{"id":2235,"name":"swing","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":27,"character":6}],"type":{"type":"reference","id":23,"name":"NormalRange"}},{"id":2236,"name":"swingSubdivision","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":28,"character":17}],"type":{"type":"reference","id":28,"name":"Subdivision"}},{"id":2237,"name":"timeSignature","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":29,"character":14}],"type":{"type":"intrinsic","name":"number"}}],"groups":[{"title":"Properties","kind":1024,"children":[2234,2241,2239,2238,2240,2235,2236,2237]}],"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":25,"character":26}],"extendedTypes":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}]},{"id":2191,"name":"TransportRepeatEventOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":2194,"name":"callback","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/clock/TransportEvent.ts","line":7,"character":9}],"type":{"type":"reflection","declaration":{"id":2195,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":2196,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":2197,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/clock/TransportEvent.ts","line":7,"character":10}]}},"inheritedFrom":{"type":"reference","id":2160,"name":"TransportEventOptions.callback"}},{"id":2193,"name":"duration","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/clock/TransportRepeatEvent.ts","line":11,"character":9}],"type":{"type":"reference","id":35,"name":"Ticks"}},{"id":2192,"name":"interval","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/clock/TransportRepeatEvent.ts","line":10,"character":9}],"type":{"type":"reference","id":35,"name":"Ticks"}},{"id":2198,"name":"once","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/clock/TransportEvent.ts","line":8,"character":5}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","id":2164,"name":"TransportEventOptions.once"}},{"id":2199,"name":"time","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/clock/TransportEvent.ts","line":9,"character":5}],"type":{"type":"reference","id":35,"name":"Ticks"},"inheritedFrom":{"type":"reference","id":2165,"name":"TransportEventOptions.time"}}],"groups":[{"title":"Properties","kind":1024,"children":[2194,2193,2192,2198,2199]}],"sources":[{"fileName":"Tone/core/clock/TransportRepeatEvent.ts","line":9,"character":37}],"extendedTypes":[{"type":"reference","id":2159,"name":"TransportEventOptions"}]},{"id":17757,"name":"TremoloOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":17763,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":17760,"name":"depth","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/Tremolo.ts","line":13,"character":6}],"type":{"type":"reference","id":23,"name":"NormalRange"}},{"id":17758,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/Tremolo.ts","line":11,"character":10}],"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":17761,"name":"spread","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/Tremolo.ts","line":14,"character":7}],"type":{"type":"reference","id":37,"name":"Degrees"}},{"id":17759,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/Tremolo.ts","line":12,"character":5}],"type":{"type":"reference","id":6554,"name":"ToneOscillatorType"}},{"id":17762,"name":"wet","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/Effect.ts","line":9,"character":4}],"type":{"type":"reference","id":23,"name":"NormalRange"},"inheritedFrom":{"type":"reference","id":14461,"name":"EffectOptions.wet"}}],"groups":[{"title":"Properties","kind":1024,"children":[17763,17760,17758,17761,17759,17762]}],"sources":[{"fileName":"Tone/effect/Tremolo.ts","line":10,"character":31}],"extendedTypes":[{"type":"reference","id":14460,"name":"EffectOptions"}]},{"id":416,"name":"TypeFunction","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":418,"name":"method","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":15,"character":7}],"type":{"type":"reflection","declaration":{"id":419,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":420,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":421,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"string"}},{"id":422,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"string"}}}],"type":{"type":"intrinsic","name":"number"}}],"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":15,"character":8}]}}},{"id":417,"name":"regexp","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":14,"character":7}],"type":{"type":"reference","name":"RegExp"}}],"groups":[{"title":"Properties","kind":1024,"children":[418,417]}],"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":13,"character":29}]},{"id":4,"name":"UnitMap","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Map the unit name to a unit value"},"children":[{"id":8,"name":"audioRange","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/type/Units.ts","line":179,"character":11}],"type":{"type":"reference","id":24,"name":"AudioRange"}},{"id":15,"name":"bpm","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/type/Units.ts","line":186,"character":4}],"type":{"type":"reference","id":36,"name":"BPM"}},{"id":20,"name":"cents","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/type/Units.ts","line":191,"character":6}],"type":{"type":"reference","id":42,"name":"Cents"}},{"id":6,"name":"decibels","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/type/Units.ts","line":177,"character":9}],"type":{"type":"reference","id":22,"name":"Decibels"}},{"id":16,"name":"degrees","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/type/Units.ts","line":187,"character":8}],"type":{"type":"reference","id":37,"name":"Degrees"}},{"id":12,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/type/Units.ts","line":183,"character":10}],"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":9,"name":"gain","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/type/Units.ts","line":180,"character":5}],"type":{"type":"reference","id":26,"name":"GainFactor"}},{"id":19,"name":"hertz","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/type/Units.ts","line":190,"character":6}],"type":{"type":"reference","id":41,"name":"Hertz"}},{"id":7,"name":"normalRange","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/type/Units.ts","line":178,"character":12}],"type":{"type":"reference","id":23,"name":"NormalRange"}},{"id":5,"name":"number","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/type/Units.ts","line":176,"character":7}],"type":{"type":"intrinsic","name":"number"}},{"id":10,"name":"positive","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/type/Units.ts","line":181,"character":9}],"type":{"type":"reference","id":27,"name":"Positive"}},{"id":17,"name":"radians","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/type/Units.ts","line":188,"character":8}],"type":{"type":"reference","id":38,"name":"Radians"}},{"id":18,"name":"samples","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/type/Units.ts","line":189,"character":8}],"type":{"type":"reference","id":40,"name":"Samples"}},{"id":14,"name":"ticks","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/type/Units.ts","line":185,"character":6}],"type":{"type":"reference","id":35,"name":"Ticks"}},{"id":11,"name":"time","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/type/Units.ts","line":182,"character":5}],"type":{"type":"reference","id":31,"name":"Time"}},{"id":13,"name":"transportTime","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/type/Units.ts","line":184,"character":14}],"type":{"type":"reference","id":34,"name":"TransportTime"}}],"groups":[{"title":"Properties","kind":1024,"children":[8,15,20,6,16,12,9,19,7,5,10,17,18,14,11,13]}],"sources":[{"fileName":"Tone/core/type/Units.ts","line":175,"character":24}]},{"id":6061,"name":"UserMediaOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":6064,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":6063,"name":"mute","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/UserMedia.ts","line":12,"character":5}],"type":{"type":"intrinsic","name":"boolean"}},{"id":6062,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/UserMedia.ts","line":11,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"}}],"groups":[{"title":"Properties","kind":1024,"children":[6064,6063,6062]}],"sources":[{"fileName":"Tone/source/UserMedia.ts","line":10,"character":33}],"extendedTypes":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}]},{"id":17884,"name":"VibratoOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":17890,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":17887,"name":"depth","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/Vibrato.ts","line":14,"character":6}],"type":{"type":"reference","id":23,"name":"NormalRange"}},{"id":17886,"name":"frequency","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/Vibrato.ts","line":13,"character":10}],"type":{"type":"reference","id":32,"name":"Frequency"}},{"id":17885,"name":"maxDelay","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/Vibrato.ts","line":12,"character":9}],"type":{"type":"reference","id":21,"name":"Seconds"}},{"id":17888,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/Vibrato.ts","line":15,"character":5}],"type":{"type":"reference","id":6554,"name":"ToneOscillatorType"}},{"id":17889,"name":"wet","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/Effect.ts","line":9,"character":4}],"type":{"type":"reference","id":23,"name":"NormalRange"},"inheritedFrom":{"type":"reference","id":14461,"name":"EffectOptions.wet"}}],"groups":[{"title":"Properties","kind":1024,"children":[17890,17887,17886,17885,17888,17889]}],"sources":[{"fileName":"Tone/effect/Vibrato.ts","line":11,"character":31}],"extendedTypes":[{"type":"reference","id":14460,"name":"EffectOptions"}]},{"id":2445,"name":"VolumeOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":2448,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":2447,"name":"mute","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/channel/Volume.ts","line":10,"character":5}],"type":{"type":"intrinsic","name":"boolean"}},{"id":2446,"name":"volume","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/channel/Volume.ts","line":9,"character":7}],"type":{"type":"reference","id":22,"name":"Decibels"}}],"groups":[{"title":"Properties","kind":1024,"children":[2448,2447,2446]}],"sources":[{"fileName":"Tone/component/channel/Volume.ts","line":8,"character":23}],"extendedTypes":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}]},{"id":6993,"name":"WaveShaperOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":6997,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":6996,"name":"curve","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"sources":[{"fileName":"Tone/signal/WaveShaper.ts","line":15,"character":6}],"type":{"type":"union","types":[{"type":"array","elementType":{"type":"intrinsic","name":"number"}},{"type":"reference","name":"Float32Array"}]}},{"id":6995,"name":"length","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/signal/WaveShaper.ts","line":14,"character":7}],"type":{"type":"intrinsic","name":"number"}},{"id":6994,"name":"mapping","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"sources":[{"fileName":"Tone/signal/WaveShaper.ts","line":13,"character":8}],"type":{"type":"reference","id":7103,"name":"WaveShaperMapping"}}],"groups":[{"title":"Properties","kind":1024,"children":[6997,6996,6995,6994]}],"sources":[{"fileName":"Tone/signal/WaveShaper.ts","line":12,"character":27}],"extendedTypes":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}]},{"id":18489,"name":"WaveformOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":18491,"name":"context","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneWithContext.ts","line":16,"character":8}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"inheritedFrom":{"type":"reference","id":816,"name":"ToneWithContextOptions.context"}},{"id":18490,"name":"size","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The size of the Waveform. Value must be a power of two in the range 16 to 16384."},"sources":[{"fileName":"Tone/component/analysis/Waveform.ts","line":9,"character":5}],"type":{"type":"reference","id":44,"name":"PowerOfTwo"}}],"groups":[{"title":"Properties","kind":1024,"children":[18491,18490]}],"sources":[{"fileName":"Tone/component/analysis/Waveform.ts","line":5,"character":32}],"extendedTypes":[{"type":"reference","id":4791,"name":"ToneWithContextOptions"}]},{"id":6558,"name":"AMConstructorOptions","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":246,"character":32}],"type":{"type":"union","types":[{"type":"reference","id":6309,"name":"AMCustomOscillatorOptions"},{"type":"reference","id":6321,"name":"AMTypeOscillatorOptions"},{"type":"reference","id":6333,"name":"AMPartialsOscillatorOptions"}]}},{"id":6567,"name":"AMSawtoothWithPartials","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":345,"character":27}],"type":{"type":"union","types":[{"type":"stringLiteral","value":"amsawtooth1"},{"type":"stringLiteral","value":"amsawtooth2"},{"type":"stringLiteral","value":"amsawtooth3"},{"type":"stringLiteral","value":"amsawtooth4"},{"type":"stringLiteral","value":"amsawtooth5"},{"type":"stringLiteral","value":"amsawtooth6"},{"type":"stringLiteral","value":"amsawtooth7"},{"type":"stringLiteral","value":"amsawtooth8"},{"type":"stringLiteral","value":"amsawtooth9"},{"type":"stringLiteral","value":"amsawtooth10"},{"type":"stringLiteral","value":"amsawtooth11"},{"type":"stringLiteral","value":"amsawtooth12"},{"type":"stringLiteral","value":"amsawtooth13"},{"type":"stringLiteral","value":"amsawtooth14"},{"type":"stringLiteral","value":"amsawtooth15"},{"type":"stringLiteral","value":"amsawtooth16"},{"type":"stringLiteral","value":"amsawtooth17"},{"type":"stringLiteral","value":"amsawtooth18"},{"type":"stringLiteral","value":"amsawtooth19"},{"type":"stringLiteral","value":"amsawtooth20"},{"type":"stringLiteral","value":"amsawtooth21"},{"type":"stringLiteral","value":"amsawtooth22"},{"type":"stringLiteral","value":"amsawtooth23"},{"type":"stringLiteral","value":"amsawtooth24"},{"type":"stringLiteral","value":"amsawtooth25"},{"type":"stringLiteral","value":"amsawtooth26"},{"type":"stringLiteral","value":"amsawtooth27"},{"type":"stringLiteral","value":"amsawtooth28"},{"type":"stringLiteral","value":"amsawtooth29"},{"type":"stringLiteral","value":"amsawtooth30"},{"type":"stringLiteral","value":"amsawtooth31"},{"type":"stringLiteral","value":"amsawtooth32"}]}},{"id":6565,"name":"AMSineWithPartials","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"comment":{"shortText":"AM Oscillators with partials"},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":333,"character":23}],"type":{"type":"union","types":[{"type":"stringLiteral","value":"amsine1"},{"type":"stringLiteral","value":"amsine2"},{"type":"stringLiteral","value":"amsine3"},{"type":"stringLiteral","value":"amsine4"},{"type":"stringLiteral","value":"amsine5"},{"type":"stringLiteral","value":"amsine6"},{"type":"stringLiteral","value":"amsine7"},{"type":"stringLiteral","value":"amsine8"},{"type":"stringLiteral","value":"amsine9"},{"type":"stringLiteral","value":"amsine10"},{"type":"stringLiteral","value":"amsine11"},{"type":"stringLiteral","value":"amsine12"},{"type":"stringLiteral","value":"amsine13"},{"type":"stringLiteral","value":"amsine14"},{"type":"stringLiteral","value":"amsine15"},{"type":"stringLiteral","value":"amsine16"},{"type":"stringLiteral","value":"amsine17"},{"type":"stringLiteral","value":"amsine18"},{"type":"stringLiteral","value":"amsine19"},{"type":"stringLiteral","value":"amsine20"},{"type":"stringLiteral","value":"amsine21"},{"type":"stringLiteral","value":"amsine22"},{"type":"stringLiteral","value":"amsine23"},{"type":"stringLiteral","value":"amsine24"},{"type":"stringLiteral","value":"amsine25"},{"type":"stringLiteral","value":"amsine26"},{"type":"stringLiteral","value":"amsine27"},{"type":"stringLiteral","value":"amsine28"},{"type":"stringLiteral","value":"amsine29"},{"type":"stringLiteral","value":"amsine30"},{"type":"stringLiteral","value":"amsine31"},{"type":"stringLiteral","value":"amsine32"}]}},{"id":6566,"name":"AMSquareWithPartials","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":339,"character":25}],"type":{"type":"union","types":[{"type":"stringLiteral","value":"amsquare1"},{"type":"stringLiteral","value":"amsquare2"},{"type":"stringLiteral","value":"amsquare3"},{"type":"stringLiteral","value":"amsquare4"},{"type":"stringLiteral","value":"amsquare5"},{"type":"stringLiteral","value":"amsquare6"},{"type":"stringLiteral","value":"amsquare7"},{"type":"stringLiteral","value":"amsquare8"},{"type":"stringLiteral","value":"amsquare9"},{"type":"stringLiteral","value":"amsquare10"},{"type":"stringLiteral","value":"amsquare11"},{"type":"stringLiteral","value":"amsquare12"},{"type":"stringLiteral","value":"amsquare13"},{"type":"stringLiteral","value":"amsquare14"},{"type":"stringLiteral","value":"amsquare15"},{"type":"stringLiteral","value":"amsquare16"},{"type":"stringLiteral","value":"amsquare17"},{"type":"stringLiteral","value":"amsquare18"},{"type":"stringLiteral","value":"amsquare19"},{"type":"stringLiteral","value":"amsquare20"},{"type":"stringLiteral","value":"amsquare21"},{"type":"stringLiteral","value":"amsquare22"},{"type":"stringLiteral","value":"amsquare23"},{"type":"stringLiteral","value":"amsquare24"},{"type":"stringLiteral","value":"amsquare25"},{"type":"stringLiteral","value":"amsquare26"},{"type":"stringLiteral","value":"amsquare27"},{"type":"stringLiteral","value":"amsquare28"},{"type":"stringLiteral","value":"amsquare29"},{"type":"stringLiteral","value":"amsquare30"},{"type":"stringLiteral","value":"amsquare31"},{"type":"stringLiteral","value":"amsquare32"}]}},{"id":11511,"name":"AMSynthOptions","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/AMSynth.ts","line":6,"character":26}],"type":{"type":"reference","id":11228,"name":"ModulationSynthOptions"}},{"id":6568,"name":"AMTriangleWithPartials","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":351,"character":27}],"type":{"type":"union","types":[{"type":"stringLiteral","value":"amtriangle1"},{"type":"stringLiteral","value":"amtriangle2"},{"type":"stringLiteral","value":"amtriangle3"},{"type":"stringLiteral","value":"amtriangle4"},{"type":"stringLiteral","value":"amtriangle5"},{"type":"stringLiteral","value":"amtriangle6"},{"type":"stringLiteral","value":"amtriangle7"},{"type":"stringLiteral","value":"amtriangle8"},{"type":"stringLiteral","value":"amtriangle9"},{"type":"stringLiteral","value":"amtriangle10"},{"type":"stringLiteral","value":"amtriangle11"},{"type":"stringLiteral","value":"amtriangle12"},{"type":"stringLiteral","value":"amtriangle13"},{"type":"stringLiteral","value":"amtriangle14"},{"type":"stringLiteral","value":"amtriangle15"},{"type":"stringLiteral","value":"amtriangle16"},{"type":"stringLiteral","value":"amtriangle17"},{"type":"stringLiteral","value":"amtriangle18"},{"type":"stringLiteral","value":"amtriangle19"},{"type":"stringLiteral","value":"amtriangle20"},{"type":"stringLiteral","value":"amtriangle21"},{"type":"stringLiteral","value":"amtriangle22"},{"type":"stringLiteral","value":"amtriangle23"},{"type":"stringLiteral","value":"amtriangle24"},{"type":"stringLiteral","value":"amtriangle25"},{"type":"stringLiteral","value":"amtriangle26"},{"type":"stringLiteral","value":"amtriangle27"},{"type":"stringLiteral","value":"amtriangle28"},{"type":"stringLiteral","value":"amtriangle29"},{"type":"stringLiteral","value":"amtriangle30"},{"type":"stringLiteral","value":"amtriangle31"},{"type":"stringLiteral","value":"amtriangle32"}]}},{"id":6569,"name":"AMTypeWithPartials","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":357,"character":23}],"type":{"type":"union","types":[{"type":"reference","id":6565,"name":"AMSineWithPartials"},{"type":"reference","id":6566,"name":"AMSquareWithPartials"},{"type":"reference","id":6567,"name":"AMSawtoothWithPartials"},{"type":"reference","id":6568,"name":"AMTriangleWithPartials"}]}},{"id":6553,"name":"AllNonCustomOscillatorType","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":162,"character":31}],"type":{"type":"union","types":[{"type":"reference","id":6552,"name":"NonCustomOscillatorType"},{"type":"reference","id":6551,"name":"TypeWithPartials"}]}},{"id":18106,"name":"AnalyserType","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/analysis/Analyser.ts","line":8,"character":24}],"type":{"type":"union","types":[{"type":"stringLiteral","value":"fft"},{"type":"stringLiteral","value":"waveform"}]}},{"id":4181,"name":"AnyAudioContext","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"comment":{"shortText":"Either the online or offline audio context"},"sources":[{"fileName":"Tone/core/context/AudioContext.ts","line":26,"character":27}],"type":{"type":"union","types":[{"type":"reference","name":"AudioContext"},{"type":"reference","name":"OfflineAudioContext"}]}},{"id":8355,"name":"AnyOscillator","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"comment":{"shortText":"All of the oscillator types that OmniOscillator can take on"},"sources":[{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":24,"character":18}],"type":{"type":"union","types":[{"type":"reference","id":6718,"name":"Oscillator"},{"type":"reference","id":8011,"name":"PWMOscillator"},{"type":"reference","id":7686,"name":"PulseOscillator"},{"type":"reference","id":7837,"name":"FatOscillator"},{"type":"reference","id":7362,"name":"AMOscillator"},{"type":"reference","id":7524,"name":"FMOscillator"}]}},{"id":8372,"name":"AnyOscillatorConstructor","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":50,"character":29}],"type":{"type":"reflection","declaration":{"id":8373,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":50,"character":31}]}}},{"id":24,"name":"AudioRange","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"comment":{"shortText":"A number that is between [-1, 1]"},"sources":[{"fileName":"Tone/core/type/Units.ts","line":27,"character":22}],"type":{"type":"intrinsic","name":"number"}},{"id":999,"name":"AutomationEvent","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"comment":{"shortText":"The events on the automation"},"sources":[{"fileName":"Tone/core/context/Param.ts","line":42,"character":27}],"type":{"type":"union","types":[{"type":"reference","id":822,"name":"NormalAutomationEvent"},{"type":"reference","id":817,"name":"TargetAutomationEvent"}]}},{"id":998,"name":"AutomationType","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"comment":{"shortText":"the possible automation types"},"sources":[{"fileName":"Tone/core/context/Param.ts","line":25,"character":19}],"type":{"type":"union","types":[{"type":"stringLiteral","value":"linearRampToValueAtTime"},{"type":"stringLiteral","value":"exponentialRampToValueAtTime"},{"type":"stringLiteral","value":"setValueAtTime"},{"type":"stringLiteral","value":"setTargetAtTime"},{"type":"stringLiteral","value":"cancelScheduledValues"}]}},{"id":36,"name":"BPM","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"comment":{"shortText":"Beats per minute"},"sources":[{"fileName":"Tone/core/type/Units.ts","line":120,"character":15}],"type":{"type":"intrinsic","name":"number"}},{"id":39,"name":"BarsBeatsSixteenths","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"comment":{"shortText":"A colon-separated representation of time in the form of\nBars:Beats:Sixteenths."},"sources":[{"fileName":"Tone/core/type/Units.ts","line":139,"character":31}],"type":{"type":"intrinsic","name":"string"}},{"id":3211,"name":"BaseAudioContextSubset","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":22,"character":34}],"type":{"type":"reference","id":1119,"typeArguments":[{"type":"reference","name":"BaseAudioContext"},{"type":"reference","id":3210,"name":"ExcludedFromBaseAudioContext"}],"name":"Omit"}},{"id":10698,"name":"BasicEnvelopeCurve","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":11,"character":23}],"type":{"type":"union","types":[{"type":"stringLiteral","value":"linear"},{"type":"stringLiteral","value":"exponential"}]}},{"id":705,"name":"BasicPlaybackState","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/util/StateTimeline.ts","line":5,"character":30}],"type":{"type":"union","types":[{"type":"stringLiteral","value":"started"},{"type":"stringLiteral","value":"stopped"}]}},{"id":14032,"name":"CallbackType","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"typeParameter":[{"id":14033,"name":"T","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}}],"sources":[{"fileName":"Tone/event/Part.ts","line":9,"character":17}],"type":{"type":"conditional","checkType":{"type":"typeParameter","name":"T"},"extendsType":{"type":"reflection","declaration":{"id":14034,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"indexSignature":[{"id":14036,"name":"__index","kind":8192,"kindString":"Index signature","flags":{"isExported":true},"parameters":[{"id":14037,"name":"key","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"any"}}],"children":[{"id":14035,"name":"time","kind":32,"kindString":"Variable","flags":{"isExported":true},"sources":[{"fileName":"Tone/event/Part.ts","line":11,"character":6}],"type":{"type":"reference","id":31,"name":"Time"}}],"groups":[{"title":"Variables","kind":32,"children":[14035]}],"sources":[{"fileName":"Tone/event/Part.ts","line":10,"character":10}]}},"trueType":{"type":"reference","name":"T"},"falseType":{"type":"conditional","checkType":{"type":"typeParameter","name":"T"},"extendsType":{"type":"reference","typeArguments":[{"type":"intrinsic","name":"any"}],"name":"ArrayLike"},"trueType":{"type":"indexedAccess","indexType":{"type":"unknown","name":"1"},"objectType":{"type":"reference","name":"T"}},"falseType":{"type":"conditional","checkType":{"type":"typeParameter","name":"T"},"extendsType":{"type":"reference","name":"Time"},"trueType":{"type":"intrinsic","name":"null"},"falseType":{"type":"intrinsic","name":"never"}}}}},{"id":42,"name":"Cents","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"comment":{"shortText":"A Cent is 1/100th of a semitone.\ne.g. a value of 50 cents would be halfway between two intervals."},"sources":[{"fileName":"Tone/core/type/Units.ts","line":158,"character":17}],"type":{"type":"intrinsic","name":"number"}},{"id":20052,"name":"ClassesWithoutSingletons","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/fromContext.ts","line":15,"character":29}],"type":{"type":"reference","id":1119,"typeArguments":[{"type":"query","queryType":{"type":"reference","name":"Classes"}},{"type":"union","types":[{"type":"stringLiteral","value":"Transport"},{"type":"stringLiteral","value":"Destination"},{"type":"stringLiteral","value":"Draw"}]}],"name":"Omit"}},{"id":5285,"name":"ClockCallback","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/clock/Clock.ts","line":11,"character":18}],"type":{"type":"reflection","declaration":{"id":5286,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":5287,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":5288,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":21,"name":"Seconds"}},{"id":5289,"name":"ticks","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":35,"name":"Ticks"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/clock/Clock.ts","line":11,"character":20}]}}},{"id":5290,"name":"ClockEvent","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/clock/Clock.ts","line":19,"character":15}],"type":{"type":"union","types":[{"type":"stringLiteral","value":"start"},{"type":"stringLiteral","value":"stop"},{"type":"stringLiteral","value":"pause"}]}},{"id":3212,"name":"ContextLatencyHint","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":27,"character":30}],"type":{"type":"reference","name":"AudioContextLatencyCategory"}},{"id":18488,"name":"DCMeterOptions","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/analysis/DCMeter.ts","line":4,"character":26}],"type":{"type":"reference","id":18193,"name":"MeterBaseOptions"}},{"id":22,"name":"Decibels","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"comment":{"shortText":"A number used to measure the intensity of a sound on a logarithmic scale."},"sources":[{"fileName":"Tone/core/type/Units.ts","line":15,"character":20}],"type":{"type":"intrinsic","name":"number"}},{"id":37,"name":"Degrees","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"comment":{"shortText":"Angle between 0 and 360."},"sources":[{"fileName":"Tone/core/type/Units.ts","line":126,"character":19}],"type":{"type":"intrinsic","name":"number"}},{"id":10700,"name":"EnvelopeCurve","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":13,"character":25}],"type":{"type":"union","types":[{"type":"reference","id":10702,"name":"EnvelopeCurveName"},{"type":"array","elementType":{"type":"intrinsic","name":"number"}}]}},{"id":10702,"name":"EnvelopeCurveName","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":527,"character":22}],"type":{"type":"typeOperator","operator":"keyof","target":{"type":"reference","id":10690,"name":"EnvelopeCurveMap"}}},{"id":10701,"name":"EnvelopeDirection","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":515,"character":22}],"type":{"type":"typeOperator","operator":"keyof","target":{"type":"reference","id":10687,"name":"EnvelopeCurveObject"}}},{"id":3210,"name":"ExcludedFromBaseAudioContext","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/BaseContext.ts","line":11,"character":40}],"type":{"type":"union","types":[{"type":"stringLiteral","value":"onstatechange"},{"type":"stringLiteral","value":"addEventListener"},{"type":"stringLiteral","value":"removeEventListener"},{"type":"stringLiteral","value":"listener"},{"type":"stringLiteral","value":"dispatchEvent"},{"type":"stringLiteral","value":"audioWorklet"},{"type":"stringLiteral","value":"destination"},{"type":"stringLiteral","value":"createScriptProcessor"}]}},{"id":6555,"name":"ExtendedToneOscillatorType","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":166,"character":38}],"type":{"type":"union","types":[{"type":"reference","id":6554,"name":"ToneOscillatorType"},{"type":"stringLiteral","value":"pwm"},{"type":"stringLiteral","value":"pulse"}]}},{"id":6557,"name":"FMConstructorOptions","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":216,"character":32}],"type":{"type":"union","types":[{"type":"reference","id":6260,"name":"FMTypeOscillatorOptions"},{"type":"reference","id":6247,"name":"FMCustomOscillatorOptions"},{"type":"reference","id":6273,"name":"FMPartialsOscillatorOptions"}]}},{"id":6562,"name":"FMSawtoothWithPartials","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":316,"character":27}],"type":{"type":"union","types":[{"type":"stringLiteral","value":"fmsawtooth1"},{"type":"stringLiteral","value":"fmsawtooth2"},{"type":"stringLiteral","value":"fmsawtooth3"},{"type":"stringLiteral","value":"fmsawtooth4"},{"type":"stringLiteral","value":"fmsawtooth5"},{"type":"stringLiteral","value":"fmsawtooth6"},{"type":"stringLiteral","value":"fmsawtooth7"},{"type":"stringLiteral","value":"fmsawtooth8"},{"type":"stringLiteral","value":"fmsawtooth9"},{"type":"stringLiteral","value":"fmsawtooth10"},{"type":"stringLiteral","value":"fmsawtooth11"},{"type":"stringLiteral","value":"fmsawtooth12"},{"type":"stringLiteral","value":"fmsawtooth13"},{"type":"stringLiteral","value":"fmsawtooth14"},{"type":"stringLiteral","value":"fmsawtooth15"},{"type":"stringLiteral","value":"fmsawtooth16"},{"type":"stringLiteral","value":"fmsawtooth17"},{"type":"stringLiteral","value":"fmsawtooth18"},{"type":"stringLiteral","value":"fmsawtooth19"},{"type":"stringLiteral","value":"fmsawtooth20"},{"type":"stringLiteral","value":"fmsawtooth21"},{"type":"stringLiteral","value":"fmsawtooth22"},{"type":"stringLiteral","value":"fmsawtooth23"},{"type":"stringLiteral","value":"fmsawtooth24"},{"type":"stringLiteral","value":"fmsawtooth25"},{"type":"stringLiteral","value":"fmsawtooth26"},{"type":"stringLiteral","value":"fmsawtooth27"},{"type":"stringLiteral","value":"fmsawtooth28"},{"type":"stringLiteral","value":"fmsawtooth29"},{"type":"stringLiteral","value":"fmsawtooth30"},{"type":"stringLiteral","value":"fmsawtooth31"},{"type":"stringLiteral","value":"fmsawtooth32"}]}},{"id":6560,"name":"FMSineWithPartials","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"comment":{"shortText":"FM Oscillators with partials"},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":304,"character":23}],"type":{"type":"union","types":[{"type":"stringLiteral","value":"fmsine1"},{"type":"stringLiteral","value":"fmsine2"},{"type":"stringLiteral","value":"fmsine3"},{"type":"stringLiteral","value":"fmsine4"},{"type":"stringLiteral","value":"fmsine5"},{"type":"stringLiteral","value":"fmsine6"},{"type":"stringLiteral","value":"fmsine7"},{"type":"stringLiteral","value":"fmsine8"},{"type":"stringLiteral","value":"fmsine9"},{"type":"stringLiteral","value":"fmsine10"},{"type":"stringLiteral","value":"fmsine11"},{"type":"stringLiteral","value":"fmsine12"},{"type":"stringLiteral","value":"fmsine13"},{"type":"stringLiteral","value":"fmsine14"},{"type":"stringLiteral","value":"fmsine15"},{"type":"stringLiteral","value":"fmsine16"},{"type":"stringLiteral","value":"fmsine17"},{"type":"stringLiteral","value":"fmsine18"},{"type":"stringLiteral","value":"fmsine19"},{"type":"stringLiteral","value":"fmsine20"},{"type":"stringLiteral","value":"fmsine21"},{"type":"stringLiteral","value":"fmsine22"},{"type":"stringLiteral","value":"fmsine23"},{"type":"stringLiteral","value":"fmsine24"},{"type":"stringLiteral","value":"fmsine25"},{"type":"stringLiteral","value":"fmsine26"},{"type":"stringLiteral","value":"fmsine27"},{"type":"stringLiteral","value":"fmsine28"},{"type":"stringLiteral","value":"fmsine29"},{"type":"stringLiteral","value":"fmsine30"},{"type":"stringLiteral","value":"fmsine31"},{"type":"stringLiteral","value":"fmsine32"}]}},{"id":6561,"name":"FMSquareWithPartials","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":310,"character":25}],"type":{"type":"union","types":[{"type":"stringLiteral","value":"fmsquare1"},{"type":"stringLiteral","value":"fmsquare2"},{"type":"stringLiteral","value":"fmsquare3"},{"type":"stringLiteral","value":"fmsquare4"},{"type":"stringLiteral","value":"fmsquare5"},{"type":"stringLiteral","value":"fmsquare6"},{"type":"stringLiteral","value":"fmsquare7"},{"type":"stringLiteral","value":"fmsquare8"},{"type":"stringLiteral","value":"fmsquare9"},{"type":"stringLiteral","value":"fmsquare10"},{"type":"stringLiteral","value":"fmsquare11"},{"type":"stringLiteral","value":"fmsquare12"},{"type":"stringLiteral","value":"fmsquare13"},{"type":"stringLiteral","value":"fmsquare14"},{"type":"stringLiteral","value":"fmsquare15"},{"type":"stringLiteral","value":"fmsquare16"},{"type":"stringLiteral","value":"fmsquare17"},{"type":"stringLiteral","value":"fmsquare18"},{"type":"stringLiteral","value":"fmsquare19"},{"type":"stringLiteral","value":"fmsquare20"},{"type":"stringLiteral","value":"fmsquare21"},{"type":"stringLiteral","value":"fmsquare22"},{"type":"stringLiteral","value":"fmsquare23"},{"type":"stringLiteral","value":"fmsquare24"},{"type":"stringLiteral","value":"fmsquare25"},{"type":"stringLiteral","value":"fmsquare26"},{"type":"stringLiteral","value":"fmsquare27"},{"type":"stringLiteral","value":"fmsquare28"},{"type":"stringLiteral","value":"fmsquare29"},{"type":"stringLiteral","value":"fmsquare30"},{"type":"stringLiteral","value":"fmsquare31"},{"type":"stringLiteral","value":"fmsquare32"}]}},{"id":6563,"name":"FMTriangleWithPartials","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":322,"character":27}],"type":{"type":"union","types":[{"type":"stringLiteral","value":"fmtriangle1"},{"type":"stringLiteral","value":"fmtriangle2"},{"type":"stringLiteral","value":"fmtriangle3"},{"type":"stringLiteral","value":"fmtriangle4"},{"type":"stringLiteral","value":"fmtriangle5"},{"type":"stringLiteral","value":"fmtriangle6"},{"type":"stringLiteral","value":"fmtriangle7"},{"type":"stringLiteral","value":"fmtriangle8"},{"type":"stringLiteral","value":"fmtriangle9"},{"type":"stringLiteral","value":"fmtriangle10"},{"type":"stringLiteral","value":"fmtriangle11"},{"type":"stringLiteral","value":"fmtriangle12"},{"type":"stringLiteral","value":"fmtriangle13"},{"type":"stringLiteral","value":"fmtriangle14"},{"type":"stringLiteral","value":"fmtriangle15"},{"type":"stringLiteral","value":"fmtriangle16"},{"type":"stringLiteral","value":"fmtriangle17"},{"type":"stringLiteral","value":"fmtriangle18"},{"type":"stringLiteral","value":"fmtriangle19"},{"type":"stringLiteral","value":"fmtriangle20"},{"type":"stringLiteral","value":"fmtriangle21"},{"type":"stringLiteral","value":"fmtriangle22"},{"type":"stringLiteral","value":"fmtriangle23"},{"type":"stringLiteral","value":"fmtriangle24"},{"type":"stringLiteral","value":"fmtriangle25"},{"type":"stringLiteral","value":"fmtriangle26"},{"type":"stringLiteral","value":"fmtriangle27"},{"type":"stringLiteral","value":"fmtriangle28"},{"type":"stringLiteral","value":"fmtriangle29"},{"type":"stringLiteral","value":"fmtriangle30"},{"type":"stringLiteral","value":"fmtriangle31"},{"type":"stringLiteral","value":"fmtriangle32"}]}},{"id":6564,"name":"FMTypeWithPartials","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":328,"character":23}],"type":{"type":"union","types":[{"type":"reference","id":6560,"name":"FMSineWithPartials"},{"type":"reference","id":6561,"name":"FMSquareWithPartials"},{"type":"reference","id":6562,"name":"FMSawtoothWithPartials"},{"type":"reference","id":6563,"name":"FMTriangleWithPartials"}]}},{"id":6559,"name":"FatConstructorOptions","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":274,"character":33}],"type":{"type":"union","types":[{"type":"reference","id":6367,"name":"FatCustomOscillatorOptions"},{"type":"reference","id":6379,"name":"FatTypeOscillatorOptions"},{"type":"reference","id":6391,"name":"FatPartialsOscillatorOptions"}]}},{"id":6572,"name":"FatSawtoothWithPartials","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":374,"character":28}],"type":{"type":"union","types":[{"type":"stringLiteral","value":"fatsawtooth1"},{"type":"stringLiteral","value":"fatsawtooth2"},{"type":"stringLiteral","value":"fatsawtooth3"},{"type":"stringLiteral","value":"fatsawtooth4"},{"type":"stringLiteral","value":"fatsawtooth5"},{"type":"stringLiteral","value":"fatsawtooth6"},{"type":"stringLiteral","value":"fatsawtooth7"},{"type":"stringLiteral","value":"fatsawtooth8"},{"type":"stringLiteral","value":"fatsawtooth9"},{"type":"stringLiteral","value":"fatsawtooth10"},{"type":"stringLiteral","value":"fatsawtooth11"},{"type":"stringLiteral","value":"fatsawtooth12"},{"type":"stringLiteral","value":"fatsawtooth13"},{"type":"stringLiteral","value":"fatsawtooth14"},{"type":"stringLiteral","value":"fatsawtooth15"},{"type":"stringLiteral","value":"fatsawtooth16"},{"type":"stringLiteral","value":"fatsawtooth17"},{"type":"stringLiteral","value":"fatsawtooth18"},{"type":"stringLiteral","value":"fatsawtooth19"},{"type":"stringLiteral","value":"fatsawtooth20"},{"type":"stringLiteral","value":"fatsawtooth21"},{"type":"stringLiteral","value":"fatsawtooth22"},{"type":"stringLiteral","value":"fatsawtooth23"},{"type":"stringLiteral","value":"fatsawtooth24"},{"type":"stringLiteral","value":"fatsawtooth25"},{"type":"stringLiteral","value":"fatsawtooth26"},{"type":"stringLiteral","value":"fatsawtooth27"},{"type":"stringLiteral","value":"fatsawtooth28"},{"type":"stringLiteral","value":"fatsawtooth29"},{"type":"stringLiteral","value":"fatsawtooth30"},{"type":"stringLiteral","value":"fatsawtooth31"},{"type":"stringLiteral","value":"fatsawtooth32"}]}},{"id":6570,"name":"FatSineWithPartials","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"comment":{"shortText":"Fat Oscillators with partials"},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":362,"character":24}],"type":{"type":"union","types":[{"type":"stringLiteral","value":"fatsine1"},{"type":"stringLiteral","value":"fatsine2"},{"type":"stringLiteral","value":"fatsine3"},{"type":"stringLiteral","value":"fatsine4"},{"type":"stringLiteral","value":"fatsine5"},{"type":"stringLiteral","value":"fatsine6"},{"type":"stringLiteral","value":"fatsine7"},{"type":"stringLiteral","value":"fatsine8"},{"type":"stringLiteral","value":"fatsine9"},{"type":"stringLiteral","value":"fatsine10"},{"type":"stringLiteral","value":"fatsine11"},{"type":"stringLiteral","value":"fatsine12"},{"type":"stringLiteral","value":"fatsine13"},{"type":"stringLiteral","value":"fatsine14"},{"type":"stringLiteral","value":"fatsine15"},{"type":"stringLiteral","value":"fatsine16"},{"type":"stringLiteral","value":"fatsine17"},{"type":"stringLiteral","value":"fatsine18"},{"type":"stringLiteral","value":"fatsine19"},{"type":"stringLiteral","value":"fatsine20"},{"type":"stringLiteral","value":"fatsine21"},{"type":"stringLiteral","value":"fatsine22"},{"type":"stringLiteral","value":"fatsine23"},{"type":"stringLiteral","value":"fatsine24"},{"type":"stringLiteral","value":"fatsine25"},{"type":"stringLiteral","value":"fatsine26"},{"type":"stringLiteral","value":"fatsine27"},{"type":"stringLiteral","value":"fatsine28"},{"type":"stringLiteral","value":"fatsine29"},{"type":"stringLiteral","value":"fatsine30"},{"type":"stringLiteral","value":"fatsine31"},{"type":"stringLiteral","value":"fatsine32"}]}},{"id":6571,"name":"FatSquareWithPartials","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":368,"character":26}],"type":{"type":"union","types":[{"type":"stringLiteral","value":"fatsquare1"},{"type":"stringLiteral","value":"fatsquare2"},{"type":"stringLiteral","value":"fatsquare3"},{"type":"stringLiteral","value":"fatsquare4"},{"type":"stringLiteral","value":"fatsquare5"},{"type":"stringLiteral","value":"fatsquare6"},{"type":"stringLiteral","value":"fatsquare7"},{"type":"stringLiteral","value":"fatsquare8"},{"type":"stringLiteral","value":"fatsquare9"},{"type":"stringLiteral","value":"fatsquare10"},{"type":"stringLiteral","value":"fatsquare11"},{"type":"stringLiteral","value":"fatsquare12"},{"type":"stringLiteral","value":"fatsquare13"},{"type":"stringLiteral","value":"fatsquare14"},{"type":"stringLiteral","value":"fatsquare15"},{"type":"stringLiteral","value":"fatsquare16"},{"type":"stringLiteral","value":"fatsquare17"},{"type":"stringLiteral","value":"fatsquare18"},{"type":"stringLiteral","value":"fatsquare19"},{"type":"stringLiteral","value":"fatsquare20"},{"type":"stringLiteral","value":"fatsquare21"},{"type":"stringLiteral","value":"fatsquare22"},{"type":"stringLiteral","value":"fatsquare23"},{"type":"stringLiteral","value":"fatsquare24"},{"type":"stringLiteral","value":"fatsquare25"},{"type":"stringLiteral","value":"fatsquare26"},{"type":"stringLiteral","value":"fatsquare27"},{"type":"stringLiteral","value":"fatsquare28"},{"type":"stringLiteral","value":"fatsquare29"},{"type":"stringLiteral","value":"fatsquare30"},{"type":"stringLiteral","value":"fatsquare31"},{"type":"stringLiteral","value":"fatsquare32"}]}},{"id":6573,"name":"FatTriangleWithPartials","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":380,"character":28}],"type":{"type":"union","types":[{"type":"stringLiteral","value":"fattriangle1"},{"type":"stringLiteral","value":"fattriangle2"},{"type":"stringLiteral","value":"fattriangle3"},{"type":"stringLiteral","value":"fattriangle4"},{"type":"stringLiteral","value":"fattriangle5"},{"type":"stringLiteral","value":"fattriangle6"},{"type":"stringLiteral","value":"fattriangle7"},{"type":"stringLiteral","value":"fattriangle8"},{"type":"stringLiteral","value":"fattriangle9"},{"type":"stringLiteral","value":"fattriangle10"},{"type":"stringLiteral","value":"fattriangle11"},{"type":"stringLiteral","value":"fattriangle12"},{"type":"stringLiteral","value":"fattriangle13"},{"type":"stringLiteral","value":"fattriangle14"},{"type":"stringLiteral","value":"fattriangle15"},{"type":"stringLiteral","value":"fattriangle16"},{"type":"stringLiteral","value":"fattriangle17"},{"type":"stringLiteral","value":"fattriangle18"},{"type":"stringLiteral","value":"fattriangle19"},{"type":"stringLiteral","value":"fattriangle20"},{"type":"stringLiteral","value":"fattriangle21"},{"type":"stringLiteral","value":"fattriangle22"},{"type":"stringLiteral","value":"fattriangle23"},{"type":"stringLiteral","value":"fattriangle24"},{"type":"stringLiteral","value":"fattriangle25"},{"type":"stringLiteral","value":"fattriangle26"},{"type":"stringLiteral","value":"fattriangle27"},{"type":"stringLiteral","value":"fattriangle28"},{"type":"stringLiteral","value":"fattriangle29"},{"type":"stringLiteral","value":"fattriangle30"},{"type":"stringLiteral","value":"fattriangle31"},{"type":"stringLiteral","value":"fattriangle32"}]}},{"id":6574,"name":"FatTypeWithPartials","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":386,"character":24}],"type":{"type":"union","types":[{"type":"reference","id":6570,"name":"FatSineWithPartials"},{"type":"reference","id":6571,"name":"FatSquareWithPartials"},{"type":"reference","id":6572,"name":"FatSawtoothWithPartials"},{"type":"reference","id":6573,"name":"FatTriangleWithPartials"}]}},{"id":11725,"name":"FilterOptions","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/filter/Filter.ts","line":13,"character":25}],"type":{"type":"intersection","types":[{"type":"reference","id":11512,"name":"BiquadFilterOptions"},{"type":"reflection","declaration":{"id":11726,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"children":[{"id":11727,"name":"rolloff","kind":32,"kindString":"Variable","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/filter/Filter.ts","line":14,"character":8}],"type":{"type":"reference","id":11724,"name":"FilterRollOff"}}],"groups":[{"title":"Variables","kind":32,"children":[11727]}],"sources":[{"fileName":"Tone/component/filter/Filter.ts","line":13,"character":49}]}}]}},{"id":11724,"name":"FilterRollOff","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/filter/Filter.ts","line":11,"character":25}],"type":{"type":"union","types":[{"type":"unknown","name":"-12"},{"type":"unknown","name":"-24"},{"type":"unknown","name":"-48"},{"type":"unknown","name":"-96"}]}},{"id":32,"name":"Frequency","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"comment":{"shortText":"Frequency can be described similar to time, except ultimately the\nvalues are converted to frequency instead of seconds. A number\nis taken literally as the value in hertz. Additionally any of the\nTime encodings can be used. Note names in the form\nof NOTE OCTAVE (i.e. C4) are also accepted and converted to their\nfrequency value."},"sources":[{"fileName":"Tone/core/type/Units.ts","line":92,"character":21}],"type":{"type":"union","types":[{"type":"reference","id":28,"name":"Subdivision"},{"type":"reference","id":2,"name":"Note"},{"type":"intrinsic","name":"string"},{"type":"reference","id":41,"name":"Hertz"}]}},{"id":4749,"name":"FrequencyUnit","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/type/Frequency.ts","line":8,"character":25}],"type":{"type":"union","types":[{"type":"reference","id":503,"name":"TimeBaseUnit"},{"type":"stringLiteral","value":"midi"}]}},{"id":26,"name":"GainFactor","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"comment":{"shortText":"A number representing the multiplication factor applied to a signal"},"sources":[{"fileName":"Tone/core/type/Units.ts","line":39,"character":22}],"type":{"type":"intrinsic","name":"number"}},{"id":10147,"name":"GreaterThanOptions","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/signal/GreaterThan.ts","line":9,"character":30}],"type":{"type":"reference","id":1495,"typeArguments":[{"type":"stringLiteral","value":"number"}],"name":"SignalOptions"}},{"id":9973,"name":"GreaterThanZeroOptions","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/signal/GreaterThanZero.ts","line":7,"character":34}],"type":{"type":"reference","id":6992,"name":"SignalOperatorOptions"}},{"id":41,"name":"Hertz","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"comment":{"shortText":"Hertz are a frequency representation defined as one cycle per second."},"sources":[{"fileName":"Tone/core/type/Units.ts","line":151,"character":17}],"type":{"type":"intrinsic","name":"number"}},{"id":1101,"name":"InputNode","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":7,"character":21}],"type":{"type":"union","types":[{"type":"reference","id":1004,"name":"ToneAudioNode"},{"type":"reference","name":"AudioNode"},{"type":"reference","id":826,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"Param"},{"type":"reference","name":"AudioParam"}]}},{"id":10699,"name":"InternalEnvelopeCurve","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":12,"character":26}],"type":{"type":"union","types":[{"type":"reference","id":10698,"name":"BasicEnvelopeCurve"},{"type":"array","elementType":{"type":"intrinsic","name":"number"}}]}},{"id":25,"name":"Interval","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"comment":{"shortText":"Half-step note increments, i.e. 12 is an octave above the root. and 1 is a half-step up."},"sources":[{"fileName":"Tone/core/type/Units.ts","line":33,"character":20}],"type":{"type":"intrinsic","name":"number"}},{"id":8357,"name":"IsAmOrFmOscillator","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"typeParameter":[{"id":8358,"name":"Osc","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}},{"id":8359,"name":"Ret","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}}],"sources":[{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":44,"character":23}],"type":{"type":"conditional","checkType":{"type":"typeParameter","name":"Osc"},"extendsType":{"type":"reference","name":"AMOscillator"},"trueType":{"type":"typeParameter","name":"Ret"},"falseType":{"type":"conditional","checkType":{"type":"typeParameter","name":"Osc"},"extendsType":{"type":"reference","name":"FMOscillator"},"trueType":{"type":"typeParameter","name":"Ret"},"falseType":{"type":"intrinsic","name":"undefined"}}}},{"id":8369,"name":"IsFMOscillator","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"typeParameter":[{"id":8370,"name":"Osc","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}},{"id":8371,"name":"Ret","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}}],"sources":[{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":48,"character":19}],"type":{"type":"conditional","checkType":{"type":"typeParameter","name":"Osc"},"extendsType":{"type":"reference","name":"FMOscillator"},"trueType":{"type":"typeParameter","name":"Ret"},"falseType":{"type":"intrinsic","name":"undefined"}}},{"id":8360,"name":"IsFatOscillator","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"typeParameter":[{"id":8361,"name":"Osc","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}},{"id":8362,"name":"Ret","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}}],"sources":[{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":45,"character":20}],"type":{"type":"conditional","checkType":{"type":"typeParameter","name":"Osc"},"extendsType":{"type":"reference","name":"FatOscillator"},"trueType":{"type":"typeParameter","name":"Ret"},"falseType":{"type":"intrinsic","name":"undefined"}}},{"id":8363,"name":"IsPWMOscillator","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"typeParameter":[{"id":8364,"name":"Osc","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}},{"id":8365,"name":"Ret","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}}],"sources":[{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":46,"character":20}],"type":{"type":"conditional","checkType":{"type":"typeParameter","name":"Osc"},"extendsType":{"type":"reference","name":"PWMOscillator"},"trueType":{"type":"typeParameter","name":"Ret"},"falseType":{"type":"intrinsic","name":"undefined"}}},{"id":8366,"name":"IsPulseOscillator","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"typeParameter":[{"id":8367,"name":"Osc","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}},{"id":8368,"name":"Ret","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}}],"sources":[{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":47,"character":22}],"type":{"type":"conditional","checkType":{"type":"typeParameter","name":"Osc"},"extendsType":{"type":"reference","name":"PulseOscillator"},"trueType":{"type":"typeParameter","name":"Ret"},"falseType":{"type":"intrinsic","name":"undefined"}}},{"id":1955,"name":"IteratorCallback","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/util/IntervalTimeline.ts","line":14,"character":21}],"type":{"type":"reflection","declaration":{"id":1956,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":1957,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":1958,"name":"event","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1840,"name":"IntervalTimelineEvent"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/util/IntervalTimeline.ts","line":14,"character":23}]}}},{"id":8886,"name":"LFOOptions","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/LFO.ts","line":15,"character":22}],"type":{"type":"intersection","types":[{"type":"reflection","declaration":{"id":8887,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"children":[{"id":8890,"name":"amplitude","kind":32,"kindString":"Variable","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/LFO.ts","line":18,"character":10}],"type":{"type":"reference","id":23,"name":"NormalRange"}},{"id":8889,"name":"max","kind":32,"kindString":"Variable","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/LFO.ts","line":17,"character":4}],"type":{"type":"intrinsic","name":"number"}},{"id":8888,"name":"min","kind":32,"kindString":"Variable","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/LFO.ts","line":16,"character":4}],"type":{"type":"intrinsic","name":"number"}},{"id":8891,"name":"units","kind":32,"kindString":"Variable","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/LFO.ts","line":19,"character":6}],"type":{"type":"reference","id":46,"name":"UnitName"}}],"groups":[{"title":"Variables","kind":32,"children":[8890,8889,8888,8891]}],"sources":[{"fileName":"Tone/source/oscillator/LFO.ts","line":15,"character":24}]}},{"type":"reference","id":6225,"name":"ToneOscillatorOptions"}]}},{"id":18193,"name":"MeterBaseOptions","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/analysis/MeterBase.ts","line":5,"character":28}],"type":{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"}},{"id":17644,"name":"MidSideEffectOptions","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/MidSideEffect.ts","line":6,"character":32}],"type":{"type":"reference","id":14460,"name":"EffectOptions"}},{"id":17540,"name":"MidSideMergeOptions","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/channel/MidSideMerge.ts","line":9,"character":31}],"type":{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"}},{"id":17448,"name":"MidSideSplitOptions","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/channel/MidSideSplit.ts","line":8,"character":31}],"type":{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"}},{"id":3,"name":"MidiNote","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"comment":{"shortText":"A number representing a midi note. Integers between 0-127"},"sources":[{"fileName":"Tone/core/type/NoteUnits.ts","line":30,"character":20}],"type":{"type":"union","types":[{"type":"unknown","name":"0"},{"type":"unknown","name":"1"},{"type":"unknown","name":"2"},{"type":"unknown","name":"3"},{"type":"unknown","name":"4"},{"type":"unknown","name":"5"},{"type":"unknown","name":"6"},{"type":"unknown","name":"7"},{"type":"unknown","name":"8"},{"type":"unknown","name":"9"},{"type":"unknown","name":"10"},{"type":"unknown","name":"11"},{"type":"unknown","name":"12"},{"type":"unknown","name":"13"},{"type":"unknown","name":"14"},{"type":"unknown","name":"15"},{"type":"unknown","name":"16"},{"type":"unknown","name":"17"},{"type":"unknown","name":"18"},{"type":"unknown","name":"19"},{"type":"unknown","name":"20"},{"type":"unknown","name":"21"},{"type":"unknown","name":"22"},{"type":"unknown","name":"23"},{"type":"unknown","name":"24"},{"type":"unknown","name":"25"},{"type":"unknown","name":"26"},{"type":"unknown","name":"27"},{"type":"unknown","name":"28"},{"type":"unknown","name":"29"},{"type":"unknown","name":"30"},{"type":"unknown","name":"31"},{"type":"unknown","name":"32"},{"type":"unknown","name":"33"},{"type":"unknown","name":"34"},{"type":"unknown","name":"35"},{"type":"unknown","name":"36"},{"type":"unknown","name":"37"},{"type":"unknown","name":"38"},{"type":"unknown","name":"39"},{"type":"unknown","name":"40"},{"type":"unknown","name":"41"},{"type":"unknown","name":"42"},{"type":"unknown","name":"43"},{"type":"unknown","name":"44"},{"type":"unknown","name":"45"},{"type":"unknown","name":"46"},{"type":"unknown","name":"47"},{"type":"unknown","name":"48"},{"type":"unknown","name":"49"},{"type":"unknown","name":"50"},{"type":"unknown","name":"51"},{"type":"unknown","name":"52"},{"type":"unknown","name":"53"},{"type":"unknown","name":"54"},{"type":"unknown","name":"55"},{"type":"unknown","name":"56"},{"type":"unknown","name":"57"},{"type":"unknown","name":"58"},{"type":"unknown","name":"59"},{"type":"unknown","name":"60"},{"type":"unknown","name":"61"},{"type":"unknown","name":"62"},{"type":"unknown","name":"63"},{"type":"unknown","name":"64"},{"type":"unknown","name":"65"},{"type":"unknown","name":"66"},{"type":"unknown","name":"67"},{"type":"unknown","name":"68"},{"type":"unknown","name":"69"},{"type":"unknown","name":"70"},{"type":"unknown","name":"71"},{"type":"unknown","name":"72"},{"type":"unknown","name":"73"},{"type":"unknown","name":"74"},{"type":"unknown","name":"75"},{"type":"unknown","name":"76"},{"type":"unknown","name":"77"},{"type":"unknown","name":"78"},{"type":"unknown","name":"79"},{"type":"unknown","name":"80"},{"type":"unknown","name":"81"},{"type":"unknown","name":"82"},{"type":"unknown","name":"83"},{"type":"unknown","name":"84"},{"type":"unknown","name":"85"},{"type":"unknown","name":"86"},{"type":"unknown","name":"87"},{"type":"unknown","name":"88"},{"type":"unknown","name":"89"},{"type":"unknown","name":"90"},{"type":"unknown","name":"91"},{"type":"unknown","name":"92"},{"type":"unknown","name":"93"},{"type":"unknown","name":"94"},{"type":"unknown","name":"95"},{"type":"unknown","name":"96"},{"type":"unknown","name":"97"},{"type":"unknown","name":"98"},{"type":"unknown","name":"99"},{"type":"unknown","name":"100"},{"type":"unknown","name":"101"},{"type":"unknown","name":"102"},{"type":"unknown","name":"103"},{"type":"unknown","name":"104"},{"type":"unknown","name":"105"},{"type":"unknown","name":"106"},{"type":"unknown","name":"107"},{"type":"unknown","name":"108"},{"type":"unknown","name":"109"},{"type":"unknown","name":"110"},{"type":"unknown","name":"111"},{"type":"unknown","name":"112"},{"type":"unknown","name":"113"},{"type":"unknown","name":"114"},{"type":"unknown","name":"115"},{"type":"unknown","name":"116"},{"type":"unknown","name":"117"},{"type":"unknown","name":"118"},{"type":"unknown","name":"119"},{"type":"unknown","name":"120"},{"type":"unknown","name":"121"},{"type":"unknown","name":"122"},{"type":"unknown","name":"123"},{"type":"unknown","name":"124"},{"type":"unknown","name":"125"},{"type":"unknown","name":"126"},{"type":"unknown","name":"127"}]}},{"id":43,"name":"Milliseconds","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"comment":{"shortText":"One millisecond is a thousandth of a second."},"sources":[{"fileName":"Tone/core/type/Units.ts","line":164,"character":24}],"type":{"type":"intrinsic","name":"number"}},{"id":18997,"name":"MonoOptions","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/channel/Mono.ts","line":6,"character":23}],"type":{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"}},{"id":6047,"name":"NoiseType","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Noise.ts","line":8,"character":21}],"type":{"type":"union","types":[{"type":"stringLiteral","value":"white"},{"type":"stringLiteral","value":"brown"},{"type":"stringLiteral","value":"pink"}]}},{"id":6552,"name":"NonCustomOscillatorType","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":160,"character":35}],"type":{"type":"reference","typeArguments":[{"type":"reference","name":"OscillatorType"},{"type":"stringLiteral","value":"custom"}],"name":"Exclude"}},{"id":23,"name":"NormalRange","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"comment":{"shortText":"A number that is between [0, 1]"},"sources":[{"fileName":"Tone/core/type/Units.ts","line":21,"character":23}],"type":{"type":"intrinsic","name":"number"}},{"id":2,"name":"Note","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"comment":{"shortText":"A note in Scientific pitch notation.\nThe pitch class + octave number\ne.g. \"C4\", \"D#3\", \"G-1\""},"sources":[{"fileName":"Tone/core/type/NoteUnits.ts","line":9,"character":16}],"type":{"type":"union","types":[{"type":"stringLiteral","value":"Cbb-4"},{"type":"stringLiteral","value":"Cb-4"},{"type":"stringLiteral","value":"C-4"},{"type":"stringLiteral","value":"C#-4"},{"type":"stringLiteral","value":"Cx-4"},{"type":"stringLiteral","value":"Dbb-4"},{"type":"stringLiteral","value":"Db-4"},{"type":"stringLiteral","value":"D-4"},{"type":"stringLiteral","value":"D#-4"},{"type":"stringLiteral","value":"Dx-4"},{"type":"stringLiteral","value":"Ebb-4"},{"type":"stringLiteral","value":"Eb-4"},{"type":"stringLiteral","value":"E-4"},{"type":"stringLiteral","value":"E#-4"},{"type":"stringLiteral","value":"Ex-4"},{"type":"stringLiteral","value":"Fbb-4"},{"type":"stringLiteral","value":"Fb-4"},{"type":"stringLiteral","value":"F-4"},{"type":"stringLiteral","value":"F#-4"},{"type":"stringLiteral","value":"Fx-4"},{"type":"stringLiteral","value":"Gbb-4"},{"type":"stringLiteral","value":"Gb-4"},{"type":"stringLiteral","value":"G-4"},{"type":"stringLiteral","value":"G#-4"},{"type":"stringLiteral","value":"Gx-4"},{"type":"stringLiteral","value":"Abb-4"},{"type":"stringLiteral","value":"Ab-4"},{"type":"stringLiteral","value":"A-4"},{"type":"stringLiteral","value":"A#-4"},{"type":"stringLiteral","value":"Ax-4"},{"type":"stringLiteral","value":"Bbb-4"},{"type":"stringLiteral","value":"Bb-4"},{"type":"stringLiteral","value":"B-4"},{"type":"stringLiteral","value":"B#-4"},{"type":"stringLiteral","value":"Bx-4"},{"type":"stringLiteral","value":"Cbb-3"},{"type":"stringLiteral","value":"Cb-3"},{"type":"stringLiteral","value":"C-3"},{"type":"stringLiteral","value":"C#-3"},{"type":"stringLiteral","value":"Cx-3"},{"type":"stringLiteral","value":"Dbb-3"},{"type":"stringLiteral","value":"Db-3"},{"type":"stringLiteral","value":"D-3"},{"type":"stringLiteral","value":"D#-3"},{"type":"stringLiteral","value":"Dx-3"},{"type":"stringLiteral","value":"Ebb-3"},{"type":"stringLiteral","value":"Eb-3"},{"type":"stringLiteral","value":"E-3"},{"type":"stringLiteral","value":"E#-3"},{"type":"stringLiteral","value":"Ex-3"},{"type":"stringLiteral","value":"Fbb-3"},{"type":"stringLiteral","value":"Fb-3"},{"type":"stringLiteral","value":"F-3"},{"type":"stringLiteral","value":"F#-3"},{"type":"stringLiteral","value":"Fx-3"},{"type":"stringLiteral","value":"Gbb-3"},{"type":"stringLiteral","value":"Gb-3"},{"type":"stringLiteral","value":"G-3"},{"type":"stringLiteral","value":"G#-3"},{"type":"stringLiteral","value":"Gx-3"},{"type":"stringLiteral","value":"Abb-3"},{"type":"stringLiteral","value":"Ab-3"},{"type":"stringLiteral","value":"A-3"},{"type":"stringLiteral","value":"A#-3"},{"type":"stringLiteral","value":"Ax-3"},{"type":"stringLiteral","value":"Bbb-3"},{"type":"stringLiteral","value":"Bb-3"},{"type":"stringLiteral","value":"B-3"},{"type":"stringLiteral","value":"B#-3"},{"type":"stringLiteral","value":"Bx-3"},{"type":"stringLiteral","value":"Cbb-2"},{"type":"stringLiteral","value":"Cb-2"},{"type":"stringLiteral","value":"C-2"},{"type":"stringLiteral","value":"C#-2"},{"type":"stringLiteral","value":"Cx-2"},{"type":"stringLiteral","value":"Dbb-2"},{"type":"stringLiteral","value":"Db-2"},{"type":"stringLiteral","value":"D-2"},{"type":"stringLiteral","value":"D#-2"},{"type":"stringLiteral","value":"Dx-2"},{"type":"stringLiteral","value":"Ebb-2"},{"type":"stringLiteral","value":"Eb-2"},{"type":"stringLiteral","value":"E-2"},{"type":"stringLiteral","value":"E#-2"},{"type":"stringLiteral","value":"Ex-2"},{"type":"stringLiteral","value":"Fbb-2"},{"type":"stringLiteral","value":"Fb-2"},{"type":"stringLiteral","value":"F-2"},{"type":"stringLiteral","value":"F#-2"},{"type":"stringLiteral","value":"Fx-2"},{"type":"stringLiteral","value":"Gbb-2"},{"type":"stringLiteral","value":"Gb-2"},{"type":"stringLiteral","value":"G-2"},{"type":"stringLiteral","value":"G#-2"},{"type":"stringLiteral","value":"Gx-2"},{"type":"stringLiteral","value":"Abb-2"},{"type":"stringLiteral","value":"Ab-2"},{"type":"stringLiteral","value":"A-2"},{"type":"stringLiteral","value":"A#-2"},{"type":"stringLiteral","value":"Ax-2"},{"type":"stringLiteral","value":"Bbb-2"},{"type":"stringLiteral","value":"Bb-2"},{"type":"stringLiteral","value":"B-2"},{"type":"stringLiteral","value":"B#-2"},{"type":"stringLiteral","value":"Bx-2"},{"type":"stringLiteral","value":"Cbb-1"},{"type":"stringLiteral","value":"Cb-1"},{"type":"stringLiteral","value":"C-1"},{"type":"stringLiteral","value":"C#-1"},{"type":"stringLiteral","value":"Cx-1"},{"type":"stringLiteral","value":"Dbb-1"},{"type":"stringLiteral","value":"Db-1"},{"type":"stringLiteral","value":"D-1"},{"type":"stringLiteral","value":"D#-1"},{"type":"stringLiteral","value":"Dx-1"},{"type":"stringLiteral","value":"Ebb-1"},{"type":"stringLiteral","value":"Eb-1"},{"type":"stringLiteral","value":"E-1"},{"type":"stringLiteral","value":"E#-1"},{"type":"stringLiteral","value":"Ex-1"},{"type":"stringLiteral","value":"Fbb-1"},{"type":"stringLiteral","value":"Fb-1"},{"type":"stringLiteral","value":"F-1"},{"type":"stringLiteral","value":"F#-1"},{"type":"stringLiteral","value":"Fx-1"},{"type":"stringLiteral","value":"Gbb-1"},{"type":"stringLiteral","value":"Gb-1"},{"type":"stringLiteral","value":"G-1"},{"type":"stringLiteral","value":"G#-1"},{"type":"stringLiteral","value":"Gx-1"},{"type":"stringLiteral","value":"Abb-1"},{"type":"stringLiteral","value":"Ab-1"},{"type":"stringLiteral","value":"A-1"},{"type":"stringLiteral","value":"A#-1"},{"type":"stringLiteral","value":"Ax-1"},{"type":"stringLiteral","value":"Bbb-1"},{"type":"stringLiteral","value":"Bb-1"},{"type":"stringLiteral","value":"B-1"},{"type":"stringLiteral","value":"B#-1"},{"type":"stringLiteral","value":"Bx-1"},{"type":"stringLiteral","value":"Cbb0"},{"type":"stringLiteral","value":"Cb0"},{"type":"stringLiteral","value":"C0"},{"type":"stringLiteral","value":"C#0"},{"type":"stringLiteral","value":"Cx0"},{"type":"stringLiteral","value":"Dbb0"},{"type":"stringLiteral","value":"Db0"},{"type":"stringLiteral","value":"D0"},{"type":"stringLiteral","value":"D#0"},{"type":"stringLiteral","value":"Dx0"},{"type":"stringLiteral","value":"Ebb0"},{"type":"stringLiteral","value":"Eb0"},{"type":"stringLiteral","value":"E0"},{"type":"stringLiteral","value":"E#0"},{"type":"stringLiteral","value":"Ex0"},{"type":"stringLiteral","value":"Fbb0"},{"type":"stringLiteral","value":"Fb0"},{"type":"stringLiteral","value":"F0"},{"type":"stringLiteral","value":"F#0"},{"type":"stringLiteral","value":"Fx0"},{"type":"stringLiteral","value":"Gbb0"},{"type":"stringLiteral","value":"Gb0"},{"type":"stringLiteral","value":"G0"},{"type":"stringLiteral","value":"G#0"},{"type":"stringLiteral","value":"Gx0"},{"type":"stringLiteral","value":"Abb0"},{"type":"stringLiteral","value":"Ab0"},{"type":"stringLiteral","value":"A0"},{"type":"stringLiteral","value":"A#0"},{"type":"stringLiteral","value":"Ax0"},{"type":"stringLiteral","value":"Bbb0"},{"type":"stringLiteral","value":"Bb0"},{"type":"stringLiteral","value":"B0"},{"type":"stringLiteral","value":"B#0"},{"type":"stringLiteral","value":"Bx0"},{"type":"stringLiteral","value":"Cbb1"},{"type":"stringLiteral","value":"Cb1"},{"type":"stringLiteral","value":"C1"},{"type":"stringLiteral","value":"C#1"},{"type":"stringLiteral","value":"Cx1"},{"type":"stringLiteral","value":"Dbb1"},{"type":"stringLiteral","value":"Db1"},{"type":"stringLiteral","value":"D1"},{"type":"stringLiteral","value":"D#1"},{"type":"stringLiteral","value":"Dx1"},{"type":"stringLiteral","value":"Ebb1"},{"type":"stringLiteral","value":"Eb1"},{"type":"stringLiteral","value":"E1"},{"type":"stringLiteral","value":"E#1"},{"type":"stringLiteral","value":"Ex1"},{"type":"stringLiteral","value":"Fbb1"},{"type":"stringLiteral","value":"Fb1"},{"type":"stringLiteral","value":"F1"},{"type":"stringLiteral","value":"F#1"},{"type":"stringLiteral","value":"Fx1"},{"type":"stringLiteral","value":"Gbb1"},{"type":"stringLiteral","value":"Gb1"},{"type":"stringLiteral","value":"G1"},{"type":"stringLiteral","value":"G#1"},{"type":"stringLiteral","value":"Gx1"},{"type":"stringLiteral","value":"Abb1"},{"type":"stringLiteral","value":"Ab1"},{"type":"stringLiteral","value":"A1"},{"type":"stringLiteral","value":"A#1"},{"type":"stringLiteral","value":"Ax1"},{"type":"stringLiteral","value":"Bbb1"},{"type":"stringLiteral","value":"Bb1"},{"type":"stringLiteral","value":"B1"},{"type":"stringLiteral","value":"B#1"},{"type":"stringLiteral","value":"Bx1"},{"type":"stringLiteral","value":"Cbb2"},{"type":"stringLiteral","value":"Cb2"},{"type":"stringLiteral","value":"C2"},{"type":"stringLiteral","value":"C#2"},{"type":"stringLiteral","value":"Cx2"},{"type":"stringLiteral","value":"Dbb2"},{"type":"stringLiteral","value":"Db2"},{"type":"stringLiteral","value":"D2"},{"type":"stringLiteral","value":"D#2"},{"type":"stringLiteral","value":"Dx2"},{"type":"stringLiteral","value":"Ebb2"},{"type":"stringLiteral","value":"Eb2"},{"type":"stringLiteral","value":"E2"},{"type":"stringLiteral","value":"E#2"},{"type":"stringLiteral","value":"Ex2"},{"type":"stringLiteral","value":"Fbb2"},{"type":"stringLiteral","value":"Fb2"},{"type":"stringLiteral","value":"F2"},{"type":"stringLiteral","value":"F#2"},{"type":"stringLiteral","value":"Fx2"},{"type":"stringLiteral","value":"Gbb2"},{"type":"stringLiteral","value":"Gb2"},{"type":"stringLiteral","value":"G2"},{"type":"stringLiteral","value":"G#2"},{"type":"stringLiteral","value":"Gx2"},{"type":"stringLiteral","value":"Abb2"},{"type":"stringLiteral","value":"Ab2"},{"type":"stringLiteral","value":"A2"},{"type":"stringLiteral","value":"A#2"},{"type":"stringLiteral","value":"Ax2"},{"type":"stringLiteral","value":"Bbb2"},{"type":"stringLiteral","value":"Bb2"},{"type":"stringLiteral","value":"B2"},{"type":"stringLiteral","value":"B#2"},{"type":"stringLiteral","value":"Bx2"},{"type":"stringLiteral","value":"Cbb3"},{"type":"stringLiteral","value":"Cb3"},{"type":"stringLiteral","value":"C3"},{"type":"stringLiteral","value":"C#3"},{"type":"stringLiteral","value":"Cx3"},{"type":"stringLiteral","value":"Dbb3"},{"type":"stringLiteral","value":"Db3"},{"type":"stringLiteral","value":"D3"},{"type":"stringLiteral","value":"D#3"},{"type":"stringLiteral","value":"Dx3"},{"type":"stringLiteral","value":"Ebb3"},{"type":"stringLiteral","value":"Eb3"},{"type":"stringLiteral","value":"E3"},{"type":"stringLiteral","value":"E#3"},{"type":"stringLiteral","value":"Ex3"},{"type":"stringLiteral","value":"Fbb3"},{"type":"stringLiteral","value":"Fb3"},{"type":"stringLiteral","value":"F3"},{"type":"stringLiteral","value":"F#3"},{"type":"stringLiteral","value":"Fx3"},{"type":"stringLiteral","value":"Gbb3"},{"type":"stringLiteral","value":"Gb3"},{"type":"stringLiteral","value":"G3"},{"type":"stringLiteral","value":"G#3"},{"type":"stringLiteral","value":"Gx3"},{"type":"stringLiteral","value":"Abb3"},{"type":"stringLiteral","value":"Ab3"},{"type":"stringLiteral","value":"A3"},{"type":"stringLiteral","value":"A#3"},{"type":"stringLiteral","value":"Ax3"},{"type":"stringLiteral","value":"Bbb3"},{"type":"stringLiteral","value":"Bb3"},{"type":"stringLiteral","value":"B3"},{"type":"stringLiteral","value":"B#3"},{"type":"stringLiteral","value":"Bx3"},{"type":"stringLiteral","value":"Cbb4"},{"type":"stringLiteral","value":"Cb4"},{"type":"stringLiteral","value":"C4"},{"type":"stringLiteral","value":"C#4"},{"type":"stringLiteral","value":"Cx4"},{"type":"stringLiteral","value":"Dbb4"},{"type":"stringLiteral","value":"Db4"},{"type":"stringLiteral","value":"D4"},{"type":"stringLiteral","value":"D#4"},{"type":"stringLiteral","value":"Dx4"},{"type":"stringLiteral","value":"Ebb4"},{"type":"stringLiteral","value":"Eb4"},{"type":"stringLiteral","value":"E4"},{"type":"stringLiteral","value":"E#4"},{"type":"stringLiteral","value":"Ex4"},{"type":"stringLiteral","value":"Fbb4"},{"type":"stringLiteral","value":"Fb4"},{"type":"stringLiteral","value":"F4"},{"type":"stringLiteral","value":"F#4"},{"type":"stringLiteral","value":"Fx4"},{"type":"stringLiteral","value":"Gbb4"},{"type":"stringLiteral","value":"Gb4"},{"type":"stringLiteral","value":"G4"},{"type":"stringLiteral","value":"G#4"},{"type":"stringLiteral","value":"Gx4"},{"type":"stringLiteral","value":"Abb4"},{"type":"stringLiteral","value":"Ab4"},{"type":"stringLiteral","value":"A4"},{"type":"stringLiteral","value":"A#4"},{"type":"stringLiteral","value":"Ax4"},{"type":"stringLiteral","value":"Bbb4"},{"type":"stringLiteral","value":"Bb4"},{"type":"stringLiteral","value":"B4"},{"type":"stringLiteral","value":"B#4"},{"type":"stringLiteral","value":"Bx4"},{"type":"stringLiteral","value":"Cbb5"},{"type":"stringLiteral","value":"Cb5"},{"type":"stringLiteral","value":"C5"},{"type":"stringLiteral","value":"C#5"},{"type":"stringLiteral","value":"Cx5"},{"type":"stringLiteral","value":"Dbb5"},{"type":"stringLiteral","value":"Db5"},{"type":"stringLiteral","value":"D5"},{"type":"stringLiteral","value":"D#5"},{"type":"stringLiteral","value":"Dx5"},{"type":"stringLiteral","value":"Ebb5"},{"type":"stringLiteral","value":"Eb5"},{"type":"stringLiteral","value":"E5"},{"type":"stringLiteral","value":"E#5"},{"type":"stringLiteral","value":"Ex5"},{"type":"stringLiteral","value":"Fbb5"},{"type":"stringLiteral","value":"Fb5"},{"type":"stringLiteral","value":"F5"},{"type":"stringLiteral","value":"F#5"},{"type":"stringLiteral","value":"Fx5"},{"type":"stringLiteral","value":"Gbb5"},{"type":"stringLiteral","value":"Gb5"},{"type":"stringLiteral","value":"G5"},{"type":"stringLiteral","value":"G#5"},{"type":"stringLiteral","value":"Gx5"},{"type":"stringLiteral","value":"Abb5"},{"type":"stringLiteral","value":"Ab5"},{"type":"stringLiteral","value":"A5"},{"type":"stringLiteral","value":"A#5"},{"type":"stringLiteral","value":"Ax5"},{"type":"stringLiteral","value":"Bbb5"},{"type":"stringLiteral","value":"Bb5"},{"type":"stringLiteral","value":"B5"},{"type":"stringLiteral","value":"B#5"},{"type":"stringLiteral","value":"Bx5"},{"type":"stringLiteral","value":"Cbb6"},{"type":"stringLiteral","value":"Cb6"},{"type":"stringLiteral","value":"C6"},{"type":"stringLiteral","value":"C#6"},{"type":"stringLiteral","value":"Cx6"},{"type":"stringLiteral","value":"Dbb6"},{"type":"stringLiteral","value":"Db6"},{"type":"stringLiteral","value":"D6"},{"type":"stringLiteral","value":"D#6"},{"type":"stringLiteral","value":"Dx6"},{"type":"stringLiteral","value":"Ebb6"},{"type":"stringLiteral","value":"Eb6"},{"type":"stringLiteral","value":"E6"},{"type":"stringLiteral","value":"E#6"},{"type":"stringLiteral","value":"Ex6"},{"type":"stringLiteral","value":"Fbb6"},{"type":"stringLiteral","value":"Fb6"},{"type":"stringLiteral","value":"F6"},{"type":"stringLiteral","value":"F#6"},{"type":"stringLiteral","value":"Fx6"},{"type":"stringLiteral","value":"Gbb6"},{"type":"stringLiteral","value":"Gb6"},{"type":"stringLiteral","value":"G6"},{"type":"stringLiteral","value":"G#6"},{"type":"stringLiteral","value":"Gx6"},{"type":"stringLiteral","value":"Abb6"},{"type":"stringLiteral","value":"Ab6"},{"type":"stringLiteral","value":"A6"},{"type":"stringLiteral","value":"A#6"},{"type":"stringLiteral","value":"Ax6"},{"type":"stringLiteral","value":"Bbb6"},{"type":"stringLiteral","value":"Bb6"},{"type":"stringLiteral","value":"B6"},{"type":"stringLiteral","value":"B#6"},{"type":"stringLiteral","value":"Bx6"},{"type":"stringLiteral","value":"Cbb7"},{"type":"stringLiteral","value":"Cb7"},{"type":"stringLiteral","value":"C7"},{"type":"stringLiteral","value":"C#7"},{"type":"stringLiteral","value":"Cx7"},{"type":"stringLiteral","value":"Dbb7"},{"type":"stringLiteral","value":"Db7"},{"type":"stringLiteral","value":"D7"},{"type":"stringLiteral","value":"D#7"},{"type":"stringLiteral","value":"Dx7"},{"type":"stringLiteral","value":"Ebb7"},{"type":"stringLiteral","value":"Eb7"},{"type":"stringLiteral","value":"E7"},{"type":"stringLiteral","value":"E#7"},{"type":"stringLiteral","value":"Ex7"},{"type":"stringLiteral","value":"Fbb7"},{"type":"stringLiteral","value":"Fb7"},{"type":"stringLiteral","value":"F7"},{"type":"stringLiteral","value":"F#7"},{"type":"stringLiteral","value":"Fx7"},{"type":"stringLiteral","value":"Gbb7"},{"type":"stringLiteral","value":"Gb7"},{"type":"stringLiteral","value":"G7"},{"type":"stringLiteral","value":"G#7"},{"type":"stringLiteral","value":"Gx7"},{"type":"stringLiteral","value":"Abb7"},{"type":"stringLiteral","value":"Ab7"},{"type":"stringLiteral","value":"A7"},{"type":"stringLiteral","value":"A#7"},{"type":"stringLiteral","value":"Ax7"},{"type":"stringLiteral","value":"Bbb7"},{"type":"stringLiteral","value":"Bb7"},{"type":"stringLiteral","value":"B7"},{"type":"stringLiteral","value":"B#7"},{"type":"stringLiteral","value":"Bx7"},{"type":"stringLiteral","value":"Cbb8"},{"type":"stringLiteral","value":"Cb8"},{"type":"stringLiteral","value":"C8"},{"type":"stringLiteral","value":"C#8"},{"type":"stringLiteral","value":"Cx8"},{"type":"stringLiteral","value":"Dbb8"},{"type":"stringLiteral","value":"Db8"},{"type":"stringLiteral","value":"D8"},{"type":"stringLiteral","value":"D#8"},{"type":"stringLiteral","value":"Dx8"},{"type":"stringLiteral","value":"Ebb8"},{"type":"stringLiteral","value":"Eb8"},{"type":"stringLiteral","value":"E8"},{"type":"stringLiteral","value":"E#8"},{"type":"stringLiteral","value":"Ex8"},{"type":"stringLiteral","value":"Fbb8"},{"type":"stringLiteral","value":"Fb8"},{"type":"stringLiteral","value":"F8"},{"type":"stringLiteral","value":"F#8"},{"type":"stringLiteral","value":"Fx8"},{"type":"stringLiteral","value":"Gbb8"},{"type":"stringLiteral","value":"Gb8"},{"type":"stringLiteral","value":"G8"},{"type":"stringLiteral","value":"G#8"},{"type":"stringLiteral","value":"Gx8"},{"type":"stringLiteral","value":"Abb8"},{"type":"stringLiteral","value":"Ab8"},{"type":"stringLiteral","value":"A8"},{"type":"stringLiteral","value":"A#8"},{"type":"stringLiteral","value":"Ax8"},{"type":"stringLiteral","value":"Bbb8"},{"type":"stringLiteral","value":"Bb8"},{"type":"stringLiteral","value":"B8"},{"type":"stringLiteral","value":"B#8"},{"type":"stringLiteral","value":"Bx8"},{"type":"stringLiteral","value":"Cbb9"},{"type":"stringLiteral","value":"Cb9"},{"type":"stringLiteral","value":"C9"},{"type":"stringLiteral","value":"C#9"},{"type":"stringLiteral","value":"Cx9"},{"type":"stringLiteral","value":"Dbb9"},{"type":"stringLiteral","value":"Db9"},{"type":"stringLiteral","value":"D9"},{"type":"stringLiteral","value":"D#9"},{"type":"stringLiteral","value":"Dx9"},{"type":"stringLiteral","value":"Ebb9"},{"type":"stringLiteral","value":"Eb9"},{"type":"stringLiteral","value":"E9"},{"type":"stringLiteral","value":"E#9"},{"type":"stringLiteral","value":"Ex9"},{"type":"stringLiteral","value":"Fbb9"},{"type":"stringLiteral","value":"Fb9"},{"type":"stringLiteral","value":"F9"},{"type":"stringLiteral","value":"F#9"},{"type":"stringLiteral","value":"Fx9"},{"type":"stringLiteral","value":"Gbb9"},{"type":"stringLiteral","value":"Gb9"},{"type":"stringLiteral","value":"G9"},{"type":"stringLiteral","value":"G#9"},{"type":"stringLiteral","value":"Gx9"},{"type":"stringLiteral","value":"Abb9"},{"type":"stringLiteral","value":"Ab9"},{"type":"stringLiteral","value":"A9"},{"type":"stringLiteral","value":"A#9"},{"type":"stringLiteral","value":"Ax9"},{"type":"stringLiteral","value":"Bbb9"},{"type":"stringLiteral","value":"Bb9"},{"type":"stringLiteral","value":"B9"},{"type":"stringLiteral","value":"B#9"},{"type":"stringLiteral","value":"Bx9"},{"type":"stringLiteral","value":"Cbb10"},{"type":"stringLiteral","value":"Cb10"},{"type":"stringLiteral","value":"C10"},{"type":"stringLiteral","value":"C#10"},{"type":"stringLiteral","value":"Cx10"},{"type":"stringLiteral","value":"Dbb10"},{"type":"stringLiteral","value":"Db10"},{"type":"stringLiteral","value":"D10"},{"type":"stringLiteral","value":"D#10"},{"type":"stringLiteral","value":"Dx10"},{"type":"stringLiteral","value":"Ebb10"},{"type":"stringLiteral","value":"Eb10"},{"type":"stringLiteral","value":"E10"},{"type":"stringLiteral","value":"E#10"},{"type":"stringLiteral","value":"Ex10"},{"type":"stringLiteral","value":"Fbb10"},{"type":"stringLiteral","value":"Fb10"},{"type":"stringLiteral","value":"F10"},{"type":"stringLiteral","value":"F#10"},{"type":"stringLiteral","value":"Fx10"},{"type":"stringLiteral","value":"Gbb10"},{"type":"stringLiteral","value":"Gb10"},{"type":"stringLiteral","value":"G10"},{"type":"stringLiteral","value":"G#10"},{"type":"stringLiteral","value":"Gx10"},{"type":"stringLiteral","value":"Abb10"},{"type":"stringLiteral","value":"Ab10"},{"type":"stringLiteral","value":"A10"},{"type":"stringLiteral","value":"A#10"},{"type":"stringLiteral","value":"Ax10"},{"type":"stringLiteral","value":"Bbb10"},{"type":"stringLiteral","value":"Bb10"},{"type":"stringLiteral","value":"B10"},{"type":"stringLiteral","value":"B#10"},{"type":"stringLiteral","value":"Bx10"},{"type":"stringLiteral","value":"Cbb11"},{"type":"stringLiteral","value":"Cb11"},{"type":"stringLiteral","value":"C11"},{"type":"stringLiteral","value":"C#11"},{"type":"stringLiteral","value":"Cx11"},{"type":"stringLiteral","value":"Dbb11"},{"type":"stringLiteral","value":"Db11"},{"type":"stringLiteral","value":"D11"},{"type":"stringLiteral","value":"D#11"},{"type":"stringLiteral","value":"Dx11"},{"type":"stringLiteral","value":"Ebb11"},{"type":"stringLiteral","value":"Eb11"},{"type":"stringLiteral","value":"E11"},{"type":"stringLiteral","value":"E#11"},{"type":"stringLiteral","value":"Ex11"},{"type":"stringLiteral","value":"Fbb11"},{"type":"stringLiteral","value":"Fb11"},{"type":"stringLiteral","value":"F11"},{"type":"stringLiteral","value":"F#11"},{"type":"stringLiteral","value":"Fx11"},{"type":"stringLiteral","value":"Gbb11"},{"type":"stringLiteral","value":"Gb11"},{"type":"stringLiteral","value":"G11"},{"type":"stringLiteral","value":"G#11"},{"type":"stringLiteral","value":"Gx11"},{"type":"stringLiteral","value":"Abb11"},{"type":"stringLiteral","value":"Ab11"},{"type":"stringLiteral","value":"A11"},{"type":"stringLiteral","value":"A#11"},{"type":"stringLiteral","value":"Ax11"},{"type":"stringLiteral","value":"Bbb11"},{"type":"stringLiteral","value":"Bb11"},{"type":"stringLiteral","value":"B11"},{"type":"stringLiteral","value":"B#11"},{"type":"stringLiteral","value":"Bx11"}]}},{"id":1119,"name":"Omit","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"typeParameter":[{"id":1120,"name":"T","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}},{"id":1121,"name":"K","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"typeOperator","operator":"keyof","target":{"type":"typeParameter","name":"T"}}}],"sources":[{"fileName":"Tone/core/util/Interface.ts","line":4,"character":16}],"type":{"type":"reference","typeArguments":[{"type":"typeParameter","name":"T"},{"type":"reference","typeArguments":[{"type":"typeOperator","operator":"keyof","target":{"type":"typeParameter","name":"T"}},{"type":"typeParameter","name":"K","constraint":{"type":"typeOperator","operator":"keyof","target":{"type":"typeParameter","name":"T"}}}],"name":"Exclude"}],"name":"Pick"}},{"id":13456,"name":"OmitMonophonicOptions","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"typeParameter":[{"id":13457,"name":"T","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}}],"sources":[{"fileName":"Tone/instrument/PolySynth.ts","line":20,"character":26}],"type":{"type":"reference","id":1119,"typeArguments":[{"type":"typeParameter","name":"T"},{"type":"union","types":[{"type":"stringLiteral","value":"context"},{"type":"stringLiteral","value":"onsilence"}]}],"name":"Omit"}},{"id":6577,"name":"OmitSourceOptions","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"typeParameter":[{"id":6578,"name":"T","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"reference","id":6188,"name":"BaseOscillatorOptions"}}],"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":452,"character":22}],"type":{"type":"reference","id":1119,"typeArguments":[{"type":"typeParameter","name":"T","constraint":{"type":"reference","id":6188,"name":"BaseOscillatorOptions"}},{"type":"union","types":[{"type":"stringLiteral","value":"frequency"},{"type":"stringLiteral","value":"detune"},{"type":"stringLiteral","value":"context"}]}],"name":"Omit"}},{"id":8356,"name":"OmniOscSourceType","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"comment":{"shortText":"The available oscillator types."},"sources":[{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":41,"character":29}],"type":{"type":"typeOperator","operator":"keyof","target":{"type":"reference","id":8160,"name":"OmniOscillatorSource"}}},{"id":6576,"name":"OmniOscillatorOptions","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":445,"character":33}],"type":{"type":"union","types":[{"type":"reference","id":6415,"name":"PulseOscillatorOptions"},{"type":"reference","id":6425,"name":"PWMOscillatorOptions"},{"type":"reference","id":6508,"name":"OmniFatCustomOscillatorOptions"},{"type":"reference","id":6520,"name":"OmniFatTypeOscillatorOptions"},{"type":"reference","id":6532,"name":"OmniFatPartialsOscillatorOptions"},{"type":"reference","id":6435,"name":"OmniFMCustomOscillatorOptions"},{"type":"reference","id":6448,"name":"OmniFMTypeOscillatorOptions"},{"type":"reference","id":6461,"name":"OmniFMPartialsOscillatorOptions"},{"type":"reference","id":6473,"name":"OmniAMCustomOscillatorOptions"},{"type":"reference","id":6485,"name":"OmniAMTypeOscillatorOptions"},{"type":"reference","id":6497,"name":"OmniAMPartialsOscillatorOptions"},{"type":"reference","id":6556,"name":"ToneOscillatorConstructorOptions"}]}},{"id":6579,"name":"OmniOscillatorSynthOptions","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"comment":{"shortText":"The settable options for the omni oscillator inside of the source which excludes certain attributes that are defined by the parent class"},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":457,"character":38}],"type":{"type":"union","types":[{"type":"reference","id":6577,"typeArguments":[{"type":"reference","id":6415,"name":"PulseOscillatorOptions"}],"name":"OmitSourceOptions"},{"type":"reference","id":6577,"typeArguments":[{"type":"reference","id":6425,"name":"PWMOscillatorOptions"}],"name":"OmitSourceOptions"},{"type":"reference","id":6577,"typeArguments":[{"type":"reference","id":6508,"name":"OmniFatCustomOscillatorOptions"}],"name":"OmitSourceOptions"},{"type":"reference","id":6577,"typeArguments":[{"type":"reference","id":6520,"name":"OmniFatTypeOscillatorOptions"}],"name":"OmitSourceOptions"},{"type":"reference","id":6577,"typeArguments":[{"type":"reference","id":6532,"name":"OmniFatPartialsOscillatorOptions"}],"name":"OmitSourceOptions"},{"type":"reference","id":6577,"typeArguments":[{"type":"reference","id":6435,"name":"OmniFMCustomOscillatorOptions"}],"name":"OmitSourceOptions"},{"type":"reference","id":6577,"typeArguments":[{"type":"reference","id":6448,"name":"OmniFMTypeOscillatorOptions"}],"name":"OmitSourceOptions"},{"type":"reference","id":6577,"typeArguments":[{"type":"reference","id":6461,"name":"OmniFMPartialsOscillatorOptions"}],"name":"OmitSourceOptions"},{"type":"reference","id":6577,"typeArguments":[{"type":"reference","id":6473,"name":"OmniAMCustomOscillatorOptions"}],"name":"OmitSourceOptions"},{"type":"reference","id":6577,"typeArguments":[{"type":"reference","id":6485,"name":"OmniAMTypeOscillatorOptions"}],"name":"OmitSourceOptions"},{"type":"reference","id":6577,"typeArguments":[{"type":"reference","id":6497,"name":"OmniAMPartialsOscillatorOptions"}],"name":"OmitSourceOptions"},{"type":"reference","id":6577,"typeArguments":[{"type":"reference","id":6196,"name":"ToneCustomOscillatorOptions"}],"name":"OmitSourceOptions"},{"type":"reference","id":6577,"typeArguments":[{"type":"reference","id":6206,"name":"ToneTypeOscillatorOptions"}],"name":"OmitSourceOptions"},{"type":"reference","id":6577,"typeArguments":[{"type":"reference","id":6216,"name":"TonePartialOscillatorOptions"}],"name":"OmitSourceOptions"}]}},{"id":6575,"name":"OmniOscillatorType","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":439,"character":30}],"type":{"type":"union","types":[{"type":"stringLiteral","value":"fatsine"},{"type":"stringLiteral","value":"fatsquare"},{"type":"stringLiteral","value":"fatsawtooth"},{"type":"stringLiteral","value":"fattriangle"},{"type":"stringLiteral","value":"fatcustom"},{"type":"reference","id":6574,"name":"FatTypeWithPartials"},{"type":"stringLiteral","value":"fmsine"},{"type":"stringLiteral","value":"fmsquare"},{"type":"stringLiteral","value":"fmsawtooth"},{"type":"stringLiteral","value":"fmtriangle"},{"type":"stringLiteral","value":"fmcustom"},{"type":"reference","id":6564,"name":"FMTypeWithPartials"},{"type":"stringLiteral","value":"amsine"},{"type":"stringLiteral","value":"amsquare"},{"type":"stringLiteral","value":"amsawtooth"},{"type":"stringLiteral","value":"amtriangle"},{"type":"stringLiteral","value":"amcustom"},{"type":"reference","id":6569,"name":"AMTypeWithPartials"},{"type":"reference","id":6551,"name":"TypeWithPartials"},{"type":"reference","name":"OscillatorType"},{"type":"stringLiteral","value":"pulse"},{"type":"stringLiteral","value":"pwm"}]}},{"id":13062,"name":"OnePoleFilterType","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/component/filter/OnePoleFilter.ts","line":6,"character":29}],"type":{"type":"union","types":[{"type":"stringLiteral","value":"highpass"},{"type":"stringLiteral","value":"lowpass"}]}},{"id":1357,"name":"OneShotSourceCurve","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/OneShotSource.ts","line":11,"character":30}],"type":{"type":"union","types":[{"type":"stringLiteral","value":"linear"},{"type":"stringLiteral","value":"exponential"}]}},{"id":1102,"name":"OutputNode","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":8,"character":22}],"type":{"type":"union","types":[{"type":"reference","id":1004,"name":"ToneAudioNode"},{"type":"reference","name":"AudioNode"}]}},{"id":13460,"name":"PartialVoiceOptions","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"comment":{"shortText":"The settable synth options. excludes monophonic options."},"typeParameter":[{"id":13461,"name":"T","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}}],"sources":[{"fileName":"Tone/instrument/PolySynth.ts","line":34,"character":24}],"type":{"type":"reference","id":1132,"typeArguments":[{"type":"reference","id":13456,"typeArguments":[{"type":"reference","id":13458,"typeArguments":[{"type":"typeParameter","name":"T"}],"name":"VoiceOptions"}],"name":"OmitMonophonicOptions"}],"name":"RecursivePartial"}},{"id":14038,"name":"PatternName","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"comment":{"shortText":"The name of the patterns"},"sources":[{"fileName":"Tone/event/PatternGenerator.ts","line":7,"character":23}],"type":{"type":"union","types":[{"type":"stringLiteral","value":"up"},{"type":"stringLiteral","value":"down"},{"type":"stringLiteral","value":"upDown"},{"type":"stringLiteral","value":"downUp"},{"type":"stringLiteral","value":"alternateUp"},{"type":"stringLiteral","value":"alternateDown"},{"type":"stringLiteral","value":"random"},{"type":"stringLiteral","value":"randomOnce"},{"type":"stringLiteral","value":"randomWalk"}]}},{"id":706,"name":"PlaybackState","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/util/StateTimeline.ts","line":6,"character":25}],"type":{"type":"union","types":[{"type":"reference","id":705,"name":"BasicPlaybackState"},{"type":"stringLiteral","value":"paused"}]}},{"id":27,"name":"Positive","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"comment":{"shortText":"A number greater than or equal to 0."},"sources":[{"fileName":"Tone/core/type/Units.ts","line":45,"character":20}],"type":{"type":"intrinsic","name":"number"}},{"id":44,"name":"PowerOfTwo","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"comment":{"shortText":"A value which is a power of 2"},"sources":[{"fileName":"Tone/core/type/Units.ts","line":170,"character":22}],"type":{"type":"intrinsic","name":"number"}},{"id":38,"name":"Radians","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"comment":{"shortText":"Angle between 0 and 2 * PI."},"sources":[{"fileName":"Tone/core/type/Units.ts","line":132,"character":19}],"type":{"type":"intrinsic","name":"number"}},{"id":1132,"name":"RecursivePartial","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"comment":{"shortText":"Recursive Partial taken from here: https://stackoverflow.com/a/51365037"},"typeParameter":[{"id":1133,"name":"T","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}}],"sources":[{"fileName":"Tone/core/util/Interface.ts","line":40,"character":28}],"type":{"type":"reflection","declaration":{"id":1134,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/util/Interface.ts","line":40,"character":33}]}}},{"id":40,"name":"Samples","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"comment":{"shortText":"Sampling is the reduction of a continuous signal to a discrete signal.\nAudio is typically sampled 44100 times per second."},"sources":[{"fileName":"Tone/core/type/Units.ts","line":145,"character":19}],"type":{"type":"intrinsic","name":"number"}},{"id":6549,"name":"SawtoothWithPartials","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":140,"character":25}],"type":{"type":"union","types":[{"type":"stringLiteral","value":"sawtooth1"},{"type":"stringLiteral","value":"sawtooth2"},{"type":"stringLiteral","value":"sawtooth3"},{"type":"stringLiteral","value":"sawtooth4"},{"type":"stringLiteral","value":"sawtooth5"},{"type":"stringLiteral","value":"sawtooth6"},{"type":"stringLiteral","value":"sawtooth7"},{"type":"stringLiteral","value":"sawtooth8"},{"type":"stringLiteral","value":"sawtooth9"},{"type":"stringLiteral","value":"sawtooth10"},{"type":"stringLiteral","value":"sawtooth11"},{"type":"stringLiteral","value":"sawtooth12"},{"type":"stringLiteral","value":"sawtooth13"},{"type":"stringLiteral","value":"sawtooth14"},{"type":"stringLiteral","value":"sawtooth15"},{"type":"stringLiteral","value":"sawtooth16"},{"type":"stringLiteral","value":"sawtooth17"},{"type":"stringLiteral","value":"sawtooth18"},{"type":"stringLiteral","value":"sawtooth19"},{"type":"stringLiteral","value":"sawtooth20"},{"type":"stringLiteral","value":"sawtooth21"},{"type":"stringLiteral","value":"sawtooth22"},{"type":"stringLiteral","value":"sawtooth23"},{"type":"stringLiteral","value":"sawtooth24"},{"type":"stringLiteral","value":"sawtooth25"},{"type":"stringLiteral","value":"sawtooth26"},{"type":"stringLiteral","value":"sawtooth27"},{"type":"stringLiteral","value":"sawtooth28"},{"type":"stringLiteral","value":"sawtooth29"},{"type":"stringLiteral","value":"sawtooth30"},{"type":"stringLiteral","value":"sawtooth31"},{"type":"stringLiteral","value":"sawtooth32"}]}},{"id":21,"name":"Seconds","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"comment":{"shortText":"A number representing a time in seconds"},"sources":[{"fileName":"Tone/core/type/Units.ts","line":9,"character":19}],"type":{"type":"intrinsic","name":"number"}},{"id":14363,"name":"SequenceEventDescription","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"typeParameter":[{"id":14364,"name":"T","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}}],"sources":[{"fileName":"Tone/event/Sequence.ts","line":8,"character":29}],"type":{"type":"reference","typeArguments":[{"type":"union","types":[{"type":"typeParameter","name":"T"},{"type":"reference","typeArguments":[{"type":"union","types":[{"type":"typeParameter","name":"T"},{"type":"reference","typeArguments":[{"type":"union","types":[{"type":"typeParameter","name":"T"},{"type":"reference","typeArguments":[{"type":"union","types":[{"type":"typeParameter","name":"T"},{"type":"reference","typeArguments":[{"type":"union","types":[{"type":"typeParameter","name":"T"},{"type":"array","elementType":{"type":"typeParameter","name":"T"}}]}],"name":"Array"}]}],"name":"Array"}]}],"name":"Array"}]}],"name":"Array"}]}],"name":"Array"}},{"id":6992,"name":"SignalOperatorOptions","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/signal/SignalOperator.ts","line":5,"character":33}],"type":{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"}},{"id":6547,"name":"SineWithPartials","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"comment":{"shortText":"Oscillators with partials"},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":128,"character":21}],"type":{"type":"union","types":[{"type":"stringLiteral","value":"sine1"},{"type":"stringLiteral","value":"sine2"},{"type":"stringLiteral","value":"sine3"},{"type":"stringLiteral","value":"sine4"},{"type":"stringLiteral","value":"sine5"},{"type":"stringLiteral","value":"sine6"},{"type":"stringLiteral","value":"sine7"},{"type":"stringLiteral","value":"sine8"},{"type":"stringLiteral","value":"sine9"},{"type":"stringLiteral","value":"sine10"},{"type":"stringLiteral","value":"sine11"},{"type":"stringLiteral","value":"sine12"},{"type":"stringLiteral","value":"sine13"},{"type":"stringLiteral","value":"sine14"},{"type":"stringLiteral","value":"sine15"},{"type":"stringLiteral","value":"sine16"},{"type":"stringLiteral","value":"sine17"},{"type":"stringLiteral","value":"sine18"},{"type":"stringLiteral","value":"sine19"},{"type":"stringLiteral","value":"sine20"},{"type":"stringLiteral","value":"sine21"},{"type":"stringLiteral","value":"sine22"},{"type":"stringLiteral","value":"sine23"},{"type":"stringLiteral","value":"sine24"},{"type":"stringLiteral","value":"sine25"},{"type":"stringLiteral","value":"sine26"},{"type":"stringLiteral","value":"sine27"},{"type":"stringLiteral","value":"sine28"},{"type":"stringLiteral","value":"sine29"},{"type":"stringLiteral","value":"sine30"},{"type":"stringLiteral","value":"sine31"},{"type":"stringLiteral","value":"sine32"}]}},{"id":6548,"name":"SquareWithPartials","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":134,"character":23}],"type":{"type":"union","types":[{"type":"stringLiteral","value":"square1"},{"type":"stringLiteral","value":"square2"},{"type":"stringLiteral","value":"square3"},{"type":"stringLiteral","value":"square4"},{"type":"stringLiteral","value":"square5"},{"type":"stringLiteral","value":"square6"},{"type":"stringLiteral","value":"square7"},{"type":"stringLiteral","value":"square8"},{"type":"stringLiteral","value":"square9"},{"type":"stringLiteral","value":"square10"},{"type":"stringLiteral","value":"square11"},{"type":"stringLiteral","value":"square12"},{"type":"stringLiteral","value":"square13"},{"type":"stringLiteral","value":"square14"},{"type":"stringLiteral","value":"square15"},{"type":"stringLiteral","value":"square16"},{"type":"stringLiteral","value":"square17"},{"type":"stringLiteral","value":"square18"},{"type":"stringLiteral","value":"square19"},{"type":"stringLiteral","value":"square20"},{"type":"stringLiteral","value":"square21"},{"type":"stringLiteral","value":"square22"},{"type":"stringLiteral","value":"square23"},{"type":"stringLiteral","value":"square24"},{"type":"stringLiteral","value":"square25"},{"type":"stringLiteral","value":"square26"},{"type":"stringLiteral","value":"square27"},{"type":"stringLiteral","value":"square28"},{"type":"stringLiteral","value":"square29"},{"type":"stringLiteral","value":"square30"},{"type":"stringLiteral","value":"square31"},{"type":"stringLiteral","value":"square32"}]}},{"id":15822,"name":"StereoEffectOptions","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/effect/StereoEffect.ts","line":10,"character":31}],"type":{"type":"reference","id":14460,"name":"EffectOptions"}},{"id":28,"name":"Subdivision","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"comment":{"shortText":"Represents a subdivision of a measure.\nThe number represents the subdivision. \"t\" represents a triplet. A \".\" add a half.\ne.g. \"4n\" is a quarter note, \"4t\" is a quarter note triplet, and \"4n.\" is a dotted quarter note."},"sources":[{"fileName":"Tone/core/type/Units.ts","line":53,"character":23}],"type":{"type":"union","types":[{"type":"stringLiteral","value":"1m"},{"type":"stringLiteral","value":"1n"},{"type":"stringLiteral","value":"1n."},{"type":"stringLiteral","value":"2n"},{"type":"stringLiteral","value":"2n."},{"type":"stringLiteral","value":"2t"},{"type":"stringLiteral","value":"4n"},{"type":"stringLiteral","value":"4n."},{"type":"stringLiteral","value":"4t"},{"type":"stringLiteral","value":"8n"},{"type":"stringLiteral","value":"8n."},{"type":"stringLiteral","value":"8t"},{"type":"stringLiteral","value":"16n"},{"type":"stringLiteral","value":"16n."},{"type":"stringLiteral","value":"16t"},{"type":"stringLiteral","value":"32n"},{"type":"stringLiteral","value":"32n."},{"type":"stringLiteral","value":"32t"},{"type":"stringLiteral","value":"64n"},{"type":"stringLiteral","value":"64n."},{"type":"stringLiteral","value":"64t"},{"type":"stringLiteral","value":"128n"},{"type":"stringLiteral","value":"128n."},{"type":"stringLiteral","value":"128t"},{"type":"stringLiteral","value":"256n"},{"type":"stringLiteral","value":"256n."},{"type":"stringLiteral","value":"256t"},{"type":"stringLiteral","value":"0"}]}},{"id":2156,"name":"TickAutomationEvent","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/clock/TickParam.ts","line":7,"character":24}],"type":{"type":"intersection","types":[{"type":"reference","id":999,"name":"AutomationEvent"},{"type":"reflection","declaration":{"id":2157,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"children":[{"id":2158,"name":"ticks","kind":32,"kindString":"Variable","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/clock/TickParam.ts","line":8,"character":6}],"type":{"type":"intrinsic","name":"number"}}],"groups":[{"title":"Variables","kind":32,"children":[2158]}],"sources":[{"fileName":"Tone/core/clock/TickParam.ts","line":7,"character":44}]}}]}},{"id":388,"name":"TickerClockSource","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/clock/Ticker.ts","line":3,"character":29}],"type":{"type":"union","types":[{"type":"stringLiteral","value":"worker"},{"type":"stringLiteral","value":"timeout"},{"type":"stringLiteral","value":"offline"}]}},{"id":35,"name":"Ticks","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"comment":{"shortText":"Ticks are the basic subunit of the Transport. They are\nthe smallest unit of time that the Transport supports."},"sources":[{"fileName":"Tone/core/type/Units.ts","line":114,"character":17}],"type":{"type":"intrinsic","name":"number"}},{"id":31,"name":"Time","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"comment":{"shortText":"Time can be described in a number of ways. Read more [Time](https://github.com/Tonejs/Tone.js/wiki/Time).\n* Numbers, which will be taken literally as the time (in seconds).\n* Notation, (\"4n\", \"8t\") describes time in BPM and time signature relative values.\n* TransportTime, (\"4:3:2\") will also provide tempo and time signature relative times in the form BARS:QUARTERS:SIXTEENTHS.\n* Frequency, (\"8hz\") is converted to the length of the cycle in seconds.\n* Now-Relative, (\"+1\") prefix any of the above with \"+\" and it will be interpreted as \"the current time plus whatever expression follows\".\n* Object, ({\"4n\" : 3, \"8t\" : -1}). The resulting time is equal to the sum of all of the keys multiplied by the values in the object.\n* No Argument, for methods which accept time, no argument will be interpreted as \"now\" (i.e. the currentTime)."},"sources":[{"fileName":"Tone/core/type/Units.ts","line":81,"character":16}],"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","id":21,"name":"Seconds"},{"type":"reference","id":29,"name":"TimeObject"},{"type":"reference","id":28,"name":"Subdivision"}]}},{"id":503,"name":"TimeBaseUnit","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"comment":{"shortText":"The units that the TimeBase can accept. extended by other classes"},"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":11,"character":24}],"type":{"type":"union","types":[{"type":"stringLiteral","value":"s"},{"type":"stringLiteral","value":"n"},{"type":"stringLiteral","value":"t"},{"type":"stringLiteral","value":"m"},{"type":"stringLiteral","value":"i"},{"type":"stringLiteral","value":"hz"},{"type":"stringLiteral","value":"tr"},{"type":"stringLiteral","value":"samples"},{"type":"stringLiteral","value":"number"}]}},{"id":29,"name":"TimeObject","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"comment":{"shortText":"A time object has a subdivision as the keys and a number as the values.","tags":[{"tag":"example","text":"\nTone.Time({\n\t\"2n\": 1,\n\t\"8n\": 3\n}).valueOf(); // 2n + 8n * 3"}]},"sources":[{"fileName":"Tone/core/type/Units.ts","line":66,"character":22}],"type":{"type":"reflection","declaration":{"id":30,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/type/Units.ts","line":66,"character":24}]}}},{"id":33,"name":"TimeSignature","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"comment":{},"sources":[{"fileName":"Tone/core/type/Units.ts","line":98,"character":25}],"type":{"type":"union","types":[{"type":"intrinsic","name":"number"},{"type":"array","elementType":{"type":"intrinsic","name":"number"}}]}},{"id":502,"name":"TimeValue","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/type/TimeBase.ts","line":6,"character":21}],"type":{"type":"union","types":[{"type":"reference","id":31,"name":"Time"},{"type":"reference","id":434,"typeArguments":[{"type":"intrinsic","name":"any"},{"type":"intrinsic","name":"any"}],"name":"TimeBaseClass"}]}},{"id":354,"name":"TimelineSearchParam","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/util/Timeline.ts","line":7,"character":24}],"type":{"type":"union","types":[{"type":"stringLiteral","value":"ticks"},{"type":"stringLiteral","value":"time"}]}},{"id":1103,"name":"ToneAudioNodeOptions","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"comment":{"shortText":"The possible options for this node"},"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":19,"character":32}],"type":{"type":"reference","id":4791,"name":"ToneWithContextOptions"}},{"id":12844,"name":"ToneAudioWorkletOptions","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/worklet/ToneAudioWorklet.ts","line":5,"character":35}],"type":{"type":"reference","id":1103,"name":"ToneAudioNodeOptions"}},{"id":5885,"name":"ToneBufferSourceCurve","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/buffer/ToneBufferSource.ts","line":12,"character":33}],"type":{"type":"reference","id":1357,"name":"OneShotSourceCurve"}},{"id":13747,"name":"ToneEventCallback","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"typeParameter":[{"id":13748,"name":"T","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}}],"sources":[{"fileName":"Tone/event/ToneEvent.ts","line":11,"character":29}],"type":{"type":"reflection","declaration":{"id":13749,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":13750,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":13751,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":21,"name":"Seconds"}},{"id":13752,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"typeParameter","name":"T"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/event/ToneEvent.ts","line":11,"character":34}]}}},{"id":6556,"name":"ToneOscillatorConstructorOptions","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":185,"character":44}],"type":{"type":"union","types":[{"type":"reference","id":6196,"name":"ToneCustomOscillatorOptions"},{"type":"reference","id":6206,"name":"ToneTypeOscillatorOptions"},{"type":"reference","id":6216,"name":"TonePartialOscillatorOptions"}]}},{"id":6554,"name":"ToneOscillatorType","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":164,"character":30}],"type":{"type":"union","types":[{"type":"reference","id":6553,"name":"AllNonCustomOscillatorType"},{"type":"stringLiteral","value":"custom"}]}},{"id":2441,"name":"TransportCallback","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":43,"character":22}],"type":{"type":"reflection","declaration":{"id":2442,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":2443,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":2444,"name":"time","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":21,"name":"Seconds"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":43,"character":24}]}}},{"id":2440,"name":"TransportEventNames","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/core/clock/Transport.ts","line":35,"character":24}],"type":{"type":"union","types":[{"type":"stringLiteral","value":"start"},{"type":"stringLiteral","value":"stop"},{"type":"stringLiteral","value":"pause"},{"type":"stringLiteral","value":"loop"},{"type":"stringLiteral","value":"loopEnd"},{"type":"stringLiteral","value":"loopStart"},{"type":"stringLiteral","value":"ticks"}]}},{"id":34,"name":"TransportTime","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"comment":{"shortText":"TransportTime describes a position along the Transport's timeline. It is\nsimilar to Time in that it uses all the same encodings, but TransportTime specifically\npertains to the Transport's timeline, which is startable, stoppable, loopable, and seekable.\n[Read more](https://github.com/Tonejs/Tone.js/wiki/TransportTime)"},"sources":[{"fileName":"Tone/core/type/Units.ts","line":107,"character":25}],"type":{"type":"reference","id":31,"name":"Time"}},{"id":6550,"name":"TriangleWithPartials","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":146,"character":25}],"type":{"type":"union","types":[{"type":"stringLiteral","value":"triangle1"},{"type":"stringLiteral","value":"triangle2"},{"type":"stringLiteral","value":"triangle3"},{"type":"stringLiteral","value":"triangle4"},{"type":"stringLiteral","value":"triangle5"},{"type":"stringLiteral","value":"triangle6"},{"type":"stringLiteral","value":"triangle7"},{"type":"stringLiteral","value":"triangle8"},{"type":"stringLiteral","value":"triangle9"},{"type":"stringLiteral","value":"triangle10"},{"type":"stringLiteral","value":"triangle11"},{"type":"stringLiteral","value":"triangle12"},{"type":"stringLiteral","value":"triangle13"},{"type":"stringLiteral","value":"triangle14"},{"type":"stringLiteral","value":"triangle15"},{"type":"stringLiteral","value":"triangle16"},{"type":"stringLiteral","value":"triangle17"},{"type":"stringLiteral","value":"triangle18"},{"type":"stringLiteral","value":"triangle19"},{"type":"stringLiteral","value":"triangle20"},{"type":"stringLiteral","value":"triangle21"},{"type":"stringLiteral","value":"triangle22"},{"type":"stringLiteral","value":"triangle23"},{"type":"stringLiteral","value":"triangle24"},{"type":"stringLiteral","value":"triangle25"},{"type":"stringLiteral","value":"triangle26"},{"type":"stringLiteral","value":"triangle27"},{"type":"stringLiteral","value":"triangle28"},{"type":"stringLiteral","value":"triangle29"},{"type":"stringLiteral","value":"triangle30"},{"type":"stringLiteral","value":"triangle31"},{"type":"stringLiteral","value":"triangle32"}]}},{"id":6551,"name":"TypeWithPartials","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":152,"character":21}],"type":{"type":"union","types":[{"type":"reference","id":6547,"name":"SineWithPartials"},{"type":"reference","id":6548,"name":"SquareWithPartials"},{"type":"reference","id":6550,"name":"TriangleWithPartials"},{"type":"reference","id":6549,"name":"SawtoothWithPartials"}]}},{"id":45,"name":"Unit","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"comment":{"shortText":"All of the unit types"},"sources":[{"fileName":"Tone/core/type/Units.ts","line":198,"character":16}],"type":{"type":"indexedAccess","indexType":{"type":"typeOperator","operator":"keyof","target":{"type":"reference","name":"UnitMap"}},"objectType":{"type":"reference","name":"UnitMap"}}},{"id":46,"name":"UnitName","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"comment":{"shortText":"All of the unit names"},"sources":[{"fileName":"Tone/core/type/Units.ts","line":204,"character":20}],"type":{"type":"typeOperator","operator":"keyof","target":{"type":"reference","id":4,"name":"UnitMap"}}},{"id":13449,"name":"VoiceConstructor","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"typeParameter":[{"id":13450,"name":"V","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}}],"sources":[{"fileName":"Tone/instrument/PolySynth.ts","line":16,"character":21}],"type":{"type":"intersection","types":[{"type":"reflection","declaration":{"id":13451,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"children":[{"id":13452,"name":"getDefaults","kind":32,"kindString":"Variable","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/PolySynth.ts","line":17,"character":12}],"type":{"type":"reflection","declaration":{"id":13453,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":13454,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":13458,"typeArguments":[{"type":"typeParameter","name":"V"}],"name":"VoiceOptions"}}],"sources":[{"fileName":"Tone/instrument/PolySynth.ts","line":17,"character":13}]}}}],"groups":[{"title":"Variables","kind":32,"children":[13452]}],"sources":[{"fileName":"Tone/instrument/PolySynth.ts","line":16,"character":26}]}},{"type":"reflection","declaration":{"id":13455,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/PolySynth.ts","line":18,"character":3}]}}]}},{"id":13458,"name":"VoiceOptions","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"typeParameter":[{"id":13459,"name":"T","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}}],"sources":[{"fileName":"Tone/instrument/PolySynth.ts","line":22,"character":17}],"type":{"type":"conditional","checkType":{"type":"typeParameter","name":"T"},"extendsType":{"type":"reference","name":"MembraneSynth"},"trueType":{"type":"reference","name":"MembraneSynthOptions"},"falseType":{"type":"conditional","checkType":{"type":"typeParameter","name":"T"},"extendsType":{"type":"reference","name":"MetalSynth"},"trueType":{"type":"reference","name":"MetalSynthOptions"},"falseType":{"type":"conditional","checkType":{"type":"typeParameter","name":"T"},"extendsType":{"type":"reference","name":"FMSynth"},"trueType":{"type":"reference","name":"FMSynthOptions"},"falseType":{"type":"conditional","checkType":{"type":"typeParameter","name":"T"},"extendsType":{"type":"reference","name":"MonoSynth"},"trueType":{"type":"reference","name":"MonoSynthOptions"},"falseType":{"type":"conditional","checkType":{"type":"typeParameter","name":"T"},"extendsType":{"type":"reference","name":"AMSynth"},"trueType":{"type":"reference","name":"AMSynthOptions"},"falseType":{"type":"conditional","checkType":{"type":"typeParameter","name":"T"},"extendsType":{"type":"reference","name":"Synth"},"trueType":{"type":"reference","name":"SynthOptions"},"falseType":{"type":"intrinsic","name":"never"}}}}}}}},{"id":7103,"name":"WaveShaperMapping","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/signal/WaveShaper.ts","line":10,"character":22}],"type":{"type":"union","types":[{"type":"reference","id":7098,"name":"WaveShaperMappingFn"},{"type":"array","elementType":{"type":"intrinsic","name":"number"}},{"type":"reference","name":"Float32Array"}]}},{"id":7098,"name":"WaveShaperMappingFn","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/signal/WaveShaper.ts","line":8,"character":31}],"type":{"type":"reflection","declaration":{"id":7099,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":7100,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":7101,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}},{"id":7102,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}}],"type":{"type":"intrinsic","name":"number"}}],"sources":[{"fileName":"Tone/signal/WaveShaper.ts","line":8,"character":33}]}}},{"id":1358,"name":"onEndedCallback","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/OneShotSource.ts","line":13,"character":20}],"type":{"type":"reflection","declaration":{"id":1359,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":1360,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":1361,"name":"source","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":1239,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"OneShotSource"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/OneShotSource.ts","line":13,"character":22}]}}},{"id":10956,"name":"onSilenceCallback","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":9,"character":22}],"type":{"type":"reflection","declaration":{"id":10957,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":10958,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":10959,"name":"instrument","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":10828,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"Monophonic"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/instrument/Monophonic.ts","line":9,"character":24}]}}},{"id":5706,"name":"onStopCallback","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Source.ts","line":14,"character":19}],"type":{"type":"reflection","declaration":{"id":5707,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":5708,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":5709,"name":"source","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":5563,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"Source"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/source/Source.ts","line":14,"character":21}]}}},{"id":401,"name":"A4","kind":32,"kindString":"Variable","flags":{"isExported":true,"isLet":true},"comment":{"shortText":"The Global [concert tuning pitch](https://en.wikipedia.org/wiki/Concert_pitch) which is used\nto generate all the other pitch values from notes. A4's values in Hertz."},"sources":[{"fileName":"Tone/core/type/Conversions.ts","line":42,"character":6}],"type":{"type":"reference","id":41,"name":"Hertz"},"defaultValue":"440"},{"id":6048,"name":"BUFFER_LENGTH","kind":32,"kindString":"Variable","flags":{"isExported":true,"isConst":true},"sources":[{"fileName":"Tone/source/Noise.ts","line":203,"character":19}],"type":{"type":"intrinsic","name":"number"},"defaultValue":"44100 * 5"},{"id":20088,"name":"Buffer","kind":32,"kindString":"Variable","flags":{"isExported":true,"isConst":true},"sources":[{"fileName":"Tone/index.ts","line":114,"character":19}],"type":{"type":"query","queryType":{"type":"reference","name":"ToneAudioBuffer"}},"defaultValue":"ToneAudioBuffer"},{"id":20090,"name":"BufferSource","kind":32,"kindString":"Variable","flags":{"isExported":true,"isConst":true},"sources":[{"fileName":"Tone/index.ts","line":116,"character":25}],"type":{"type":"query","queryType":{"type":"reference","name":"ToneBufferSource"}},"defaultValue":"ToneBufferSource"},{"id":20089,"name":"Buffers","kind":32,"kindString":"Variable","flags":{"isExported":true,"isConst":true},"sources":[{"fileName":"Tone/index.ts","line":115,"character":20}],"type":{"type":"query","queryType":{"type":"reference","name":"ToneAudioBuffers"}},"defaultValue":"ToneAudioBuffers"},{"id":217,"name":"EPSILON","kind":32,"kindString":"Variable","flags":{"isExported":true,"isConst":true},"comment":{"shortText":"The threshold for correctness for operators. Less than one sample even\nat very high sampling rates (e.g. `1e-6 < 1 / 192000`)."},"sources":[{"fileName":"Tone/core/util/Math.ts","line":5,"character":13}],"type":{"type":"unknown","name":"0.000001"},"defaultValue":"0.000001"},{"id":10703,"name":"EnvelopeCurves","kind":32,"kindString":"Variable","flags":{"isExported":true,"isConst":true},"comment":{"shortText":"Generate some complex envelope curves."},"sources":[{"fileName":"Tone/component/envelope/Envelope.ts","line":532,"character":20}],"type":{"type":"reference","id":10690,"name":"EnvelopeCurveMap"},"defaultValue":"(() => {\n\n\tconst curveLen = 128;\n\n\tlet i: number;\n\tlet k: number;\n\n\t// cosine curve\n\tconst cosineCurve: number[] = [];\n\tfor (i = 0; i < curveLen; i++) {\n\t\tcosineCurve[i] = Math.sin((i / (curveLen - 1)) * (Math.PI / 2));\n\t}\n\n\t// ripple curve\n\tconst rippleCurve: number[] = [];\n\tconst rippleCurveFreq = 6.4;\n\tfor (i = 0; i < curveLen - 1; i++) {\n\t\tk = (i / (curveLen - 1));\n\t\tconst sineWave = Math.sin(k * (Math.PI * 2) * rippleCurveFreq - Math.PI / 2) + 1;\n\t\trippleCurve[i] = sineWave / 10 + k * 0.83;\n\t}\n\trippleCurve[curveLen - 1] = 1;\n\n\t// stairs curve\n\tconst stairsCurve: number[] = [];\n\tconst steps = 5;\n\tfor (i = 0; i < curveLen; i++) {\n\t\tstairsCurve[i] = Math.ceil((i / (curveLen - 1)) * steps) / steps;\n\t}\n\n\t// in-out easing curve\n\tconst sineCurve: number[] = [];\n\tfor (i = 0; i < curveLen; i++) {\n\t\tk = i / (curveLen - 1);\n\t\tsineCurve[i] = 0.5 * (1 - Math.cos(Math.PI * k));\n\t}\n\n\t// a bounce curve\n\tconst bounceCurve: number[] = [];\n\tfor (i = 0; i < curveLen; i++) {\n\t\tk = i / (curveLen - 1);\n\t\tconst freq = Math.pow(k, 3) * 4 + 0.2;\n\t\tconst val = Math.cos(freq * Math.PI * 2 * k);\n\t\tbounceCurve[i] = Math.abs(val * (1 - k));\n\t}\n\n\t/**\n\t * Invert a value curve to make it work for the release\n\t */\n\tfunction invertCurve(curve: number[]): number[] {\n\t\tconst out = new Array(curve.length);\n\t\tfor (let j = 0; j < curve.length; j++) {\n\t\t\tout[j] = 1 - curve[j];\n\t\t}\n\t\treturn out;\n\t}\n\n\t/**\n\t * reverse the curve\n\t */\n\tfunction reverseCurve(curve: number[]): number[] {\n\t\treturn curve.slice(0).reverse();\n\t}\n\n\t/**\n\t * attack and release curve arrays\n\t */\n\treturn {\n\t\tbounce: {\n\t\t\tIn: invertCurve(bounceCurve),\n\t\t\tOut: bounceCurve,\n\t\t},\n\t\tcosine: {\n\t\t\tIn: cosineCurve,\n\t\t\tOut: reverseCurve(cosineCurve),\n\t\t},\n\t\texponential: \"exponential\" as \"exponential\",\n\t\tlinear: \"linear\" as \"linear\",\n\t\tripple: {\n\t\t\tIn: rippleCurve,\n\t\t\tOut: invertCurve(rippleCurve),\n\t\t},\n\t\tsine: {\n\t\t\tIn: sineCurve,\n\t\t\tOut: invertCurve(sineCurve),\n\t\t},\n\t\tstep: {\n\t\t\tIn: stairsCurve,\n\t\t\tOut: invertCurve(stairsCurve),\n\t\t},\n\t};\n})()"},{"id":20078,"name":"Master","kind":32,"kindString":"Variable","flags":{"isExported":true,"isConst":true},"comment":{"tags":[{"tag":"deprecated","text":"Use [[Destination]]\n"}]},"sources":[{"fileName":"Tone/index.ts","line":54,"character":19}],"type":{"type":"reference","id":2545,"name":"Destination"},"defaultValue":"getContext().destination"},{"id":6049,"name":"NUM_CHANNELS","kind":32,"kindString":"Variable","flags":{"isExported":true,"isConst":true},"sources":[{"fileName":"Tone/source/Noise.ts","line":204,"character":18}],"type":{"type":"unknown","name":"2"},"defaultValue":"2"},{"id":16787,"name":"allpassFilterFreqs","kind":32,"kindString":"Variable","flags":{"isExported":true,"isConst":true},"comment":{"shortText":"the allpass filter frequencies"},"sources":[{"fileName":"Tone/effect/JCReverb.ts","line":26,"character":24}],"type":{"type":"array","elementType":{"type":"intrinsic","name":"number"}},"defaultValue":"[347, 113, 37]"},{"id":16681,"name":"allpassFilterFrequencies","kind":32,"kindString":"Variable","flags":{"isExported":true,"isConst":true},"comment":{"shortText":"An array of allpass filter frequency values from Freeverb implementation"},"sources":[{"fileName":"Tone/effect/Freeverb.ts","line":21,"character":30}],"type":{"type":"array","elementType":{"type":"intrinsic","name":"number"}},"defaultValue":"[225, 556, 441, 341]"},{"id":15236,"name":"bitCrusherWorklet","kind":32,"kindString":"Variable","flags":{"isExported":true,"isConst":true},"sources":[{"fileName":"Tone/effect/BitCrusher.worklet.ts","line":6,"character":30}],"type":{"type":"stringLiteral","value":"\n\tclass BitCrusherWorklet extends SingleIOProcessor {\n\n\t\tstatic get parameterDescriptors() {\n\t\t\treturn [{\n\t\t\t\tname: \"bits\",\n\t\t\t\tdefaultValue: 12,\n\t\t\t\tminValue: 1,\n\t\t\t\tmaxValue: 16,\n\t\t\t\tautomationRate: 'k-rate'\n\t\t\t}];\n\t\t}\n\n\t\tgenerate(input, _channel, parameters) {\n\t\t\tconst step = Math.pow(0.5, parameters.bits - 1);\n\t\t\tconst val = step * Math.floor(input / step + 0.5);\n\t\t\treturn val;\n\t\t}\n\t}\n"},"defaultValue":"`\n\tclass BitCrusherWorklet extends SingleIOProcessor {\n\n\t\tstatic get parameterDescriptors() {\n\t\t\treturn [{\n\t\t\t\tname: \"bits\",\n\t\t\t\tdefaultValue: 12,\n\t\t\t\tminValue: 1,\n\t\t\t\tmaxValue: 16,\n\t\t\t\tautomationRate: 'k-rate'\n\t\t\t}];\n\t\t}\n\n\t\tgenerate(input, _channel, parameters) {\n\t\t\tconst step = Math.pow(0.5, parameters.bits - 1);\n\t\t\tconst val = step * Math.floor(input / step + 0.5);\n\t\t\treturn val;\n\t\t}\n\t}\n`"},{"id":16785,"name":"combFilterDelayTimes","kind":32,"kindString":"Variable","flags":{"isExported":true,"isConst":true},"comment":{"shortText":"an array of the comb filter delay time values"},"sources":[{"fileName":"Tone/effect/JCReverb.ts","line":16,"character":26}],"type":{"type":"array","elementType":{"type":"intrinsic","name":"number"}},"defaultValue":"[1687 / 25000, 1601 / 25000, 2053 / 25000, 2251 / 25000]"},{"id":16786,"name":"combFilterResonances","kind":32,"kindString":"Variable","flags":{"isExported":true,"isConst":true},"comment":{"shortText":"the resonances of each of the comb filters"},"sources":[{"fileName":"Tone/effect/JCReverb.ts","line":21,"character":26}],"type":{"type":"array","elementType":{"type":"intrinsic","name":"number"}},"defaultValue":"[0.773, 0.802, 0.753, 0.733]"},{"id":16680,"name":"combFilterTunings","kind":32,"kindString":"Variable","flags":{"isExported":true,"isConst":true},"comment":{"shortText":"An array of comb filter delay values from Freeverb implementation"},"sources":[{"fileName":"Tone/effect/Freeverb.ts","line":16,"character":23}],"type":{"type":"array","elementType":{"type":"intrinsic","name":"number"}},"defaultValue":"[1557 / 44100, 1617 / 44100, 1491 / 44100, 1422 / 44100, 1277 / 44100, 1356 / 44100, 1188 / 44100, 1116 / 44100]"},{"id":20085,"name":"context","kind":32,"kindString":"Variable","flags":{"isExported":true,"isConst":true},"comment":{"shortText":"A reference to the global context\nSee [[Context]]"},"sources":[{"fileName":"Tone/index.ts","line":100,"character":20}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"defaultValue":"getContext()"},{"id":3234,"name":"defaultLogger","kind":32,"kindString":"Variable","flags":{"isExported":true,"isLet":true},"comment":{"shortText":"The default logger is the console"},"sources":[{"fileName":"Tone/core/util/Debug.ts","line":42,"character":17}],"type":{"type":"reference","id":3213,"name":"Logger"},"defaultValue":"console"},{"id":12847,"name":"delayLine","kind":32,"kindString":"Variable","flags":{"isExported":true,"isConst":true},"sources":[{"fileName":"Tone/core/worklet/DelayLine.worklet.ts","line":3,"character":15}],"type":{"type":"stringLiteral","value":"\n\t/**\n\t * A multichannel buffer for use within an AudioWorkletProcessor as a delay line\n\t */\n\tclass DelayLine {\n\t\t\n\t\tconstructor(size, channels) {\n\t\t\tthis.buffer = [];\n\t\t\tthis.writeHead = []\n\t\t\tthis.size = size;\n\n\t\t\t// create the empty channels\n\t\t\tfor (let i = 0; i < channels; i++) {\n\t\t\t\tthis.buffer[i] = new Float32Array(this.size);\n\t\t\t\tthis.writeHead[i] = 0;\n\t\t\t}\n\t\t}\n\n\t\t/**\n\t\t * Push a value onto the end\n\t\t * @param channel number\n\t\t * @param value number\n\t\t */\n\t\tpush(channel, value) {\n\t\t\tthis.writeHead[channel] += 1;\n\t\t\tif (this.writeHead[channel] > this.size) {\n\t\t\t\tthis.writeHead[channel] = 0;\n\t\t\t}\n\t\t\tthis.buffer[channel][this.writeHead[channel]] = value;\n\t\t}\n\n\t\t/**\n\t\t * Get the recorded value of the channel given the delay\n\t\t * @param channel number\n\t\t * @param delay number delay samples\n\t\t */\n\t\tget(channel, delay) {\n\t\t\tlet readHead = this.writeHead[channel] - Math.floor(delay);\n\t\t\tif (readHead < 0) {\n\t\t\t\treadHead += this.size;\n\t\t\t}\n\t\t\treturn this.buffer[channel][readHead];\n\t\t}\n\t}\n"},"defaultValue":"`\n\t/**\n\t * A multichannel buffer for use within an AudioWorkletProcessor as a delay line\n\t */\n\tclass DelayLine {\n\t\t\n\t\tconstructor(size, channels) {\n\t\t\tthis.buffer = [];\n\t\t\tthis.writeHead = []\n\t\t\tthis.size = size;\n\n\t\t\t// create the empty channels\n\t\t\tfor (let i = 0; i < channels; i++) {\n\t\t\t\tthis.buffer[i] = new Float32Array(this.size);\n\t\t\t\tthis.writeHead[i] = 0;\n\t\t\t}\n\t\t}\n\n\t\t/**\n\t\t * Push a value onto the end\n\t\t * @param channel number\n\t\t * @param value number\n\t\t */\n\t\tpush(channel, value) {\n\t\t\tthis.writeHead[channel] += 1;\n\t\t\tif (this.writeHead[channel] > this.size) {\n\t\t\t\tthis.writeHead[channel] = 0;\n\t\t\t}\n\t\t\tthis.buffer[channel][this.writeHead[channel]] = value;\n\t\t}\n\n\t\t/**\n\t\t * Get the recorded value of the channel given the delay\n\t\t * @param channel number\n\t\t * @param delay number delay samples\n\t\t */\n\t\tget(channel, delay) {\n\t\t\tlet readHead = this.writeHead[channel] - Math.floor(delay);\n\t\t\tif (readHead < 0) {\n\t\t\t\treadHead += this.size;\n\t\t\t}\n\t\t\treturn this.buffer[channel][readHead];\n\t\t}\n\t}\n`"},{"id":4647,"name":"dummyContext","kind":32,"kindString":"Variable","flags":{"isExported":true,"isConst":true},"comment":{"shortText":"This dummy context is used to avoid throwing immediate errors when importing in Node.js"},"sources":[{"fileName":"Tone/core/Global.ts","line":12,"character":18}],"type":{"type":"reference","id":4189,"name":"DummyContext"},"defaultValue":"new DummyContext()"},{"id":12849,"name":"feedbackCombFilter","kind":32,"kindString":"Variable","flags":{"isExported":true,"isConst":true},"sources":[{"fileName":"Tone/component/filter/FeedbackCombFilter.worklet.ts","line":7,"character":24}],"type":{"type":"stringLiteral","value":"\n\tclass FeedbackCombFilterWorklet extends SingleIOProcessor {\n\n\t\tconstructor(options) {\n\t\t\tsuper(options);\n\t\t\tthis.delayLine = new DelayLine(this.sampleRate, options.channelCount || 2);\n\t\t}\n\n\t\tstatic get parameterDescriptors() {\n\t\t\treturn [{\n\t\t\t\tname: \"delayTime\",\n\t\t\t\tdefaultValue: 0.1,\n\t\t\t\tminValue: 0,\n\t\t\t\tmaxValue: 1,\n\t\t\t\tautomationRate: \"k-rate\"\n\t\t\t}, {\n\t\t\t\tname: \"feedback\",\n\t\t\t\tdefaultValue: 0.5,\n\t\t\t\tminValue: 0,\n\t\t\t\tmaxValue: 0.9999,\n\t\t\t\tautomationRate: \"k-rate\"\n\t\t\t}];\n\t\t}\n\n\t\tgenerate(input, channel, parameters) {\n\t\t\tconst delayedSample = this.delayLine.get(channel, parameters.delayTime * this.sampleRate);\n\t\t\tthis.delayLine.push(channel, input + delayedSample * parameters.feedback);\n\t\t\treturn delayedSample;\n\t\t}\n\t}\n"},"defaultValue":"`\n\tclass FeedbackCombFilterWorklet extends SingleIOProcessor {\n\n\t\tconstructor(options) {\n\t\t\tsuper(options);\n\t\t\tthis.delayLine = new DelayLine(this.sampleRate, options.channelCount || 2);\n\t\t}\n\n\t\tstatic get parameterDescriptors() {\n\t\t\treturn [{\n\t\t\t\tname: \"delayTime\",\n\t\t\t\tdefaultValue: 0.1,\n\t\t\t\tminValue: 0,\n\t\t\t\tmaxValue: 1,\n\t\t\t\tautomationRate: \"k-rate\"\n\t\t\t}, {\n\t\t\t\tname: \"feedback\",\n\t\t\t\tdefaultValue: 0.5,\n\t\t\t\tminValue: 0,\n\t\t\t\tmaxValue: 0.9999,\n\t\t\t\tautomationRate: \"k-rate\"\n\t\t\t}];\n\t\t}\n\n\t\tgenerate(input, channel, parameters) {\n\t\t\tconst delayedSample = this.delayLine.get(channel, parameters.delayTime * this.sampleRate);\n\t\t\tthis.delayLine.push(channel, input + delayedSample * parameters.feedback);\n\t\t\treturn delayedSample;\n\t\t}\n\t}\n`"},{"id":4648,"name":"globalContext","kind":32,"kindString":"Variable","flags":{"isExported":true,"isLet":true},"comment":{"shortText":"The global audio context which is getable and assignable through\ngetContext and setContext"},"sources":[{"fileName":"Tone/core/Global.ts","line":18,"character":17}],"type":{"type":"reference","id":3052,"name":"BaseContext"},"defaultValue":"dummyContext"},{"id":12480,"name":"inharmRatios","kind":32,"kindString":"Variable","flags":{"isExported":true,"isConst":true},"comment":{"shortText":"Inharmonic ratio of frequencies based on the Roland TR-808\nTaken from https://ccrma.stanford.edu/papers/tr-808-cymbal-physically-informed-circuit-bendable-digital-model"},"sources":[{"fileName":"Tone/instrument/MetalSynth.ts","line":26,"character":18}],"type":{"type":"array","elementType":{"type":"intrinsic","name":"number"}},"defaultValue":"[1.0, 1.483, 1.932, 2.546, 2.630, 3.897]"},{"id":2972,"name":"notifyCloseContext","kind":32,"kindString":"Variable","flags":{"isExported":true,"isConst":true},"comment":{"shortText":"Array of callbacks to invoke when a new context is created"},"sources":[{"fileName":"Tone/core/context/ContextInitialization.ts","line":30,"character":24}],"type":{"type":"reference","typeArguments":[{"type":"reflection","declaration":{"id":2973,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":2974,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":2975,"name":"ctx","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":2755,"name":"Context"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/context/ContextInitialization.ts","line":30,"character":32}]}}],"name":"Array"},"defaultValue":"[]"},{"id":2959,"name":"notifyNewContext","kind":32,"kindString":"Variable","flags":{"isExported":true,"isConst":true},"comment":{"shortText":"Array of callbacks to invoke when a new context is created"},"sources":[{"fileName":"Tone/core/context/ContextInitialization.ts","line":10,"character":22}],"type":{"type":"reference","typeArguments":[{"type":"reflection","declaration":{"id":2960,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":2961,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":2962,"name":"ctx","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":2755,"name":"Context"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/context/ContextInitialization.ts","line":10,"character":30}]}}],"name":"Array"},"defaultValue":"[]"},{"id":12846,"name":"singleIOProcess","kind":32,"kindString":"Variable","flags":{"isExported":true,"isConst":true},"sources":[{"fileName":"Tone/core/worklet/SingleIOProcessor.worklet.ts","line":4,"character":28}],"type":{"type":"stringLiteral","value":"\n\t/**\n\t * Abstract class for a single input/output processor. \n\t * has a 'generate' function which processes one sample at a time\n\t */\n\tclass SingleIOProcessor extends ToneAudioWorkletProcessor {\n\n\t\tconstructor(options) {\n\t\t\tsuper(Object.assign(options, {\n\t\t\t\tnumberOfInputs: 1,\n\t\t\t\tnumberOfOutputs: 1\n\t\t\t}));\n\t\t\t/**\n\t\t\t * Holds the name of the parameter and a single value of that\n\t\t\t * parameter at the current sample\n\t\t\t * @type { [name: string]: number }\n\t\t\t */\n\t\t\tthis.params = {}\n\t\t}\n\n\t\t/**\n\t\t * Generate an output sample from the input sample and parameters\n\t\t * @abstract\n\t\t * @param input number\n\t\t * @param channel number\n\t\t * @param parameters { [name: string]: number }\n\t\t * @returns number\n\t\t */\n\t\tgenerate(){}\n\n\t\t/**\n\t\t * Update the private params object with the \n\t\t * values of the parameters at the given index\n\t\t * @param parameters { [name: string]: Float32Array },\n\t\t * @param index number\n\t\t */\n\t\tupdateParams(parameters, index) {\n\t\t\tfor (const paramName in parameters) {\n\t\t\t\tconst param = parameters[paramName];\n\t\t\t\tif (param.length > 1) {\n\t\t\t\t\tthis.params[paramName] = parameters[paramName][index];\n\t\t\t\t} else {\n\t\t\t\t\tthis.params[paramName] = parameters[paramName][0];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t/**\n\t\t * Process a single frame of the audio\n\t\t * @param inputs Float32Array[][]\n\t\t * @param outputs Float32Array[][]\n\t\t */\n\t\tprocess(inputs, outputs, parameters) {\n\t\t\tconst input = inputs[0];\n\t\t\tconst output = outputs[0];\n\t\t\t// get the parameter values\n\t\t\tconst channelCount = Math.max(input && input.length || 0, output.length);\n\t\t\tfor (let sample = 0; sample < this.blockSize; sample++) {\n\t\t\t\tthis.updateParams(parameters, sample);\n\t\t\t\tfor (let channel = 0; channel < channelCount; channel++) {\n\t\t\t\t\tconst inputSample = input && input.length ? input[channel][sample] : 0;\n\t\t\t\t\toutput[channel][sample] = this.generate(inputSample, channel, this.params);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn !this.disposed;\n\t\t}\n\t};\n"},"defaultValue":"`\n\t/**\n\t * Abstract class for a single input/output processor. \n\t * has a 'generate' function which processes one sample at a time\n\t */\n\tclass SingleIOProcessor extends ToneAudioWorkletProcessor {\n\n\t\tconstructor(options) {\n\t\t\tsuper(Object.assign(options, {\n\t\t\t\tnumberOfInputs: 1,\n\t\t\t\tnumberOfOutputs: 1\n\t\t\t}));\n\t\t\t/**\n\t\t\t * Holds the name of the parameter and a single value of that\n\t\t\t * parameter at the current sample\n\t\t\t * @type { [name: string]: number }\n\t\t\t */\n\t\t\tthis.params = {}\n\t\t}\n\n\t\t/**\n\t\t * Generate an output sample from the input sample and parameters\n\t\t * @abstract\n\t\t * @param input number\n\t\t * @param channel number\n\t\t * @param parameters { [name: string]: number }\n\t\t * @returns number\n\t\t */\n\t\tgenerate(){}\n\n\t\t/**\n\t\t * Update the private params object with the \n\t\t * values of the parameters at the given index\n\t\t * @param parameters { [name: string]: Float32Array },\n\t\t * @param index number\n\t\t */\n\t\tupdateParams(parameters, index) {\n\t\t\tfor (const paramName in parameters) {\n\t\t\t\tconst param = parameters[paramName];\n\t\t\t\tif (param.length > 1) {\n\t\t\t\t\tthis.params[paramName] = parameters[paramName][index];\n\t\t\t\t} else {\n\t\t\t\t\tthis.params[paramName] = parameters[paramName][0];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t/**\n\t\t * Process a single frame of the audio\n\t\t * @param inputs Float32Array[][]\n\t\t * @param outputs Float32Array[][]\n\t\t */\n\t\tprocess(inputs, outputs, parameters) {\n\t\t\tconst input = inputs[0];\n\t\t\tconst output = outputs[0];\n\t\t\t// get the parameter values\n\t\t\tconst channelCount = Math.max(input && input.length || 0, output.length);\n\t\t\tfor (let sample = 0; sample < this.blockSize; sample++) {\n\t\t\t\tthis.updateParams(parameters, sample);\n\t\t\t\tfor (let channel = 0; channel < channelCount; channel++) {\n\t\t\t\t\tconst inputSample = input && input.length ? input[channel][sample] : 0;\n\t\t\t\t\toutput[channel][sample] = this.generate(inputSample, channel, this.params);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn !this.disposed;\n\t\t}\n\t};\n`"},{"id":12845,"name":"toneAudioWorkletProcessor","kind":32,"kindString":"Variable","flags":{"isExported":true,"isConst":true},"sources":[{"fileName":"Tone/core/worklet/ToneAudioWorkletProcessor.worklet.ts","line":3,"character":31}],"type":{"type":"stringLiteral","value":"\n\t/**\n\t * The base AudioWorkletProcessor for use in Tone.js. Works with the [[ToneAudioWorklet]]. \n\t */\n\tclass ToneAudioWorkletProcessor extends AudioWorkletProcessor {\n\n\t\tconstructor(options) {\n\t\t\t\n\t\t\tsuper(options);\n\t\t\t/**\n\t\t\t * If the processor was disposed or not. Keep alive until it's disposed.\n\t\t\t */\n\t\t\tthis.disposed = false;\n\t\t   \t/** \n\t\t\t * The number of samples in the processing block\n\t\t\t */\n\t\t\tthis.blockSize = 128;\n\t\t\t/**\n\t\t\t * the sample rate\n\t\t\t */\n\t\t\tthis.sampleRate = sampleRate;\n\n\t\t\tthis.port.onmessage = (event) => {\n\t\t\t\t// when it receives a dispose \n\t\t\t\tif (event.data === \"dispose\") {\n\t\t\t\t\tthis.disposed = true;\n\t\t\t\t}\n\t\t\t};\n\t\t}\n\t}\n"},"defaultValue":"`\n\t/**\n\t * The base AudioWorkletProcessor for use in Tone.js. Works with the [[ToneAudioWorklet]]. \n\t */\n\tclass ToneAudioWorkletProcessor extends AudioWorkletProcessor {\n\n\t\tconstructor(options) {\n\t\t\t\n\t\t\tsuper(options);\n\t\t\t/**\n\t\t\t * If the processor was disposed or not. Keep alive until it's disposed.\n\t\t\t */\n\t\t\tthis.disposed = false;\n\t\t   \t/** \n\t\t\t * The number of samples in the processing block\n\t\t\t */\n\t\t\tthis.blockSize = 128;\n\t\t\t/**\n\t\t\t * the sample rate\n\t\t\t */\n\t\t\tthis.sampleRate = sampleRate;\n\n\t\t\tthis.port.onmessage = (event) => {\n\t\t\t\t// when it receives a dispose \n\t\t\t\tif (event.data === \"dispose\") {\n\t\t\t\t\tthis.disposed = true;\n\t\t\t\t}\n\t\t\t};\n\t\t}\n\t}\n`"},{"id":1,"name":"version","kind":32,"kindString":"Variable","flags":{"isExported":true,"isConst":true},"sources":[{"fileName":"Tone/version.ts","line":1,"character":20}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"\"14.8.2\""},{"id":12736,"name":"workletContext","kind":32,"kindString":"Variable","flags":{"isExported":true,"isConst":true},"comment":{"shortText":"All of the classes or functions which are loaded into the AudioWorkletGlobalScope"},"sources":[{"fileName":"Tone/core/worklet/WorkletGlobalScope.ts","line":4,"character":20}],"type":{"type":"reference","typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Set"},"defaultValue":"new Set()"},{"id":12848,"name":"workletName","kind":32,"kindString":"Variable","flags":{"isExported":true,"isConst":true},"sources":[{"fileName":"Tone/component/filter/FeedbackCombFilter.worklet.ts","line":5,"character":24},{"fileName":"Tone/effect/BitCrusher.worklet.ts","line":4,"character":24}],"type":{"type":"stringLiteral","value":"bit-crusher"},"defaultValue":"\"bit-crusher\""},{"id":230,"name":"EQ","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":231,"name":"EQ","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Test if A is less than B"},"parameters":[{"id":232,"name":"a","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}},{"id":233,"name":"b","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"boolean"}}],"sources":[{"fileName":"Tone/core/util/Math.ts","line":31,"character":18}]},{"id":4787,"name":"Frequency","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":4788,"name":"Frequency","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert a value into a FrequencyClass object.","tags":[{"tag":"example","text":"\nconst midi = Tone.Frequency(\"C3\").toMidi();\nconsole.log(midi);"},{"tag":"example","text":"\nconst hertz = Tone.Frequency(38, \"midi\").toFrequency();\nconsole.log(hertz);\n"}]},"parameters":[{"id":4789,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"union","types":[{"type":"reference","id":502,"name":"TimeValue"},{"type":"reference","id":4788,"name":"Frequency"}]}},{"id":4790,"name":"units","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":4749,"name":"FrequencyUnit"}}],"type":{"type":"reference","id":4656,"name":"FrequencyClass"}}],"sources":[{"fileName":"Tone/core/type/Frequency.ts","line":247,"character":25}]},{"id":218,"name":"GT","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":219,"name":"GT","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Test if A is greater than B"},"parameters":[{"id":220,"name":"a","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}},{"id":221,"name":"b","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"boolean"}}],"sources":[{"fileName":"Tone/core/util/Math.ts","line":10,"character":18}]},{"id":222,"name":"GTE","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":223,"name":"GTE","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Test if A is greater than or equal to B"},"parameters":[{"id":224,"name":"a","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}},{"id":225,"name":"b","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"boolean"}}],"sources":[{"fileName":"Tone/core/util/Math.ts","line":17,"character":19}]},{"id":226,"name":"LT","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":227,"name":"LT","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Test if A is less than B"},"parameters":[{"id":228,"name":"a","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}},{"id":229,"name":"b","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"boolean"}}],"sources":[{"fileName":"Tone/core/util/Math.ts","line":24,"character":18}]},{"id":5554,"name":"Midi","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":5555,"name":"Midi","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert a value into a FrequencyClass object."},"parameters":[{"id":5556,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":502,"name":"TimeValue"}},{"id":5557,"name":"units","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":4749,"name":"FrequencyUnit"}}],"type":{"type":"reference","id":5462,"name":"MidiClass"}}],"sources":[{"fileName":"Tone/core/type/Midi.ts","line":80,"character":20}]},{"id":5387,"name":"Offline","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":5388,"name":"Offline","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Generate a buffer by rendering all of the Tone.js code within the callback using the OfflineAudioContext.\nThe OfflineAudioContext is capable of rendering much faster than real time in many cases.\nThe callback function also passes in an offline instance of [[Context]] which can be used\nto schedule events along the Transport.","returns":"The promise which is invoked with the ToneAudioBuffer of the recorded output.","tags":[{"tag":"example","text":"\n// render 2 seconds of the oscillator\nTone.Offline(() => {\n\t// only nodes created in this callback will be recorded\n\tconst oscillator = new Tone.Oscillator().toDestination().start(0);\n}, 2).then((buffer) => {\n\t// do something with the output buffer\n\tconsole.log(buffer);\n});"},{"tag":"example","text":"\n// can also schedule events along the Transport\n// using the passed in Offline Transport\nTone.Offline(({ transport }) => {\n\tconst osc = new Tone.Oscillator().toDestination();\n\ttransport.schedule(time => {\n\t\tosc.start(time).stop(time + 0.1);\n\t}, 1);\n\t// make sure to start the transport\n\ttransport.start(0.2);\n}, 4).then((buffer) => {\n\t// do something with the output buffer\n\tconsole.log(buffer);\n});"}]},"parameters":[{"id":5389,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"All Tone.js nodes which are created and scheduled within this callback are recorded into the output Buffer."},"type":{"type":"reflection","declaration":{"id":5390,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":5391,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":5392,"name":"context","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":4452,"name":"OfflineContext"}}],"type":{"type":"union","types":[{"type":"reference","typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise"},{"type":"intrinsic","name":"void"}]}}],"sources":[{"fileName":"Tone/core/context/Offline.ts","line":40,"character":10}]}}},{"id":5393,"name":"duration","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"the amount of time to record for."},"type":{"type":"reference","id":21,"name":"Seconds"}},{"id":5394,"name":"channels","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"2"},{"id":5395,"name":"sampleRate","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"getContext().sampleRate"}],"type":{"type":"reference","typeArguments":[{"type":"reference","id":4362,"name":"ToneAudioBuffer"}],"name":"Promise"}}],"sources":[{"fileName":"Tone/core/context/Offline.ts","line":39,"character":29}]},{"id":14081,"name":"PatternGenerator","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":14082,"name":"PatternGenerator","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"PatternGenerator returns a generator which will iterate over the given array\nof values and yield the items according to the passed in pattern"},"typeParameter":[{"id":14083,"name":"T","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}}],"parameters":[{"id":14084,"name":"values","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"An array of values to iterate over"},"type":{"type":"array","elementType":{"type":"typeParameter","name":"T"}}},{"id":14085,"name":"pattern","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The name of the pattern use when iterating over"},"type":{"type":"reference","id":14038,"name":"PatternName"},"defaultValue":"\"up\""},{"id":14086,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"Where to start in the offset of the values array\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"reference","typeArguments":[{"type":"typeParameter","name":"T"}],"name":"Iterator"}}],"sources":[{"fileName":"Tone/event/PatternGenerator.ts","line":153,"character":33}]},{"id":1836,"name":"Ticks","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1837,"name":"Ticks","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert a time representation to ticks"},"parameters":[{"id":1838,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":502,"name":"TimeValue"}},{"id":1839,"name":"units","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":503,"name":"TimeBaseUnit"}}],"type":{"type":"reference","id":1761,"name":"TicksClass"}}],"sources":[{"fileName":"Tone/core/type/Ticks.ts","line":67,"character":21}]},{"id":580,"name":"Time","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":581,"name":"Time","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Create a TimeClass from a time string or number. The time is computed against the\nglobal Tone.Context. To use a specific context, use [[TimeClass]]","tags":[{"tag":"example","text":"\nconst time = Tone.Time(\"4n\").toSeconds();\nconsole.log(time);"},{"tag":"example","text":"\nconst note = Tone.Time(1).toNotation();\nconsole.log(note);"},{"tag":"example","text":"\nconst freq = Tone.Time(0.5).toFrequency();\nconsole.log(freq);\n"}]},"parameters":[{"id":582,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"A value which represents time"},"type":{"type":"reference","id":502,"name":"TimeValue"}},{"id":583,"name":"units","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The value's units if they can't be inferred by the value."},"type":{"type":"reference","id":503,"name":"TimeBaseUnit"}}],"type":{"type":"reference","id":504,"typeArguments":[{"type":"reference","id":21,"name":"Seconds"}],"name":"TimeClass"}}],"sources":[{"fileName":"Tone/core/type/Time.ts","line":154,"character":20}]},{"id":1757,"name":"TransportTime","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1758,"name":"TransportTime","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"TransportTime is a the time along the Transport's\ntimeline. It is similar to [[Time]], but instead of evaluating\nagainst the AudioContext's clock, it is evaluated against\nthe Transport's position. See [TransportTime wiki](https://github.com/Tonejs/Tone.js/wiki/TransportTime)."},"parameters":[{"id":1759,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":502,"name":"TimeValue"}},{"id":1760,"name":"units","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","id":503,"name":"TimeBaseUnit"}}],"type":{"type":"reference","id":1681,"name":"TransportTimeClass"}}],"sources":[{"fileName":"Tone/core/type/TransportTime.ts","line":32,"character":29}]},{"id":12737,"name":"addToWorklet","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":12738,"name":"addToWorklet","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Add a class to the AudioWorkletGlobalScope"},"parameters":[{"id":12739,"name":"classOrFunction","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/worklet/WorkletGlobalScope.ts","line":9,"character":28}]},{"id":14056,"name":"alternatingGenerator","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":14057,"name":"alternatingGenerator","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Alternate between two generators"},"typeParameter":[{"id":14058,"name":"T","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}}],"parameters":[{"id":14059,"name":"values","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"array","elementType":{"type":"typeParameter","name":"T"}}},{"id":14060,"name":"directionUp","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","typeArguments":[{"type":"typeParameter","name":"T"}],"name":"IterableIterator"}}],"sources":[{"fileName":"Tone/event/PatternGenerator.ts","line":52,"character":30}]},{"id":3222,"name":"assert","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":3223,"name":"assert","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Assert that the statement is true, otherwise invoke the error."},"parameters":[{"id":3224,"name":"statement","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{},"type":{"type":"intrinsic","name":"boolean"}},{"id":3225,"name":"error","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The message which is passed into an Error\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/util/Debug.ts","line":6,"character":22}]},{"id":3231,"name":"assertContextRunning","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":3232,"name":"assertContextRunning","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Make sure that the given value is within the range"},"parameters":[{"id":3233,"name":"context","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":3052,"name":"BaseContext"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/util/Debug.ts","line":24,"character":36}]},{"id":3226,"name":"assertRange","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":3227,"name":"assertRange","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Make sure that the given value is within the range"},"parameters":[{"id":3228,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}},{"id":3229,"name":"gte","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}},{"id":3230,"name":"lte","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"Infinity"}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/util/Debug.ts","line":15,"character":27}]},{"id":20065,"name":"bindTypeClass","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":20066,"name":"bindTypeClass","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Bind the TimeBaseClass to the context"},"parameters":[{"id":20067,"name":"context","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":2755,"name":"Context"}},{"id":20068,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"(Anonymous function)"}}],"sources":[{"fileName":"Tone/fromContext.ts","line":34,"character":22}]},{"id":234,"name":"clamp","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":235,"name":"clamp","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Clamp the value within the given range"},"parameters":[{"id":236,"name":"value","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}},{"id":237,"name":"min","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}},{"id":238,"name":"max","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"number"}}],"sources":[{"fileName":"Tone/core/util/Math.ts","line":38,"character":21}]},{"id":14052,"name":"clampToArraySize","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":14053,"name":"clampToArraySize","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Make sure that the index is in the given range"},"parameters":[{"id":14054,"name":"index","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}},{"id":14055,"name":"values","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"number"}}],"sources":[{"fileName":"Tone/event/PatternGenerator.ts","line":45,"character":25}]},{"id":2982,"name":"closeContext","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":2983,"name":"closeContext","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":2984,"name":"ctx","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":2755,"name":"Context"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/context/ContextInitialization.ts","line":39,"character":28}]},{"id":1107,"name":"connect","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1108,"name":"connect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Connect two nodes together so that signal flows from the\nfirst node to the second. Optionally specify the input and output channels."},"parameters":[{"id":1109,"name":"srcNode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The source node"},"type":{"type":"reference","id":1102,"name":"OutputNode"}},{"id":1110,"name":"dstNode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The destination node"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":1111,"name":"outputNumber","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output channel of the srcNode"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":1112,"name":"inputNumber","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input channel of the dstNode\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":312,"character":23}]},{"id":1104,"name":"connectSeries","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1105,"name":"connectSeries","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"connect together all of the arguments in series"},"parameters":[{"id":1106,"name":"nodes","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"comment":{"text":"\n"},"type":{"type":"array","elementType":{"type":"reference","id":1101,"name":"InputNode"}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":292,"character":29}]},{"id":1675,"name":"connectSignal","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1676,"name":"connectSignal","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"When connecting from a signal, it's necessary to zero out the node destination\nnode if that node is also a signal. If the destination is not 0, then the values\nwill be summed. This method insures that the output of the destination signal will\nbe the same as the source signal, making the destination signal a pass through node."},"parameters":[{"id":1677,"name":"signal","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output signal to connect from"},"type":{"type":"reference","id":1102,"name":"OutputNode"}},{"id":1678,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"the destination to connect to"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":1679,"name":"outputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"the optional output number"},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}},{"id":1680,"name":"inputNum","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"the input number\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"number"}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/signal/Signal.ts","line":213,"character":29}]},{"id":4173,"name":"createAudioContext","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":4174,"name":"createAudioContext","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Create a new AudioContext"},"parameters":[{"id":4175,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","name":"AudioContextOptions"}}],"type":{"type":"reference","name":"AudioContext"}}],"sources":[{"fileName":"Tone/core/context/AudioContext.ts","line":12,"character":34}]},{"id":4184,"name":"createAudioWorkletNode","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":4185,"name":"createAudioWorkletNode","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":4186,"name":"context","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":4181,"name":"AnyAudioContext"}},{"id":4187,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"string"}},{"id":4188,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reference","name":"AudioWorkletNodeOptions"}],"name":"Partial"}}],"type":{"type":"reference","name":"AudioWorkletNode"}}],"sources":[{"fileName":"Tone/core/context/AudioContext.ts","line":49,"character":38}]},{"id":4176,"name":"createOfflineAudioContext","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":4177,"name":"createOfflineAudioContext","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Create a new OfflineAudioContext"},"parameters":[{"id":4178,"name":"channels","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}},{"id":4179,"name":"length","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}},{"id":4180,"name":"sampleRate","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","name":"OfflineAudioContext"}}],"sources":[{"fileName":"Tone/core/context/AudioContext.ts","line":19,"character":41}]},{"id":392,"name":"dbToGain","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":393,"name":"dbToGain","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert decibels into gain."},"parameters":[{"id":394,"name":"db","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":22,"name":"Decibels"}}],"type":{"type":"reference","id":26,"name":"GainFactor"}}],"sources":[{"fileName":"Tone/core/type/Conversions.ts","line":15,"character":24}]},{"id":190,"name":"deepEquals","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":191,"name":"deepEquals","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Returns true if the two arrays have the same value for each of the elements"},"typeParameter":[{"id":192,"name":"T","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}}],"parameters":[{"id":193,"name":"arrayA","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"array","elementType":{"type":"typeParameter","name":"T"}}},{"id":194,"name":"arrayB","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"array","elementType":{"type":"typeParameter","name":"T"}}}],"type":{"type":"intrinsic","name":"boolean"}}],"sources":[{"fileName":"Tone/core/util/Defaults.ts","line":49,"character":26}]},{"id":165,"name":"deepMerge","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":166,"name":"deepMerge","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Recursively merge an object"},"typeParameter":[{"id":167,"name":"T","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}}],"parameters":[{"id":168,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"the object to merge into"},"type":{"type":"typeParameter","name":"T"}}],"type":{"type":"typeParameter","name":"T"}},{"id":169,"name":"deepMerge","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"typeParameter":[{"id":170,"name":"T","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}},{"id":171,"name":"U","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}}],"parameters":[{"id":172,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"typeParameter","name":"T"}},{"id":173,"name":"source1","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"typeParameter","name":"U"}}],"type":{"type":"intersection","types":[{"type":"typeParameter","name":"T"},{"type":"typeParameter","name":"U"}]}},{"id":174,"name":"deepMerge","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"typeParameter":[{"id":175,"name":"T","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}},{"id":176,"name":"U","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}},{"id":177,"name":"V","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}}],"parameters":[{"id":178,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"typeParameter","name":"T"}},{"id":179,"name":"source1","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"typeParameter","name":"U"}},{"id":180,"name":"source2","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"typeParameter","name":"V"}}],"type":{"type":"intersection","types":[{"type":"typeParameter","name":"T"},{"type":"typeParameter","name":"U"},{"type":"typeParameter","name":"V"}]}},{"id":181,"name":"deepMerge","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"typeParameter":[{"id":182,"name":"T","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}},{"id":183,"name":"U","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}},{"id":184,"name":"V","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}},{"id":185,"name":"W","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}}],"parameters":[{"id":186,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"typeParameter","name":"T"}},{"id":187,"name":"source1","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"typeParameter","name":"U"}},{"id":188,"name":"source2","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"typeParameter","name":"V"}},{"id":189,"name":"source3","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"typeParameter","name":"W"}}],"type":{"type":"intersection","types":[{"type":"typeParameter","name":"T"},{"type":"typeParameter","name":"U"},{"type":"typeParameter","name":"V"},{"type":"typeParameter","name":"W"}]}}],"sources":[{"fileName":"Tone/core/util/Defaults.ts","line":18,"character":25},{"fileName":"Tone/core/util/Defaults.ts","line":19,"character":25},{"fileName":"Tone/core/util/Defaults.ts","line":20,"character":25},{"fileName":"Tone/core/util/Defaults.ts","line":21,"character":25},{"fileName":"Tone/core/util/Defaults.ts","line":22,"character":25}]},{"id":206,"name":"defaultArg","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":207,"name":"defaultArg","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Returns the fallback if the given object is undefined.\nTake an array of arguments and return a formatted options object."},"typeParameter":[{"id":208,"name":"T","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}}],"parameters":[{"id":209,"name":"given","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"typeParameter","name":"T"}},{"id":210,"name":"fallback","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"typeParameter","name":"T"}}],"type":{"type":"typeParameter","name":"T"}}],"sources":[{"fileName":"Tone/core/util/Defaults.ts","line":105,"character":26}]},{"id":1113,"name":"disconnect","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1114,"name":"disconnect","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Disconnect a node from all nodes or optionally include a destination node and input/output channels."},"parameters":[{"id":1115,"name":"srcNode","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The source node"},"type":{"type":"reference","id":1102,"name":"OutputNode"}},{"id":1116,"name":"dstNode","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"comment":{"text":"The destination node"},"type":{"type":"reference","id":1101,"name":"InputNode"}},{"id":1117,"name":"outputNumber","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The output channel of the srcNode"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"},{"id":1118,"name":"inputNumber","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The input channel of the dstNode\n"},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/context/ToneAudioNode.ts","line":350,"character":26}]},{"id":14043,"name":"downPatternGen","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":14044,"name":"downPatternGen","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Start at the last value and go down to 0"},"typeParameter":[{"id":14045,"name":"T","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}}],"parameters":[{"id":14046,"name":"values","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"array","elementType":{"type":"typeParameter","name":"T"}}}],"type":{"type":"reference","typeArguments":[{"type":"typeParameter","name":"T"}],"name":"IterableIterator"}}],"sources":[{"fileName":"Tone/event/PatternGenerator.ts","line":24,"character":24}]},{"id":389,"name":"equalPowerScale","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":390,"name":"equalPowerScale","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Equal power gain scale. Good for cross-fading."},"parameters":[{"id":391,"name":"percent","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"(0-1)\n"},"type":{"type":"reference","id":23,"name":"NormalRange"}}],"type":{"type":"intrinsic","name":"number"}}],"sources":[{"fileName":"Tone/core/type/Conversions.ts","line":7,"character":31}]},{"id":20069,"name":"fromContext","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":20070,"name":"fromContext","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return an object with all of the classes bound to the passed in context"},"parameters":[{"id":20071,"name":"context","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The context to bind all of the nodes to\n"},"type":{"type":"reference","id":2755,"name":"Context"}}],"type":{"type":"reference","id":48,"name":"Tone"}}],"sources":[{"fileName":"Tone/fromContext.ts","line":42,"character":27}]},{"id":407,"name":"ftom","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":408,"name":"ftom","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert a frequency value to a MIDI note.","tags":[{"tag":"example","text":"\nTone.ftom(440); // returns 69\n"}]},"parameters":[{"id":409,"name":"frequency","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The value to frequency value to convert."},"type":{"type":"reference","id":41,"name":"Hertz"}}],"type":{"type":"reference","id":3,"name":"MidiNote"}}],"sources":[{"fileName":"Tone/core/type/Conversions.ts","line":58,"character":20}]},{"id":410,"name":"ftomf","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":411,"name":"ftomf","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert a frequency to a floating point midi value"},"parameters":[{"id":412,"name":"frequency","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":41,"name":"Hertz"}}],"type":{"type":"intrinsic","name":"number"}}],"sources":[{"fileName":"Tone/core/type/Conversions.ts","line":65,"character":21}]},{"id":395,"name":"gainToDb","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":396,"name":"gainToDb","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert gain to decibels."},"parameters":[{"id":397,"name":"gain","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":26,"name":"GainFactor"}}],"type":{"type":"reference","id":22,"name":"Decibels"}}],"sources":[{"fileName":"Tone/core/type/Conversions.ts","line":22,"character":24}]},{"id":6543,"name":"generateWaveform","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":6544,"name":"generateWaveform","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Render a segment of the oscillator to an offline context and return the results as an array"},"parameters":[{"id":6545,"name":"instance","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"any"}},{"id":6546,"name":"length","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","typeArguments":[{"type":"reference","name":"Float32Array"}],"name":"Promise"}}],"sources":[{"fileName":"Tone/source/oscillator/OscillatorInterface.ts","line":110,"character":38}]},{"id":402,"name":"getA4","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":403,"name":"getA4","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"reference","id":41,"name":"Hertz"}}],"sources":[{"fileName":"Tone/core/type/Conversions.ts","line":44,"character":21}]},{"id":4649,"name":"getContext","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":4650,"name":"getContext","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Returns the default system-wide [[Context]]"},"type":{"type":"reference","id":3052,"name":"BaseContext"}}],"sources":[{"fileName":"Tone/core/Global.ts","line":24,"character":26}]},{"id":202,"name":"getDefaultsFromInstance","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":203,"name":"getDefaultsFromInstance","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Return this instances default values by calling Constructor.getDefaults()"},"typeParameter":[{"id":204,"name":"T","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}}],"parameters":[{"id":205,"name":"instance","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"typeParameter","name":"T"}}],"type":{"type":"reference","id":47,"name":"BaseToneOptions"}}],"sources":[{"fileName":"Tone/core/util/Defaults.ts","line":92,"character":39}]},{"id":20079,"name":"getDestination","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":20080,"name":"getDestination","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"The Destination (output) belonging to the global Tone.js Context.\nSee [[Destination]]"},"type":{"type":"reference","id":2545,"name":"Destination"}}],"sources":[{"fileName":"Tone/index.ts","line":61,"character":30}]},{"id":20083,"name":"getDraw","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":20084,"name":"getDraw","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get the singleton attached to the global context.\nDraw is used to synchronize the draw frame with the Transport's callbacks.\nSee [[Draw]]"},"type":{"type":"reference","name":"Draw"}}],"sources":[{"fileName":"Tone/index.ts","line":92,"character":23}]},{"id":20081,"name":"getListener","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":20082,"name":"getListener","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"The [[Listener]] belonging to the global Tone.js Context."},"type":{"type":"reference","id":2647,"name":"Listener"}}],"sources":[{"fileName":"Tone/index.ts","line":75,"character":27}]},{"id":20076,"name":"getTransport","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":20077,"name":"getTransport","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"The Transport object belonging to the global Tone.js Context.\nSee [[Transport]]"},"type":{"type":"reference","name":"Transport"}}],"sources":[{"fileName":"Tone/index.ts","line":40,"character":28}]},{"id":12744,"name":"getWorkletGlobalScope","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":12745,"name":"getWorkletGlobalScope","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Get all of the modules which have been registered to the AudioWorkletGlobalScope"},"type":{"type":"intrinsic","name":"string"}}],"sources":[{"fileName":"Tone/core/worklet/WorkletGlobalScope.ts","line":24,"character":37}]},{"id":20074,"name":"immediate","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":20075,"name":"immediate","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"The current audio context time of the global [[Context]] without the [[Context.lookAhead]]\nSee [[Context.immediate]]"},"type":{"type":"reference","id":21,"name":"Seconds"}}],"sources":[{"fileName":"Tone/index.ts","line":24,"character":25}]},{"id":14047,"name":"infiniteGen","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":14048,"name":"infiniteGen","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Infinitely yield the generator"},"typeParameter":[{"id":14049,"name":"T","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}}],"parameters":[{"id":14050,"name":"values","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"array","elementType":{"type":"typeParameter","name":"T"}}},{"id":14051,"name":"gen","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"query","queryType":{"type":"reference","id":14039,"name":"upPatternGen"}}}],"type":{"type":"reference","typeArguments":[{"type":"typeParameter","name":"T"}],"name":"IterableIterator"}}],"sources":[{"fileName":"Tone/event/PatternGenerator.ts","line":36,"character":21}]},{"id":2969,"name":"initializeContext","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":2970,"name":"initializeContext","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Invoke any classes which need to also be initialized when a new context is created."},"parameters":[{"id":2971,"name":"ctx","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":2755,"name":"Context"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/context/ContextInitialization.ts","line":22,"character":33}]},{"id":398,"name":"intervalToFrequencyRatio","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":399,"name":"intervalToFrequencyRatio","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert an interval (in semitones) to a frequency ratio.","tags":[{"tag":"example","text":"\nTone.intervalToFrequencyRatio(0); // 1\nTone.intervalToFrequencyRatio(12); // 2\nTone.intervalToFrequencyRatio(-12); // 0.5\n"}]},"parameters":[{"id":400,"name":"interval","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"the number of semitones above the base note"},"type":{"type":"reference","id":25,"name":"Interval"}}],"type":{"type":"intrinsic","name":"number"}}],"sources":[{"fileName":"Tone/core/type/Conversions.ts","line":34,"character":40}]},{"id":86,"name":"isArray","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":87,"name":"isArray","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Test if the argument is an Array"},"parameters":[{"id":88,"name":"arg","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"predicate","name":"arg","asserts":false,"targetType":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}}],"sources":[{"fileName":"Tone/core/util/TypeCheck.ts","line":48,"character":23}]},{"id":158,"name":"isAudioBuffer","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":159,"name":"isAudioBuffer","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Test if the arg is instanceof an AudioBuffer"},"parameters":[{"id":160,"name":"arg","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"predicate","name":"arg","asserts":false,"targetType":{"type":"reference","name":"AudioBuffer"}}}],"sources":[{"fileName":"Tone/core/util/AdvancedTypeCheck.ts","line":37,"character":29}]},{"id":155,"name":"isAudioContext","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":156,"name":"isAudioContext","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Test if the arg is an instanceof AudioContext"},"parameters":[{"id":157,"name":"arg","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"predicate","name":"arg","asserts":false,"targetType":{"type":"reference","name":"AudioContext"}}}],"sources":[{"fileName":"Tone/core/util/AdvancedTypeCheck.ts","line":30,"character":30}]},{"id":149,"name":"isAudioNode","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":150,"name":"isAudioNode","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Test if the given value is an instanceof AudioNode"},"parameters":[{"id":151,"name":"arg","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"predicate","name":"arg","asserts":false,"targetType":{"type":"reference","name":"AudioNode"}}}],"sources":[{"fileName":"Tone/core/util/AdvancedTypeCheck.ts","line":16,"character":27}]},{"id":146,"name":"isAudioParam","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":147,"name":"isAudioParam","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Test if the given value is an instanceof AudioParam"},"parameters":[{"id":148,"name":"arg","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"predicate","name":"arg","asserts":false,"targetType":{"type":"reference","name":"AudioParam"}}}],"sources":[{"fileName":"Tone/core/util/AdvancedTypeCheck.ts","line":9,"character":28}]},{"id":83,"name":"isBoolean","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":84,"name":"isBoolean","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Test if the argument is a boolean."},"parameters":[{"id":85,"name":"arg","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"predicate","name":"arg","asserts":false,"targetType":{"type":"intrinsic","name":"boolean"}}}],"sources":[{"fileName":"Tone/core/util/TypeCheck.ts","line":41,"character":25}]},{"id":67,"name":"isDefined","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":68,"name":"isDefined","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Test if the arg is not undefined"},"typeParameter":[{"id":69,"name":"T","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}}],"parameters":[{"id":70,"name":"arg","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"typeParameter","name":"T"},{"type":"intrinsic","name":"undefined"}]}}],"type":{"type":"predicate","name":"arg","asserts":false,"targetType":{"type":"typeParameter","name":"T"}}}],"sources":[{"fileName":"Tone/core/util/TypeCheck.ts","line":13,"character":25}]},{"id":71,"name":"isFunction","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":72,"name":"isFunction","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Test if the arg is a function"},"parameters":[{"id":73,"name":"arg","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"predicate","name":"arg","asserts":false,"targetType":{"type":"reflection","declaration":{"id":74,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":75,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":76,"name":"a","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"Tone/core/util/TypeCheck.ts","line":20,"character":44}]}}}}],"sources":[{"fileName":"Tone/core/util/TypeCheck.ts","line":20,"character":26}]},{"id":92,"name":"isNote","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":93,"name":"isNote","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Test if the argument is in the form of a note in scientific pitch notation.\ne.g. \"C4\""},"parameters":[{"id":94,"name":"arg","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"predicate","name":"arg","asserts":false,"targetType":{"type":"reference","name":"Note"}}}],"sources":[{"fileName":"Tone/core/util/TypeCheck.ts","line":63,"character":22}]},{"id":77,"name":"isNumber","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":78,"name":"isNumber","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Test if the argument is a number."},"parameters":[{"id":79,"name":"arg","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"predicate","name":"arg","asserts":false,"targetType":{"type":"intrinsic","name":"number"}}}],"sources":[{"fileName":"Tone/core/util/TypeCheck.ts","line":27,"character":24}]},{"id":80,"name":"isObject","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":81,"name":"isObject","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Test if the given argument is an object literal (i.e. `{}`);"},"parameters":[{"id":82,"name":"arg","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"predicate","name":"arg","asserts":false,"targetType":{"type":"intrinsic","name":"object"}}}],"sources":[{"fileName":"Tone/core/util/TypeCheck.ts","line":34,"character":24}]},{"id":152,"name":"isOfflineAudioContext","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":153,"name":"isOfflineAudioContext","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Test if the arg is instanceof an OfflineAudioContext"},"parameters":[{"id":154,"name":"arg","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"predicate","name":"arg","asserts":false,"targetType":{"type":"reference","name":"OfflineAudioContext"}}}],"sources":[{"fileName":"Tone/core/util/AdvancedTypeCheck.ts","line":23,"character":37}]},{"id":89,"name":"isString","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":90,"name":"isString","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Test if the argument is a string."},"parameters":[{"id":91,"name":"arg","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"predicate","name":"arg","asserts":false,"targetType":{"type":"intrinsic","name":"string"}}}],"sources":[{"fileName":"Tone/core/util/TypeCheck.ts","line":55,"character":24}]},{"id":64,"name":"isUndef","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":65,"name":"isUndef","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Test if the arg is undefined"},"parameters":[{"id":66,"name":"arg","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"predicate","name":"arg","asserts":false,"targetType":{"type":"intrinsic","name":"undefined"}}}],"sources":[{"fileName":"Tone/core/util/TypeCheck.ts","line":6,"character":23}]},{"id":14065,"name":"jumpDown","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":14066,"name":"jumpDown","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Starting from the top move down 2, up 1"},"typeParameter":[{"id":14067,"name":"T","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}}],"parameters":[{"id":14068,"name":"values","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"array","elementType":{"type":"typeParameter","name":"T"}}}],"type":{"type":"reference","typeArguments":[{"type":"typeParameter","name":"T"}],"name":"IterableIterator"}}],"sources":[{"fileName":"Tone/event/PatternGenerator.ts","line":88,"character":18}]},{"id":14061,"name":"jumpUp","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":14062,"name":"jumpUp","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Starting from the bottom move up 2, down 1"},"typeParameter":[{"id":14063,"name":"T","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}}],"parameters":[{"id":14064,"name":"values","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"array","elementType":{"type":"typeParameter","name":"T"}}}],"type":{"type":"reference","typeArguments":[{"type":"typeParameter","name":"T"}],"name":"IterableIterator"}}],"sources":[{"fileName":"Tone/event/PatternGenerator.ts","line":74,"character":16}]},{"id":20086,"name":"loaded","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":20087,"name":"loaded","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Promise which resolves when all of the loading promises are resolved.\nAlias for static [[ToneAudioBuffer.loaded]] method."},"type":{"type":"reference","typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise"}}],"sources":[{"fileName":"Tone/index.ts","line":107,"character":22}]},{"id":3238,"name":"log","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":3239,"name":"log","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Log anything"},"parameters":[{"id":3240,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/util/Debug.ts","line":54,"character":19}]},{"id":413,"name":"mtof","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":414,"name":"mtof","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert a MIDI note to frequency value.","returns":"The corresponding frequency value","tags":[{"tag":"example","text":"\nTone.mtof(69); // 440\n"}]},"parameters":[{"id":415,"name":"midi","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"comment":{"text":"The midi number to convert."},"type":{"type":"reference","id":3,"name":"MidiNote"}}],"type":{"type":"reference","id":41,"name":"Hertz"}}],"sources":[{"fileName":"Tone/core/type/Conversions.ts","line":76,"character":20}]},{"id":161,"name":"noCopy","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":162,"name":"noCopy","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Some objects should not be merged"},"parameters":[{"id":163,"name":"key","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"string"}},{"id":164,"name":"arg","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"boolean"}}],"sources":[{"fileName":"Tone/core/util/Defaults.ts","line":9,"character":15}]},{"id":1130,"name":"noOp","kind":64,"kindString":"Function","flags":{"isExported":true,"isConst":true},"signatures":[{"id":1131,"name":"noOp","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/util/Interface.ts","line":33,"character":17}]},{"id":20072,"name":"now","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":20073,"name":"now","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"The current audio context time of the global [[Context]].\nSee [[Context.now]]"},"type":{"type":"reference","id":21,"name":"Seconds"}}],"sources":[{"fileName":"Tone/index.ts","line":15,"character":19}]},{"id":211,"name":"omitFromObject","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":212,"name":"omitFromObject","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Remove all of the properties belonging to omit from obj."},"typeParameter":[{"id":213,"name":"T","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"object"}},{"id":214,"name":"O","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"string"}}}],"parameters":[{"id":215,"name":"obj","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"typeParameter","name":"T","constraint":{"type":"intrinsic","name":"object"}}},{"id":216,"name":"omit","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"typeParameter","name":"O","constraint":{"type":"array","elementType":{"type":"intrinsic","name":"string"}}}}],"type":{"type":"reference","id":1119,"typeArguments":[{"type":"typeParameter","name":"T","constraint":{"type":"intrinsic","name":"object"}},{"type":"typeOperator","operator":"keyof","target":{"type":"typeParameter","name":"O","constraint":{"type":"array","elementType":{"type":"intrinsic","name":"string"}}}}],"name":"Omit"}}],"sources":[{"fileName":"Tone/core/util/Defaults.ts","line":116,"character":30}]},{"id":2976,"name":"onContextClose","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":2977,"name":"onContextClose","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Used internally to tear down a Context"},"parameters":[{"id":2978,"name":"cb","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reflection","declaration":{"id":2979,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":2980,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":2981,"name":"ctx","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":2755,"name":"Context"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/context/ContextInitialization.ts","line":35,"character":34}]}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/context/ContextInitialization.ts","line":35,"character":30}]},{"id":2963,"name":"onContextInit","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":2964,"name":"onContextInit","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Used internally to setup a new Context"},"parameters":[{"id":2965,"name":"cb","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reflection","declaration":{"id":2966,"name":"__type","kind":65536,"kindString":"Type literal","flags":{"isExported":true},"signatures":[{"id":2967,"name":"__call","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":2968,"name":"ctx","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":2755,"name":"Context"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/context/ContextInitialization.ts","line":15,"character":33}]}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/context/ContextInitialization.ts","line":15,"character":29}]},{"id":195,"name":"optionsFromArguments","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":196,"name":"optionsFromArguments","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert an args array into an object."},"typeParameter":[{"id":197,"name":"T","kind":131072,"kindString":"Type parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"object"}}],"parameters":[{"id":198,"name":"defaults","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"typeParameter","name":"T","constraint":{"type":"intrinsic","name":"object"}}},{"id":199,"name":"argsArray","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","name":"IArguments"}},{"id":200,"name":"keys","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","typeArguments":[{"type":"typeOperator","operator":"keyof","target":{"type":"typeParameter","name":"T","constraint":{"type":"intrinsic","name":"object"}}}],"name":"Array"},"defaultValue":"[]"},{"id":201,"name":"objKey","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isOptional":true},"type":{"type":"typeOperator","operator":"keyof","target":{"type":"typeParameter","name":"T","constraint":{"type":"intrinsic","name":"object"}}}}],"type":{"type":"typeParameter","name":"T","constraint":{"type":"intrinsic","name":"object"}}}],"sources":[{"fileName":"Tone/core/util/Defaults.ts","line":56,"character":36}]},{"id":14069,"name":"randomGen","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":14070,"name":"randomGen","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Choose a random index each time"},"typeParameter":[{"id":14071,"name":"T","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}}],"parameters":[{"id":14072,"name":"values","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"array","elementType":{"type":"typeParameter","name":"T"}}}],"type":{"type":"reference","typeArguments":[{"type":"typeParameter","name":"T"}],"name":"IterableIterator"}}],"sources":[{"fileName":"Tone/event/PatternGenerator.ts","line":102,"character":19}]},{"id":14073,"name":"randomOnce","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":14074,"name":"randomOnce","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Randomly go through all of the values once before choosing a new random order"},"typeParameter":[{"id":14075,"name":"T","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}}],"parameters":[{"id":14076,"name":"values","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"array","elementType":{"type":"typeParameter","name":"T"}}}],"type":{"type":"reference","typeArguments":[{"type":"typeParameter","name":"T"}],"name":"IterableIterator"}}],"sources":[{"fileName":"Tone/event/PatternGenerator.ts","line":112,"character":20}]},{"id":14077,"name":"randomWalk","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":14078,"name":"randomWalk","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Randomly choose to walk up or down 1 index in the values array"},"typeParameter":[{"id":14079,"name":"T","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}}],"parameters":[{"id":14080,"name":"values","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"array","elementType":{"type":"typeParameter","name":"T"}}}],"type":{"type":"reference","typeArguments":[{"type":"typeParameter","name":"T"}],"name":"IterableIterator"}}],"sources":[{"fileName":"Tone/event/PatternGenerator.ts","line":129,"character":20}]},{"id":8892,"name":"range","kind":64,"kindString":"Function","flags":{"isExported":true},"decorates":[{"type":"reference","id":10550,"name":"sustain"},{"type":"reference","id":10977,"name":"sustain"},{"type":"reference","id":11772,"name":"sustain"},{"type":"reference","id":12493,"name":"octaves"}],"signatures":[{"id":8893,"name":"range","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Assert that the number is in the given range."},"parameters":[{"id":8894,"name":"min","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}},{"id":8895,"name":"max","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"Infinity"}],"type":{"type":"reference","name":"(Anonymous function)"}}],"sources":[{"fileName":"Tone/core/util/Decorator.ts","line":7,"character":21}]},{"id":1122,"name":"readOnly","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1123,"name":"readOnly","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Make the property not writable using `defineProperty`. Internal use only."},"parameters":[{"id":1124,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"object"}},{"id":1125,"name":"property","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"array","elementType":{"type":"intrinsic","name":"string"}}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/util/Interface.ts","line":9,"character":24}]},{"id":12740,"name":"registerProcessor","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":12741,"name":"registerProcessor","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Register a processor in the AudioWorkletGlobalScope with the given name"},"parameters":[{"id":12742,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"string"}},{"id":12743,"name":"classDesc","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/worklet/WorkletGlobalScope.ts","line":16,"character":33}]},{"id":404,"name":"setA4","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":405,"name":"setA4","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"parameters":[{"id":406,"name":"freq","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":41,"name":"Hertz"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/type/Conversions.ts","line":48,"character":21}]},{"id":4651,"name":"setContext","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":4652,"name":"setContext","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set the default audio context"},"parameters":[{"id":4653,"name":"context","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"reference","id":3052,"name":"BaseContext"},{"type":"reference","id":4181,"name":"AnyAudioContext"}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/Global.ts","line":35,"character":26}]},{"id":3235,"name":"setLogger","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":3236,"name":"setLogger","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Set the logging interface"},"parameters":[{"id":3237,"name":"logger","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"reference","id":3213,"name":"Logger"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/util/Debug.ts","line":47,"character":25}]},{"id":4654,"name":"start","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":4655,"name":"start","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Most browsers will not play _any_ audio until a user\nclicks something (like a play button). Invoke this method\non a click or keypress event handler to start the audio context.\nMore about the Autoplay policy\n[here](https://developers.google.com/web/updates/2017/09/autoplay-policy-changes#webaudio)","tags":[{"tag":"example","text":"\ndocument.querySelector(\"button\").addEventListener(\"click\", async () => {\n\tawait Tone.start();\n\tconsole.log(\"context started\");\n});"}]},"type":{"type":"reference","typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise"}}],"sources":[{"fileName":"Tone/core/Global.ts","line":58,"character":21}]},{"id":8896,"name":"timeRange","kind":64,"kindString":"Function","flags":{"isExported":true},"decorates":[{"type":"reference","id":8930,"name":"fadeIn"},{"type":"reference","id":8931,"name":"fadeOut"},{"type":"reference","id":10548,"name":"attack"},{"type":"reference","id":10549,"name":"decay"},{"type":"reference","id":10551,"name":"release"},{"type":"reference","id":10830,"name":"portamento"},{"type":"reference","id":10975,"name":"attack"},{"type":"reference","id":10976,"name":"decay"},{"type":"reference","id":10978,"name":"release"},{"type":"reference","id":11122,"name":"portamento"},{"type":"reference","id":11269,"name":"portamento"},{"type":"reference","id":11405,"name":"portamento"},{"type":"reference","id":11770,"name":"attack"},{"type":"reference","id":11771,"name":"decay"},{"type":"reference","id":11773,"name":"release"},{"type":"reference","id":11920,"name":"portamento"},{"type":"reference","id":12065,"name":"portamento"},{"type":"reference","id":12213,"name":"portamento"},{"type":"reference","id":12374,"name":"portamento"},{"type":"reference","id":12494,"name":"pitchDecay"},{"type":"reference","id":13486,"name":"attack"},{"type":"reference","id":13487,"name":"release"}],"signatures":[{"id":8897,"name":"timeRange","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Convert the time to seconds and assert that the time is in between the two\nvalues when being set."},"parameters":[{"id":8898,"name":"min","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"}},{"id":8899,"name":"max","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"number"},"defaultValue":"Infinity"}],"type":{"type":"reference","name":"(Anonymous function)"}}],"sources":[{"fileName":"Tone/core/util/Decorator.ts","line":32,"character":25}]},{"id":14039,"name":"upPatternGen","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":14040,"name":"upPatternGen","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Start at the first value and go up to the last"},"typeParameter":[{"id":14041,"name":"T","kind":131072,"kindString":"Type parameter","flags":{"isExported":true}}],"parameters":[{"id":14042,"name":"values","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"array","elementType":{"type":"typeParameter","name":"T"}}}],"type":{"type":"reference","typeArguments":[{"type":"typeParameter","name":"T"}],"name":"IterableIterator"}}],"sources":[{"fileName":"Tone/event/PatternGenerator.ts","line":12,"character":22}]},{"id":3241,"name":"warn","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":3242,"name":"warn","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Warn anything"},"parameters":[{"id":3243,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isExported":true,"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/util/Debug.ts","line":61,"character":20}]},{"id":1126,"name":"writable","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":1127,"name":"writable","kind":4096,"kindString":"Call signature","flags":{"isExported":true},"comment":{"shortText":"Make an attribute writeable. Internal use only."},"parameters":[{"id":1128,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"intrinsic","name":"object"}},{"id":1129,"name":"property","kind":32768,"kindString":"Parameter","flags":{"isExported":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"array","elementType":{"type":"intrinsic","name":"string"}}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"Tone/core/util/Interface.ts","line":23,"character":24}]},{"id":8374,"name":"OmniOscillatorSourceMap","kind":2097152,"kindString":"Object literal","flags":{"isExported":true,"isConst":true},"children":[{"id":8375,"name":"am","kind":32,"kindString":"Variable","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":55,"character":3}],"type":{"type":"reference","id":7362,"name":"AMOscillator"},"defaultValue":"AMOscillator"},{"id":8376,"name":"fat","kind":32,"kindString":"Variable","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":56,"character":4}],"type":{"type":"reference","id":7837,"name":"FatOscillator"},"defaultValue":"FatOscillator"},{"id":8377,"name":"fm","kind":32,"kindString":"Variable","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":57,"character":3}],"type":{"type":"reference","id":7524,"name":"FMOscillator"},"defaultValue":"FMOscillator"},{"id":8378,"name":"oscillator","kind":32,"kindString":"Variable","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":58,"character":11}],"type":{"type":"reference","id":6718,"name":"Oscillator"},"defaultValue":"Oscillator"},{"id":8379,"name":"pulse","kind":32,"kindString":"Variable","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":59,"character":6}],"type":{"type":"reference","id":7686,"name":"PulseOscillator"},"defaultValue":"PulseOscillator"},{"id":8380,"name":"pwm","kind":32,"kindString":"Variable","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":60,"character":4}],"type":{"type":"reference","id":8011,"name":"PWMOscillator"},"defaultValue":"PWMOscillator"}],"groups":[{"title":"Variables","kind":32,"children":[8375,8376,8377,8378,8379,8380]}],"sources":[{"fileName":"Tone/source/oscillator/OmniOscillator.ts","line":52,"character":29}],"type":{"type":"intrinsic","name":"object"}},{"id":6054,"name":"_noiseBuffers","kind":2097152,"kindString":"Object literal","flags":{"isExported":true,"isConst":true},"comment":{"shortText":"The noise arrays. Generated on initialization.\nborrowed heavily from https://github.com/zacharydenton/noise.js\n(c) 2013 Zach Denton (MIT)"},"children":[{"id":6055,"name":"brown","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":6056,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"reference","id":4362,"name":"ToneAudioBuffer"}}],"sources":[{"fileName":"Tone/source/Noise.ts","line":228,"character":10}]},{"id":6057,"name":"pink","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":6058,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"reference","id":4362,"name":"ToneAudioBuffer"}}],"sources":[{"fileName":"Tone/source/Noise.ts","line":247,"character":9}]},{"id":6059,"name":"white","kind":262144,"kindString":"Accessor","flags":{"isExported":true},"getSignature":[{"id":6060,"name":"__get","kind":524288,"kindString":"Get signature","flags":{"isExported":true},"type":{"type":"reference","id":4362,"name":"ToneAudioBuffer"}}],"sources":[{"fileName":"Tone/source/Noise.ts","line":273,"character":10}]}],"groups":[{"title":"Accessors","kind":262144,"children":[6055,6057,6059]}],"sources":[{"fileName":"Tone/source/Noise.ts","line":227,"character":19}],"type":{"type":"intrinsic","name":"object"}},{"id":6050,"name":"_noiseCache","kind":2097152,"kindString":"Object literal","flags":{"isExported":true,"isConst":true},"comment":{"shortText":"Cache the noise buffers"},"children":[{"id":6051,"name":"brown","kind":32,"kindString":"Variable","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Noise.ts","line":217,"character":6}],"type":{"type":"intrinsic","name":"null"},"defaultValue":"null"},{"id":6052,"name":"pink","kind":32,"kindString":"Variable","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Noise.ts","line":218,"character":5}],"type":{"type":"intrinsic","name":"null"},"defaultValue":"null"},{"id":6053,"name":"white","kind":32,"kindString":"Variable","flags":{"isExported":true},"sources":[{"fileName":"Tone/source/Noise.ts","line":219,"character":6}],"type":{"type":"intrinsic","name":"null"},"defaultValue":"null"}],"groups":[{"title":"Variables","kind":32,"children":[6051,6052,6053]}],"sources":[{"fileName":"Tone/source/Noise.ts","line":216,"character":17}],"type":{"type":"intrinsic","name":"object"}}],"groups":[{"title":"Classes","kind":128,"children":[7362,11375,9458,739,8381,10960,17998,7104,14678,14898,15114,3052,11519,15241,15338,18800,15440,15935,5156,19358,2755,19950,14368,18401,5295,2545,16075,2958,4189,12037,19845,14463,101,10546,18300,7524,12183,7837,12854,16280,16181,11618,15011,16576,4656,11740,16471,1143,9543,19457,9279,9974,9887,10707,1906,1845,16686,8745,14561,19559,2647,13765,13068,12491,15640,12330,18199,18107,19653,17541,17449,17359,5462,11239,18912,11895,10828,19748,19003,7189,9628,5895,12627,4452,8167,12959,1239,6718,8011,18698,14803,19113,826,13868,14103,16376,17129,16897,17009,8921,9126,13171,13295,10151,7686,19253,17251,13482,8558,10251,14221,1503,6907,18588,5563,15550,587,15727,15827,17649,16792,9713,10354,11098,1970,4850,5051,355,1761,434,504,244,711,48,4362,5411,1004,12746,5728,1374,13633,6589,4793,2190,2166,2200,1681,17764,6065,17891,2449,6998,18492,8660],"categories":[{"title":"Core","children":[5156,2755,5295,2545,2958,101,1143,2647,4452,826,48,4362,5411,2190]},{"title":"Source","children":[7362,7524,7837,9279,8745,5895,8167,6718,8011,8921,9126,7686,5728,6589,6065]},{"title":"Instrument","children":[11375,12037,12183,12491,12330,11895,12627,13171,13295,13482,11098]},{"title":"Effect","children":[14678,14898,15114,15241,15440,15935,16075,16280,16576,16471,16686,17541,17129,16897,17009,17251,17649,17764,17891]},{"title":"Component","children":[10960,17998,11519,18800,19358,19950,14368,18401,19845,10546,18300,12854,11618,15011,11740,19457,19559,13068,15640,18199,19653,17449,17359,18912,19748,19003,12959,18698,14803,19113,16376,19253,18588,15550,2449,18492]},{"title":"Signal","children":[9458,8381,7104,9543,9974,9887,7189,9628,10151,8558,10251,1503,9713,1374,6998,8660]},{"title":"Event","children":[13765,13868,14103,14221,13633]},{"title":"Global","children":[739,3052,15338,4189,14463,16181,10707,1906,1845,14561,18107,11239,10828,1239,6907,5563,587,15727,15827,16792,10354,1970,4850,5051,355,434,244,711,1004,12746,4793,2166,2200]},{"title":"Unit","children":[4656,5462,1761,504,1681]}]},{"title":"Interfaces","kind":256,"children":[6299,6309,6344,6333,6321,17992,14669,14891,15105,6188,47,11512,15237,15335,18793,1000,15435,15926,5151,19351,2742,2748,19943,14365,5291,2541,16070,2985,12026,19838,14460,95,10690,10687,10537,18295,6236,6247,6285,6273,12171,6260,6357,6367,6402,6391,6379,12850,16274,16177,15008,16571,11728,16467,1135,19453,9258,10704,1840,16682,14555,19556,2636,3213,13753,13063,12481,15637,12319,18194,19649,11228,11885,10822,19741,18998,6044,5886,12622,822,6473,6497,6485,6435,6461,6448,6508,6532,6520,8160,12955,1233,6425,18692,19097,807,13864,14087,17121,16891,17002,8900,9110,13164,13288,10148,6415,19250,17246,13467,13462,10246,8554,14214,1495,18585,5558,15547,584,15823,17645,16788,2242,11090,817,1959,4841,5047,5043,423,242,239,707,4351,5401,5396,5710,1362,6196,13621,6177,6580,6225,14799,6216,6206,3244,4791,2159,2233,2191,17757,416,4,6061,17884,2445,6993,18489]},{"title":"Type aliases","kind":4194304,"children":[6558,6567,6565,6566,11511,6568,6569,6553,18106,4181,8355,8372,24,999,998,36,39,3211,10698,705,14032,42,20052,5285,5290,3212,18488,22,37,10700,10702,10701,3210,6555,6557,6562,6560,6561,6563,6564,6559,6572,6570,6571,6573,6574,11725,11724,32,4749,26,10147,9973,41,1101,10699,25,8357,8369,8360,8363,8366,1955,8886,18193,17644,17540,17448,3,43,18997,6047,6552,23,2,1119,13456,6577,8356,6576,6579,6575,13062,1357,1102,13460,14038,706,27,44,38,1132,40,6549,21,14363,6992,6547,6548,15822,28,2156,388,35,31,503,29,33,502,354,1103,12844,5885,13747,6556,6554,2441,2440,34,6550,6551,45,46,13449,13458,7103,7098,1358,10956,5706],"categories":[{"title":"Global","children":[6558,6567,6565,6566,11511,6568,6569,6553,18106,4181,8355,8372,999,998,3211,10698,705,14032,20052,5285,5290,3212,18488,10700,10702,10701,3210,6555,6557,6562,6560,6561,6563,6564,6559,6572,6570,6571,6573,6574,11725,11724,4749,10147,9973,1101,10699,8357,8369,8360,8363,8366,1955,8886,18193,17644,17540,17448,18997,6047,6552,1119,13456,6577,8356,6576,6579,6575,13062,1357,1102,13460,14038,706,1132,6549,14363,6992,6547,6548,15822,2156,388,503,502,354,1103,12844,5885,13747,6556,6554,2441,2440,6550,6551,13449,13458,7103,7098,1358,10956,5706]},{"title":"Unit","children":[24,36,39,42,22,37,32,26,41,25,3,43,23,2,27,44,38,40,21,28,35,31,29,33,34,45,46]}]},{"title":"Variables","kind":32,"children":[401,6048,20088,20090,20089,217,10703,20078,6049,16787,16681,15236,16785,16786,16680,20085,3234,12847,4647,12849,4648,12480,2972,2959,12846,12845,1,12736,12848]},{"title":"Functions","kind":64,"children":[230,4787,218,222,226,5554,5387,14081,1836,580,1757,12737,14056,3222,3231,3226,20065,234,14052,2982,1107,1104,1675,4173,4184,4176,392,190,165,206,1113,14043,389,20069,407,410,395,6543,402,4649,202,20079,20083,20081,20076,12744,20074,14047,2969,398,86,158,155,149,146,83,67,71,92,77,80,152,89,64,14065,14061,20086,3238,413,161,1130,20072,211,2976,2963,195,14069,14073,14077,8892,1122,12740,404,4651,3235,4654,8896,14039,3241,1126],"categories":[{"title":"Core","children":[5387,4649,20079,20083,20081,20076,20074,20086,20072,4651,4654]},{"title":"Global","children":[230,218,222,226,14081,12737,14056,3222,3231,3226,20065,234,14052,2982,1107,1104,1675,4173,4184,4176,392,190,165,206,1113,14043,389,20069,407,410,395,6543,402,202,12744,14047,2969,398,86,158,155,149,146,83,67,71,92,77,80,152,89,64,14065,14061,3238,413,161,1130,211,2976,2963,195,14069,14073,14077,8892,1122,12740,404,3235,8896,14039,3241,1126]},{"title":"Unit","children":[4787,5554,1836,580,1757]}]},{"title":"Object literals","kind":2097152,"children":[8374,6054,6050]}],"commit":"de1dddc","version":"14.8.2"}