Socket
Socket
Sign inDemoInstall

@ng-web-apis/audio

Package Overview
Dependencies
4
Maintainers
4
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.5 to 3.0.6

2

package.json
{
"name": "@ng-web-apis/audio",
"version": "3.0.5",
"version": "3.0.6",
"description": "This is a library for declarative use of Web Audio API with Angular",

@@ -5,0 +5,0 @@ "keywords": [

@@ -20,5 +20,15 @@ # ![ng-web-apis logo](https://raw.githubusercontent.com/taiga-family/ng-web-apis/main/libs/audio/logo.svg) Web Audio API for Angular

```html
<audio src="/demo.wav" waMediaElementAudioSourceNode>
<ng-container #node="AudioNode" waDelayNode [delayTime]="delayTime">
<ng-container waGainNode [gain]="gain">
<audio
src="/demo.wav"
waMediaElementAudioSourceNode
>
<ng-container
#node="AudioNode"
waDelayNode
[delayTime]="delayTime"
>
<ng-container
waGainNode
[gain]="gain"
>
<ng-container [waOutput]="node"></ng-container>

@@ -47,3 +57,8 @@ <ng-container waAudioDestinationNode></ng-container>

```html
<button #source="AudioNode" buffer="/demo.wav" waAudioBufferSourceNode (click)="source.start()">
<button
#source="AudioNode"
buffer="/demo.wav"
waAudioBufferSourceNode
(click)="source.start()"
>
Play

@@ -166,3 +181,7 @@ <ng-container waAudioDestinationNode></ng-container>

```html
<ng-container *ngIf="processorsReady | async" waAudioWorkletNode name="my-processor">
<ng-container
*ngIf="processorsReady | async"
waAudioWorkletNode
name="my-processor"
>
<ng-container waAudioDestinationNode></ng-container>

@@ -235,3 +254,7 @@ </ng-container>

```html
<ng-container waGainNode gain="0" [gain]="gain | waAudioParam : 0.1 : 'linear'"></ng-container>
<ng-container
waGainNode
gain="0"
[gain]="gain | waAudioParam : 0.1 : 'linear'"
></ng-container>
```

@@ -296,3 +319,6 @@

<!-- Inverting left and right channel -->
<audio src="/demo.wav" waMediaElementAudioSourceNode>
<audio
src="/demo.wav"
waMediaElementAudioSourceNode
>
<ng-container waChannelSplitterNode>

@@ -303,4 +329,10 @@ <ng-container [waOutput]="right"></ng-container>

<ng-container waChannelMergerNode>
<ng-container #left="AudioNode" waChannel></ng-container>
<ng-container #right="AudioNode" waChannel></ng-container>
<ng-container
#left="AudioNode"
waChannel
></ng-container>
<ng-container
#right="AudioNode"
waChannel
></ng-container>
<ng-container waAudioDestinationNode></ng-container>

@@ -307,0 +339,0 @@ </ng-container>

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc