Csound Csound-dev Csound-tekno Search About

[Csnd] snapshots

Date2009-12-05 12:50
FromOlavo Peres
Subject[Csnd] snapshots
Hi all,

I'm trying to use the snapshots to make presets in a synthesizer,
but it takes (and saves) only the data from FLsliders,
and not from FLbuttons, FLbutBanks and FLtexts.
Does anybody know what I can do to select these objets to save in snapshots?

thanks,

Olav


Agora a pressa é amiga da perfeição. Chegou Windows 7. Conheça.

Date2009-12-06 09:26
FromEnrico Francioni
Subject[Csnd] Re: snapshots

Hi,

I have built an algorithm to save the values of snapshots ...
but in MacCsound 1.4b1, so without FLTK ...!

e



Olavo Peres wrote:
> 
> 
> Hi all,
> I'm trying to use the snapshots to make presets in a synthesizer,but it
> takes (and saves) only the data from FLsliders,and not from FLbuttons,
> FLbutBanks and FLtexts.Does anybody know what I can do to select these
> objets to save in snapshots?
> thanks,
> Olav 		 	   		  
> _________________________________________________________________
> Fique protegido de ameças utilizando o Novo Internet Explorer 8. Baixe já,
> é grátis!
> http://brasil.microsoft.com.br/IE8/mergulhe/?utm_source=MSN%3BHotmail&utm_medium=Tagline&utm_content=Tag1&utm_campaign=IE8
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
> 

-- 
View this message in context: http://old.nabble.com/snapshots-tp26655394p26663283.html
Sent from the Csound - General mailing list archive at Nabble.com.



Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2009-12-06 11:22
FromIain McCurdy
Subject[Csnd] RE: snapshots
Hi Olav,

As buttons and button banks are used in activation of storing and recalling snapshots, it could be pretty hazardous if they were also set in a snapshot recall (causing a subsequent snapshot recall etc. etc.). I imagine that this is why they are not included in a snapshot recall. I'm not sure why FLtexts are not included in snapshot recalls. Counters are also included in snapshot recalls.
You can always set buttons, button banks etc. from within the orchestra using FLsetVal_i:

FLpanel "",  400, 100, 0, 0
gktest, gihtest      FLbutton  "Test",     1,  0, 12, 100, 25,150, 25, 0, -1
gkpreset1, ihpreset1 FLbutton  "Preset 1", 1,  0, 11, 100, 25, 10, 25, 0, 1, 0, 0.01, 1
gkpreset2, ihpreset2 FLbutton  "Preset 2", 1,  0, 11, 100, 25, 10, 50, 0, 1, 0, 0.01, 0
gktest2, gihtest2 FLbutBank 11, 2, 1, 60, 25,150, 55, -1
FLpanel_end
FLrun

instr   1 ;RECALL PRESETS, p4=PRESET VALUE
FLsetVal_i      p4, gihtest
FLsetVal_i      p4, gihtest2
endin

Bye,
Iain


From: olavovianna@hotmail.com
To: csound@lists.bath.ac.uk
Date: Sat, 5 Dec 2009 10:50:21 -0200
Subject: [Csnd] snapshots

Hi all,

I'm trying to use the snapshots to make presets in a synthesizer,
but it takes (and saves) only the data from FLsliders,
and not from FLbuttons, FLbutBanks and FLtexts.
Does anybody know what I can do to select these objets to save in snapshots?

thanks,

Olav


Agora a pressa é amiga da perfeição. Chegou Windows 7. Conheça.

Have more than one Hotmail account? Link them together to easily access both.

Date2009-12-07 20:24
FromOlavo Peres
Subject[Csnd] RE: RE: snapshots
Thanks Iain,
I'm going to try your suggestion!
bye,
Olav


From: i_mccurdy@hotmail.com
To: csound@lists.bath.ac.uk
Date: Sun, 6 Dec 2009 11:22:25 +0000
Subject: [Csnd] RE: snapshots

Hi Olav,

As buttons and button banks are used in activation of storing and recalling snapshots, it could be pretty hazardous if they were also set in a snapshot recall (causing a subsequent snapshot recall etc. etc.). I imagine that this is why they are not included in a snapshot recall. I'm not sure why FLtexts are not included in snapshot recalls. Counters are also included in snapshot recalls.
You can always set buttons, button banks etc. from within the orchestra using FLsetVal_i:

FLpanel "",  400, 100, 0, 0
gktest, gihtest      FLbutton  "Test",     1,  0, 12, 100, 25,150, 25, 0, -1
gkpreset1, ihpreset1 FLbutton  "Preset 1", 1,  0, 11, 100, 25, 10, 25, 0, 1, 0, 0.01, 1
gkpreset2, ihpreset2 FLbutton  "Preset 2", 1,  0, 11, 100, 25, 10, 50, 0, 1, 0, 0.01, 0
gktest2, gihtest2 FLbutBank 11, 2, 1, 60, 25,150, 55, -1
FLpanel_end
FLrun

instr   1 ;RECALL PRESETS, p4=PRESET VALUE
FLsetVal_i      p4, gihtest
FLsetVal_i      p4, gihtest2
endin

Bye,
Iain


From: olavovianna@hotmail.com
To: csound@lists.bath.ac.uk
Date: Sat, 5 Dec 2009 10:50:21 -0200
Subject: [Csnd] snapshots

Hi all,

I'm trying to use the snapshots to make presets in a synthesizer,
but it takes (and saves) only the data from FLsliders,
and not from FLbuttons, FLbutBanks and FLtexts.
Does anybody know what I can do to select these objets to save in snapshots?

thanks,

Olav


Agora a pressa é amiga da perfeição. Chegou Windows 7. Conheça.

Have more than one Hotmail account? Link them together to easily access both.


Windows 7: agora com recursos que economizam bateria. Clique para conhecer.