Home Forums Pianobook Decent Sampler format wrapper

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1724
    DaniloCiaffi
    Participant

    Hello all,

    I’m loving the concept of Decent Sampler, although I absolutely hate xml, and I feel having a way to programmatically generate it would be a huge help. Is anyone working on a wrapper in some more digestible language for it (e.g. python)?

    #2896
    Raul Yebra
    Participant

    I’m not sure I really understand what you are asking for, but if what you want is a tool to create dspresset files easily you can find my Decent Sampler Helper Tool (a single file local web page made using HTML & Javascript) here:

    Decent Sampler Helper Tool

    #2897
    DaniloCiaffi
    Participant

    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.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.