New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cacophony

Package Overview
Dependencies
Maintainers
0
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cacophony - npm Package Compare versions

Comparing version 0.10.3 to 0.10.4

26

dist/cacophony.d.ts

@@ -34,3 +34,3 @@ import { AudioContext, IAudioListener, IPannerNode, IPannerOptions } from 'standardized-audio-context';

*/
export type LoopCount = number | 'infinite';
export type LoopCount = number | "infinite";
/**

@@ -40,3 +40,3 @@ * Represents the type of fade effect to apply.

*/
export type FadeType = 'linear' | 'exponential';
export type FadeType = "linear" | "exponential";
/**

@@ -46,3 +46,3 @@ * Represents the type of panning effect to apply.

*/
export type PanType = 'HRTF' | 'stereo';
export type PanType = "HRTF" | "stereo";
/**

@@ -74,3 +74,3 @@ * The base interface for any sound-producing entity, including individual sounds, groups, and playbacks.

clearMemoryCache(): void;
createOscillator(options: OscillatorOptions): Synth;
createOscillator(options: OscillatorOptions, panType?: PanType): Synth;
createSound(buffer: AudioBuffer, soundType?: SoundType, panType?: PanType): Promise<Sound>;

@@ -81,3 +81,3 @@ createSound(url: string, soundType?: SoundType, panType?: PanType): Promise<Sound>;

createStream(url: string): Promise<Sound>;
createBiquadFilter: ({ type, frequency, gain, Q }: BiquadFilterOptions) => BiquadFilterNode;
createBiquadFilter: ({ type, frequency, gain, Q, }: BiquadFilterOptions) => BiquadFilterNode;
/**

@@ -96,13 +96,13 @@ * Creates a PannerNode with the specified options.

* });
*/
createPanner({ coneInnerAngle, coneOuterAngle, coneOuterGain, distanceModel, maxDistance, channelCount, channelCountMode, channelInterpretation, panningModel, refDistance, rolloffFactor, positionX, positionY, positionZ, orientationX, orientationY, orientationZ }: Partial<IPannerOptions>): PannerNode;
*/
createPanner({ coneInnerAngle, coneOuterAngle, coneOuterGain, distanceModel, maxDistance, channelCount, channelCountMode, channelInterpretation, panningModel, refDistance, rolloffFactor, positionX, positionY, positionZ, orientationX, orientationY, orientationZ, }: Partial<IPannerOptions>): PannerNode;
/**
* Suspends the audio context.
*/
* Suspends the audio context.
*/
pause(): void;
/**
* Resumes the audio context.
* This method is required to resume the audio context on mobile devices.
* On desktop, the audio context will automatically resume when a sound is played.
*/
* Resumes the audio context.
* This method is required to resume the audio context on mobile devices.
* On desktop, the audio context will automatically resume when a sound is played.
*/
resume(): void;

@@ -109,0 +109,0 @@ setGlobalVolume(volume: number): void;

{
"name": "cacophony",
"version": "0.10.3",
"version": "0.10.4",
"description": "Typescript audio library with caching",

@@ -5,0 +5,0 @@ "type": "module",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc