From owner-freebsd-multimedia@FreeBSD.ORG Fri Aug 10 05:45:23 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AF2E4106564A for ; Fri, 10 Aug 2012 05:45:23 +0000 (UTC) (envelope-from marcelbonnet@gmail.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 60AC68FC08 for ; Fri, 10 Aug 2012 05:45:23 +0000 (UTC) Received: by vcbgb22 with SMTP id gb22so1528254vcb.13 for ; Thu, 09 Aug 2012 22:45:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Agd92H3x8ike/0IBP9G0CZeB3pixd9EIIApVnahpIB8=; b=o75x1/7iv3CGat0Y8xydzgjZlF39/gZhkYaipPtyMGb4UkMClSZW8R2gZvCeWpCS1U VoD1Od3CDY4g+ruS5QpnTFolO/3cmT+CpljuJz3eWegUgul/IbS73C37mSXspNCnDkzc eLwBmkkQIT5IoPex8K0JD2f4lAqxmd539UMJEK3TCEVeKsffNzeXAC87UWHCsmI6EazS fEaJDiU6oQbapUg2Iyz7MVP3ft4t+2MEOQnNbHMDb9AyCLZo85rdGxsYXv8ctniXRAyV aO7xbHzC5MZ6JajWtAD/SQzyn00fo4mf1rEdqV1cJ1FQypcVBZgzPjRUdg7j21QxuHzr fVCA== MIME-Version: 1.0 Received: by 10.58.33.234 with SMTP id u10mr1736043vei.49.1344577522556; Thu, 09 Aug 2012 22:45:22 -0700 (PDT) Received: by 10.220.155.135 with HTTP; Thu, 9 Aug 2012 22:45:22 -0700 (PDT) In-Reply-To: References: <201208092109.47049.hselasky@c2i.net> Date: Fri, 10 Aug 2012 02:45:22 -0300 Message-ID: From: Marcel Bonnet To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-multimedia@freebsd.org Subject: Re: jack-session: a command tool I made to save/restore jack connections X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Aug 2012 05:45:23 -0000 On 10 August 2012 00:22, Marcel Bonnet wrote: > On 9 August 2012 16:09, Hans Petter Selasky wrote: >> On Wednesday 08 August 2012 20:17:42 Marcel Bonnet wrote: >>> Hi, >>> >>> I do not have much knowledge about developing audio apps/tools and C >>> programming, that's why I would appreciate your considerations : >>> >>> I did not found on ports a command line tool that just handle >>> save/restore jack connections. Does we have some? >>> >>> I know about LASH, but it's beyond my scope. I don't need to handle >>> applications state, just the connections. >>> >>> I found a python script on the web (jackctl), but that script does not >>> satisfy my needs - it requires too much user interactivity. >>> >>> So I worked on over the lsp.c (jack_lsp) and got a simple tool to do >>> what I need. >>> >>> And last, but not least, do you guys think, if I polish the code (it's >>> ugly now), this small and simple tool could be made in my small >>> contribution to the ports collections? I'm not sure if a tool like >>> this exists but I did not found or if it would be simple enough to go >>> into ports - anyway, I'd love to do it because of the open source >>> spirit and would be happy to give something simple I made back to the >>> community. >>> >>> If you think it's ok, please let me know so I'll polish the code and >>> test it better. >>> >>> Here is an example: >>> >>> $ jack-session >>> Usage: jack-session [options] >>> Save and restore connections of a jack session. >>> Display options: >>> -j, --jackserver Connect to the jack server named >>> -s, --save Save connections to the session >>> -r, --restore Restore connections from a session >>> -h, --help Display this help message >>> -v --version Output version information and exit >> >> >> Hi, >> >> I think this is a good idea! Will this program run in the background and >> detect when applications become present? >> >> --HPS > > Thanks. > > In fact not. But it's a good idea too, I'd need time to explore it. I > think LASH does it in theory - but my problem is it seems to > complicated for the end user to learn how to operate LASH and I've got > some weird bugs with the GUI (at least running window maker). > > All I want is something simple to use: if I'm making music, I need > something simple and fast so I can spend more time composing than > fighting with the computer. That's why I started just by producing a > command tool that is called manually by the user, but is easy to deal > with, specially if the user is not very well familiar with unix. > > I'm going to update my home page, then I'll share the distfile and > port I've made, in case you want to test and give me feedback. > -- > Marcel Bonnet Hi, Hans / folks. I put the port and distfile I made in my home page. I'll be pleased if you try jack-session and find it a bit useful. Let me know what you think :D http://www.monovox.net.br/?freebsd-ports Don't be afraid, my home page is not english, but this section was translated! You'll see a link for the port dir (it is compressed) and for the distfile in case you need to fetch it manually. Just make install clean will be enough. Make deinstall is allowed if you want too! Cheers, -- Marcel Bonnet