adbfc815b277264d4ae8dbf447a5bb767de48f00,binding/python/test_porcupine.py,PorcupineTestCase,test_process_multiple,#PorcupineTestCase#,46
Before Change
keyword_file_paths = list()
for name in keyword_file_names:
keyword_file_paths.append(
self._abs_path("../../resources/keyword_files/%s/%s_%s.ppn" % (extension, name, extension)))
porcupine = Porcupine(
library_path=self._library_path(),
After Change
sensitivities=[0.5] * len(keyword_file_paths))
audio, sample_rate = soundfile.read(
os.path.join(os.path.dirname(__file__), "../../resources/audio_samples/multiple_keywords.wav"),
dtype="int16")
assert sample_rate == porcupine.sample_rate
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: Picovoice/porcupine
Commit Name: adbfc815b277264d4ae8dbf447a5bb767de48f00
Time: 2020-01-29
Author: alireza@picovoice.ai
File Name: binding/python/test_porcupine.py
Class Name: PorcupineTestCase
Method Name: test_process_multiple
Project Name: Belval/TextRecognitionDataGenerator
Commit Name: bd76a64c9b11759b9b46179f7bad39b615ee2b5d
Time: 2020-08-15
Author: github@belval.org
File Name: trdg/utils.py
Class Name:
Method Name: load_fonts
Project Name: Picovoice/porcupine
Commit Name: adbfc815b277264d4ae8dbf447a5bb767de48f00
Time: 2020-01-29
Author: alireza@picovoice.ai
File Name: binding/python/test_porcupine.py
Class Name: PorcupineTestCase
Method Name: test_process