{ "platform" : "auto", "tulip-mozart" : { "voice-loopback" : 1, "detector" : "sensory", /*sensory or amazon-lite or tutudetect*/ "provider" : "ac108", "filter" : "tutuclear", "tutuclear" : { "base" : "tutuclear", "prm-file" : "/etc/avs/tutuClearA1_ns4wakeup_mono.prm", "signal-channel-0" : "ac108-0", "signal-channel-1" : "ac108-1", "signal-channel-2" : "ac108-2", "reference-channel-0" : "ac108-3", "reference-channel-1" : "" }, "ac108" : { "device" : "hw:sndac1082003b,0", "base" : "ac108", "channels" : 4, }, "mute" : { "mute-enable" : "active", "mute-disable" : "disactive", "gpio" : [ { "pin" : 100, "active" : 1, "disactive" : 0, }, { "pin" : 362, "active" : 1, "disactive" : 0, } ], "amixer" : [] }, "button" : [ { "name" : "volume-up", "input" : "sunxi-keyboard", "code" : 115, }, { "name" : "volume-down", "input" : "sunxi-keyboard", "code" : 114, }, { "name" : "mute", "input" : "axp803-powerkey", "code" : 116, }, { "name" : "audio-jack", "input" : "audiocodec sunxi Audio Jack", "code" : 2, } ], "audio-jack" : { "plugout" : "active", /*TODO*/ "plugin" : "disactive", /*TODO*/ "gpio" : [ { "pin" : 96, "active" : 1, /*plugout*/ "disactive" : 0, /*plugin*/ } ], "amixer" : [ { "device" : "hw:audiocodec", "iface" : "MIXER", "name" : "'Left Output Mixer DACL Switch'", "active" : false, /*plugout*/ "disactive" : true, /*plugin*/ }, { "device" : "hw:audiocodec", "iface" : "MIXER", "name" : "'Right Output Mixer DACL Switch'", "active" : true, /*plugout*/ "disactive" : false, /*plugin*/ }, { "device" : "hw:audiocodec", "iface" : "MIXER", "name" : "'headphone volume'", "active" : 50, /*plugout*/ "disactive" : 55, /*plugin*/ } ], }, "gobal-volume" : { "volume" : [0, 50, 80, 100, 130, 160, 190, 210, 220, 250], "device" : "hw:audiocodec", "iface" : "MIXER", "name" : "'AudioCodec Master PCM softvol'", "value" : [0,255], } }, "tulip-mozart-new" : { "voice-loopback" : 1, "detector" : "sensory", /*sensory or amazon-lite or tutudetect*/ "provider" : ["ac108", "audiocodec"], "filter" : "tutuclear", "tutuclear" : { "base" : "tutuclear", "signal-channel-0" : "ac108-0", "signal-channel-1" : "ac108-1", "signal-channel-2" : "ac108-2", "reference-channel-0" : "audiocodec-0", "reference-channel-1" : "audiocodec-1" }, "audiocodec" : { "base" : "audiocodec", "sample-rate" : 48000, "output-data-file" : "" }, "ac108" : { "base" : "ac108", "device" : "hw:sndac1082003b,0", "channels" : 4, "output-data-file" : "" }, "mute" : { "mute-enable" : "active", "mute-disable" : "disactive", "gpio" : [ { "pin" : 100, "active" : 1, "disactive" : 0, }, { "pin" : 362, "active" : 1, "disactive" : 0, } ], "amixer" : [] }, "button" : [ { "name" : "volume-up", "input" : "sunxi-keyboard", "code" : 115, }, { "name" : "volume-down", "input" : "sunxi-keyboard", "code" : 114, }, { "name" : "mute", "input" : "axp803-powerkey", "code" : 116, }, { "name" : "audio-jack", "input" : "audiocodec sunxi Audio Jack", "code" : 2, } ], "audio-jack" : { "plugout" : "active", /*TODO*/ "plugin" : "disactive", /*TODO*/ "gpio" : [ { "pin" : 96, "active" : 1, /*plugout*/ "disactive" : 0, /*plugin*/ } ], "amixer" : [ { "device" : "hw:audiocodec", "iface" : "MIXER", "name" : "'Left Output Mixer DACL Switch'", "active" : false, /*plugout*/ "disactive" : true, /*plugin*/ }, { "device" : "hw:audiocodec", "iface" : "MIXER", "name" : "'Right Output Mixer DACL Switch'", "active" : true, /*plugout*/ "disactive" : false, /*plugin*/ }, { "device" : "hw:audiocodec", "iface" : "MIXER", "name" : "'headphone volume'", "active" : 50, /*plugout*/ "disactive" : 55, /*plugin*/ } ], }, }, "tulip-hena" : { "voice-loopback" : 0, "detector" : "sensory", /*sensory or amazon-lite or tutudetect*/ "provider" : "ac108", "filter" : "tutuclear", "tutuclear" : { "base" : "tutuclear", "signal-channel-0" : "ac108-0", "signal-channel-1" : "ac108-1", "signal-channel-2" : "ac108-3", "reference-channel-0" : "ac108-2", "reference-channel-1" : "" }, "ac108" : { "base" : "ac108", "device" : "hw:sndac1081003b,0", "channels" : 4 }, "mute" : { "mute-enable" : "active", "mute-disable" : "disactive", "gpio" : [ { "pin" : 38, "active" : 1, "disactive" : 0, } ], }, "button" : [ { "name" : "volume-up", "input" : "sunxi-keyboard", "code" : 115, }, { "name" : "volume-down", "input" : "sunxi-keyboard", "code" : 114, }, { "name" : "mute", "input" : "axp803-powerkey", "code" : 116, }, { "name" : "audio-jack", "input" : "audiocodec sunxi Audio Jack", "code" : 2, } ], "led-ring" : { "direction" : { "angle-start" : 307.5, "angle-step" : 30.0, } } }, "tulip-noma" : { "voice-loopback" : 0, "detector" : "sensory", /*sensory or amazon-lite or tutudetect*/ "provider" : "ac108", "filter" : "tutuclear", "tutuclear" : { "base" : "tutuclear", "signal-channel-0" : "ac108-1", "signal-channel-1" : "ac108-3", "signal-channel-2" : "ac108-5", "reference-channel-0" : "ac108-6", "reference-channel-1" : "ac108-7" }, "mute" : { "mute-enable" : "active", "mute-disable" : "disactive", "gpio" : [ { "pin" : 38, "active" : 1, "disactive" : 0, } ], }, "button" : [ { "name" : "volume-up", "input" : "sunxi-keyboard", "code" : 115, }, { "name" : "volume-down", "input" : "sunxi-keyboard", "code" : 114, }, { "name" : "mute", "input" : "sunxi-keyboard", "code" : 113, } ], "led-ring" : { "direction" : { "angle-start" : 307.5, "angle-step" : 30.0, } } }, "tutuclear" : { "type" : "filter", "prm-file" : "/etc/avs/tutuClearA1_ns4wakeup_stereo.prm", "filter-block" : 160, "input-sample-rate" : 16000, "input-sample-bits" : 32, "input-channels" : 5, "output-sample-rate" : 16000, "output-sample-bits" : 32, "output-channels" : 3, "signal-channel-0" : "1", "signal-channel-1" : "3", "signal-channel-2" : "5", "reference-channel-0" : "6", "reference-channel-1" : "7", /*mono AEC: file "" here*/ "output-data-file" : "" }, "file" : { "type" : "provider", "name" : "file", "format" : "wav", /*pcm*/ "channels" : "8", "sample-rate" : "16000", "sample-bits" : "16", "path" : "/tmp/xxxx.wav" }, "ac108" : { "type" : "provider", "name" : "ac108", "device" : "hw:sndac10810035,0", "channels" : 8, "period-size" : 1024, "period" : 4, "sample-rate" : 16000, "sample-bits" : 24, "mode" : "normal", "output-data-file" : "" }, "audiocodec" : { "type" : "provider", "name" : "audiocodec", "device" : "hw:audiocodec,0", "channels" : 2, "period-size" : 1024, "period" : 4, "sample-rate" : 16000, "sample-bits" : 16, "output-data-file" : "" }, "aif2" : { "type" : "provider", "device" : "hw:0,1", "channels" : 2, "period-size" : 1024, "period" : 4, "sample-rate" : 48000, "sample-bits" : 16, }, "cx20921" : { "device" : "hw:1,0", "channels" : 2, /*0 or 1, when channels = 2*/ "period-size" : 1024, "period" : 4, "sample-rate" : 16000, "sample-bits" : 16, }, "data" : { "provider-output" : "", /*eg: /tmp/orgin, final file : /tmp/orgin-timestamp.pcm*/ "filter-output" : "", /*eg: /tmp/detect, final file : /tmp/detect-timestamp.pcm*/ }, "sensory" : { "model" : "/etc/avs/thfft_alexa_a_enus_v3_1mb.snsr", "operating-point" : "8" }, "amazon-lite" : { "model" : "/etc/avs/D.en-US.alexa.bin", "detect-threshold" : 500 }, "tutudetect" : { }, "tulip-noma-test-file" : { "voice-loopback" : 0, "detector" : "sensory", /*sensory or amazon-lite or tutudetect*/ "provider" : "file123", "filter" : "tutuclear11", "tutuclear11" : { "base" : "tutuclear", "signal-channel-0" : "file123-1", "signal-channel-1" : "file123-5", "signal-channel-2" : "file123-7", "reference-channel-0" : "file123-2", "reference-channel-1" : "file123-3" }, "file123" : { "base" : "file", "name" : "file123", "path" : "/mnt/UDISK/ac108-2010-01-01-08-33-34-414300.wav", }, }, "tulip-noma-test-double-adc" : { "voice-loopback" : 0, "detector" : "sensory", /*sensory or amazon-lite or tutudetect*/ "provider" : ["ac108", "audiocodec"], "filter" : "tutuclear", "tutuclear" : { "base" : "tutuclear", "signal-channel-0" : "ac108-1", "signal-channel-1" : "ac108-5", "signal-channel-2" : "ac108-7", "reference-channel-0" : "audiocodec-0", "reference-channel-1" : "audiocodec-1" }, "audiocodec" : { "base" : "audiocodec", "sample-rate" : 48000, }, }, "tulip-noma-test-double-file" : { "voice-loopback" : 0, "detector" : "sensory", /*sensory or amazon-lite or tutudetect*/ "provider" : ["file0", "file1"], "filter" : "tutuclear", "tutuclear" : { "base" : "tutuclear", "signal-channel-0" : "file0-1", "signal-channel-1" : "file0-5", "signal-channel-2" : "file0-7", "reference-channel-0" : "file1-0", "reference-channel-1" : "file1-1" }, "file0" : { "base" : "file", "name" : "file0", "path" : "/mnt/UDISK/ac108-2010-01-01-08-33-34-414300.wav", }, "file1" : { "name" : "file1", "base" : "file", "path" : "/mnt/UDISK/audiocodec-2010-01-01-08-33-34-414300.wav", }, }, }