[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problem with Totem?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Howdy,

I'm using a MATLAB function which basically outputs the sampling rate, say `fs'
(depending on different operations and on Shannon's theorem) and a
vector, say `song', which contains notes.

`song' can be played at a normal speed using
==
soundsc(song,fs)
==
under MATLAB

Now, I would like to save it to a wav file, say `mynewsong.wav'. Well, this is not quite
difficult:

==
wavwrite(song/max(song),fs,32,'mynewsong')
==
under MATLAB

where the normalization is done to avoid the saturation of the
amplifier.

I used this process hundreds of times, but, now, it generates a wav
file (`mynewsong.wav') which cannot be interpreted by `Totem music
player' (which is part of GNOME's front-end for Debian Linux). Yet,
VLC plays it nicely. The message that Totem gives me is

==
GStreamer encountered a general stream error.
==

Under Microsoft Windows Media Player, people can listen to my file
without any issues.

Any idea?

Thanks.

- -- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
- -- 

Education is not the filling of a pail, but rather the lighting of a
 fire. (William Butler Yeats)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iEYEARECAAYFAky8VzkACgkQM0LLzLt8Mhy1vACcD6iOcAYG9wvOAkYBSgeyntuo
5U0An1HkPygobwQVRtBgFw/iVP51P/1q
=Qo68
-----END PGP SIGNATURE-----


Reply to: