SFZ to DrumGizmo. Wanted: SFZ parser in python

Moderators: MattKingUSA, khz, muldjord, deva

Post Reply
User avatar
peter.zenk
Established Member
Posts: 18
Joined: Thu Jun 11, 2020 1:15 pm
Has thanked: 2 times
Been thanked: 5 times

SFZ to DrumGizmo. Wanted: SFZ parser in python

Post by peter.zenk »

I do know that there is CPP code in e.g. Polyphone, but I'm not a CPP programmer, but have mediocre knowledge in Python.

And I have a Python package helping me to convert Hydrogen drumkits into Drumgizmo format. (works ok for me

Now I would like to add support for converting SFZ (which has a text file) to DrumGizmo.

The worst possibility would be to wrap the Polyphone CPP code in python, for me a nightmare:

Any help and ideas appreciated.
Thanks

Save the planet - make music !
tseaver
Established Member
Posts: 408
Joined: Mon Mar 13, 2017 6:07 am
Has thanked: 12 times
Been thanked: 102 times

Re: SFZ to DrumGizmo. Wanted: SFZ parser in python

Post by tseaver »

@peter.zenk I would take a look at https://github.com/jisaacstone/sfzlint/, a "linter and parser for .sfz files" implemented in Python.

I found that link from the SFZFormat Tools page: that site is great for learning about / working with SFZ.

Ubuntu, Mixbus32C; acoustic blues / country / jazz
User avatar
peter.zenk
Established Member
Posts: 18
Joined: Thu Jun 11, 2020 1:15 pm
Has thanked: 2 times
Been thanked: 5 times

Re: SFZ to DrumGizmo. Wanted: SFZ parser in python

Post by peter.zenk »

:) thanks a lot
will have a look

Save the planet - make music !
Post Reply