[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] Can't get makewindow to work . (Using v.3.3)



There seems to be a bug with EZSlider in the 3.3 windows alpha (I
assume you're on windows based on the double-spacing in the helpfile
snippet). A number of things with EZSlider and its cousins have been
fixed recently (just this week). It might be possible to merge the new
gui revisions into the 3.3 alpha classlib. Not sure I have time to
look at that today.

On my windows box, the bug causes SwingOSC (java.exe) to hog one of
the 2 cores. I have to kill both SC and java.exe. Possibly the window
doesn't pop up because SwingOSC died?

Also I found a bug in memStore where it doesn't keep the metadata in
the SynthDesc object. It's an easy fix, but I'm at work and can't fix
it now, probably tomorrow.
hjh


On Wed, Dec 31, 2008 at 9:38 AM, andy baxter
<andy@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> Hello,
>
> I have installed version 3.3 and am trying again to get makewindow to work
> with metadata. I pasted the following example from the SynthDef help file:
>
> d = SynthDef(\mdDemo, { |out, freq, cutoff, volume, gate = 1|
>
> var sig = LPF.ar(Saw.ar(freq, volume), cutoff),
>
> env = EnvGen.kr(Env.adsr, gate, doneAction: 2);
>
> Out.ar(out, (sig * env) ! 2)
>
> }, metadata: (specs: (cutoff: \freq, volume: \amp))).memStore;
>
>
> SynthDescLib.global[\mdDemo].makeWindow;
>
>
> Now it's not producing a window at all - I get some results in the post
> window (pasted below) but no sound.
>
> SynthDesc 'mdDemo'
> Controls:
> ControlName  P 0 out control 0
> ControlName  P 1 freq control 440
> ControlName  P 2 cutoff control 440
> ControlName  P 3 volume control 0
> ControlName  P 4 gate control 1
>  O audio out 2


-- 
James Harkins /// dewdrop world
jamshark70@xxxxxxxxxxxxxxxxx
http://www.dewdrop-world.net

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal."  -- Whitman

_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/