Linux Audio Sesssion Scripting

Post fully complete "how to" guides and tutorials here. This is a great place to get feedback on stuff you might put in the wiki.

Moderators: MattKingUSA, khz

User avatar
autostatic
Established Member
Posts: 1994
Joined: Wed Dec 09, 2009 5:26 pm
Location: Beverwijk, The Netherlands
Has thanked: 32 times
Been thanked: 104 times
Contact:

Re: Linux Audio Sesssion Scripting

Post 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 
User avatar
laiis
Established Member
Posts: 24
Joined: Tue Apr 08, 2008 11:41 am
Location: suriname
Contact:

Re: Linux Audio Sesssion Scripting

Post 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.
User avatar
autostatic
Established Member
Posts: 1994
Joined: Wed Dec 09, 2009 5:26 pm
Location: Beverwijk, The Netherlands
Has thanked: 32 times
Been thanked: 104 times
Contact:

Re: Linux Audio Sesssion Scripting

Post by autostatic »

The PHASEX Development Branch has it too now: http://disabled.github.com/phasex-dev/
jaycapela
Established Member
Posts: 20
Joined: Thu Aug 19, 2010 8:19 am

Re: Linux Audio Sesssion Scripting

Post 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/
User avatar
laiis
Established Member
Posts: 24
Joined: Tue Apr 08, 2008 11:41 am
Location: suriname
Contact:

Re: Linux Audio Sesssion Scripting

Post 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.
jaycapela
Established Member
Posts: 20
Joined: Thu Aug 19, 2010 8:19 am

Re: Linux Audio Sesssion Scripting

Post 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.
Post Reply