Hi,
Can someone help with a basic windows 7 config? Do someone has a valid configuration? System is Windows 7, SPDIF only, no analog audio, no HDMI. 6 channels, passthrough to a Logitech Z906 AVR.
What I'm trying to do is
1) to get the samplerates to match. A dead end here?
2) Keep stereo stereo, 2 channels.
3) Get 5.1 material to remain 5.1
4) Apply REW IR filters to FL and FR, BL and BR, C and LFE whenever applicable for 5.1 material; or to FL and FR for stereo material.
5) Optional: get mono audio to output to FL and FR (1 channel to 2).
My config is totally experimental as I cannot even get the samplerates for the capture device and the playback device to match. In windows sound panel, all samplerates are checked for the SPDIF device (41k to 196k).
Main role for this computer: Kodi. So it's expected that Kodi will find the capture device and use it, or use passthrough mode if need be.
listdevices.exe
camilladsp.exe -c test.conf -l debug -o camilla.log
Can someone help with a basic windows 7 config? Do someone has a valid configuration? System is Windows 7, SPDIF only, no analog audio, no HDMI. 6 channels, passthrough to a Logitech Z906 AVR.
What I'm trying to do is
1) to get the samplerates to match. A dead end here?
2) Keep stereo stereo, 2 channels.
3) Get 5.1 material to remain 5.1
4) Apply REW IR filters to FL and FR, BL and BR, C and LFE whenever applicable for 5.1 material; or to FL and FR for stereo material.
5) Optional: get mono audio to output to FL and FR (1 channel to 2).
My config is totally experimental as I cannot even get the samplerates for the capture device and the playback device to match. In windows sound panel, all samplerates are checked for the SPDIF device (41k to 196k).
Main role for this computer: Kodi. So it's expected that Kodi will find the capture device and use it, or use passthrough mode if need be.
listdevices.exe
Code:
Available hosts:
[Wasapi]
WASAPI
Default Input Device:
Ok("Mic 1 (Live! Cam Virtual)")
Default Output Device:
Ok("Realtek Digital Output (Realtek High Definition Audio)")
Devices:
Device: "CABLE Input (VB-Audio Virtual Cable)"
============================================================
Capture
------------------------------------------------------------
Playback
------------------------------------------------------------
Default output stream config:
channels: 2, samplerate: 44100, format: FLOAT32LE
All supported output stream configs:
channels: 2, samplerate min: 44100 max: 44100, format: FLOAT32LE
Device: "Line 1 (Live! Cam Virtual)"
============================================================
Capture
------------------------------------------------------------
Playback
------------------------------------------------------------
Default output stream config:
channels: 2, samplerate: 44100, format: FLOAT32LE
All supported output stream configs:
channels: 2, samplerate min: 44100 max: 44100, format: FLOAT32LE
Device: "Realtek Digital Output (Realtek High Definition Audio)"
============================================================
Capture
------------------------------------------------------------
Playback
------------------------------------------------------------
Default output stream config:
channels: 6, samplerate: 48000, format: FLOAT32LE
All supported output stream configs:
channels: 6, samplerate min: 48000 max: 48000, format: FLOAT32LE
Device: "CABLE Output (VB-Audio Virtual Cable)"
============================================================
Capture
------------------------------------------------------------
Default input stream config:
channels: 2, samplerate: 44100, format: FLOAT32LE
All supported input stream configs:
channels: 2, samplerate min: 44100 max: 44100, format: FLOAT32LE
Playback
------------------------------------------------------------
Device: "Mic 1 (Live! Cam Virtual)"
============================================================
Capture
------------------------------------------------------------
Default input stream config:
channels: 2, samplerate: 44100, format: FLOAT32LE
All supported input stream configs:
channels: 2, samplerate min: 44100 max: 44100, format: FLOAT32LE
Playback
------------------------------------------------------------
camilladsp.exe -c test.conf -l debug -o camilla.log
Code:
TEST.CONF
devices:
samplerate: 44100
chunksize: 4096
queuelimit: 4
enable_rate_adjust: true
adjust_period: 10.0
silence_threshold: -80.0
silence_timeout: 60.0
target_level: 0
capture:
channels: 2
device: "CABLE Output (VB-Audio Virtual Cable)"
format: FLOAT32LE
type: Wasapi
playback:
channels: 6
device: "Realtek Digital Output (Realtek High Definition Audio)"
format: FLOAT32LE
type: Wasapi
pipeline:
- type: Mixer
description: "Expand to 6 channels"
name: to6channels
bypassed: false
mixers:
to6channels:
description: "Example mixer to convert two channels to six"
channels:
in: 2
out: 6
mapping:
- dest: 0
mute: false
sources:
- channel: 0
gain: 0
inverted: false
scale: dB
- dest: 1
mute: false
sources:
- channel: 1
gain: 0
inverted: false
scale: dB
- dest: 2
sources:
- channel: 0
gain: 0
inverted: false
scale: dB
- dest: 3
sources:
- channel: 1
gain: 0
inverted: false
scale: dB
- dest: 4
sources:
- channel: 0
gain: 0
inverted: false
scale: dB
- dest: 5
sources:
- channel: 1
gain: 0
inverted: false
scale: dB
filters:
fir_l_44:
type: Conv
parameters:
type: Wav
filename: 2_sept_730hz-44k.wav
channel: 0
fir_r_44:
type: Conv
parameters:
type: Wav
filename: 2_sept_730hz-44k.wav
channel: 1
Code:
CAMILLA.LOG
2024-09-07 17:23:36.313076 INFO [src/bin.rs:683] CamillaDSP version 2.0.3
2024-09-07 17:23:36.313076 INFO [src/bin.rs:684] Running on windows, x86_64
2024-09-07 17:23:36.316076 DEBUG [src/bin.rs:728] Loaded state: None
2024-09-07 17:23:36.316076 DEBUG [src/bin.rs:738] Using default initial volume
2024-09-07 17:23:36.316076 DEBUG [src/bin.rs:755] Using default initial mute
2024-09-07 17:23:36.316076 DEBUG [src/bin.rs:765] Initial mute: [false, false, false, false, false]
2024-09-07 17:23:36.316076 DEBUG [src/bin.rs:766] Initial volume: [0.0, 0.0, 0.0, 0.0, 0.0]
2024-09-07 17:23:36.316076 DEBUG [src/bin.rs:768] Read config file Some("tesf.conf")
2024-09-07 17:23:36.317076 DEBUG [src\config.rs:1549] 2_sept_730hz-44k.wav is relative
2024-09-07 17:23:36.317076 DEBUG [src\config.rs:1553] Using 2_sept_730hz-44k.wav found relative to config file dir
2024-09-07 17:23:36.317076 DEBUG [src\config.rs:1549] 2_sept_730hz-44k.wav is relative
2024-09-07 17:23:36.317076 DEBUG [src\config.rs:1553] Using 2_sept_730hz-44k.wav found relative to config file dir
2024-09-07 17:23:36.317076 DEBUG [src/bin.rs:808] Config is valid
2024-09-07 17:23:36.317076 DEBUG [src/bin.rs:994] Wait for config
2024-09-07 17:23:36.317076 DEBUG [src/bin.rs:1010] Waiting to receive a command
2024-09-07 17:23:36.317076 DEBUG [src/bin.rs:1013] Config change command received
2024-09-07 17:23:36.317076 DEBUG [src/bin.rs:999] New config is available and there are no queued commands, continuing
2024-09-07 17:23:36.317076 DEBUG [src/bin.rs:1036] Config ready, start processing
2024-09-07 17:23:36.317076 DEBUG [src/bin.rs:157] Using channels [true, true]
2024-09-07 17:23:36.318076 DEBUG [src\filters.rs:488] Build new pipeline
2024-09-07 17:23:36.318076 DEBUG [src\processing.rs:19] build filters, waiting to start processing loop
2024-09-07 17:23:36.318076 DEBUG [src\wasapidevice.rs:924] Using a capture channel capacity of 33 buffers.
2024-09-07 17:23:36.318076 DEBUG [src\wasapidevice.rs:624] Using a playback channel capacity of 3 chunks.
2024-09-07 17:23:36.331077 DEBUG [src\wasapidevice.rs:213] Available capture devices: Ok(["CABLE Output (VB-Audio Virtual Cable)", "Mic 1 (Live! Cam Virtual)"])
2024-09-07 17:23:36.331077 DEBUG [src\wasapidevice.rs:142] Available playback devices: Ok(["CABLE Input (VB-Audio Virtual Cable)", "Line 1 (Live! Cam Virtual)", "Realtek Digital Output (Realtek High Definition Audio)"])
2024-09-07 17:23:36.333077 DEBUG [C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\wasapi-0.13.0\src\api.rs:366] The requested format is supported
2024-09-07 17:23:36.333077 DEBUG [src\wasapidevice.rs:238] Capture device supports format WaveFormat { nAvgBytesPerSec: 352800, cbSize: 22, nBlockAlign: 8, wBitsPerSample: 32, nSamplesPerSec: 44100, wFormatTag: 65534, wValidBitsPerSample: 32, SubFormat: 00000003-0000-0010-8000-00AA00389B71, nChannel: 2, dwChannelMask: 3 }
2024-09-07 17:23:36.333077 DEBUG [src\wasapidevice.rs:256] capture default period 100000, min period 30000
2024-09-07 17:23:36.339077 DEBUG [C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\wasapi-0.13.0\src\api.rs:371] The requested format is not supported but a simular one is
2024-09-07 17:23:36.339077 DEBUG [C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\wasapi-0.13.0\src\api.rs:375] got the nearest matching format as a WAVEFORMATEXTENSIBLE
2024-09-07 17:23:36.339077 ERROR [src/bin.rs:286] Playback error: Playback error: Playback device doesn't support format:
WaveFormat {
nAvgBytesPerSec: 1058400,
cbSize: 22,
nBlockAlign: 24,
wBitsPerSample: 32,
nSamplesPerSec: 44100,
wFormatTag: 65534,
wValidBitsPerSample: 32,
SubFormat: 00000003-0000-0010-8000-00AA00389B71,
nChannel: 6,
dwChannelMask: 63,
}
Closest match is:
WaveFormat {
nAvgBytesPerSec: 1152000,
cbSize: 22,
nBlockAlign: 24,
wBitsPerSample: 32,
nSamplesPerSec: 48000,
wFormatTag: 65534,
wValidBitsPerSample: 32,
SubFormat: 00000003-0000-0010-8000-00AA00389B71,
nChannel: 6,
dwChannelMask: 1551,
}
2024-09-07 17:23:36.339077 DEBUG [src/bin.rs:291] Error while starting, release barrier
2024-09-07 17:23:36.340077 DEBUG [src\wasapidevice.rs:267] initialized capture
2024-09-07 17:23:36.340077 DEBUG [src\wasapidevice.rs:271] Opened Wasapi capture device Some("CABLE Output (VB-Audio Virtual Cable)")
2024-09-07 17:23:36.340077 DEBUG [src\wasapidevice.rs:998] Capture device ready and waiting
2024-09-07 17:23:36.340077 DEBUG [src\wasapidevice.rs:1004] Capture device starts now!
2024-09-07 17:23:36.340077 DEBUG [src\wasapidevice.rs:1008] Exit message received, sending EndOfStream
2024-09-07 17:23:36.340077 DEBUG [src\wasapidevice.rs:1178] Wait for inner capture thread to exit
2024-09-07 17:23:36.340077 DEBUG [src/bin.rs:294] Wait for capture thread to exit..
2024-09-07 17:23:36.340077 DEBUG [src\processing.rs:21] Processing loop starts now!
2024-09-07 17:23:36.340077 INFO [src\processing.rs:37] Playback thread has already stopped.
2024-09-07 17:23:36.340077 DEBUG [src\wasapidevice.rs:470] Capture thread raised priority, task index: 41
2024-09-07 17:23:36.340077 DEBUG [src\wasapidevice.rs:480] Stopping inner capture loop on request
2024-09-07 17:23:36.341077 DEBUG [src/bin.rs:1038] Processing ended with status Ok(Restart)
2024-09-07 17:23:36.341077 DEBUG [src/bin.rs:1052] Restarting with new config
2024-09-07 17:23:36.341077 DEBUG [src/bin.rs:994] Wait for config
2024-09-07 17:23:36.341077 DEBUG [src/bin.rs:1004] Wait mode is disabled, there are no queued commands, and no new config. Exiting.