Re: [LAD] Writing a library?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-audio-dev@...>
Date: Wednesday, July 23, 2008 - 4:20 pm

------=_Part_42426_27582898.1216830007464
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On Wed, Jul 23, 2008 at 15:25, Julien Claassen wrote:

> Hi!

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

[BEGIN SFZ]

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

sample=E_1.wav
key=52
lovel=111 hivel=127

sample=E_2.wav
key=52
lovel=86 hivel=110

sample=E_3.wav
key=52
lovel=71 hivel=85

sample=E_4.wav
key=52
lovel=0 hivel=70

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

sample=F_1.wav
key=53
lovel=111 hivel=127

sample=F_2.wav
key=53
lovel=86 hivel=110

sample=F_3.wav
key=53
lovel=71 hivel=85

sample=F_4.wav
key=53
lovel=0 hivel=70

[END SFZ]

--
Anders Dahnielson

------=_Part_42426_27582898.1216830007464
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On Wed, Jul 23, 2008 at 15:25, Julien Claassen <julien@c-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.wavkey=52lovel=111 hivel=127<region>sample=E_2.wavkey=52lovel=86 hivel=110<region>sample=E_3.wavkey=52lovel=71 hivel=85<region>sample=E_4.wav
key=52lovel=0 hivel=70/////////////////////////////////////////////////////////////////////////////// Region Name: NOTE F_<region>sample=F_1.wavkey=53lovel=111 hivel=127
<region>sample=F_2.wavkey=53lovel=86 hivel=110<region>sample=F_3.wavkey=53lovel=71 hivel=85<region>sample=F_4.wavkey=53lovel=0 hivel=70
[END SFZ]-- Anders Dahnielson<anders@dahnielson.com>

------=_Part_42426_27582898.1216830007464--

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAD] Writing a library?, Darren Landrum, (Wed Jul 23, 2:26 am)
Re: [LAD] Writing a library?, Joshua Boyd, (Wed Jul 23, 12:41 pm)
Re: [LAD] Writing a library?, Paul Davis, (Wed Jul 23, 1:02 pm)
Re: [LAD] Writing a library?, Paul Davis, (Wed Jul 23, 2:05 pm)
Re: [LAD] Writing a library?, Julien Claassen, (Wed Jul 23, 1:26 pm)
Re: [LAD] Writing a library?, Anders Dahnielson, (Wed Jul 23, 4:20 pm)
Re: [LAD] Writing a library?, , (Wed Jul 23, 2:19 pm)
Re: [LAD] Writing a library?, Darren Landrum, (Wed Jul 23, 2:42 pm)
Re: [LAD] Writing a library?, Anders Dahnielson, (Wed Jul 23, 4:13 pm)
Re: [LAD] Writing a library?, Anders Dahnielson, (Fri Jul 25, 10:03 pm)
Re: [LAD] Writing a library?, Anders Dahnielson, (Fri Sep 5, 10:58 pm)
Re: [LAD] Writing a library?, Anders Dahnielson, (Fri Sep 5, 11:21 pm)
Re: [LAD] Writing a library?, Pelle Nilsson, (Wed Jul 23, 4:34 pm)
Re: [LAD] Writing a library?, Julien Claassen, (Wed Jul 23, 3:05 pm)
Re: [LAD] Writing a library?, Darren Landrum, (Wed Jul 23, 3:25 pm)
Re: [LAD] Writing a library?, Joshua Boyd, (Wed Jul 23, 2:14 pm)
Re: [LAD] Writing a library?, Julien Claassen, (Wed Jul 23, 7:59 am)
Re: [LAD] Writing a library?, Emanuel Rumpf, (Wed Jul 23, 7:07 am)
Re: [LAD] Writing a library?, Erik de Castro Lopo, (Wed Jul 23, 8:52 am)
Re: [LAD] Writing a library?, Julien Claassen, (Wed Jul 23, 9:13 am)
Re: [LAD] Writing a library?, Nedko Arnaudov, (Wed Jul 23, 10:16 am)
Re: [LAD] Writing a library?, Emanuel Rumpf, (Wed Jul 23, 12:02 pm)
Re: [LAD] Writing a library?, Erik de Castro Lopo, (Wed Jul 23, 3:49 am)