Is it possible to build a very simple SFZ creator?

For general discussion related FlowStone
mccy
Posts: 69
Joined: Sun Feb 27, 2011 3:20 pm

Re: Is it possible to build a very simple SFZ creator?

Post by mccy »

not a big problem. I seem to have a workaround... maybe...

The good part of the story: I now understand, what "regular expressions" (as you suggested right in the beginning) mean for my little project. Maybe I get the work done with them.
mccy
Posts: 69
Joined: Sun Feb 27, 2011 3:20 pm

Re: Is it possible to build a very simple SFZ creator?

Post by mccy »

Workaround didn't work, so you have to open *.txprog in notepad & save it as utf8 first.
Maybe I'll make a pure rubyscript for converting whole directory in the end. That would be a nice handling.

With these regex lines it gets the first sample & overall zone + vel. Best thing: IT WORKS AS SFZ!
Even the utf8 file works in tx16wx as I remember... but that is not important anyway.

Now I have to look into (how was it called?) blockediting and string-scan. Hope I get it, how to work with arrays.

Then with no further big problems it should be no deal, to get a simple sfz zoning from txprog!!!
Attachments
sfzwithutf8.fsm
(560 Bytes) Downloaded 1141 times
mccy
Posts: 69
Joined: Sun Feb 27, 2011 3:20 pm

Re: Is it possible to build a very simple SFZ creator?

Post by mccy »

HA! That is easy :lol: :D :mrgreen:
mccy
Posts: 69
Joined: Sun Feb 27, 2011 3:20 pm

Re: Is it possible to build a very simple SFZ creator?

Post by mccy »

To test: extract zip to c (it makes folder sfztest)

Finally I have to create a loop for processing all findings in array, to get all keygroups.
And one for writing all data found in the sfz file...

No idea, how this will be done... :roll:
Attachments
sfztest.zip
(1.85 KiB) Downloaded 1088 times
mccy
Posts: 69
Joined: Sun Feb 27, 2011 3:20 pm

Re: Is it possible to build a very simple SFZ creator?

Post by mccy »

nearly finished ...
mccy
Posts: 69
Joined: Sun Feb 27, 2011 3:20 pm

Re: Is it possible to build a very simple SFZ creator?

Post by mccy »

Tadaa!
So I guess, in a few weeks this will be a really nice tool...
Attachments
tx16wxtosfzconverter05.fsm
(2.84 KiB) Downloaded 1107 times
Jay
Posts: 276
Joined: Tue Jul 13, 2010 5:42 pm

Re: Is it possible to build a very simple SFZ creator?

Post by Jay »

looks great! i don't use the synth who's file format you are converting from and had never heard of it until your thread appeared! but there is stuff to learn from your work for sure! :D

you could do a version that parses a folder of key named waves and assign them to key ranges and place them in a SFZ file! that would be real cool! kinda like an auto SFZ maker!

Best Regards!
mccy
Posts: 69
Joined: Sun Feb 27, 2011 3:20 pm

Re: Is it possible to build a very simple SFZ creator?

Post by mccy »

That's exactly, what TX16WX (freeware) does in the best way I could imagine...
Just recognized that rootkeys are not working so far in my converter.
mccy
Posts: 69
Joined: Sun Feb 27, 2011 3:20 pm

Re: Is it possible to build a very simple SFZ creator?

Post by mccy »

thisone should do with rootkeys...
Attachments
tx16wxtosfzconverter05b.fsm
(2.86 KiB) Downloaded 1053 times
mccy
Posts: 69
Joined: Sun Feb 27, 2011 3:20 pm

Re: Is it possible to build a very simple SFZ creator?

Post by mccy »

Wow. It's more difficult than I thought. But working better and better. When selecting a bunch of samples and splitting in to groups (or with one big group) old version didn't work. Now this seems to be O.K.
Attachments
tx16wxtosfzconverter06c.fsm
(9.96 KiB) Downloaded 1097 times
Post Reply