Lines Matching +full:stream +full:- +full:mode
1 .. zephyr:code-sample:: argonkey_microphone
3 :relevant-api: audio_interface
5 Acquire audio through the ArgonKey's on-board MP34DT05 microphone.
10 the on-board MP34DT05 microphone. The microphone generates a PDM
11 stream which is acquired through I2S. The PDM stream is then
19 cable to get the output audio stream. The board can be powered
22 - mezzanine mode, plugging the ArgonKey to HiKey board through its 96Board
23 low-speed connector
24 - standalone mode, supplying 5V directly on P1 connector
29 - :ref:`96b_argonkey`
34 .. zephyr-app-commands::
35 :zephyr-app: samples/boards/96boards/argonkey/microphone
36 :host-os: unix
44 The example acquires 5s of audio and prints out the PCM stream on COM port.
49 acquisition both the green and red LEDs go on and the PCM stream is sent
53 - audio acquisition starts: GRN on - RED off
54 - audio acquisition ends: GRN on - RED on
55 - audio output ends: GRN off - RED on
59 - 16KHz sample rate
60 - 16 bits per sample
61 - 1 channel (mono), as only 1 microphone is available
63 Five seconds of acquisition at a 16KHz sampling rate yields 80,000 16-bit samples.
79 -----------------
81 The ttyUSB0 port must be configured in raw mode to avoid having
84 .. code-block:: console
86 stty -F /dev/ttyUSB0 115200 raw
96 dos2unix -f /tmp/sound.raw
99 ----------------
104 .. code-block:: console
107 -- start
126 -- end
129 --------------
133 Use the 'Import->Raw Data' menu to load the sound.raw file as