Csound Csound-dev Csound-tekno Search About

[Csnd] timestretching with csound

Date2008-01-07 08:00
FromAtte André Jensen
Subject[Csnd] timestretching with csound
Hi

I tried time stretching with sndwarp, and although it works, I'm not too 
happy with the quality. The material I'm trying to stretch is mainly 
beats, but also loops containing pitched sounds. The typical factor by 
which my audio should be stretched is something in the range 75%-150% of 
the original speed.

I played around with the following parameters, and these are by best values:

iwindsize =	400
iwindrand =	200
ioverlap =	5

Is there anything in general I should take care of when using sndwarp 
(like krate), that could improve the quality? Is there a opcode for the 
purpose?

My experiments are wrapped up in a blue instrument, called "BeatPlayer". 
It's in blue share, but if you're not using blue, I exported a simple 
test project containing the instrument, including a loop and put it here:

http://atte.dk/download/beat_test.zip

Any input appreciated!

-- 
peace, love & harmony
Atte

http://atte.dk       | http://myspace.com/attejensen
http://anagrammer.dk | http://modlys.dk

Date2008-01-07 08:14
FromAtte André Jensen
Subject[Csnd] Re: timestretching with csound
Atte André Jensen wrote:

> http://atte.dk/download/beat_test.zip

For easy comparison I also put unaltered (loop doesn't match), pitched 
and sndwarp'ed examples up:

http://atte.dk/download/beat_test_unaltered.ogg
http://atte.dk/download/beat_test_speed.ogg
http://atte.dk/download/beat_test_sndwarp.ogg

-- 
peace, love & harmony
Atte

http://atte.dk       | http://myspace.com/attejensen
http://anagrammer.dk | http://modlys.dk

Date2008-01-07 22:11
FromDavid Mooney/Maxine Heller
Subject[Csnd] Re: timestretching with csound
These three parameters work together. Try this: iwindsize=sr/10, 
ioverlap=15, and iwrand=iwindsize*.2 to start. IME, higher ioverlap 
smooths out the results.


At 03:00 AM 1/7/2008, you wrote:
>Hi
>
>I tried time stretching with sndwarp, and although it works, I'm not 
>too happy with the quality. The material I'm trying to stretch is 
>mainly beats, but also loops containing pitched sounds. The typical 
>factor by which my audio should be stretched is something in the 
>range 75%-150% of the original speed.
>
>I played around with the following parameters, and these are by best values:
>
>iwindsize =     400
>iwindrand =     200
>ioverlap =      5
>
>Is there anything in general I should take care of when using 
>sndwarp (like krate), that could improve the quality? Is there a 
>opcode for the purpose?
>
>My experiments are wrapped up in a blue instrument, called 
>"BeatPlayer". It's in blue share, but if you're not using blue, I 
>exported a simple test project containing the instrument, including 
>a loop and put it here:
>
>http://atte.dk/download/beat_test.zip
>
>Any input appreciated!
>
>--
>peace, love & harmony
>Atte
>
>http://atte.dk       | http://myspace.com/attejensen
>http://anagrammer.dk | http://modlys.dk
>
>
>Send bugs reports to this list.
>To unsubscribe, send email sympa@lists.bath.ac.uk with body 
>"unsubscribe csound"

David Mooney:  dmooney@city-net.com
Maxine Heller:  mheller@city-net.com
Opaque Melodies:  www.city-net.com/~moko/