Optimizing (Mel-Frequency Cepstral Coefficients) algorithm for embedded audio machine learning applications.
To compile the project, follow these steps:
- Clone or download the project repository.
- Navigate to the kws_nnom_example directory.
- Open a terminal or command prompt.
- Run the following command to compile the project:
make
- After successful compilation, an executable named
my_program
will be generated in the project directory. - Run the executable:
./my_program
The kws_nnom_example directory structure is as follows:
mfcc_src/
: Source files for the MFCC module.nnom_src/
: Source files for the NNoM (Neural Networks on Microcontrollers) module.mfcc_inc/
: Header files for the MFCC module.nnom_inc/
: Header files for the NNoM module.test_audio/
: The test dataset for the kws model.main.c
: Main source file of the program.
- This project requires the GNU Make tool and a C compiler (e.g., gcc) to be installed on your system.
- Follow the README instructions in the
test_audio/
directory to download the test data set
To clean up the compiled files and the executable, run the following command:
make clean
Copyright 2024 AUC Open Source Hardware Lab
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at:
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.