tone-stream 1.8.0 → 1.9.0

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 +12 -0
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # tone-stream
2
2
 
3
+ ## Overview
4
+
3
5
  A simple node.js tone stream library.
4
6
 
5
7
  You can specify frequencies to be played by adding items in the format:
@@ -11,6 +13,12 @@ or DTMF tones:
11
13
  [NUMBER_OF_SAMPLES, 'DTMF:ID']
12
14
  ```
13
15
 
16
+ ## Installation
17
+ ```
18
+ npm i tone-stream
19
+ ```
20
+
21
+ ## Sample usage
14
22
 
15
23
  Playing some musical notes:
16
24
 
@@ -109,3 +117,7 @@ console.log("Starting playing tones")
109
117
  ts.pipe(s)
110
118
 
111
119
  ```
120
+
121
+ ## More examples
122
+
123
+ See [here](https://github.com/MayamaTakeshi/tone-stream/tree/master/examples).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tone-stream",
3
- "version": "1.8.0",
3
+ "version": "1.9.0",
4
4
  "description": "A simple audio tone stream library",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -23,10 +23,10 @@
23
23
  "devDependencies": {
24
24
  "lodash": "^4.17.21",
25
25
  "speaker": "^0.5.1",
26
- "wav": "^1.0.2"
26
+ "wav": "^1.0.2",
27
+ "dtmf-detection-stream": "^1.10.0"
27
28
  },
28
29
  "dependencies": {
29
- "dtmf-detection-stream": "^1.10.0",
30
30
  "morse-node": "^0.1.1",
31
31
  "note-to-frequency": "^1.4.1",
32
32
  "spec-read-stream": "^1.2.8"