Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

Is it possible to build a very simple SFZ creator?

For general discussion related FlowStone

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

Postby mccy » Thu Jan 17, 2013 10:51 pm

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?

Postby mccy » Fri Jan 18, 2013 8:36 am

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 1071 times
mccy
 
Posts: 69
Joined: Sun Feb 27, 2011 3:20 pm

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

Postby mccy » Fri Jan 18, 2013 8:59 am

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?

Postby mccy » Fri Jan 18, 2013 9:47 am

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 1029 times
mccy
 
Posts: 69
Joined: Sun Feb 27, 2011 3:20 pm

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

Postby mccy » Fri Jan 18, 2013 4:16 pm

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

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

Postby mccy » Fri Jan 18, 2013 5:58 pm

Tadaa!
So I guess, in a few weeks this will be a really nice tool...
Attachments
tx16wxtosfzconverter05.fsm
(2.84 KiB) Downloaded 1050 times
mccy
 
Posts: 69
Joined: Sun Feb 27, 2011 3:20 pm

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

Postby Jay » Fri Jan 18, 2013 6:01 pm

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!
Jay
 
Posts: 276
Joined: Tue Jul 13, 2010 5:42 pm

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

Postby mccy » Fri Jan 18, 2013 6:12 pm

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?

Postby mccy » Fri Jan 18, 2013 6:21 pm

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

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

Postby mccy » Sat Jan 19, 2013 12:28 am

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 1041 times
mccy
 
Posts: 69
Joined: Sun Feb 27, 2011 3:20 pm

PreviousNext

Return to General

Who is online

Users browsing this forum: Google [Bot] and 63 guests