@siteed/expo-audio-stream 2.2.0 → 2.2.1-beta.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.
- package/README.md +14 -69
- package/build/index.js +17 -7
- package/build/src/index.d.ts +11 -0
- package/build/src/index.js +54 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,85 +1,30 @@
|
|
|
1
1
|
# @siteed/expo-audio-stream
|
|
2
2
|
|
|
3
|
-
> ##
|
|
4
|
-
>
|
|
5
|
-
> **This package has been renamed to [@siteed/expo-audio-studio](https://www.npmjs.com/package/@siteed/expo-audio-studio) to better reflect its expanded capabilities beyond just audio streaming.**
|
|
3
|
+
> ## Package Renamed
|
|
6
4
|
>
|
|
7
|
-
>
|
|
5
|
+
> This package has been renamed to **[@siteed/audio-studio](https://www.npmjs.com/package/@siteed/audio-studio)**.
|
|
6
|
+
>
|
|
7
|
+
> `@siteed/expo-audio-stream` is no longer maintained. Please migrate:
|
|
8
8
|
>
|
|
9
9
|
> ```bash
|
|
10
|
-
>
|
|
11
|
-
>
|
|
12
|
-
>
|
|
13
|
-
> # or with yarn
|
|
14
|
-
> yarn add @siteed/expo-audio-studio
|
|
10
|
+
> yarn remove @siteed/expo-audio-stream
|
|
11
|
+
> yarn add @siteed/audio-studio
|
|
15
12
|
> ```
|
|
16
13
|
>
|
|
17
|
-
>
|
|
14
|
+
> Update your imports:
|
|
18
15
|
> ```typescript
|
|
16
|
+
> // Before
|
|
19
17
|
> import { ... } from '@siteed/expo-audio-stream';
|
|
20
|
-
>
|
|
21
|
-
>
|
|
22
|
-
>
|
|
23
|
-
> import { ... } from '@siteed/expo-audio-studio';
|
|
18
|
+
>
|
|
19
|
+
> // After
|
|
20
|
+
> import { ... } from '@siteed/audio-studio';
|
|
24
21
|
> ```
|
|
25
22
|
>
|
|
26
|
-
> The API
|
|
27
|
-
|
|
28
|
-
[](https://kandi.openweaver.com/typescript/siteed/expo-audio-stream)
|
|
29
|
-
[](https://www.npmjs.com/package/@siteed/expo-audio-stream)
|
|
30
|
-
[](https://www.npmjs.com/package/@siteed/expo-audio-stream)
|
|
31
|
-
[](https://www.npmjs.com/package/@siteed/expo-audio-stream)
|
|
32
|
-
|
|
33
|
-
<div align="center">
|
|
34
|
-
<p align="center">
|
|
35
|
-
<strong>This package now serves as a compatibility wrapper for @siteed/expo-audio-studio.</strong>
|
|
36
|
-
</p>
|
|
37
|
-
|
|
38
|
-
<div style="display: flex; justify-content: center; gap: 20px; margin: 30px 0;">
|
|
39
|
-
<div>
|
|
40
|
-
<h3>iOS Demo</h3>
|
|
41
|
-
<img src="../../docs/ios.gif" alt="iOS Demo" width="280" />
|
|
42
|
-
</div>
|
|
43
|
-
<div>
|
|
44
|
-
<h3>Android Demo</h3>
|
|
45
|
-
<img src="../../docs/android.gif" alt="Android Demo" width="280" />
|
|
46
|
-
</div>
|
|
47
|
-
</div>
|
|
48
|
-
|
|
49
|
-
<a href="https://deeeed.github.io/expo-audio-stream/playground" style="text-decoration:none;">
|
|
50
|
-
<div style="display:inline-block; padding:10px 20px; background-color:#007bff; color:white; border-radius:5px; font-size:16px;">
|
|
51
|
-
Try it in the Playground
|
|
52
|
-
</div>
|
|
53
|
-
</a>
|
|
54
|
-
</div>
|
|
55
|
-
|
|
56
|
-
**Give it a GitHub star 🌟, if you found this repo useful.**
|
|
57
|
-
[](https://github.com/deeeed/expo-audio-stream)
|
|
58
|
-
|
|
59
|
-
## Why the name change?
|
|
60
|
-
|
|
61
|
-
The library has evolved significantly beyond its initial focus on audio streaming. It now provides a comprehensive suite of audio tools including:
|
|
62
|
-
|
|
63
|
-
- Advanced audio recording capabilities
|
|
64
|
-
- Audio analysis and feature extraction
|
|
65
|
-
- Waveform visualization
|
|
66
|
-
- Audio trimming and manipulation
|
|
67
|
-
- Mel spectrogram generation
|
|
68
|
-
- And much more
|
|
69
|
-
|
|
70
|
-
The new name, "Audio Studio," better represents this expanded functionality as a complete audio processing toolkit.
|
|
71
|
-
|
|
72
|
-
## Migration
|
|
73
|
-
|
|
74
|
-
The migration process is simple:
|
|
75
|
-
|
|
76
|
-
1. Install the new package: `yarn add @siteed/expo-audio-studio`
|
|
77
|
-
2. Update your imports to use the new package name
|
|
78
|
-
3. That's it! The API remains identical
|
|
23
|
+
> The API is identical. See [MIGRATION.md](../../MIGRATION.md) for full details.
|
|
79
24
|
|
|
80
25
|
## License
|
|
81
26
|
|
|
82
|
-
|
|
27
|
+
MIT — see [LICENSE](LICENSE).
|
|
83
28
|
|
|
84
29
|
---
|
|
85
|
-
<sub>Created by [Arthur Breton](https://siteed.net)
|
|
30
|
+
<sub>Created by [Arthur Breton](https://siteed.net)</sub>
|
package/build/index.js
CHANGED
|
@@ -23,13 +23,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
23
23
|
}) : function(o, v) {
|
|
24
24
|
o["default"] = v;
|
|
25
25
|
});
|
|
26
|
-
var __importStar = (this && this.__importStar) || function (
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
};
|
|
26
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
27
|
+
var ownKeys = function(o) {
|
|
28
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
29
|
+
var ar = [];
|
|
30
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
31
|
+
return ar;
|
|
32
|
+
};
|
|
33
|
+
return ownKeys(o);
|
|
34
|
+
};
|
|
35
|
+
return function (mod) {
|
|
36
|
+
if (mod && mod.__esModule) return mod;
|
|
37
|
+
var result = {};
|
|
38
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
39
|
+
__setModuleDefault(result, mod);
|
|
40
|
+
return result;
|
|
41
|
+
};
|
|
42
|
+
})();
|
|
33
43
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
34
44
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
35
45
|
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @siteed/expo-audio-stream
|
|
3
|
+
*
|
|
4
|
+
* DEPRECATED: This package has been renamed to @siteed/expo-audio-studio
|
|
5
|
+
* This file serves as a compatibility wrapper that re-exports everything from the new package.
|
|
6
|
+
*
|
|
7
|
+
* Please update your imports to use @siteed/expo-audio-studio directly.
|
|
8
|
+
*/
|
|
9
|
+
import * as ExpoAudioStudio from '@siteed/expo-audio-studio';
|
|
10
|
+
export * from '@siteed/expo-audio-studio';
|
|
11
|
+
export default ExpoAudioStudio;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* @siteed/expo-audio-stream
|
|
4
|
+
*
|
|
5
|
+
* DEPRECATED: This package has been renamed to @siteed/expo-audio-studio
|
|
6
|
+
* This file serves as a compatibility wrapper that re-exports everything from the new package.
|
|
7
|
+
*
|
|
8
|
+
* Please update your imports to use @siteed/expo-audio-studio directly.
|
|
9
|
+
*/
|
|
10
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
13
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
14
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
15
|
+
}
|
|
16
|
+
Object.defineProperty(o, k2, desc);
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
27
|
+
var ownKeys = function(o) {
|
|
28
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
29
|
+
var ar = [];
|
|
30
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
31
|
+
return ar;
|
|
32
|
+
};
|
|
33
|
+
return ownKeys(o);
|
|
34
|
+
};
|
|
35
|
+
return function (mod) {
|
|
36
|
+
if (mod && mod.__esModule) return mod;
|
|
37
|
+
var result = {};
|
|
38
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
39
|
+
__setModuleDefault(result, mod);
|
|
40
|
+
return result;
|
|
41
|
+
};
|
|
42
|
+
})();
|
|
43
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
44
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
45
|
+
};
|
|
46
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
47
|
+
const ExpoAudioStudio = __importStar(require("@siteed/expo-audio-studio"));
|
|
48
|
+
// Display deprecation warning
|
|
49
|
+
console.warn('@siteed/expo-audio-stream is deprecated and will be removed in a future version. ' +
|
|
50
|
+
'Please migrate to @siteed/expo-audio-studio, which provides the same functionality with additional features.');
|
|
51
|
+
// Re-export everything from the new package
|
|
52
|
+
__exportStar(require("@siteed/expo-audio-studio"), exports);
|
|
53
|
+
// For backward compatibility with default imports
|
|
54
|
+
exports.default = ExpoAudioStudio;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@siteed/expo-audio-stream",
|
|
3
|
-
"version": "2.2.0",
|
|
3
|
+
"version": "2.2.1-beta.0",
|
|
4
4
|
"description": "DEPRECATED: Use @siteed/expo-audio-studio instead. This package now serves as a compatibility wrapper.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "build/index.js",
|
|
@@ -42,9 +42,9 @@
|
|
|
42
42
|
"registry": "https://registry.npmjs.org"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@siteed/expo-audio-studio": "2.
|
|
45
|
+
"@siteed/expo-audio-studio": "3.2.2-beta.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"typescript": "~
|
|
48
|
+
"typescript": "~6.0.3"
|
|
49
49
|
}
|
|
50
50
|
}
|