Home Forums Pianobook Decent Sampler format wrapper Reply To: pianobook/decent-sampler-format-wrapper


That tool is very nice, especially for UI! I also know there’s a LUA script to export dspreset from Kontakt 6, but that is useless if you don’t have Kontakt in the first place.

I meant something more like a Python class to handle the dspreset file generation. An example (that is in fact a module I’m implementing on my own) could be:

import pydecent
instrument = pydecent.Preset()
group1 = instrument.add_group(<group settings>)
for sample in samples:
    # some logic
    group1.add_sample(sample, <sample settings>)

and this generates a fully formed instrument. I just thought I’d ask since I started making one myself, but if someone’s already on it I won’t waste the effort.