Skip to content

0.7.0

Compare
Choose a tag to compare
@sldriedler sldriedler released this 14 Jun 22:36
· 49 commits to master since this release

General Updates

  • Updated to Gecko SDK 4.1.0
  • Updated to Tensorflow-Lite Micro June 8th, 2022
  • Updates to support Tensorflow-2.9

New Tutorials

See all tutorials here

New C++ Examples

See all C++ examples here

New Reference Models

See all reference models here

Other Changes

  • Added new settings Audio Feature Generator:
    • fe.activity_detection_enable - Enable the activity detection block. This indicates when activity, such as a speech command, is detected in the audio stream
    • fe.activity_detection_alpha_a - The activity detection “fast filter” coefficient. The filter is a 1-real pole IIR filter: computes out = (1-k)in + kout
    • fe.activity_detection_alpha_b - The activity detection “slow filter” coefficient. The filter is a 1-real pole IIR filter: computes out = (1-k)in + kout
    • fe.activity_detection_arm_threshold - The threshold for when there should be considered possible activity in the audio stream
    • fe.activity_detection_trip_threshold - The threshold for when activity is considered detected in the audio stream
    • fe.dc_notch_filter_enable - Enable the DC notch filter. This will help negate any DC components in the audio signal
    • fe.dc_notch_filter_coefficient - The coefficient used by the DC notch filter, DC notch filter coefficient k in Q(16,15) format, H(z) = (1 - z^-1)/(1 - k*z^-1)
    • fe.quantize_dynamic_scale_enable - Enable dynamic quantization of the generated audio spectrogram. With this, the max spectrogram value is mapped to +127, and the max spectrogram minus fe.quantize_dynamic_scale_range_db is mapped to -128. Anything below max spectrogram minus fe.quantize_dynamic_scale_range_db is mapped to -128.
    • fe.quantize_dynamic_scale_range_db - The dynamic range in dB used by the dynamic quantization
    • samplewise_norm.rescale - Value to scale each element of the sample: norm_sample = sample * . The model input dtype should be a float32
    • samplewise_norm.mean_and_std - Normalize the sample by the mean and standard deviation: norm_sample = (sample - mean(sample)) / std(sample). The model input dtype should be a float32