Deluge Online Patch/Synth editor ( work in progress )

5
fryyyyfryyyy germanyPosts: 21

Hello

Since i'm web developer by profession, i threw together an online patch editor this morning.

You can see a work in progress demo here:
https://embed.plnkr.co/eAUUgKMn0KK0qlsCJbur/

You can load a synth XML file from your deluge/SYNTHS folder, change parameters, and save xml file again. Ideally this would work realtime with a connected deluge. Also i would like to build an online patch exchange out of this.

Mostly i'm missing descriptions and min/max parameters for values. Any clues would be welcome.
You can also edit the schema.js if you know about JSON. https://plnkr.co/edit/eAUUgKMn0KK0qlsCJbur?p=preview

Cheers

Post edited by fryyyy on

Comments

  • 1
    fryyyyfryyyy germanyPosts: 21
    edited February 10

    If someone knows about the purpose of the params and could fill in the blanks, as well as minimum and maximum or enum in schema.js file that would be great.
    https://plnkr.co/edit/eAUUgKMn0KK0qlsCJbur?p=preview

    Post edited by fryyyy on
  • 0
    jamiefayejamiefaye Burlingame, CAPosts: 10

    Have a look at the Downrush sub-program called xmlView. I did some reverse-engineering of the representation of most of the synth parameters. Many of these map from 0x80000000 to 0x7fffffff to 0-50. https://github.com/jamiefaye/downrush

  • 1
    jamiefayejamiefaye Burlingame, CAPosts: 10

    xmlView uses Handlebars templates. There is a huge one named sound_template that generates a 16 x 8 table showing the sound parameters in a matrix that follows the form of the Deluge shortcuts that are stenciled on most Deluges. There is a 'helper macro' call for each parameter that hints at the range and format of each parameter. The most common helper is fixh, which does the 0x80000000 to 0x7fffffff to 0-50 conversion described above.

  • 0
    fryyyyfryyyy germanyPosts: 21

    Hey jamie thats pretty cool. I need to get one of those wireless cards.
    So if i understand correctly, all those hex values can only have 50 different states, where 0x8000000 = 0 and 0x7ffffffff = 50?

  • 0
    jamiefayejamiefaye Burlingame, CAPosts: 10

    You can run the xml viewer without needing to buy a wireless card. It will run OK as a file://. I have a google drive folder with that part at: https://drive.google.com/drive/folders/1SG1q2yNHvdhnrghCDCM8-TdWAQdhFntq. As for hex values, there are a couple of different conversion formulas. Some of them go from -50 to +50, 0-50, 0-100, -32L to +32R (for panning). The patching system lets many of these values have greater resolution than what is shown on the display.

  • 0
    jamiefayejamiefaye Burlingame, CAPosts: 10

    Some values, like the one for sidechain compression, I handle with a lookup table because I haven't figured out the math formula involved. There are probably a few errors in what I did that I haven't found yet.

  • 0
    fryyyyfryyyy germanyPosts: 21

    Very cool thank you. I have added descriptions for more parameters from the manual.

    It would be great if there was a sound engine api available, so you could preview the presets in a browser.

  • 0
    amiga909amiga909 SwitzerlandPosts: 77

    great work, cool idea. digging web browser synth editors. no install and sharing user presets is easy to implement.

  • 0
    amiga909amiga909 SwitzerlandPosts: 77

    dont know what a sound api could be. dont think u will be able to accurately mimic the deluge synth engine with JS.

  • 0
    fryyyyfryyyy germanyPosts: 21

    I think we would only need one deluge setup as cloud device, then we could batch-process all new patches as they are uploaded and get the audio files for the patch previews.

  • 0
    amiga909amiga909 SwitzerlandPosts: 77

    that would be funny, a remote Deluge. too slow to work with I fear. some way of sysex data receive would be cool to have.

  • 0
    drbourbondrbourbon italyPosts: 7

    I made this https://circulate.neuma.studio/ for the Novation Circuit. Even if that works by sysex, I can host the patch sharing web app by adapting it to the Deluge if anybody interested.

  • 0
    fryyyyfryyyy germanyPosts: 21

    That would definitely be great. Is there an option to upload a preview wav of the patch ?

    Maybe synthstrom will implement sysex support on the deluge at some point, that would make this much more useful.

  • 0
    drbourbondrbourbon italyPosts: 7

    Here's a basic web app for patch sharing and "preview" upload:
    https://delugist.neuma.studio/

    Logged in users can upload and download patches, and upload demo audio clips for their patches (wav files only, less than 16M). Clip playback directly from the browser.

    Enjoy,
    Fabio

  • 0
    amiga909amiga909 SwitzerlandPosts: 77

    cool! thanks drbourbon, awesome work.
    audio does not play on a ipad chrome or safari.

Sign In or Register to comment.