This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Automatically generated file; DO NOT EDIT. | |
# Linux/arm64 4.4.154 Kernel Configuration | |
# | |
CONFIG_ARM64=y | |
CONFIG_64BIT=y | |
CONFIG_ARCH_PHYS_ADDR_T_64BIT=y | |
CONFIG_MMU=y | |
CONFIG_ARCH_MMAP_RND_BITS_MIN=18 | |
CONFIG_ARCH_MMAP_RND_BITS_MAX=24 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
* Copyright 2017 <andres.calderon@admobilize.com> | |
* MATRIX Labs [http://creator.matrix.one] | |
* This file is part of MATRIX Creator HAL | |
* | |
* This example is free software: you can redistribute it and/or | |
* modify it under the terms of the GNU General Public License as | |
* published by the Free Software Foundation, either version 3 of the | |
* License, or (at your option) any later version. | |
* This program is distributed in the hope that it will be useful, but |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var mic = require('mic'); | |
var fs = require('fs'); | |
var micInstance = mic({ 'device':'mic_channel0','rate': '16000', 'channels': '1', 'debug': true, 'exitOnSilence': 6 }); | |
var micInputStream = micInstance.getAudioStream(); | |
var outputFileStream = fs.WriteStream('output.raw'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pcm.sc { | |
type hw | |
card 1 | |
} | |
pcm.mic_channel0 { | |
type file | |
file "/tmp/matrix_micarray_channel_0" |