Jump to content


Photo

Calling functions like "Process DSP"?

scripting

  • Please log in to reply
3 replies to this topic

#1 sleepyxtra

sleepyxtra

    New Member

  • Normal Members
  • Pip
  • 4 posts

Posted 22 March 2018 - 19:50

I just bought renoise last week and I'm tailoring it toward my liking. I am trying to make a lil tool that would let me press a shortcut and then it would process the sample DSP to the sample, and then automatically delete the fx chain devices afterwards - a small tweak to the process dsp function. scripting the removal of the devices is no problem, it's just figuring out how i'm going to go about calling that Process DSP function. ive been lurking through the API but haven't so far found anything. at this point I'm wondering if I can just assign Process DSP a keybind then tell Lua to press those keys. but i was wondering if there was a cleaner way. thx



#2 afta8

afta8

    Big Super GrandMasta Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 751 posts
  • Gender:Male
  • Location:London

Posted 22 March 2018 - 20:57

Unfortunately not, you can't access the process dsp button from the API. To achieve what you want I think you would need to call the render functions and bounce the sample to disk and then load into the instrument and do the tidy up stuff you describe.. I think this would be possible from the API, if you need examples there is some usage of the render functions in this tool: http://forum.renoise...nder-and-slice/

 

An alternative and more difficult approach could be to code your own dsp functions like in this tool: http://forum.renoise...offline-filter/


Edited by afta8, 22 March 2018 - 20:59.


#3 sleepyxtra

sleepyxtra

    New Member

  • Normal Members
  • Pip
  • 4 posts

Posted 23 March 2018 - 03:37

Thenks for the info. also, totally unrelated, but bless you for your CDP interface. been big on CDP the past year and a half, and while ive come to appreciate Sound Loom, your interface is by far the most straightforward and user friendly. :) was such a pleasant surprise when I bought renoise and found out your thing existed. cheers!


  • afta8 likes this

#4 afta8

afta8

    Big Super GrandMasta Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 751 posts
  • Gender:Male
  • Location:London

Posted 24 March 2018 - 12:22

Thanks, nice to hear you get good use out of CDP :) (I must get onto finishing v2!)


  • sleepyxtra likes this





Also tagged with one or more of these keywords: scripting