Page 2 of 2

Re: Linux Audio Sesssion Scripting

Posted: Sun Aug 29, 2010 12:14 pm
by autostatic
Did you try the -N option?

Code: Select all

jeremy@soushi:~$ yoshimi -a -N pink &
jeremy@soushi:~$ yoshimi -a -N robots &
jeremy@soushi:~$ aconnect -o
client 14: 'Midi Through' [type=kernel]
    0 'Midi Through Port-0'
client 129: 'yoshimi-pink' [type=user]
    0 'input           '
client 130: 'yoshimi-robots' [type=user]
    0 'input 

Re: Linux Audio Sesssion Scripting

Posted: Sun Aug 29, 2010 12:53 pm
by laiis
AutoStatic wrote:Did you try the -N option?
Oh yes, cool, I forgot about this. I recall having discovered it once and found it to be useful.
Probably then returned to using the diff method bacause it already worked nicely for several synths, yoshimi seems quite on its own in offering this option.
thanks.

Re: Linux Audio Sesssion Scripting

Posted: Sun Aug 29, 2010 1:17 pm
by autostatic
The PHASEX Development Branch has it too now: http://disabled.github.com/phasex-dev/

Re: Linux Audio Sesssion Scripting

Posted: Mon Aug 30, 2010 9:02 am
by jaycapela
laiis wrote:Xnest was new to me - it sounds very promising.
Automatically assigning applications to workspaces would
then be another great thing. It's just an idea that I have
since long ago, though I never did intensive research in
whether this is possible.

I don't know the Reason patches but maybe I can imagine a
little... it's about interconnecting applications in useful
standard ways.

For independence of application launch order, this might
do as a workaround:

Instead of starting an application directly, start it
through a function that takes a diff from jack_lsp before
and after startup, extracts the port names from it and
gives each of the new ports a jack_alias.

An example:
http://pastebin.com/GjRRT5Nc

The downside: every (type of) application needs its function.


Similar for Alsa-Midi (gives no alias, just a variable
containing the port name):

http://pastebin.com/9Hqp5RuG

This works here with amSynth, phasex and yoshimi.
First, those are some very cool pasebins! Second, it is possible to assign application windows to workspaces using a tool called wmctrl. Go check it out!

http://tomas.styblo.name/wmctrl/

Re: Linux Audio Sesssion Scripting

Posted: Mon Aug 30, 2010 12:21 pm
by laiis
jaycapela wrote:
First, those are some very cool pasebins! Second, it is possible to assign application windows to workspaces using a tool called wmctrl. Go check it out!

http://tomas.styblo.name/wmctrl/
Thanks, wmctrl does what I was looking for.
A pity that my favorite evilwm does not support the EWMH specification, but that didn't actually surprise me. Tiny size doesn't come without a prize.
However, I'll try using one of the supported WMs within Xnest as soon as I find time for that.

Re: Linux Audio Sesssion Scripting

Posted: Mon Aug 30, 2010 3:17 pm
by jaycapela
Thanks, wmctrl does what I was looking for.
A pity that my favorite evilwm does not support the EWMH specification, but that didn't actually surprise me. Tiny size doesn't come without a prize.
However, I'll try using one of the supported WMs within Xnest as soon as I find time for that.
You could try awesomewm which is a lightweight tiling window manager that doesn't draw excessive window decorations and supports non-tiling (floating) window management.