Functions | Variables
generate_pv_params_file Namespace Reference

Functions

def generate_pv_params (ppn_files, header_file_folders)
 
def ppn_to_c_array (ppn_file_path)
 

Variables

string FOOTER
 
string HEADER
 
tuple include_folders
 
dictionary LANGUAGE_CODE_TO_NAME
 
dictionary wake_words
 

Function Documentation

◆ generate_pv_params()

def generate_pv_params_file.generate_pv_params (   ppn_files,
  header_file_folders 
)

Definition at line 47 of file generate_pv_params_file.py.

◆ ppn_to_c_array()

def generate_pv_params_file.ppn_to_c_array (   ppn_file_path)

Definition at line 82 of file generate_pv_params_file.py.

Variable Documentation

◆ FOOTER

string generate_pv_params_file.FOOTER
Initial value:
1 = """
2 #endif // PV_PARAMS
3 
4 """

Definition at line 34 of file generate_pv_params_file.py.

◆ HEADER

string generate_pv_params_file.HEADER
Initial value:
1 = """
2 /*
3  Copyright 2020-2022 Picovoice Inc.
4 
5  You may not use this file except in compliance with the license. A copy of the license is located in the "LICENSE"
6  file accompanying this source.
7 
8  Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
9  an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
10  specific language governing permissions and limitations under the License.
11 */
12 
13 #ifndef PV_PARAMS_H
14 #define PV_PARAMS_H
15 
16 #include <stdint.h>
17 
18 """

Definition at line 15 of file generate_pv_params_file.py.

◆ include_folders

tuple generate_pv_params_file.include_folders
Initial value:
1 = (
2  'stm32h747/stm32h747i-disco/CM7/Inc/',
3  'stm32f469/stm32f469i-disco/Inc/',
4  'stm32f769/stm32f769i-disco/Inc/',
5  'stm32f411/stm32f411e-disco/Inc/',
6  'stm32f407/stm32f407g-disc1/Inc/',
7  'stm32h735/stm32h735g-dk/Inc/',
8  'imxrt1050/imxrt1050-evkb/inc',
9  'psoc062s2/include'
10  )

Definition at line 113 of file generate_pv_params_file.py.

◆ LANGUAGE_CODE_TO_NAME

dictionary generate_pv_params_file.LANGUAGE_CODE_TO_NAME
Initial value:
1 = {
2  'en': 'english',
3  'de': 'german',
4  'es': 'spanish',
5  'fr': 'french',
6 }

Definition at line 39 of file generate_pv_params_file.py.

◆ wake_words

dictionary generate_pv_params_file.wake_words
Initial value:
1 = {
2  'en': ('porcupine', 'picovoice', 'bumblebee', 'alexa',),
3  'de': ('hey computer',),
4  'es': ('hola computadora',),
5  'fr': ('salut ordinateur',)
6  }

Definition at line 107 of file generate_pv_params_file.py.



picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:20