Convolver loading/Sample manipulation

Why don’t I have the option to load samples that I resampled within Renoise directly into the convolver? The other way to do it requires that I save samples in a dedicated project folder with the file in order to do sound design, which I don’t like because it creates a mess that I delete anyway.

I’ve been doing some sample editing work in Ableton, and I love what you can do there in terms of the sample warping and texture modes as well as how easy it is to align recorded samples to the internal grids. Since Renoise is such a sample-oriented software, I’d love to see it go in a direction that focused more on “glitching-out” sounds and doing sound design natively outside Rubberband, sample speed and beat repeating. Convolver is the first step in this process, but it’s such a pain to work with at the moment. I’d love it if I could record things directly into the impulse slot through the Record function, or if I could resample things into it, or if I could just copy paste into it! Can you guys pls make that happen, I would love it so much!

I’d also like some sample options similar to Ableton’s warping functions. If there are Renoise tools or third party softwares that can do similar things, I’d love it if you guys filled me in!

3 Likes

What would have been great was if it was possible to change the impulse response in realtime, as in manipulating it by mixing different IRs or maybe even automate effects on the IR while it is convolving. Now if this is even possible to make i don’t know, but it shure would be cool. :slight_smile:

Edit: Stream a track as an impulse response? Yes i’m dreaming. :stuck_out_tongue:

Convolution is a very CPU intensive process, so realtime modulated impulses would likely require a very high-powered machine to be able to function. Loading up 3 convolvers at a time on my old PC crashed it.

All I want is the ability to paste a sample into the impulse slot.

A hindrance of modulating convolution kernels is their length, and the fact that efficient engines use fft techniques to cut down processing power, only suitable for constant kernels. Hm, feeding a convolver just any kind of stuff is rad, but resulting levels/spikes often blow your vu meter. I’ve also already imagined some extra tricks with “convolution”, but those would require extra love inside the effect algorithms - ie another plugin, not geared towards cabsim and reverb, but towards strange modulations. More like a modulated fir-filter than a convolver, maybe that’s close to what you’re dreaming about, probably stuff already exists as vst, who knows. just convolving with a window of a running stream sounds like a not so cool idea, better the window would be processed in one or another way and/or the result saturated/limited within the convolver, to prevent your speakers blowing up.

Automating dry/wet levels of a chain of convolvers with strange kernels can yield interesting modulations already. for more than 3 use lfos for crossfading.

Being able to drop ir’s from a sample slot would be cool, has been suggested here often. Have a “click” sample, feed it through a dsp chain, and directly feed the result into the convolver - most probably the convolver will use more cpu power than the initial fx chain. But filtering some reverb ir can result in the whole reverb being filtered in the result, cheers.

Could this be done with a tool? selecting the sample from a sample slot and then right clicking → add to convolver > select one of the convolvers that are used in the project.

Convolver device does indeed allow the loading of custom samples and IR’s. @renoize-user

i know, but i meant loading into convolver straight from an instrument sample slot - drag & drop not possible. So maybe a tool could help us do this?

guess so, but, seems like a solution looking for a problem.

im not sure… wasnt around then, but suspect that Nine Years ago;
the convolver device may not have had the “Load” button?

I know that it has a load button, it is about a fast way to drag and drop from the sample slots without having to browse for a sample. For a faster workflow.

well, at least for now.

you may find that saving as a preset in the convolver helps you to save a click or two.
once you have presets, you can easily switch between them and it loads the file without browsing.

Yes, I believe this could be done with a tool! I’ve also already thought to code this, but have not found the peace of mind and time and energy for it, yet.

You can write the active_preset_data property, which is an XML representation of the currently loaded preset. In the convolver, it has properties named ImpulseDataLeft and ImpulseDataRight which can be filled with a CDATA string which I believe is the BASE64 encoded sample data, and if I recall correctly, it is all 32 bit floating point numbers. I guess when you leave out the right channel, the sample will be considered mono, the “mono/stereo” setting is how the convolver works on the input, not the IR sample property. The other parameters (ImpulseDataSampleRate, SampleName and SampleDirectoryPath) can also be set to reflect the sample properties and origin.

I might give a simple loader a shot these days if I can still find my BASE64 code somewhere, otherwise this is now an open challenge…

2 Likes

Thanks for your input and considering making a tool, unfortunately i can’t code so i can only request it in the hope some good souls on here will help making this tool. :+1:

I’ll try, but I can’t promise. Just found some old code and text files from december of 2016 when it seems I have already tried to make a convolver load/store pipe from sample editor. Still have to understand wtf I was doing back then and do work on finishing and testing it, but I think I’ve almost had it back then… Let’s get that convolver pipe smoking…

1 Like

Thanks alot Guz! :handshake:

NP, glad community made me recover the old code and try again. Seems like I already had the code to access the data right back then, just had forgotten about it later as I grew sick. Now I got it running again, and can readily extract and write to/from the convolver with code reading/writing form the instrument samples! Yikes, it’s really cool. With this you can also steal other people’s IR files and get them into the sample editor. Messing with an XML library to get it all robust and feature complete. Just need the time to optimize the code and make a lot of menus to make the bridge available.

I’m so far thinking about making right-click available in track fx for selecting/loading/storing to a sample, and the other way round from the instrument/sample editor to the convolver devices. Using the currently selected device, or a tree menu where you can skip through all channels and select any convolver in there. Maybe thinking about a device memory function, so you can set up a number of convolvers and directly upload from samples with a context menu.

Happy to hear any suggestions or ideas or feature requests on this.

2 Likes

Sounds like a great idea Guz.
Looking forward to try out.

Thanks again for your hard work, time and energy you put into this :wink: :+1:

I’m sure many people will be very happy with this new tool.

1 Like

hi, i started the same thing but failed at base64.lua - do you have a base64.lua that works?

cos i’m ready to add this into Paketti since i’ve been asked for this a couple of times. its’ just the encoding that does my face in.

1 Like

hi, i’ve been working on this on my own now and have just reported incessant crashes with renoise with conversion of sample_buffer to base64 and feeding it to active_preset_data.

could you share the conversion method that doesn’t crash?