<div dir="ltr">On Wed, Jul 23, 2008 at 15:25, Julien Claassen <<a href="mailto:julien@c-lab.de">julien@c-lab.de</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi!<br>
   Paul: As I understood the sfz format is text-based. I didn't take a look.<br>
But depending on what it looks like, a parser generator might be good advice.<br>
   If the SFZ is an xml variant libxml might be better suited.<br>
   Kindest regards<br>
          Julien<br>
</blockquote><div><br>Here's what a snippet from a SFZ file looks like:<br><br>[BEGIN SFZ]<br><br>/////////////////////////////////////////////////////////////////////////////<br>// Region Name: NOTE E_<br><br><region><br>
sample=E_1.wav<br>key=52<br>lovel=111 hivel=127<br><br><region><br>sample=E_2.wav<br>key=52<br>lovel=86 hivel=110<br><br><region><br>sample=E_3.wav<br>key=52<br>lovel=71 hivel=85<br><br><region><br>sample=E_4.wav<br>
key=52<br>lovel=0 hivel=70<br><br><br>/////////////////////////////////////////////////////////////////////////////<br>// Region Name: NOTE F_<br><br><region><br>sample=F_1.wav<br>key=53<br>lovel=111 hivel=127<br><br>
<region><br>sample=F_2.wav<br>key=53<br>lovel=86 hivel=110<br><br><region><br>sample=F_3.wav<br>key=53<br>lovel=71 hivel=85<br><br><region><br>sample=F_4.wav<br>key=53<br>lovel=0 hivel=70<br></div></div>
<br>[END SFZ]<br><br>-- <br>Anders Dahnielson<br><<a href="mailto:anders@dahnielson.com">anders@dahnielson.com</a>>
</div>