@audio/decode-aiff 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +4 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # decode-aiff
1
+ # @audio/decode-aiff
2
2
 
3
3
  Decode AIFF and AIFF-C audio to PCM float samples.<br>
4
4
  Part of [audio-decode](https://github.com/audiojs/audio-decode).
@@ -6,13 +6,13 @@ Part of [audio-decode](https://github.com/audiojs/audio-decode).
6
6
  ## Install
7
7
 
8
8
  ```
9
- npm i @audio/aiff-decode
9
+ npm i @audio/decode-aiff
10
10
  ```
11
11
 
12
12
  ## Usage
13
13
 
14
14
  ```js
15
- import decode from '@audio/aiff-decode'
15
+ import decode from '@audio/decode-aiff'
16
16
 
17
17
  let { channelData, sampleRate } = await decode(aiffBuffer)
18
18
  // channelData: Float32Array[] (one per channel)
@@ -22,7 +22,7 @@ let { channelData, sampleRate } = await decode(aiffBuffer)
22
22
  ### Streaming
23
23
 
24
24
  ```js
25
- import { decoder } from '@audio/aiff-decode'
25
+ import { decoder } from '@audio/decode-aiff'
26
26
 
27
27
  let dec = await decoder()
28
28
  let result = dec.decode(chunk)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@audio/decode-aiff",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Decode AIFF/AIFF-C audio to PCM samples",
5
5
  "type": "module",
6
6
  "main": "decode-aiff.js",