Re: [LAD] Writing a library?

From: Anders Dahnielson <anders@email-addr-hidden>
Date: Wed Jul 23 2008 - 19:20:07 EEST

On Wed, Jul 23, 2008 at 15:25, Julien Claassen <julien@email-addr-hidden-lab.de> wrote:

> Hi!
> Paul: As I understood the sfz format is text-based. I didn't take a look.
> But depending on what it looks like, a parser generator might be good
> advice.
> If the SFZ is an xml variant libxml might be better suited.
> Kindest regards
> Julien
>

Here's what a snippet from a SFZ file looks like:

[BEGIN SFZ]

/////////////////////////////////////////////////////////////////////////////
// Region Name: NOTE E_

<region>
sample=E_1.wav
key=52
lovel=111 hivel=127

<region>
sample=E_2.wav
key=52
lovel=86 hivel=110

<region>
sample=E_3.wav
key=52
lovel=71 hivel=85

<region>
sample=E_4.wav
key=52
lovel=0 hivel=70

/////////////////////////////////////////////////////////////////////////////
// Region Name: NOTE F_

<region>
sample=F_1.wav
key=53
lovel=111 hivel=127

<region>
sample=F_2.wav
key=53
lovel=86 hivel=110

<region>
sample=F_3.wav
key=53
lovel=71 hivel=85

<region>
sample=F_4.wav
key=53
lovel=0 hivel=70

[END SFZ]

-- 
Anders Dahnielson
<anders@email-addr-hidden>

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
Received on Wed Jul 23 20:15:06 2008

This archive was generated by hypermail 2.1.8 : Wed Jul 23 2008 - 20:15:06 EEST