exporting all options

This commit is contained in:
Yotam Mann 2019-08-30 09:04:03 -07:00
parent 5bdbda9c1c
commit 48ec3f9320
2 changed files with 13 additions and 13 deletions

View file

@ -4,9 +4,9 @@ import { optionsFromArguments } from "../core/util/Defaults";
import { Source, SourceOptions } from "../source/Source";
import { ToneBufferSource } from "./buffer/BufferSource";
type NoiseType = "white" | "brown" | "pink";
export type NoiseType = "white" | "brown" | "pink";
interface NoiseOptions extends SourceOptions {
export interface NoiseOptions extends SourceOptions {
type: NoiseType;
playbackRate: Positive;
fadeIn: Time;

View file

@ -1,11 +1,11 @@
export { Noise } from "./Noise";
export { Oscillator } from "./oscillator/Oscillator";
export { AMOscillator } from "./oscillator/AMOscillator";
export { FMOscillator } from "./oscillator/FMOscillator";
export { PulseOscillator } from "./oscillator/PulseOscillator";
export { FatOscillator } from "./oscillator/FatOscillator";
export { PWMOscillator } from "./oscillator/PWMOscillator";
export { OmniOscillator } from "./oscillator/OmniOscillator";
export { ToneOscillatorNode } from "./oscillator/OscillatorNode";
export { ToneBufferSource } from "./buffer/BufferSource";
export { Player } from "./buffer/Player";
export * from "./Noise";
export * from "./oscillator/Oscillator";
export * from "./oscillator/AMOscillator";
export * from "./oscillator/FMOscillator";
export * from "./oscillator/PulseOscillator";
export * from "./oscillator/FatOscillator";
export * from "./oscillator/PWMOscillator";
export * from "./oscillator/OmniOscillator";
export * from "./oscillator/OscillatorNode";
export * from "./buffer/BufferSource";
export * from "./buffer/Player";