audio-river/data/hardwareLinux.json

134 lines
2.8 KiB
JSON

{
speaker:{
io:"output",
map-on:{
interface:"alsa",
#name:"default",
name:"hw:0,0",
timestamp-mode:"trigered",
},
group:"baseIOSynchrone",
frequency:48000,
channel-map:[
"front-left", "front-right",
],
type:"int16",
nb-chunk:1024,
volume-name:"MASTER",
mux-demux-type:"int16-on-int32",
},
# name of the device
microphone:{
# input or output
io:"input",
# select hardware interface and name
map-on:{
# interface : "alsa", "pulse", "core", ...
interface:"alsa",
# name of the interface
# name:"default",
name:"hw:0,0",
timestamp-mode:"trigered",
},
# Link 2 ios with the same time in low level (named group) :
group:"baseIOSynchrone",
# frequency to open device
frequency:48000,
# mapping of the harware device (mapping is not get under)
channel-map:[
"front-left", "front-right"
],
# format to open device (int8, int16, int16-on-ont32, int24, int32, float)
type:"int16",
# number of chunk to open device (create the latency anf the frequency to call user)
nb-chunk:1024,
mux-demux-type:"int16",
},
speaker-pulse:{
io:"output",
map-on:{
interface:"pulse",
name:"default",
},
frequency:48000,
channel-map:[
"front-left", "front-right",
],
type:"int16",
nb-chunk:1024,
volume-name:"MASTER",
mux-demux-type:"int16-on-int32",
},
speaker-jack:{
io:"output",
map-on:{
interface:"jack",
name:"default",
},
frequency:48000,
channel-map:[
"front-left", "front-right",
],
type:"float",
nb-chunk:1024,
volume-name:"MASTER",
mux-demux-type:"float",
},
# virtual Nodes :
microphone-clean:{
io:"aec",
# connect in input mode
map-on-microphone:{
# generic virtual definition
io:"input",
map-on:"microphone",
resampling-type:"speexdsp",
resampling-option:"quality=10"
},
# connect in feedback mode
map-on-feedback:{
io:"feedback",
map-on:"speaker",
resampling-type:"speexdsp",
resampling-option:"quality=10",
},
#classical format configuration:
frequency:16000,
channel-map:[
"front-left", "front-right"
],
type:"int16",
# AEC algo definition
algo:"river-remover",
algo-mode:"cutter",
feedback-delay:10000, # in nanosecond
mux-demux-type:"int16",
},
# virtual Nodes :
microphone-muxed:{
io:"muxer",
# connect in input mode
map-on-input-1:{
# generic virtual definition
io:"input",
map-on:"microphone",
resampling-type:"speexdsp",
resampling-option:"quality=10"
},
# connect in feedback mode
map-on-input-2:{
io:"feedback",
map-on:"speaker",
resampling-type:"speexdsp",
resampling-option:"quality=10",
},
input-2-remap:["rear-left", "rear-right"],
#classical format configuration:
frequency:48000,
channel-map:[
"front-left", "front-right", "rear-left", "rear-right"
],
type:"int16",
mux-demux-type:"int16",
},
}