Re: dewdrop question: no. channels per row on mixing board

View: New views
6 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: dewdrop question: no. channels per row on mixing board

by James Harkins-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Check MixingBoard.defaultSkin.maxAcross -- normally this should be "inf" though, meaning it should make as many mixers as it can fit horizontally on screen.

What does MixingBoard.defaultSkin.maxSize report? Maybe it's picking up the wrong screen bounds.

In my environment,

MixingBoard.defaultSkin.maxAcross == inf

MixingBoard.defaultSkin.maxSize == Point(1280, 1024)

hjh

PS *** Don't use the old list address anymore - use sc-users@... instead!!! ***


On Jul 22, 2008, at 8:15 AM, Peter O'Doherty wrote:

Hi James,

Where can I set the value which controls the max number of mixer channels per row on the mixing board? It seems to automatically make a new row after 6 channels.

Thanks,
Peter


: H. James Harkins

: jamshark70@...

: http://www.dewdrop-world.net

.::!:.:.......:.::........:..!.::.::...:..:...:.:.:.:..:


"Come said the Muse,

Sing me a song no poet has yet chanted,

Sing me the universal."  -- Whitman



Re: dewdrop question: no. channels per row on mixing board

by Peter O'Doherty-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

PS *** Don't use the old list address anymore - use sc-users@... instead!!! ***

Sorry about that. I though I did.

Check MixingBoard.defaultSkin.maxAcross -- normally this should be "inf" though, meaning it should make as many mixers as it can fit horizontally on screen.

What does MixingBoard.defaultSkin.maxSize report? Maybe it's picking up the wrong screen bounds.

In my environment,

MixingBoard.defaultSkin.maxAcross == inf

Here too.

MixingBoard.defaultSkin.maxSize == Point(1280, 1024)

I get Point(640, 480)

How do I change it?

I don't know if this is relevant but perhaps I should have told you that I'm running linux on a laptop (using SwingOSC). 

Thanks,
Peter

Re: dewdrop question: no. channels per row on mixing board

by James Harkins-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Jul 22, 2008 at 10:19 AM, Peter O'Doherty
<mail@...> wrote:
> MixingBoard.defaultSkin.maxSize == Point(1280, 1024)
>
> I get Point(640, 480)
> How do I change it?

You can put a new Point in there by hand.

MixingBoard.defaultSkin.maxSize = Point(desiredWidth, desiredHeight);

But the Point's coordinates should be set automatically based on the
screen bounds as reported by SwingOSC.

So there's a timing issue... the mixing board skin is asking for the
screen bounds before SwingOSC knows what they are. I'll put a fix in
svn today or tomorrow.

In the meantime, put this into your startup file:

SwingOSC.default.waitForBoot({
        { MixingBoard.defaultSkin.maxSize =
GUI.window.screenBounds.rightBottom }.defer(1.0)
});

With this, it will give SwingOSC time to start up, check screenbounds,
and only then set the mixer skin parameters.
hjh


--
James Harkins /// dewdrop world
jamshark70@...
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 (subscribe and unsubscribe): http://swiki.hfbk-hamburg.de:8888/MusicTechnology/880
archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
search: http://www.listarc.bham.ac.uk/lists/sc-users/search/

Re: dewdrop question: no. channels per row on mixing board

by Peter O'Doherty-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks a lot. That fix is working nicely.
Peter



On 22 Jul 2008, at 16:29, James Harkins wrote:

On Tue, Jul 22, 2008 at 10:19 AM, Peter O'Doherty
<mail@...> wrote:
MixingBoard.defaultSkin.maxSize == Point(1280, 1024)

I get Point(640, 480)
How do I change it?

You can put a new Point in there by hand.

MixingBoard.defaultSkin.maxSize = Point(desiredWidth, desiredHeight);

But the Point's coordinates should be set automatically based on the
screen bounds as reported by SwingOSC.

So there's a timing issue... the mixing board skin is asking for the
screen bounds before SwingOSC knows what they are. I'll put a fix in
svn today or tomorrow.

In the meantime, put this into your startup file:

SwingOSC.default.waitForBoot({
{ MixingBoard.defaultSkin.maxSize =
GUI.window.screenBounds.rightBottom }.defer(1.0)
});

With this, it will give SwingOSC time to start up, check screenbounds,
and only then set the mixer skin parameters.
hjh


-- 
James Harkins /// dewdrop world

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

_______________________________________________
sc-users mailing list



Re: dewdrop question: no. channels per row on mixing board

by James Harkins-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Jul 22, 2008 at 10:29 AM, James Harkins <jamshark70@...> wrote:
> But the Point's coordinates should be set automatically based on the
> screen bounds as reported by SwingOSC.
>
> So there's a timing issue... the mixing board skin is asking for the
> screen bounds before SwingOSC knows what they are. I'll put a fix in
> svn today or tomorrow.

Just FYI, the issue is properly fixed in quarks svn now. After an
update, you should not need the startup file hack anymore.
hjh

--
James Harkins /// dewdrop world
jamshark70@...
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 (subscribe and unsubscribe): http://swiki.hfbk-hamburg.de:8888/MusicTechnology/880
archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
search: http://www.listarc.bham.ac.uk/lists/sc-users/search/

Re: dewdrop question: no. channels per row on mixing board

by Peter O'Doherty-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Great, thanks.

Slightly related question: do you know how to open SC in emacs full-screen mode and still be able to get SwingOSC windows to be "always on front"?

Thanks,
Peter


On 25 Jul 2008, at 19:48, James Harkins wrote:

On Tue, Jul 22, 2008 at 10:29 AM, James Harkins <jamshark70@...> wrote:
But the Point's coordinates should be set automatically based on the
screen bounds as reported by SwingOSC.

So there's a timing issue... the mixing board skin is asking for the
screen bounds before SwingOSC knows what they are. I'll put a fix in
svn today or tomorrow.

Just FYI, the issue is properly fixed in quarks svn now. After an
update, you should not need the startup file hack anymore.
hjh

-- 
James Harkins /// dewdrop world

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

_______________________________________________
sc-users mailing list