The createdrcplots obviously doesn't work with one file. It wants to have two files as input. I can plot all plots from the uncorrected pcm file, but not from the corrected pcm file.
It's stuck after plotting the "Time response, 200 Hz brickwall"
>> createdrcplots(u,-1,"R Uncorrected",c,-1,"R Corrected","/home/marco/tmp/","R",".png","-dpng");
IR1 impulse center: 48001, max: 1.002315, RMS: 1.368236
IR2 impulse center: 1107, max: 0.502743, RMS: 0.700000
Impulse response upsampling...
Step response...
Time response, full range...
Time response, 2 kHz brickwall...
Time response, 200 Hz brickwall...
error: ir2(-7713): subscripts must be either integers 1 to (2^63)-1 or logical
error: called from
createdrcplots at line 465 column 8
>>
What I find strange: My pcm file which I get from from REW with sox is 512 kb large (rew_ir_48_right_220319.pcm ), while the filter file is ony 256 kb large (filter_48_left_220319.pcm).
I generated the files with this script:
#!/bin/bash
sox rew_ir_left_220319.wav -t f32 -r 48000 -c 1 rew_ir_48_left_220319.pcm
sox rew_ir_right_220319.wav -t f32 -r 48000 -c 1 rew_ir_48_right_220319.pcm
drc --BCInFile=/home/marco/DRC_room_correction/rew_ir_48_left_220319.pcm --PSOutFile=/home/marco/DRC_room_correction/filter_48_left_220319.pcm --PSPointsFile="/usr/share/drc/target/48.0 kHz/pa-48.0.txt" --MCFilterType=M --MCPointsFile=/home/marco/DRC_room_correction/35R586_cal_0degree.txt --PLMaxGain=1.2 --PSNormFactor=0.7 "/usr/share/drc/config/48.0 kHz/erb-48.0.drc"
drc --BCInFile=/home/marco/DRC_room_correction/rew_ir_48_right_220319.pcm --PSOutFile=/home/marco/DRC_room_correction/filter_48_right_220319.pcm --PSPointsFile="/usr/share/drc/target/48.0 kHz/pa-48.0.txt" --MCFilterType=M --MCPointsFile=/home/marco/DRC_room_correction/35R586_cal_0degree.txt --PLMaxGain=1.2 --PSNormFactor=0.7 "/usr/share/drc/config/48.0 kHz/erb-48.0.drc"
sox -t f32 -r 48000 -c 1 filter_48_left_220319.pcm filter_48_left_220319.wav
sox -t f32 -r 48000 -c 1 filter_48_right_220319.pcm filter_48_right_220319.wav
When I load them in octave with the pcmload command from DRC they look like this in the variable explorer:
c ist the corrected file (=filter_48_right_220319.pcm) and the variable u is (rew_ir_48_right_220319.pcm). I wonder why the order of magnitude of the number are so different and if it's a problem that the variable size is different. If someone can help I also can upload my IR files.