06-30-2021, 02:21 AM
(06-30-2021, 02:10 AM)Macdelf Wrote:Is there a way to send very large files? I cannot seem to attach the .txt impulse file. BTW the REW header is not used it is there just so I can debug in REW. I geneated the function by measuring with REW and my own Fourier transform. When I run this it dous seem to give the correcet amplitude results with a frequency sweep. It is a symettric impulse response and should have linear phase. REW says it does too. The phase plot from the moode pipeline editor bugs me and must be wrong.(06-30-2021, 01:05 AM)Tim Curtis Wrote: Can you provide the file(s) and steps to repro the issue?
The Impulse file is too large but here is the beginningCode:---
devices:
adjust_period: 10
capture:
type: File
channels: 2
filename: /dev/stdin
format: S32LE
capture_samplerate: 0
chunksize: 4096
enable_rate_adjust: true
enable_resampling: false
playback:
type: Alsa
channels: 2
device: hw:2,0
format: S32LE
queuelimit: 32
resampler_type: BalancedAsync
samplerate: 192000
silence_threshold: 0
silence_timeout: 0
target_level: 0
filters:
Lconv:
parameters:
filename: ../../../../home/pi/L_impulse_$samplerate$_rew.txt
format: TEXT
read_bytes_lines: 0
skip_bytes_lines: 15
type: Raw
type: Conv
Rconv:
parameters:
filename: ../../../../home/pi/R_impulse_$samplerate$_rew.txt
format: TEXT
read_bytes_lines: 0
skip_bytes_lines: 15
type: Raw
type: Conv
gainred:
parameters:
gain: -2
inverted: false
mute: false
type: Gain
pipeline:
- channel: 0
names:
- gainred
- Lconv
type: Filter
- channel: 1
names:
- gainred
- Rconv
type: Filter
...
* Impulse Response data saved by REW V5.20
* IR is not normalised
* IR window has not been applied
* IR is not the min phase version
* Source: Microphone (Umik-1 Gain: 18dB ), MICROPHONE (Master Volume),
* Dated: Jan 25, 2021 11:13:13 AM
* Measurement: speakers set digital out Jan 25
* Excitation: 512k Log Swept Sine, 1 sweep at -12.0 dBFS using an acoust
* Response measured over: 10.0 to 20,000.0 Hz
0.1121257991 // Peak value before normalisation
11024 // Peak index
22051 // Response length
0.0000226757 // Sample interval (seconds)
-0.2500113249 // Start time (seconds)
* Data start
-0.0000033564495
-0.000002893786
-0.0000030472875
-0.0000031913376
-0.0000033453098
-0.0000032243236
-0.0000026446