timetsretching 1 bit sounds??

lem's icon

hi there,

i was trying to time-stretch wavs that have been crushed or whatever the term is into a square wave.
the idea was that i could use a super simple algorithm to do so: just repeating each 0 to 1 cycle.
so that, e.g.: 0101101 -> 01010110110101
get it?

these are the results but it sounds like it's been shifted down. why? any help in general with this task :) ?

Rodrigo's icon

I'm not good at this kind of stuff, but by doing that you're just stretching out the period between cycles, hence transposing down.

Time stretch works at a higher level then per bit (or byte? or whatever that is) by doing 'grains' which are up to hundreds of ms (which are thousands of samples, which are tons of bits (bytes?).

lem's icon

hmm, yeah it definitely sounds lower than it should...

what if i repeated, instead of each cycle, each cycle or set of cycles determined by whether it is within hearing range? sorry i'm too busy to explain myself well now... :)
plus i'm pretty sure i'm talking rubbish haha.