Lines Matching +full:code +full:- +full:format
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
13 in source code in this sample.
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
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.
73 emulator in either binary or ASCII format. The output is controlled by
79 -----------------
84 .. code-block:: console
86 stty -F /dev/ttyUSB0 115200 raw
96 dos2unix -f /tmp/sound.raw
99 ----------------
102 to be converted to binary later on. The output format is the following:
104 .. code-block:: console
107 -- start
126 -- end
129 --------------
133 Use the 'Import->Raw Data' menu to load the sound.raw file as
134 signed 16 bit PCM, Little Endian, mono format @16KHz.