Re: Voice-chat on OpenBSD with nothing more than aucat and ssh

2009-06-06 Thread Jacob Meuser
On Sat, Jun 06, 2009 at 11:10:29PM -0400, Nick Guenther wrote: > On Sat, Jun 6, 2009 at 3:18 PM, Alexandre Ratchov wrote: > > On Fri, Jun 05, 2009 at 06:02:01PM -0400, Ryan Flannery wrote: > >> With the recent work done to the audio system on OpenBSD, a buddy of > >> mine and I figured it should be

Re: Voice-chat on OpenBSD with nothing more than aucat and ssh

2009-06-06 Thread Nick Guenther
On Sat, Jun 6, 2009 at 3:18 PM, Alexandre Ratchov wrote: > On Fri, Jun 05, 2009 at 06:02:01PM -0400, Ryan Flannery wrote: >> With the recent work done to the audio system on OpenBSD, a buddy of >> mine and I figured it should be easy to setup two-way voice-chat >> between two OpenBSD clients using

Re: Voice-chat on OpenBSD with nothing more than aucat and ssh

2009-06-06 Thread Ted Walther
On Sat, Jun 06, 2009 at 05:01:26PM -0400, Ryan Flannery wrote: Could that be why "-b 1" is working? Also, with "-b 1024", the delay is around a half-second... not too bad. Counter-intuitive as it seems, keep your buffer -b 1024, and increase the sampling rate to 44100. Tell me if latency does

Re: Voice-chat on OpenBSD with nothing more than aucat and ssh

2009-06-06 Thread Jacob Meuser
On Sat, Jun 06, 2009 at 05:01:26PM -0400, Ryan Flannery wrote: > On Sat, Jun 6, 2009 at 4:43 PM, Jacob Meuser wrote: > > On Sat, Jun 06, 2009 at 03:34:08PM -0400, Ryan Flannery wrote: > > > >> aucat -b 1 -l > > > > this '-b 1' bugs me. you're telling aucat to process each frame > > individually ..

Re: Voice-chat on OpenBSD with nothing more than aucat and ssh

2009-06-06 Thread Ryan Flannery
On Sat, Jun 6, 2009 at 4:43 PM, Jacob Meuser wrote: > On Sat, Jun 06, 2009 at 03:34:08PM -0400, Ryan Flannery wrote: > >> aucat -b 1 -l > > this '-b 1' bugs me. you're telling aucat to process each frame > individually ... sort of. > > it really means "as small as possible". in server mode, you'l

Re: Voice-chat on OpenBSD with nothing more than aucat and ssh

2009-06-06 Thread Jacob Meuser
On Sat, Jun 06, 2009 at 03:34:08PM -0400, Ryan Flannery wrote: > aucat -b 1 -l this '-b 1' bugs me. you're telling aucat to process each frame individually ... sort of. it really means "as small as possible". in server mode, you'll get the smallest buffer that the hardware supports, so the res

Re: Voice-chat on OpenBSD with nothing more than aucat and ssh

2009-06-06 Thread Alexandre Ratchov
On Sat, Jun 06, 2009 at 03:34:08PM -0400, Ryan Flannery wrote: > > I had forgot to mention the following in my original post... > Obviously, when piping the aucat output through ssh, ssh itself is > going to introduce some delay. However, just trying the following... > > aucat -l > aucat -o - |

Re: Voice-chat on OpenBSD with nothing more than aucat and ssh

2009-06-06 Thread Ryan Flannery
On Sat, Jun 6, 2009 at 3:18 PM, Alexandre Ratchov wrote: > On Fri, Jun 05, 2009 at 06:02:01PM -0400, Ryan Flannery wrote: >> With the recent work done to the audio system on OpenBSD, a buddy of >> mine and I figured it should be easy to setup two-way voice-chat >> between two OpenBSD clients using

Re: Voice-chat on OpenBSD with nothing more than aucat and ssh

2009-06-06 Thread Alexandre Ratchov
On Fri, Jun 05, 2009 at 06:02:01PM -0400, Ryan Flannery wrote: > With the recent work done to the audio system on OpenBSD, a buddy of > mine and I figured it should be easy to setup two-way voice-chat > between two OpenBSD clients using nothing more than aucat(1) and > ssh(1). As we found out, it

Re: Voice-chat on OpenBSD with nothing more than aucat and ssh

2009-06-05 Thread Neal Hogan
cheers On Fri, Jun 5, 2009 at 6:34 PM, Hannah Schroeter wrote: > Hi! > > On Fri, Jun 05, 2009 at 06:02:01PM -0400, Ryan Flannery wrote: > >[...] > > >"deeper" and more "muted". Any other options, to aucat or perhaps > >audioctl, that one could play with to reduce this? > > I guess you could try

Re: Voice-chat on OpenBSD with nothing more than aucat and ssh

2009-06-05 Thread Hannah Schroeter
Hi! On Fri, Jun 05, 2009 at 06:02:01PM -0400, Ryan Flannery wrote: >[...] >"deeper" and more "muted". Any other options, to aucat or perhaps >audioctl, that one could play with to reduce this? I guess you could try to reduce the buffer size on the aucat *servers* (-b on the aucat *-l* invocatio

Re: Voice-chat on OpenBSD with nothing more than aucat and ssh

2009-06-05 Thread Jacob Meuser
On Fri, Jun 05, 2009 at 06:02:01PM -0400, Ryan Flannery wrote: > Any other options, to aucat or perhaps > audioctl, that one could play with to reduce this? I forgot to say, audioctl isn't really useful for anything but exploring/debugging. you really shouldn't mess with audioctl on a running s

Re: Voice-chat on OpenBSD with nothing more than aucat and ssh

2009-06-05 Thread Jacob Meuser
On Fri, Jun 05, 2009 at 06:02:01PM -0400, Ryan Flannery wrote: > With the recent work done to the audio system on OpenBSD, a buddy of > mine and I figured it should be easy to setup two-way voice-chat > between two OpenBSD clients using nothing more than aucat(1) and > ssh(1). As we found out, it

Re: Voice-chat on OpenBSD with nothing more than aucat and ssh

2009-06-05 Thread raven
Ryan Flannery ha scritto: With the recent work done to the audio system on OpenBSD, a buddy of [snip] audioctl, that one could play with to reduce this? Maybe is stupid but r just my 2 cent , but trying to use blowfish cipher? I noticed a little difference using this cipher when i've t

Re: Voice-chat on OpenBSD with nothing more than aucat and ssh

2009-06-05 Thread Ryan Flannery
Well, if you'd like to test with a fellow openbsd user and play around with some of the settings, feel free to hit me up. ps - I'm loving smtpd... your efforts there are also greatly appreciated. On Fri, Jun 5, 2009 at 6:05 PM, Gilles Chehade wrote: > Wow, that's an interesting use of using aucat

Re: Voice-chat on OpenBSD with nothing more than aucat and ssh

2009-06-05 Thread Martin Schröder
2009/6/6, Ryan Flannery : > ryan# grep ryan /etc/passwd man id id -u ryan Best Martin

Re: Voice-chat on OpenBSD with nothing more than aucat and ssh

2009-06-05 Thread Gilles Chehade
Wow, that's an interesting use of using aucat and ssh, you made me curious and i'm going to try it :-) Gilles On Fri, Jun 05, 2009 at 06:02:01PM -0400, Ryan Flannery wrote: > With the recent work done to the audio system on OpenBSD, a buddy of > mine and I figured it should be easy to setup two-w

Voice-chat on OpenBSD with nothing more than aucat and ssh

2009-06-05 Thread Ryan Flannery
With the recent work done to the audio system on OpenBSD, a buddy of mine and I figured it should be easy to setup two-way voice-chat between two OpenBSD clients using nothing more than aucat(1) and ssh(1). As we found out, it is both very easy and very usable! We have telephone-quality chatting