[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [fluid-dev] Slightly OT: Parsing SF2; duplicate pbag entries?
From: |
Mark Raynsford |
Subject: |
Re: [fluid-dev] Slightly OT: Parsing SF2; duplicate pbag entries? |
Date: |
Sun, 24 Feb 2019 13:52:49 +0000 |
On 2019-02-24T14:29:01 +0100
Marcus Weseloh <address@hidden> wrote:
>
> And that might actually be your problem. The terminal entries are important
> to determine the length of the collections. For example, the terminal ibag
> entry has the wInstGenNdx that you need to determine the number of
> generators in the previous ibag entry (terminal wInstGenNdx - previous
> wInstGenNdx). And that method is used in nearly all the collections
> (modulators, ibags, pbags, ...).
>
> So your parser can't simply ignore the terminal zones.
Ah, to be clear, the parser itself doesn't ignore them. It uses them
internally to determine numbers of records and the like. It's just that
the programmer using the parser doesn't see the terminal record; they
just receive a (possibly empty) list of the available non-terminal
records.
--
Mark Raynsford | http://www.io7m.com
pgpMAIaZmr4iE.pgp
Description: OpenPGP digital signature
- [fluid-dev] Slightly OT: Parsing SF2; duplicate pbag entries?, Mark Raynsford, 2019/02/22
- Re: [fluid-dev] Slightly OT: Parsing SF2; duplicate pbag entries?, Tom M., 2019/02/22
- Re: [fluid-dev] Slightly OT: Parsing SF2; duplicate pbag entries?, Mark Raynsford, 2019/02/22
- Re: [fluid-dev] Slightly OT: Parsing SF2; duplicate pbag entries?, Mark Raynsford, 2019/02/23
- Re: [fluid-dev] Slightly OT: Parsing SF2; duplicate pbag entries?, Tom M., 2019/02/24
- Re: [fluid-dev] Slightly OT: Parsing SF2; duplicate pbag entries?, Mark Raynsford, 2019/02/24
- Re: [fluid-dev] Slightly OT: Parsing SF2; duplicate pbag entries?, Marcus Weseloh, 2019/02/24
- Re: [fluid-dev] Slightly OT: Parsing SF2; duplicate pbag entries?,
Mark Raynsford <=
- Re: [fluid-dev] Slightly OT: Parsing SF2; duplicate pbag entries?, Marcus Weseloh, 2019/02/24
- Re: [fluid-dev] Slightly OT: Parsing SF2; duplicate pbag entries?, Tom M., 2019/02/24