Hello list,
do you know some way to read a soundfile (.wav, 2 channels) from the end to the beggining without convert the file?
I'm trying to make a "mirror". I write any sound (variable longitude) to a wav file, and when a stop the recording, it must be played reverse.
Any help will be appreciated. Thanks.
_Ricardo
I've found the solution using [soundfiler]. If you know other way, please let me know.
_Ricardo.
2008/6/18 Ricardo Dueñas Parada rduenasp@gmail.com:
Hello list,
do you know some way to read a soundfile (.wav, 2 channels) from the end to the beggining without convert the file?
I'm trying to make a "mirror". I write any sound (variable longitude) to a wav file, and when a stop the recording, it must be played reverse.
Any help will be appreciated. Thanks.
_Ricardo
Hi Ricardo,
Provided the file is not very long you can read it into an array using the [tabwrite~] object, then read it back in reverse with [tabread4~]. Audio help examples B03 and B07 should help you with this. If the phasor (or maybe better to use a [vline~]) is reversed the sound will play backwards.
On Wed, 18 Jun 2008 22:55:53 -0500 "Ricardo Dueñas Parada" rduenasp@gmail.com wrote:
Hello list,
do you know some way to read a soundfile (.wav, 2 channels) from the end to the beggining without convert the file?
I'm trying to make a "mirror". I write any sound (variable longitude) to a wav file, and when a stop the recording, it must be played reverse.
Any help will be appreciated. Thanks.
_Ricardo