• Shanqing Cai's avatar
    [speech-commands] Add option to collect raw audio waveform during collectExample() (#195) · a012718e
    Shanqing Cai создал
    ... in addition to spectrograms.
    
    - The option argument to `collectExample()` now has a new field called
      "includeTimeDomainWaveform". If set to true, the collected example
      will include the raw audio waveform. Obviously, use caution when using
      this feature as it'll increase the memory consumption of the examples
      by a few times.
    - The demo page now has a new checkbox called "Include audio waveform"
      that demonstrates this new feature, along with the playback of the audio
      waveforms through WebAudio.
    - Add `speechCommands.utils.playRawAudio()`.
    a012718e