From owner-freebsd-questions@FreeBSD.ORG Fri Feb 27 19:53:52 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C1AEB16A4CF for ; Fri, 27 Feb 2004 19:53:52 -0800 (PST) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 78D4F43D31 for ; Fri, 27 Feb 2004 19:53:52 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.10/8.12.10) id i1S3rpd0063929; Fri, 27 Feb 2004 21:53:51 -0600 (CST) (envelope-from dan) Date: Fri, 27 Feb 2004 21:53:51 -0600 From: Dan Nelson To: zhangweiwu@realss.com Message-ID: <20040228035350.GD3471@dan.emsphone.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 5.2-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.6i cc: questions@freebsd.org Subject: Re: a good solution share the speaker? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2004 03:53:53 -0000 In the last episode (Feb 28), Zhang Weiwu said: > Several people are using notebooks in the office, the big desktop > computer stores music. A good speaker is pluged into the desktop > computer (FreeBSD). > > What do you think is the best solution to share the speaker? > > These are what I can think of: > * Marc Lehmann wrote a perl module for playing music with mpg123. Write a > cgi script and let people select playlist/control play on the webpage. > * Find a existing good mpg123 frontend, modify it, let it control the > mpg123 on another computer through ssh or even let inetd bring up the > mpg123 player and let the fontend talk to a socket. http://www-scf.usc.edu/~bozhang/notes/esd.html describes how to use esound (which the mpg123 port is built with) to send audio to a remote machine. You could also use xmms, since it has esd support too. I -- Dan Nelson dnelson@allantgroup.com