pvkoala 2.0.0__tar.gz → 2.0.2__tar.gz
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.
- pvkoala-2.0.2/PKG-INFO +80 -0
- {pvkoala-2.0.0 → pvkoala-2.0.2}/README.md +11 -9
- {pvkoala-2.0.0 → pvkoala-2.0.2}/pvkoala/_util.py +9 -4
- pvkoala-2.0.2/pvkoala/lib/raspberry-pi/cortex-a76/libpv_koala.so +0 -0
- pvkoala-2.0.2/pvkoala/lib/raspberry-pi/cortex-a76-aarch64/libpv_koala.so +0 -0
- pvkoala-2.0.2/pvkoala.egg-info/PKG-INFO +80 -0
- {pvkoala-2.0.0 → pvkoala-2.0.2}/pvkoala.egg-info/SOURCES.txt +2 -1
- {pvkoala-2.0.0 → pvkoala-2.0.2}/setup.py +4 -4
- pvkoala-2.0.0/PKG-INFO +0 -80
- pvkoala-2.0.0/pvkoala/lib/jetson/cortex-a57-aarch64/libpv_koala.so +0 -0
- pvkoala-2.0.0/pvkoala.egg-info/PKG-INFO +0 -80
- {pvkoala-2.0.0 → pvkoala-2.0.2}/MANIFEST.in +0 -0
- {pvkoala-2.0.0 → pvkoala-2.0.2}/pvkoala/LICENSE +0 -0
- {pvkoala-2.0.0 → pvkoala-2.0.2}/pvkoala/__init__.py +0 -0
- {pvkoala-2.0.0 → pvkoala-2.0.2}/pvkoala/_factory.py +0 -0
- {pvkoala-2.0.0 → pvkoala-2.0.2}/pvkoala/_koala.py +0 -0
- {pvkoala-2.0.0 → pvkoala-2.0.2}/pvkoala/lib/common/koala_params.pv +0 -0
- {pvkoala-2.0.0 → pvkoala-2.0.2}/pvkoala/lib/linux/x86_64/libpv_koala.so +0 -0
- {pvkoala-2.0.0 → pvkoala-2.0.2}/pvkoala/lib/mac/arm64/libpv_koala.dylib +0 -0
- {pvkoala-2.0.0 → pvkoala-2.0.2}/pvkoala/lib/mac/x86_64/libpv_koala.dylib +0 -0
- {pvkoala-2.0.0 → pvkoala-2.0.2}/pvkoala/lib/raspberry-pi/cortex-a53/libpv_koala.so +0 -0
- {pvkoala-2.0.0 → pvkoala-2.0.2}/pvkoala/lib/raspberry-pi/cortex-a53-aarch64/libpv_koala.so +0 -0
- {pvkoala-2.0.0 → pvkoala-2.0.2}/pvkoala/lib/raspberry-pi/cortex-a72/libpv_koala.so +0 -0
- {pvkoala-2.0.0 → pvkoala-2.0.2}/pvkoala/lib/raspberry-pi/cortex-a72-aarch64/libpv_koala.so +0 -0
- {pvkoala-2.0.0 → pvkoala-2.0.2}/pvkoala/lib/windows/amd64/libpv_koala.dll +0 -0
- {pvkoala-2.0.0 → pvkoala-2.0.2}/pvkoala.egg-info/dependency_links.txt +0 -0
- {pvkoala-2.0.0 → pvkoala-2.0.2}/pvkoala.egg-info/top_level.txt +0 -0
- {pvkoala-2.0.0 → pvkoala-2.0.2}/setup.cfg +0 -0
pvkoala-2.0.2/PKG-INFO
ADDED
@@ -0,0 +1,80 @@
|
|
1
|
+
Metadata-Version: 2.1
|
2
|
+
Name: pvkoala
|
3
|
+
Version: 2.0.2
|
4
|
+
Summary: Koala Noise Suppression Engine.
|
5
|
+
Home-page: https://github.com/Picovoice/koala
|
6
|
+
Author: Picovoice
|
7
|
+
Author-email: hello@picovoice.ai
|
8
|
+
Keywords: Noise Cancellation,Noise Suppression,Noise Removal,Speech Enhancement,Speech Denoising
|
9
|
+
Classifier: Development Status :: 5 - Production/Stable
|
10
|
+
Classifier: Intended Audience :: Developers
|
11
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
12
|
+
Classifier: Operating System :: OS Independent
|
13
|
+
Classifier: Programming Language :: Python :: 3
|
14
|
+
Classifier: Topic :: Multimedia :: Sound/Audio :: Speech
|
15
|
+
Requires-Python: >=3.8
|
16
|
+
Description-Content-Type: text/markdown
|
17
|
+
|
18
|
+
# Koala Binding for Python
|
19
|
+
|
20
|
+
## Koala Noise Suppression Engine
|
21
|
+
|
22
|
+
Made in Vancouver, Canada by [Picovoice](https://picovoice.ai)
|
23
|
+
|
24
|
+
Koala is an on-device noise suppression engine. Koala is:
|
25
|
+
|
26
|
+
- Private; All voice processing runs locally.
|
27
|
+
- Cross-Platform:
|
28
|
+
- Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64)
|
29
|
+
- Android and iOS
|
30
|
+
- Chrome, Safari, Firefox, and Edge
|
31
|
+
- Raspberry Pi (3, 4, 5)
|
32
|
+
|
33
|
+
## Compatibility
|
34
|
+
|
35
|
+
- Python 3.8 or higher
|
36
|
+
- Runs on Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64), and Raspberry Pi (3, 4, 5).
|
37
|
+
|
38
|
+
## Installation
|
39
|
+
|
40
|
+
```console
|
41
|
+
pip3 install pvkoala
|
42
|
+
```
|
43
|
+
|
44
|
+
## AccessKey
|
45
|
+
|
46
|
+
Koala requires a valid Picovoice `AccessKey` at initialization. `AccessKey` acts as your credentials when using Koala
|
47
|
+
SDKs. You can get your `AccessKey` for free. Make sure to keep your `AccessKey` secret.
|
48
|
+
Signup or Login to [Picovoice Console](https://console.picovoice.ai/) to get your `AccessKey`.
|
49
|
+
|
50
|
+
### Usage
|
51
|
+
|
52
|
+
Create an instance of the engine and enhance audio:
|
53
|
+
|
54
|
+
```python
|
55
|
+
import pvkoala
|
56
|
+
|
57
|
+
koala = pvkoala.create(access_key='${ACCESS_KEY}')
|
58
|
+
|
59
|
+
def get_next_audio_frame():
|
60
|
+
pass
|
61
|
+
|
62
|
+
while True:
|
63
|
+
enhanced_audio = koala.process(get_next_audio_frame())
|
64
|
+
```
|
65
|
+
|
66
|
+
Replace `${ACCESS_KEY}` with yours obtained from [Picovoice Console](https://console.picovoice.ai/).
|
67
|
+
The input audio must come from a single-channel stream with integer 16-bit encoding. The sample rate must be identical
|
68
|
+
to `koala.sample_rate`. The stream must be split into *frames* with a fixed length in samples that can be obtained
|
69
|
+
from `koala.frame_length`.
|
70
|
+
|
71
|
+
The output of `koala.process()` is a frame of enhanced audio with the same 16-bit integer encoding. The delay in
|
72
|
+
samples between the start time of the input frame and the start time of the output frame can be attained from
|
73
|
+
`koala.delay_sample`.
|
74
|
+
|
75
|
+
In case the next audio frame does not directly follow the previous one, call `koala.reset()`.
|
76
|
+
When done be sure to explicitly release the resources using `koala.delete()`.
|
77
|
+
|
78
|
+
## Demos
|
79
|
+
|
80
|
+
[pvkoalademo](https://pypi.org/project/pvkoalademo/) provides command-line utilities for processing audio using Koala.
|
@@ -1,4 +1,6 @@
|
|
1
|
-
# Koala
|
1
|
+
# Koala Binding for Python
|
2
|
+
|
3
|
+
## Koala Noise Suppression Engine
|
2
4
|
|
3
5
|
Made in Vancouver, Canada by [Picovoice](https://picovoice.ai)
|
4
6
|
|
@@ -9,12 +11,12 @@ Koala is an on-device noise suppression engine. Koala is:
|
|
9
11
|
- Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64)
|
10
12
|
- Android and iOS
|
11
13
|
- Chrome, Safari, Firefox, and Edge
|
12
|
-
- Raspberry Pi (4,
|
14
|
+
- Raspberry Pi (3, 4, 5)
|
13
15
|
|
14
16
|
## Compatibility
|
15
17
|
|
16
|
-
- Python 3.
|
17
|
-
- Runs on Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64), Raspberry Pi (4,
|
18
|
+
- Python 3.8 or higher
|
19
|
+
- Runs on Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64), and Raspberry Pi (3, 4, 5).
|
18
20
|
|
19
21
|
## Installation
|
20
22
|
|
@@ -24,7 +26,7 @@ pip3 install pvkoala
|
|
24
26
|
|
25
27
|
## AccessKey
|
26
28
|
|
27
|
-
Koala requires a valid Picovoice `AccessKey` at initialization. `AccessKey` acts as your credentials when using Koala
|
29
|
+
Koala requires a valid Picovoice `AccessKey` at initialization. `AccessKey` acts as your credentials when using Koala
|
28
30
|
SDKs. You can get your `AccessKey` for free. Make sure to keep your `AccessKey` secret.
|
29
31
|
Signup or Login to [Picovoice Console](https://console.picovoice.ai/) to get your `AccessKey`.
|
30
32
|
|
@@ -44,13 +46,13 @@ while True:
|
|
44
46
|
enhanced_audio = koala.process(get_next_audio_frame())
|
45
47
|
```
|
46
48
|
|
47
|
-
Replace `${ACCESS_KEY}` with yours obtained from [Picovoice Console](https://console.picovoice.ai/).
|
49
|
+
Replace `${ACCESS_KEY}` with yours obtained from [Picovoice Console](https://console.picovoice.ai/).
|
48
50
|
The input audio must come from a single-channel stream with integer 16-bit encoding. The sample rate must be identical
|
49
|
-
to `koala.sample_rate`. The stream must be split into *frames* with a fixed length in samples that can be obtained
|
51
|
+
to `koala.sample_rate`. The stream must be split into *frames* with a fixed length in samples that can be obtained
|
50
52
|
from `koala.frame_length`.
|
51
53
|
|
52
|
-
The output of `koala.process()` is a frame of enhanced audio with the same 16-bit integer encoding. The delay in
|
53
|
-
samples between the start time of the input frame and the start time of the output frame can be attained from
|
54
|
+
The output of `koala.process()` is a frame of enhanced audio with the same 16-bit integer encoding. The delay in
|
55
|
+
samples between the start time of the input frame and the start time of the output frame can be attained from
|
54
56
|
`koala.delay_sample`.
|
55
57
|
|
56
58
|
In case the next audio frame does not directly follow the previous one, call `koala.reset()`.
|
@@ -41,12 +41,19 @@ def _linux_machine() -> str:
|
|
41
41
|
return 'cortex-a57' + arch_info
|
42
42
|
elif '0xd08' == cpu_part:
|
43
43
|
return 'cortex-a72' + arch_info
|
44
|
+
elif "0xd0b" == cpu_part:
|
45
|
+
return "cortex-a76" + arch_info
|
44
46
|
else:
|
45
47
|
raise NotImplementedError("Unsupported CPU: `%s`." % cpu_part)
|
46
48
|
|
47
49
|
|
48
|
-
_RASPBERRY_PI_MACHINES = {
|
49
|
-
|
50
|
+
_RASPBERRY_PI_MACHINES = {
|
51
|
+
"cortex-a53",
|
52
|
+
"cortex-a72",
|
53
|
+
"cortex-a76",
|
54
|
+
"cortex-a53-aarch64",
|
55
|
+
"cortex-a72-aarch64",
|
56
|
+
"cortex-a76-aarch64"}
|
50
57
|
|
51
58
|
|
52
59
|
def default_library_path(relative: str = '') -> str:
|
@@ -59,8 +66,6 @@ def default_library_path(relative: str = '') -> str:
|
|
59
66
|
linux_machine = _linux_machine()
|
60
67
|
if linux_machine == 'x86_64':
|
61
68
|
return os.path.join(os.path.dirname(__file__), relative, 'lib/linux/x86_64/libpv_koala.so')
|
62
|
-
elif linux_machine in _JETSON_MACHINES:
|
63
|
-
return os.path.join(os.path.dirname(__file__), relative, 'lib/jetson/%s/libpv_koala.so' % linux_machine)
|
64
69
|
elif linux_machine in _RASPBERRY_PI_MACHINES:
|
65
70
|
return os.path.join(
|
66
71
|
os.path.dirname(__file__),
|
Binary file
|
Binary file
|
@@ -0,0 +1,80 @@
|
|
1
|
+
Metadata-Version: 2.1
|
2
|
+
Name: pvkoala
|
3
|
+
Version: 2.0.2
|
4
|
+
Summary: Koala Noise Suppression Engine.
|
5
|
+
Home-page: https://github.com/Picovoice/koala
|
6
|
+
Author: Picovoice
|
7
|
+
Author-email: hello@picovoice.ai
|
8
|
+
Keywords: Noise Cancellation,Noise Suppression,Noise Removal,Speech Enhancement,Speech Denoising
|
9
|
+
Classifier: Development Status :: 5 - Production/Stable
|
10
|
+
Classifier: Intended Audience :: Developers
|
11
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
12
|
+
Classifier: Operating System :: OS Independent
|
13
|
+
Classifier: Programming Language :: Python :: 3
|
14
|
+
Classifier: Topic :: Multimedia :: Sound/Audio :: Speech
|
15
|
+
Requires-Python: >=3.8
|
16
|
+
Description-Content-Type: text/markdown
|
17
|
+
|
18
|
+
# Koala Binding for Python
|
19
|
+
|
20
|
+
## Koala Noise Suppression Engine
|
21
|
+
|
22
|
+
Made in Vancouver, Canada by [Picovoice](https://picovoice.ai)
|
23
|
+
|
24
|
+
Koala is an on-device noise suppression engine. Koala is:
|
25
|
+
|
26
|
+
- Private; All voice processing runs locally.
|
27
|
+
- Cross-Platform:
|
28
|
+
- Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64)
|
29
|
+
- Android and iOS
|
30
|
+
- Chrome, Safari, Firefox, and Edge
|
31
|
+
- Raspberry Pi (3, 4, 5)
|
32
|
+
|
33
|
+
## Compatibility
|
34
|
+
|
35
|
+
- Python 3.8 or higher
|
36
|
+
- Runs on Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64), and Raspberry Pi (3, 4, 5).
|
37
|
+
|
38
|
+
## Installation
|
39
|
+
|
40
|
+
```console
|
41
|
+
pip3 install pvkoala
|
42
|
+
```
|
43
|
+
|
44
|
+
## AccessKey
|
45
|
+
|
46
|
+
Koala requires a valid Picovoice `AccessKey` at initialization. `AccessKey` acts as your credentials when using Koala
|
47
|
+
SDKs. You can get your `AccessKey` for free. Make sure to keep your `AccessKey` secret.
|
48
|
+
Signup or Login to [Picovoice Console](https://console.picovoice.ai/) to get your `AccessKey`.
|
49
|
+
|
50
|
+
### Usage
|
51
|
+
|
52
|
+
Create an instance of the engine and enhance audio:
|
53
|
+
|
54
|
+
```python
|
55
|
+
import pvkoala
|
56
|
+
|
57
|
+
koala = pvkoala.create(access_key='${ACCESS_KEY}')
|
58
|
+
|
59
|
+
def get_next_audio_frame():
|
60
|
+
pass
|
61
|
+
|
62
|
+
while True:
|
63
|
+
enhanced_audio = koala.process(get_next_audio_frame())
|
64
|
+
```
|
65
|
+
|
66
|
+
Replace `${ACCESS_KEY}` with yours obtained from [Picovoice Console](https://console.picovoice.ai/).
|
67
|
+
The input audio must come from a single-channel stream with integer 16-bit encoding. The sample rate must be identical
|
68
|
+
to `koala.sample_rate`. The stream must be split into *frames* with a fixed length in samples that can be obtained
|
69
|
+
from `koala.frame_length`.
|
70
|
+
|
71
|
+
The output of `koala.process()` is a frame of enhanced audio with the same 16-bit integer encoding. The delay in
|
72
|
+
samples between the start time of the input frame and the start time of the output frame can be attained from
|
73
|
+
`koala.delay_sample`.
|
74
|
+
|
75
|
+
In case the next audio frame does not directly follow the previous one, call `koala.reset()`.
|
76
|
+
When done be sure to explicitly release the resources using `koala.delete()`.
|
77
|
+
|
78
|
+
## Demos
|
79
|
+
|
80
|
+
[pvkoalademo](https://pypi.org/project/pvkoalademo/) provides command-line utilities for processing audio using Koala.
|
@@ -11,7 +11,6 @@ pvkoala.egg-info/SOURCES.txt
|
|
11
11
|
pvkoala.egg-info/dependency_links.txt
|
12
12
|
pvkoala.egg-info/top_level.txt
|
13
13
|
pvkoala/lib/common/koala_params.pv
|
14
|
-
pvkoala/lib/jetson/cortex-a57-aarch64/libpv_koala.so
|
15
14
|
pvkoala/lib/linux/x86_64/libpv_koala.so
|
16
15
|
pvkoala/lib/mac/arm64/libpv_koala.dylib
|
17
16
|
pvkoala/lib/mac/x86_64/libpv_koala.dylib
|
@@ -19,4 +18,6 @@ pvkoala/lib/raspberry-pi/cortex-a53/libpv_koala.so
|
|
19
18
|
pvkoala/lib/raspberry-pi/cortex-a53-aarch64/libpv_koala.so
|
20
19
|
pvkoala/lib/raspberry-pi/cortex-a72/libpv_koala.so
|
21
20
|
pvkoala/lib/raspberry-pi/cortex-a72-aarch64/libpv_koala.so
|
21
|
+
pvkoala/lib/raspberry-pi/cortex-a76/libpv_koala.so
|
22
|
+
pvkoala/lib/raspberry-pi/cortex-a76-aarch64/libpv_koala.so
|
22
23
|
pvkoala/lib/windows/amd64/libpv_koala.dll
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright 2023 Picovoice Inc.
|
2
|
+
# Copyright 2023-2024 Picovoice Inc.
|
3
3
|
#
|
4
4
|
# You may not use this file except in compliance with the license. A copy of the license is located in the "LICENSE"
|
5
5
|
# file accompanying this source.
|
@@ -15,7 +15,7 @@ import shutil
|
|
15
15
|
import setuptools
|
16
16
|
|
17
17
|
INCLUDE_FILES = ('../../LICENSE', '__init__.py', '_factory.py', '_koala.py', '_util.py')
|
18
|
-
INCLUDE_LIBS = ('common', '
|
18
|
+
INCLUDE_LIBS = ('common', 'linux', 'mac', 'raspberry-pi', 'windows')
|
19
19
|
|
20
20
|
os.system('git clean -dfx')
|
21
21
|
|
@@ -42,7 +42,7 @@ with open(os.path.join(os.path.dirname(__file__), 'README.md'), 'r') as f:
|
|
42
42
|
|
43
43
|
setuptools.setup(
|
44
44
|
name="pvkoala",
|
45
|
-
version="2.0.
|
45
|
+
version="2.0.2",
|
46
46
|
author="Picovoice",
|
47
47
|
author_email="hello@picovoice.ai",
|
48
48
|
description="Koala Noise Suppression Engine.",
|
@@ -59,6 +59,6 @@ setuptools.setup(
|
|
59
59
|
"Programming Language :: Python :: 3",
|
60
60
|
"Topic :: Multimedia :: Sound/Audio :: Speech"
|
61
61
|
],
|
62
|
-
python_requires='>=3.
|
62
|
+
python_requires='>=3.8',
|
63
63
|
keywords="Noise Cancellation, Noise Suppression, Noise Removal, Speech Enhancement, Speech Denoising",
|
64
64
|
)
|
pvkoala-2.0.0/PKG-INFO
DELETED
@@ -1,80 +0,0 @@
|
|
1
|
-
Metadata-Version: 2.1
|
2
|
-
Name: pvkoala
|
3
|
-
Version: 2.0.0
|
4
|
-
Summary: Koala Noise Suppression Engine.
|
5
|
-
Home-page: https://github.com/Picovoice/koala
|
6
|
-
Author: Picovoice
|
7
|
-
Author-email: hello@picovoice.ai
|
8
|
-
License: UNKNOWN
|
9
|
-
Description: # Koala Noise Suppression Engine
|
10
|
-
|
11
|
-
Made in Vancouver, Canada by [Picovoice](https://picovoice.ai)
|
12
|
-
|
13
|
-
Koala is an on-device noise suppression engine. Koala is:
|
14
|
-
|
15
|
-
- Private; All voice processing runs locally.
|
16
|
-
- Cross-Platform:
|
17
|
-
- Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64)
|
18
|
-
- Android and iOS
|
19
|
-
- Chrome, Safari, Firefox, and Edge
|
20
|
-
- Raspberry Pi (4, 3) and NVIDIA Jetson Nano
|
21
|
-
|
22
|
-
## Compatibility
|
23
|
-
|
24
|
-
- Python 3.5 or higher
|
25
|
-
- Runs on Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64), Raspberry Pi (4, 3), and NVIDIA Jetson Nano.
|
26
|
-
|
27
|
-
## Installation
|
28
|
-
|
29
|
-
```console
|
30
|
-
pip3 install pvkoala
|
31
|
-
```
|
32
|
-
|
33
|
-
## AccessKey
|
34
|
-
|
35
|
-
Koala requires a valid Picovoice `AccessKey` at initialization. `AccessKey` acts as your credentials when using Koala
|
36
|
-
SDKs. You can get your `AccessKey` for free. Make sure to keep your `AccessKey` secret.
|
37
|
-
Signup or Login to [Picovoice Console](https://console.picovoice.ai/) to get your `AccessKey`.
|
38
|
-
|
39
|
-
### Usage
|
40
|
-
|
41
|
-
Create an instance of the engine and enhance audio:
|
42
|
-
|
43
|
-
```python
|
44
|
-
import pvkoala
|
45
|
-
|
46
|
-
koala = pvkoala.create(access_key='${ACCESS_KEY}')
|
47
|
-
|
48
|
-
def get_next_audio_frame():
|
49
|
-
pass
|
50
|
-
|
51
|
-
while True:
|
52
|
-
enhanced_audio = koala.process(get_next_audio_frame())
|
53
|
-
```
|
54
|
-
|
55
|
-
Replace `${ACCESS_KEY}` with yours obtained from [Picovoice Console](https://console.picovoice.ai/).
|
56
|
-
The input audio must come from a single-channel stream with integer 16-bit encoding. The sample rate must be identical
|
57
|
-
to `koala.sample_rate`. The stream must be split into *frames* with a fixed length in samples that can be obtained
|
58
|
-
from `koala.frame_length`.
|
59
|
-
|
60
|
-
The output of `koala.process()` is a frame of enhanced audio with the same 16-bit integer encoding. The delay in
|
61
|
-
samples between the start time of the input frame and the start time of the output frame can be attained from
|
62
|
-
`koala.delay_sample`.
|
63
|
-
|
64
|
-
In case the next audio frame does not directly follow the previous one, call `koala.reset()`.
|
65
|
-
When done be sure to explicitly release the resources using `koala.delete()`.
|
66
|
-
|
67
|
-
## Demos
|
68
|
-
|
69
|
-
[pvkoalademo](https://pypi.org/project/pvkoalademo/) provides command-line utilities for processing audio using Koala.
|
70
|
-
|
71
|
-
Keywords: Noise Cancellation,Noise Suppression,Noise Removal,Speech Enhancement,Speech Denoising
|
72
|
-
Platform: UNKNOWN
|
73
|
-
Classifier: Development Status :: 5 - Production/Stable
|
74
|
-
Classifier: Intended Audience :: Developers
|
75
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
76
|
-
Classifier: Operating System :: OS Independent
|
77
|
-
Classifier: Programming Language :: Python :: 3
|
78
|
-
Classifier: Topic :: Multimedia :: Sound/Audio :: Speech
|
79
|
-
Requires-Python: >=3.5
|
80
|
-
Description-Content-Type: text/markdown
|
Binary file
|
@@ -1,80 +0,0 @@
|
|
1
|
-
Metadata-Version: 2.1
|
2
|
-
Name: pvkoala
|
3
|
-
Version: 2.0.0
|
4
|
-
Summary: Koala Noise Suppression Engine.
|
5
|
-
Home-page: https://github.com/Picovoice/koala
|
6
|
-
Author: Picovoice
|
7
|
-
Author-email: hello@picovoice.ai
|
8
|
-
License: UNKNOWN
|
9
|
-
Description: # Koala Noise Suppression Engine
|
10
|
-
|
11
|
-
Made in Vancouver, Canada by [Picovoice](https://picovoice.ai)
|
12
|
-
|
13
|
-
Koala is an on-device noise suppression engine. Koala is:
|
14
|
-
|
15
|
-
- Private; All voice processing runs locally.
|
16
|
-
- Cross-Platform:
|
17
|
-
- Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64)
|
18
|
-
- Android and iOS
|
19
|
-
- Chrome, Safari, Firefox, and Edge
|
20
|
-
- Raspberry Pi (4, 3) and NVIDIA Jetson Nano
|
21
|
-
|
22
|
-
## Compatibility
|
23
|
-
|
24
|
-
- Python 3.5 or higher
|
25
|
-
- Runs on Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64), Raspberry Pi (4, 3), and NVIDIA Jetson Nano.
|
26
|
-
|
27
|
-
## Installation
|
28
|
-
|
29
|
-
```console
|
30
|
-
pip3 install pvkoala
|
31
|
-
```
|
32
|
-
|
33
|
-
## AccessKey
|
34
|
-
|
35
|
-
Koala requires a valid Picovoice `AccessKey` at initialization. `AccessKey` acts as your credentials when using Koala
|
36
|
-
SDKs. You can get your `AccessKey` for free. Make sure to keep your `AccessKey` secret.
|
37
|
-
Signup or Login to [Picovoice Console](https://console.picovoice.ai/) to get your `AccessKey`.
|
38
|
-
|
39
|
-
### Usage
|
40
|
-
|
41
|
-
Create an instance of the engine and enhance audio:
|
42
|
-
|
43
|
-
```python
|
44
|
-
import pvkoala
|
45
|
-
|
46
|
-
koala = pvkoala.create(access_key='${ACCESS_KEY}')
|
47
|
-
|
48
|
-
def get_next_audio_frame():
|
49
|
-
pass
|
50
|
-
|
51
|
-
while True:
|
52
|
-
enhanced_audio = koala.process(get_next_audio_frame())
|
53
|
-
```
|
54
|
-
|
55
|
-
Replace `${ACCESS_KEY}` with yours obtained from [Picovoice Console](https://console.picovoice.ai/).
|
56
|
-
The input audio must come from a single-channel stream with integer 16-bit encoding. The sample rate must be identical
|
57
|
-
to `koala.sample_rate`. The stream must be split into *frames* with a fixed length in samples that can be obtained
|
58
|
-
from `koala.frame_length`.
|
59
|
-
|
60
|
-
The output of `koala.process()` is a frame of enhanced audio with the same 16-bit integer encoding. The delay in
|
61
|
-
samples between the start time of the input frame and the start time of the output frame can be attained from
|
62
|
-
`koala.delay_sample`.
|
63
|
-
|
64
|
-
In case the next audio frame does not directly follow the previous one, call `koala.reset()`.
|
65
|
-
When done be sure to explicitly release the resources using `koala.delete()`.
|
66
|
-
|
67
|
-
## Demos
|
68
|
-
|
69
|
-
[pvkoalademo](https://pypi.org/project/pvkoalademo/) provides command-line utilities for processing audio using Koala.
|
70
|
-
|
71
|
-
Keywords: Noise Cancellation,Noise Suppression,Noise Removal,Speech Enhancement,Speech Denoising
|
72
|
-
Platform: UNKNOWN
|
73
|
-
Classifier: Development Status :: 5 - Production/Stable
|
74
|
-
Classifier: Intended Audience :: Developers
|
75
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
76
|
-
Classifier: Operating System :: OS Independent
|
77
|
-
Classifier: Programming Language :: Python :: 3
|
78
|
-
Classifier: Topic :: Multimedia :: Sound/Audio :: Speech
|
79
|
-
Requires-Python: >=3.5
|
80
|
-
Description-Content-Type: text/markdown
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|