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 »

O.K. So far I have a workaround for the wavheader reading problem: Just imagine, you worked 30min on a complex SFZ instrument.
1. Take tx2wav and convert.
2. Take Bjoerns Sample Mapper & let ad the rootkeys, loop info etc.

Voila! This should work and is just a few seconds to convert a program for which you used some time...
User avatar
trogluddite
Posts: 1730
Joined: Fri Oct 22, 2010 12:46 am
Location: Yorkshire, UK

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

Post by trogluddite »

I shall persevere with the file reading anyway, as I have a few other applications of my own in mind that I would prefer to handle natively - but you are quite right; the achievement is in getting a working solution in as little time as possible, and the law of diminishing returns always applies in programming.
Getting better at programming comes from each project giving you the confidence to tackle a trickier problem next time one arises - but there are no medals for re-inventing the wheel just for the sake of it!
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
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 »

I hope, this is worth a 1.0 beta

http://www.derknott.de/tx2sfz.zip

*now corrected transpose bug
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 »

new file is to be found under same link. MUCH improved!!!
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 »

New version is up. www.derknott.de/tx2sfz.zip
User avatar
jjs
Posts: 142
Joined: Thu Jun 09, 2011 12:15 pm

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

Post by jjs »

Thanks for the hard work.
i can really use this.
a next step could be a container wich holds a few samples like pads and keys and so on.
Because with sfz the sample is still wav, if it would be possible to get these wavs in a protected container would be even more fantastic, so you can protect your samples a little bit more.
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 »

Best thing would be, to build an own sampleplayer. I thought sfz does not support containers? Just realized, that if you remove the first line of my output sfzs, you can load them in the multisampler - example for flowstone... That's nice somehow, but again I'm miles away from building an sfz player which works better than sforzando & co.
Is there a way to influence which opcodes can be read by flowstone-multisampler?

Hm. Maybe it would be nice anyway, to add multisampler to tx2sfz converter & make a vst out of it. So one could test if mapping works fine in first instance...
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 »

tx2sfz is now a VSTinstrument. It plays via midi what it converted after saving the sfz file.
Only basic parameters!

www.derknott.de/tx2sfz.zip
Post Reply