ailia-speech 1.3.2.0__tar.gz → 1.3.2.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.
Potentially problematic release.
This version of ailia-speech might be problematic. Click here for more details.
- {ailia_speech-1.3.2.0 → ailia_speech-1.3.2.2}/PKG-INFO +3 -3
- {ailia_speech-1.3.2.0 → ailia_speech-1.3.2.2}/README.md +2 -2
- {ailia_speech-1.3.2.0 → ailia_speech-1.3.2.2}/ailia_speech/__init__.py +7 -4
- {ailia_speech-1.3.2.0 → ailia_speech-1.3.2.2}/ailia_speech.egg-info/PKG-INFO +3 -3
- {ailia_speech-1.3.2.0 → ailia_speech-1.3.2.2}/setup.py +1 -1
- {ailia_speech-1.3.2.0 → ailia_speech-1.3.2.2}/ailia_speech/LICENSE_AILIA_EN.pdf +0 -0
- {ailia_speech-1.3.2.0 → ailia_speech-1.3.2.2}/ailia_speech/LICENSE_AILIA_JA.pdf +0 -0
- {ailia_speech-1.3.2.0 → ailia_speech-1.3.2.2}/ailia_speech/linux/arm64-v8a/libailia_speech.so +0 -0
- {ailia_speech-1.3.2.0 → ailia_speech-1.3.2.2}/ailia_speech/linux/x64/libailia_speech.so +0 -0
- {ailia_speech-1.3.2.0 → ailia_speech-1.3.2.2}/ailia_speech/mac/libailia_speech.dylib +0 -0
- {ailia_speech-1.3.2.0 → ailia_speech-1.3.2.2}/ailia_speech/windows/x64/ailia_speech.dll +0 -0
- {ailia_speech-1.3.2.0 → ailia_speech-1.3.2.2}/ailia_speech.egg-info/SOURCES.txt +0 -0
- {ailia_speech-1.3.2.0 → ailia_speech-1.3.2.2}/ailia_speech.egg-info/dependency_links.txt +0 -0
- {ailia_speech-1.3.2.0 → ailia_speech-1.3.2.2}/ailia_speech.egg-info/requires.txt +0 -0
- {ailia_speech-1.3.2.0 → ailia_speech-1.3.2.2}/ailia_speech.egg-info/top_level.txt +0 -0
- {ailia_speech-1.3.2.0 → ailia_speech-1.3.2.2}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ailia_speech
|
|
3
|
-
Version: 1.3.2.
|
|
3
|
+
Version: 1.3.2.2
|
|
4
4
|
Summary: ailia AI Speech
|
|
5
5
|
Home-page: https://ailia.jp/
|
|
6
6
|
Author: ax Inc.
|
|
@@ -56,7 +56,7 @@ import urllib.request
|
|
|
56
56
|
input_file_path = "demo.wav"
|
|
57
57
|
if not os.path.exists(input_file_path):
|
|
58
58
|
urllib.request.urlretrieve(
|
|
59
|
-
"https://github.com/axinc-ai/ailia-models/raw/refs/heads/master/audio_processing/whisper/demo.
|
|
59
|
+
"https://github.com/axinc-ai/ailia-models/raw/refs/heads/master/audio_processing/whisper/demo.wav",
|
|
60
60
|
"demo.wav"
|
|
61
61
|
)
|
|
62
62
|
audio_waveform, sampling_rate = librosa.load(input_file_path, mono = True)
|
|
@@ -85,7 +85,7 @@ import urllib.request
|
|
|
85
85
|
input_file_path = "demo.wav"
|
|
86
86
|
if not os.path.exists(input_file_path):
|
|
87
87
|
urllib.request.urlretrieve(
|
|
88
|
-
"https://github.com/axinc-ai/ailia-models/raw/refs/heads/master/audio_processing/whisper/demo.
|
|
88
|
+
"https://github.com/axinc-ai/ailia-models/raw/refs/heads/master/audio_processing/whisper/demo.wav",
|
|
89
89
|
"demo.wav"
|
|
90
90
|
)
|
|
91
91
|
audio_waveform, sampling_rate = librosa.load(input_file_path, mono = True)
|
|
@@ -43,7 +43,7 @@ import urllib.request
|
|
|
43
43
|
input_file_path = "demo.wav"
|
|
44
44
|
if not os.path.exists(input_file_path):
|
|
45
45
|
urllib.request.urlretrieve(
|
|
46
|
-
"https://github.com/axinc-ai/ailia-models/raw/refs/heads/master/audio_processing/whisper/demo.
|
|
46
|
+
"https://github.com/axinc-ai/ailia-models/raw/refs/heads/master/audio_processing/whisper/demo.wav",
|
|
47
47
|
"demo.wav"
|
|
48
48
|
)
|
|
49
49
|
audio_waveform, sampling_rate = librosa.load(input_file_path, mono = True)
|
|
@@ -72,7 +72,7 @@ import urllib.request
|
|
|
72
72
|
input_file_path = "demo.wav"
|
|
73
73
|
if not os.path.exists(input_file_path):
|
|
74
74
|
urllib.request.urlretrieve(
|
|
75
|
-
"https://github.com/axinc-ai/ailia-models/raw/refs/heads/master/audio_processing/whisper/demo.
|
|
75
|
+
"https://github.com/axinc-ai/ailia-models/raw/refs/heads/master/audio_processing/whisper/demo.wav",
|
|
76
76
|
"demo.wav"
|
|
77
77
|
)
|
|
78
78
|
audio_waveform, sampling_rate = librosa.load(input_file_path, mono = True)
|
|
@@ -324,12 +324,15 @@ class AiliaSpeechModel:
|
|
|
324
324
|
if status != AILIA_SPEECH_STATUS_SUCCESS:
|
|
325
325
|
raise AiliaSpeechError(f"ailia speech error", status)
|
|
326
326
|
|
|
327
|
-
def
|
|
327
|
+
def _string_buffer_aw(self, path):
|
|
328
328
|
if sys.platform == "win32":
|
|
329
329
|
return ctypes.create_unicode_buffer(path)
|
|
330
330
|
else:
|
|
331
331
|
return ctypes.create_string_buffer(path.encode("utf-8"))
|
|
332
332
|
|
|
333
|
+
def _string_buffer(self, path):
|
|
334
|
+
return ctypes.create_string_buffer(path.encode("utf-8"))
|
|
335
|
+
|
|
333
336
|
def _create_callback(self):
|
|
334
337
|
callback = AILIASpeechApiCallback()
|
|
335
338
|
callback.ailiaAudioGetFrameLen = AILIA_SPEECH_USER_API_AILIA_AUDIO_GET_FRAME_LEN(("ailiaAudioGetFrameLen", ailia.audio.audio_core.dll))
|
|
@@ -453,8 +456,8 @@ class Whisper(AiliaSpeechModel):
|
|
|
453
456
|
check_and_download_file(model_path + "silero_vad.onnx", REMOTE_PATH)
|
|
454
457
|
|
|
455
458
|
def _open_model(self, encoder, decoder, model_type):
|
|
456
|
-
p1 = self.
|
|
457
|
-
p2 = self.
|
|
459
|
+
p1 = self._string_buffer_aw(encoder)
|
|
460
|
+
p2 = self._string_buffer_aw(decoder)
|
|
458
461
|
|
|
459
462
|
if sys.platform == "win32":
|
|
460
463
|
self._check(dll.ailiaSpeechOpenModelFileW(self._instance, p1, p2, model_type))
|
|
@@ -462,7 +465,7 @@ class Whisper(AiliaSpeechModel):
|
|
|
462
465
|
self._check(dll.ailiaSpeechOpenModelFileA(self._instance, p1, p2, model_type))
|
|
463
466
|
|
|
464
467
|
def _open_vad(self, vad, vad_type):
|
|
465
|
-
p1 = self.
|
|
468
|
+
p1 = self._string_buffer_aw(vad)
|
|
466
469
|
|
|
467
470
|
if sys.platform == "win32":
|
|
468
471
|
self._check(dll.ailiaSpeechOpenVadFileW(self._instance, p1, vad_type))
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ailia_speech
|
|
3
|
-
Version: 1.3.2.
|
|
3
|
+
Version: 1.3.2.2
|
|
4
4
|
Summary: ailia AI Speech
|
|
5
5
|
Home-page: https://ailia.jp/
|
|
6
6
|
Author: ax Inc.
|
|
@@ -56,7 +56,7 @@ import urllib.request
|
|
|
56
56
|
input_file_path = "demo.wav"
|
|
57
57
|
if not os.path.exists(input_file_path):
|
|
58
58
|
urllib.request.urlretrieve(
|
|
59
|
-
"https://github.com/axinc-ai/ailia-models/raw/refs/heads/master/audio_processing/whisper/demo.
|
|
59
|
+
"https://github.com/axinc-ai/ailia-models/raw/refs/heads/master/audio_processing/whisper/demo.wav",
|
|
60
60
|
"demo.wav"
|
|
61
61
|
)
|
|
62
62
|
audio_waveform, sampling_rate = librosa.load(input_file_path, mono = True)
|
|
@@ -85,7 +85,7 @@ import urllib.request
|
|
|
85
85
|
input_file_path = "demo.wav"
|
|
86
86
|
if not os.path.exists(input_file_path):
|
|
87
87
|
urllib.request.urlretrieve(
|
|
88
|
-
"https://github.com/axinc-ai/ailia-models/raw/refs/heads/master/audio_processing/whisper/demo.
|
|
88
|
+
"https://github.com/axinc-ai/ailia-models/raw/refs/heads/master/audio_processing/whisper/demo.wav",
|
|
89
89
|
"demo.wav"
|
|
90
90
|
)
|
|
91
91
|
audio_waveform, sampling_rate = librosa.load(input_file_path, mono = True)
|
|
File without changes
|
|
File without changes
|
{ailia_speech-1.3.2.0 → ailia_speech-1.3.2.2}/ailia_speech/linux/arm64-v8a/libailia_speech.so
RENAMED
|
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
|