[specimen] 64 samples aren't enough

Juuso Alasuutari juuso.alasuutari at gmail.com
Thu Jan 17 15:29:27 CST 2008


On Tuesday 15 January 2008 22:23:11 Smoe wrote:
> Hi,
>
> i recently tried to load a preset i created by myself (and PHP-DOM) with
> 100 samples shared over 2 channels:
> channel 1: note 1 - note 50
> channel 2: note 1 - note 50
>
> every sample has only 1 note.
>
> the following error occured when i try to load the file:
>
> ** ERROR **: file patch.c: line 209 (patch_lock): assertion failed: (id >=
> 0 && id < PATCH_COUNT)
> aborting...
>
> in fact there seems to be a limit of 64 patches. could someone please
> extend it to - lets say - 512? should be enough so far.

Could you download Specimen's source from the svn repository, change 
PATCH_COUNT in src/patch.h (line 12) to something bigger, compile, and see 
what happens when you load a preset with over 64 patches in it? (I don't know 
if any counter variables or arrays have limits that would cause funny things 
to happen, though).

Juuso

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the Specimen mailing list