Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] FLsetsnap probably broken

Date2008-04-24 21:37
Fromvictor
SubjectRe: [Cs-dev] FLsetsnap probably broken
Sorry, I was testing to see where it was hanging, instr 2
should be uncommented completely. Then, pressing buttons should
hang Csound in 5.08. I can remember it working when  I wrote
it though (pre 5.07).

----- Original Message ----- 
From: "Oeyvind Brandtsegg" 
To: "Developer discussions" 
Sent: Thursday, April 24, 2008 9:24 PM
Subject: Re: [Cs-dev] FLsetsnap probably broken


>I did some closer inspection. The csd does not look fishy in that it
> should not crash csound when saving snapshots to file.
> Tested with Csound 5.06 and it works, tested with 5.07 and it crashes.
> That might give you a time slot for finding changes in CVS (?)
>
> On the other hand, the csd does not contain any code to actually store
> anything in the preset slots (0 to 20), as all code in instr 2 is
> commented out.
> This could probably be implemented in a number of ways, my approach
> has been to use a slot selector (the FLbutBank in your case) that does
> not trigger an instrument event, it just sets the slot number. Then
> use a separate button for "store" and "recall" (note the admittedly
> problematic subtle difference between store/write and recall/read,
> where the first points to a single preset slot in RAM and the second
> points to writing/reading a file containing all presets to disk.
>
> Oeyvind
>
> 2008/4/24, victor :
>> I thought this worked when I first wrote it (last year, before
>> 5.07 perhaps).
>>
>> For snapshot experts out there (Oeyvind?): does the csd
>> code look fishy?
>>
>> Victor
>>
>> ----- Original Message -----
>> From: "Oeyvind Brandtsegg" 
>> To: "Developer discussions" 
>> Sent: Thursday, April 24, 2008 6:15 PM
>> Subject: Re: [Cs-dev] FLsetsnap probably broken
>>
>>
>> > Using the "Save bank" button leads to:
>> > "Csound tidy up: Segmentation violation"
>> >
>> > But I wonder, should there not be a save/recall preset in this setup 
>> > too ?
>> > I guess the "content" for FLsavesnap is empty when FLsetsnap was never
>> > called.
>> > I don't know if saving an empty preset is also a problem with this
>> > build. I tested saving an "empty" preset file (FLsavesnap) with
>> > partikkelFLTK on an older build (Csound 5.07 Oct 30 2007) and it does
>> > not crash.
>> >
>> > The equaliser.csd crashes on the older build too. (!)
>> >
>> > Oeyvind
>> >
>> > 2008/4/24, Victor Lazzarini :
>> >> Now it's the snapshots that are not working. Could anyone check?
>> >> I looked at the code and it seems fine, but it hangs csound when
>> >> used.
>> >>
>> >> I am attaching an offending CSD. Try clicking in one of the "memory"
>> >> buttons.
>> >>
>> >> Victor
>> >>
>> >> Victor Lazzarini
>> >> Music Technology Laboratory
>> >> Music Department
>> >> National University of Ireland, Maynooth
>> >>
>> >> -------------------------------------------------------------------------
>> >> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
>> >> Don't miss this year's exciting event. There's still time to save 
>> >> $100.
>> >> Use priority code J8TL2D2.
>> >> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
>> >> _______________________________________________
>> >> Csound-devel mailing list
>> >> Csound-devel@lists.sourceforge.net
>> >> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>
>> >>
>> >>
>> >
>> > -------------------------------------------------------------------------
>> > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
>> > Don't miss this year's exciting event. There's still time to save $100.
>> > Use priority code J8TL2D2.
>> > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
>> > _______________________________________________
>> > Csound-devel mailing list
>> > Csound-devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
>> Don't miss this year's exciting event. There's still time to save $100.
>> Use priority code J8TL2D2.
>> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Don't miss this year's exciting event. There's still time to save $100.
> Use priority code J8TL2D2.
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel 


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net