Timestretching/Pitchshifting
-
In sampler it seems monophonic samples aren't summed when the stretch modes are enabled, everything comes out the left speaker.
-
@Christoph-Hart said in Timestretching/Pitchshifting:
I'm thinking about adding this to the AudioLooper too (it's pretty obvious that this might be useful there). Is anybody using the tempo synced mode in a real project? It previously changed the pitch to match the tempo but I guess that is so totally useless that I can replace the functionality and enable timestretching by default when the tempo syncing is activated.
is this a thing yet?
For some reason I cant build from the "feature_timestretch" commits...i'll figure out why on my own...
just asking -
@Christoph-Hart said in Timestretching/Pitchshifting:
Alright, I've implemented the
NumQuarters
property. If this is non-zero, it will use the length of the sample with this information to calculate the source BPM, which should let you use different BPM values for every sample.I've also fixed something in the engine and now it should play multiple voices with the correct time ratio in sync mode.
Nice, but I still worry about doing this calc for those 13/7 time signatures, and you know there will be some...
-
@Lindon said in Timestretching/Pitchshifting:
Nice, but I still worry about doing this calc for those 13/7 time signatures, and you know there will be some...
Hehe...
-
for some reason when I have loops in multiple different samplers with tempo sync turned on they won't sync together...seem to work fine when in the same sampler...but if I want to put like a group of kick loops in one sampler and then a group of snares in a different sampler...tempo sync falls apart...something im missing?
-
anything here? anybody have any solve for time sync'ing multiple samplers? or do I need to just keep everything in one sampler? which will suck for what I would like to do as far as controlling the volumes/sends for each group of loops that are in a sampler of it's own...unless there is a way to group samples inside of one sampler and control the volumes on those groups?
-
@johnmike said in Timestretching/Pitchshifting:
control the volumes on those groups
-
@d-healey interesting...will try this
-
@d-healey can I assign an interface slider to those round robin groups tho? I also would love to be able to send the groups to effects buses as well tho...individually...and multi-outs was my end goal as well...which is why I had multiple samplers setup for proper routing of volumes, FX, and outs
-
@johnmike I've never used it, but I don't see why you could use a slider to control that value.
Groups can't be routed though (at least not yet, it's on my wishlist), so you're not going to be able to send each set of samples to different effects.
I think you're better off nagging Christoph to solve the bug with multiple samplers going out of sync. Perhaps provide a snippet or demo project that demonstrates the problem.
-
Have you supplied a valid NumQuarters property to each sampler?
-
@Christoph-Hart I've tried them at different values...same results...ive changed all of the numquaters to 0 ive tried 2,4,8 etc etc...if all the samples are in the same sampler and the numquarters are set to 0 everything plays and syncs fine...but when I mix multiple samplers it falls apart...working on a video now
-
@Christoph-Hart here's a vid with time stretching the loops all in 1 sampler...numquarters at 0
https://www.dropbox.com/scl/fi/55825x1sgxeqm743uvjqm/Timestrectching-1.mov?rlkey=gucjhshwrifahs630dda12zmv&dl=0 -
@Christoph-Hart and here's a vid with the kicks moved to a different sampler...numQ's at 0,4,8 just playing around with it...but as you can see they slowly drift out of time with the click...
-
sorry for terrible audio it's coming from the built in mic...but should be loud enough to hear what's going on
-
The Timestretching/Pitchshifting is nice, but causes a cpu spike on my set up... is this happening to anyone else?
Only asking so I can know how to proceed with the project im working on.
thx -
@BWSounds Same here... Cpu spikes to 60% sometimes. Only tried on FL studio tho. Have not tried on mac yet.
-
@Sawer if you're using the SkipLatency parameter then yes, there will be spikes when you start voices, otherwise the CPU usage is high but not unreasonably high.
-
Hi! I have a problem with the timestretching. I have updated my HISE version(3.6.0) but the functions Sampler.getTimestretchOptions();
Sampler0.setTimestretchOptions(obj);
Sampler0.setTimestretchRatio(0.7);
are throwing this error message:
Interface:! Ui_samples.js (13): function not found {SW50ZXJmYWNlfFVpX3NhbXBsZXMuanN8NDM2fDEzfDQ3}
Could someone help me to solve this problem? Thank you// Get sampler var Sampler0 = Synth.getChildSynth("Sampler0"); // fetch the current state var obj = Sampler0.getTimestretchOptions(); // print out all properties Console.print(trace(obj)); // Apply your changed obj.SkipLatency = true; obj.Tonality = 2.0; // Update the options Sampler0.setTimestretchOptions(obj); //Set ratio Sampler0.setTimestretchRatio(0.7);
-
@Lumi283 The time stretch functions are part of the Sampler class, your reference is of the ChildSynth type. You either need to use
Synth.getSampler()
instead or useSampler0.asSampler...