audio-river/data/hardwareLinux.json

134 lines
2.8 KiB
JSON
Raw Normal View History

2015-02-01 22:21:03 +01:00
{
2015-03-04 22:15:35 +01:00
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
2015-02-26 22:06:31 +01:00
# name:"default",
name:"hw:0,0",
timestamp-mode:"trigered",
2015-02-01 22:21:03 +01:00
},
# 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"
2015-02-01 22:21:03 +01:00
],
# 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",
2015-02-01 22:21:03 +01:00
},
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",
2015-02-19 22:00:21 +01:00
feedback-delay:10000, # in nanosecond
mux-demux-type:"int16",
2015-03-04 22:48:04 +01:00
},
# 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",
},
2015-03-04 22:59:04 +01:00
input-2-remap:["rear-left", "rear-right"],
2015-03-04 22:48:04 +01:00
#classical format configuration:
frequency:48000,
channel-map:[
"front-left", "front-right", "rear-left", "rear-right"
],
type:"int16",
mux-demux-type:"int16",
},
2015-02-01 22:21:03 +01:00
}