Paul's stretch

For general discussion related FlowStone
k brown
Posts: 1198
Joined: Tue Aug 16, 2016 7:10 pm
Location: San Francisco, CA USA
Contact:

Re: Paul's stretch

Post by k brown »

I wonder what Martin's house looks like, with all that code 'lying around' ? :? :ugeek: 8-)
Website for the plugins : http://kbrownsynthplugins.weebly.com/
User avatar
Spogg
Posts: 3368
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England
Contact:

Re: Paul's stretch

Post by Spogg »

martinvicanek wrote:My scheme takes a snapshot every 512 samples and calculates the spectrum (using a windowed 2048 point FFT). Based on the extracted frequencies and amplitudes, it will drive sine oscillators for the next 512 samples. After that, the next snapshot is used to update the osc frequencies and amplitudes, and so on. There is some sooth interpolation regarding the amplitudes in order to avoid jumps every 512 samples.

So not exactly granular synthesis. How would you synthesise an arbitrary (not single ppitched) sound from grains?

I agree it’s not exactly granular synthesis by some definitions. But the principle of breaking down audio into small chunks and processing those could be described as granular (by me anyway :lol: ).

Use of the term synthesis, which I take to mean assembling a whole from parts, can be misleading in this context. Really what we have here might be better described as a granular effect. An input is processed and modified but the output is dependent on the input and how it’s processed, rather than an output being wholly generated. It’s just semantics!

When I said that Paulstretch had a more granular sound, my ears tell me that there is more than 1 sound playing simultaneously, like overlapping grains. Another clue is that he provides a window setting, and the shapes available are classic for granular techniques to crossfade grains to avoid discontinuities and thus clicking. Of course it could be that the chosen window is applied to the wav sections used for FFT, to avoid high frequencies which would affect the FFT outcome.

End of waffle!
User avatar
martinvicanek
Posts: 1334
Joined: Sat Jun 22, 2013 8:28 pm

Re: Paul's stretch

Post by martinvicanek »

User avatar
Spogg
Posts: 3368
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England
Contact:

Re: Paul's stretch

Post by Spogg »

Hey thanks Martin.

I hadn’t seen that before and it’s what I was trying to deduce.

I no longer need to puzzle about this!
User avatar
martinvicanek
Posts: 1334
Joined: Sat Jun 22, 2013 8:28 pm

Re: Paul's stretch

Post by martinvicanek »

With Paul's scheme lying there in front of me, I could not resist the temptation to put it into practice. So here is the result, maybe somebody will have fun with it. :)
Attachments
RaulStretch.fsm
(113.08 KiB) Downloaded 1075 times
User avatar
Spogg
Posts: 3368
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England
Contact:

Re: Paul's stretch

Post by Spogg »

Once again… AMAZING! :o

Out of the box this one sounds like Paulstretch which I guess is not surprising given it’s using the same algorithm.

Messing around with the offset values creates some interesting results, as does the FFT size. Dare I say it actually gives a wider variety of results?

Bravo!!
BobF
Posts: 598
Joined: Mon Apr 20, 2015 9:54 pm

Re: Paul's stretch

Post by BobF »

Well Martin,

This is better than what I asked for, going back several years now (that is live time stretching, viewtopic.php?f=3&t=5915&p=28267&hilit=time+strech#p28267). Could this be applied to that principle you came up with way back then? I think it's been about 5 years now, you have really learned a great deal more. This is really great , thank you so much!

Having great fun with it, BobF.....
Post Reply