Re: Multiple accesses to /dev/dsp

1999-10-29 Thread Dwayne C . Litzenberger
Speakfreely is a free internet telephony program.

http://www.speakfreely.org/

On Fri, Oct 29, 1999 at 01:12:59PM +0200, Ookhoi wrote:
 Hi Dwayne C . Litzenberger,
 
  would take CPU time, but I'd like to be able to play a RealAudio stream,
  while hearing the superfluous sounds of KDE, while talking to a friend via
  SpeakFreely. 
 
 What is SpeakFreely, and where do you get it? I'm interested in
 text2speech and speech recognition. Is it similar? Thank you!
 
   Ookhoi
 

-- 
I already have all the latest software.
 -- Laura Winslow, Family Matters

Dwayne C. Litzenberger - [EMAIL PROTECTED]

Advertising Policy: http://DLitzPower.tripod.com/spamoff.htm
GnuPG Public Key:   http://DLitzPower.tripod.com/gpgkey.asc
 Fingerprint:   0535 F7CF FF5F 8547 E5A5  695E 4456 FB6C BC39 A4B0



pgpQUf6swTkT6.pgp
Description: PGP signature


Re: Multiple accesses to /dev/dsp

1999-10-13 Thread Rob Mahurin
On Tue, Oct 12, 1999 at 07:21:06PM -0600, Dwayne C . Litzenberger wrote:
 Anyone know of a kernel patch that basically lets any number of processes
 open /dev/dsp any number of times?
 
 Basically, a microphone splitter and a speaker mixer in one?  I know this
 would take CPU time, but I'd like to be able to play a RealAudio stream,
 while hearing the superfluous sounds of KDE, while talking to a friend via
 SpeakFreely. 
 
 I know it should be possible, but I've never seen it done.
 

I've heard that esound or something like that (from enlightenment) can
do that, but I've not played with it myself.  Anybody else?

Rob

-- 
Never go to bed mad.  Stay up and fight.
-- Phyllis Diller, Phyllis Diller's Housekeeping Hints


Re: Multiple accesses to /dev/dsp

1999-10-13 Thread Matthew Dalton

Rob Mahurin wrote:
 
 
  I know it should be possible, but I've never seen it done.
 
 
 I've heard that esound or something like that (from enlightenment) can
 do that, but I've not played with it myself.  Anybody else?
 

I heard the same thing, but the programs have to be written to use
esound, otherwise they don't work at all while esound is running (esound
takes over /dev/dsp).

Esound basically acts as a mixer - taking input from the user programs,
mixing it together and feeding it to /dev/dsp.


Re: Multiple accesses to /dev/dsp

1999-10-13 Thread Brad
-BEGIN PGP SIGNED MESSAGE-

On Wed, 13 Oct 1999, Matthew Dalton wrote:

 Rob Mahurin wrote:
  
   I know it should be possible, but I've never seen it done.
  
  I've heard that esound or something like that (from enlightenment) can
  do that, but I've not played with it myself.  Anybody else?
 
 I heard the same thing, but the programs have to be written to use
 esound, otherwise they don't work at all while esound is running (esound
 takes over /dev/dsp).

Esound comes with a program esddsp that can, in some cases, make these
programs use esound instead of /dev/dsp. It doesn't always work though.

Also, if you can convince the program to produce output on stdout, you can
pipe it to esdcat (with sox in between if necessary)

 Esound basically acts as a mixer - taking input from the user programs,
 mixing it together and feeding it to /dev/dsp.

In the ALSA docs it mentions a feature like this as well. However, it
would only work for progs written to use alsa, and it hasn't actually been
implimented yet AFAIK.


- -- 
  finger for PGP public key.

-BEGIN PGP SIGNATURE-
Version: 2.6.3ia
Charset: noconv

iQCVAwUBOAQVHL7M/9WKZLW5AQHnOwQAnN24o3+gcf8Q0cBgPvkYzWR+qJ8/uCTo
r8LtqMrkYw+D4gaj7Ycp+H9qNfbs5F5ChZEsYFUFhs0PX8Of2aSFt9Q7gakiOtsw
JTeR7ULsopFVEaXbfxTApEJjaAYCxeMwr/YrmOAZw9V8bop1waBU5Vk4HMncuSIG
M6lGHbYAZrc=
=LCyZ
-END PGP SIGNATURE-


Re: Multiple accesses to /dev/dsp

1999-10-13 Thread John Foster
Rob Mahurin wrote:
 
 On Tue, Oct 12, 1999 at 07:21:06PM -0600, Dwayne C . Litzenberger wrote:
  Anyone know of a kernel patch that basically lets any number of processes
  open /dev/dsp any number of times?
 
  Basically, a microphone splitter and a speaker mixer in one?  I know this
  would take CPU time, but I'd like to be able to play a RealAudio stream,
  while hearing the superfluous sounds of KDE, while talking to a friend via
  SpeakFreely.
 
  I know it should be possible, but I've never seen it done.
 
 
 I've heard that esound or something like that (from enlightenment) can
 do that, but I've not played with it myself.  Anybody else?
 
 Rob
-
I use OSS the commercial version as my sound driver and I also run
esound from my Gnome desktop. It was purely an accident but I found that
all of the Gnome system sounds are output via esound and I can use the
CD player from XMCD to have music at the same time. I also noticed that
my microphone is active too, since I was getting some bad feedback
noise. I was able to use the Gnome mixer to control all of this, so that
it works OK. The wierd thing is that I have to log in and start both OSS
and Esound as root, in an Xterm, in Gnome; then log out and log back in
as a user to have it work in a regular session. If any one knows how to
get them both running at boot up I would appreciate some help. I have
only been experimenting with sounds for a month or so. Thanks. BTW I run
ICEGnome not enlightenment and I have a Gnome taskbar hidden at the top
of the screen and a ICE debian taskbar hidden at the bottom of the
screen. Works great!
-- 
John Foster
AdVance-Computing Systems
[EMAIL PROTECTED]
ICQ# 19460173


Re: Multiple accesses to /dev/dsp

1999-10-13 Thread Dwayne C . Litzenberger
I knew about Esound, but I need something that:
 - Split input (microphone, etc) to multiple processes
 - Works with existing programs (eg. Quake)

This is probably a wishlist item for ALSA, but I was wondering if anyone
already knew on a *kernel* patch that does the mixing at the /dev/dsp
level.

On Wed, Oct 13, 1999 at 01:30:23AM -0500, John Foster wrote:
 Rob Mahurin wrote:
  
  On Tue, Oct 12, 1999 at 07:21:06PM -0600, Dwayne C . Litzenberger wrote:
   Anyone know of a kernel patch that basically lets any number of processes
   open /dev/dsp any number of times?
  
   Basically, a microphone splitter and a speaker mixer in one?  I know this
   would take CPU time, but I'd like to be able to play a RealAudio stream,
   while hearing the superfluous sounds of KDE, while talking to a friend via
   SpeakFreely.
  
   I know it should be possible, but I've never seen it done.
  
  
  I've heard that esound or something like that (from enlightenment) can
  do that, but I've not played with it myself.  Anybody else?
  
  Rob
 -
 I use OSS the commercial version as my sound driver and I also run
 esound from my Gnome desktop. It was purely an accident but I found that
 all of the Gnome system sounds are output via esound and I can use the
 CD player from XMCD to have music at the same time. I also noticed that
 my microphone is active too, since I was getting some bad feedback
 noise. I was able to use the Gnome mixer to control all of this, so that
 it works OK. The wierd thing is that I have to log in and start both OSS
 and Esound as root, in an Xterm, in Gnome; then log out and log back in
 as a user to have it work in a regular session. If any one knows how to
 get them both running at boot up I would appreciate some help. I have
 only been experimenting with sounds for a month or so. Thanks. BTW I run
 ICEGnome not enlightenment and I have a Gnome taskbar hidden at the top
 of the screen and a ICE debian taskbar hidden at the bottom of the
 screen. Works great!
 
-- 
I already have all the latest software.
 -- Laura Winslow, Family Matters

Dwayne C. Litzenberger - [EMAIL PROTECTED]

Advertising Policy: http://DLitzPower.tripod.com/spamoff.htm
GnuPG Public Key:   http://DLitzPower.tripod.com/gpgkey.asc
 Fingerprint:   0535 F7CF FF5F 8547 E5A5  695E 4456 FB6C BC39 A4B0



pgpBXvnCfCgTG.pgp
Description: PGP signature


Re: Multiple accesses to /dev/dsp

1999-10-13 Thread aphro
i may be wrong but i think the esound daemon does this, not though in the
way you say.

i believe, apps send the output of the audio to the daemon and the daemon
opens /dev/dsp and outputs it there.  any number of apps can talk to the
daemon and the daemon can/will output sound from multiple sources.

i've never used it just read bits about it, i could be wrong :)

nate

[mailto:[EMAIL PROTECTED] ]--
  Linux System Administrator   http://www.firetrail.com/
  Firetrail Internet Services Limited  http://www.aphroland.org/
   Everett, WA 425-348-7336http://www.linuxpowered.net/
Powered By:http://comedy.aphroland.org/
Debian 2.1 Linux 2.0.36 SMPhttp://yahoo.aphroland.org/
-[mailto:[EMAIL PROTECTED] ]--

On Tue, 12 Oct 1999, Dwayne C . Litzenberger wrote:

 Anyone know of a kernel patch that basically lets any number of processes
 open /dev/dsp any number of times?
 
 Basically, a microphone splitter and a speaker mixer in one?  I know this
 would take CPU time, but I'd like to be able to play a RealAudio stream,
 while hearing the superfluous sounds of KDE, while talking to a friend via
 SpeakFreely. 
 
 I know it should be possible, but I've never seen it done.
 
 -- 
 I already have all the latest software.
  -- Laura Winslow, Family Matters
 
 Dwayne Litzenberger - [EMAIL PROTECTED]
 
 Advertising Policy: http://DLitzPower.tripod.com/spamoff.htm
 GnuPG Public Key:   http://DLitzPower.tripod.com/gpgkey.asc
  Fingerprint:   0535 F7CF FF5F 8547 E5A5  695E 4456 FB6C BC39 A4B0