Making a Meta Device

Hi,

I’ve got an idea in my head for which I would have to create a Meta Device… essentially I’d like to make a device that takes several inputs, similar to the Meta Mixer, but always returns the highest or lowest of the values (max/min). As far as I can see no Meta Device available so far can do this, correct?

Now I don’t know the limits of the scripting API yet. Is it even possible to script a new device that can go in a device chain?

Copy and paste this to your Renoise’s DSP chain.

<?xml version="1.0" encoding="UTF-8"?>  
<filterdeviceclipboard doc_version="0"><br>
  <deviceslot type="FormulaMetaDevice"><br>
    <isactive>true</isactive><br>
    <isselected>true</isselected><br>
    <selectedpresetname>Init</selectedpresetname><br>
    <selectedpresetismodified>true</selectedpresetismodified><br>
    <ismaximized>true</ismaximized><br>
    <customdevicename>*Super Formula</customdevicename><br>
    <formulaparagraphs><br>
      <formulaparagraph></formulaparagraph><br>
    </formulaparagraphs><br>
    <functionsparagraphs><br>
      <functionsparagraph></functionsparagraph><br>
    </functionsparagraphs><br>
    <inputnamea>á</inputnamea><br>
    <inputnameb>ß</inputnameb><br>
    <inputnamec>©</inputnamec><br>
    <editorvisible>true</editorvisible><br>
    <panelvisible>0</panelvisible><br>
    <inputa><br>
      <value>1.0</value><br>
      <visualization>Mixer and Device</visualization><br>
    </inputa><br>
    <inputb><br>
      <value>1.0</value><br>
      <visualization>Device only</visualization><br>
    </inputb><br>
    <inputc><br>
      <value>1.0</value><br>
      <visualization>Device only</visualization><br>
    </inputc><br>
    <desttrack><br>
      <value>-1</value><br>
      <visualization>Device only</visualization><br>
    </desttrack><br>
    <desteffect><br>
      <value>2</value><br>
      <visualization>Device only</visualization><br>
    </desteffect><br>
    <destparameter><br>
      <value>0.0</value><br>
      <visualization>Device only</visualization><br>
    </destparameter><br>
  </deviceslot><br>
</filterdeviceclipboard>  
  

Amazing. Why did I not know about this device and is there any way to get it into my DSP list?
Are there more hidden devices I should know about?

It’s not hidden, he just wrote it for you. ;)

Sure ;)

I’ve just talked to mxb and he says it’s highly unstable and might crash Renoise or prevent a song saved with it from loading. I’m going to use it anyway for my simple max(A,B,C) … but should anyone else just have found out about the device through this thread, be aware.

The overall Formula Device is hidden though!

a couple of threads have been around about this subject
Inertial Slider
Enabling The Formula Meta Device
Sample & Hold CV signal
Super Formula Device
Kaossilator-like NoteSelect
Meta Modulator Device
The Stepper
LFO - Random Slide
What Is The Formula Device?
Magic/hidden Formula Device Causes Crash On Load

I’ve only had it crash in 2.7, but I haven’t used it that much since.