Csound Csound-dev Csound-tekno Search About

RE: [Csnd] behavior of FLsavesnap etc.

Date2011-08-05 02:23
From"Partev Barr Sarkissian"
SubjectRE: [Csnd] behavior of FLsavesnap etc.
"1" is ping and the "11" is the echo back??
Used to use a piece of gear called the 
FireBerd 6000 for testing data comm circuits
and widgets that had an assortment of odd
handshakes like that. So many handshake 
routines and it had most all of them.

Maybe a Ping/pong? An Echo Back? Some data
comm versio of doubles?


-Partev

===================================================


--- i_mccurdy@hotmail.com wrote:

From: Iain McCurdy 
To: 
Subject: RE: [Csnd] behavior of FLsavesnap etc.
Date: Thu, 4 Aug 2011 14:30:31 +0000

Hi Dennis,
If you change the button type from '1' to '11' it will work. Don't
ask  me  why, these are the mysterious hand-shakes that must be
observed...
Iain
> Date: Wed, 3 Aug 2011 17:32:13 -0700
> From: dennis.raddle@gmail.com
> To: csound@lists.bath.ac.uk
> Subject: [Csnd] behavior of FLsavesnap etc.
>
> I'm having trouble with the FLsetsnap, FLsavesnap, FLloadsnap, and
> FLgetsnap opcodes. I tried to create several FL panels including
one
> with a "save" button and a "load" button. As follows:
>
> ; --- this is a panel with useful valuators--
> FLpanel "High freq controls gbuzz", 450, 550
> .. some valuators go here...
> FLpanelEnd
>
>
> ; --- this is a panel with save/load buttons --
> FLpanel "save/load"
> i_insnum_load = 101
> i_insnum_save = 100
> gk_button2, giha2 FLbutton "Load", 0, 0, 1, 40, 40, 10, 60, 105,
> i_insnum_load, 0, 1
> gk_button1, giha1 FLbutton "Save", 0, 0, 1, 40, 40, 10, 10, 105,
> i_insnum_save, 0, 1
> FLpanelEnd
>
> ; Instrument that does "saving"
> instr 100
> inumsnap, inumval FLsetsnap 1
> FLsavesnap "thingy.snp"
> endin
>
> ; instrument that does "loading"
> instr 101
> FLloadsnap "thingy.snp"
> inumsnap FLgetsnap 1
> endin
>
>
> The save button works fine, but the problem happens when I click
the
> "load" button. It appears to run the "save" instrument (i100) over
and
> over and never executes a load.
>
>
> Send bugs reports to the Sourceforge bug tracker
> https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
>  To  unsubscribe, send email sympa@lists.bath.ac.uk with body
"unsubscribe csound"
>




_____________________________________________________________
Netscape.  Just the Net You Need.


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"