K
kieran
Hi all,
I am relatively new to perl and have just begun using the PDL::Audio
module. I am having trouble getting basic functionality working, for
example "describe_audio" should return the number of samples in an
audio file. I have tried using the following code to find the number
of sample in a wav file.
use PDL;
use PDL::Audio;
$pdl = raudio "hello1.wav";
print "\n\n", describe_audio pdl, "\n";
The output i get for any wav file is as follows: "mono sound with
samples"
where there should be either mono or stereo (I always get mono, even
for stereo files)
Also there should be a number of samples such as "mono file with
1234567 samples", but it is always blank.
Any suggestions?
Kieran
I am relatively new to perl and have just begun using the PDL::Audio
module. I am having trouble getting basic functionality working, for
example "describe_audio" should return the number of samples in an
audio file. I have tried using the following code to find the number
of sample in a wav file.
use PDL;
use PDL::Audio;
$pdl = raudio "hello1.wav";
print "\n\n", describe_audio pdl, "\n";
The output i get for any wav file is as follows: "mono sound with
samples"
where there should be either mono or stereo (I always get mono, even
for stereo files)
Also there should be a number of samples such as "mono file with
1234567 samples", but it is always blank.
Any suggestions?
Kieran