Dear collegues,
I'm trying to read a large .wav file (35 minutes long, 1.12Gb, sample rate 96000 Hz, 24 bit) that was recorded with two channels, in order to cut it in 3 same duration files.
The thing is, I'm not succeeding in reading it. I already tried readWave:
Error: cannot allocate vector of size 4.5 Gb
In addition: Warning messages:
1: In matrix(sample.data, nrow = 3) :
Reached total allocation of 8072Mb: see help(memory.size)
Error: cannot allocate vector of size 4.5 Gb
In addition: Warning messages:
1: In matrix(sample.data, nrow = 3) :
Reached total allocation of 8072Mb: see help(memory.size)
And even installed sox... But I'm not succeeding on use it on R
require(sox)
Loading required package: SoX
Warning message:
In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
there is no package called ‘SoX’
sox()
Error in paste(exe, command, sep = " ") :
argument "command" is missing, with no default
What am I missing? Any suggestions?