Re: Bidirectional audio between OpenBSD sndiod <-> Debian pulseaudio

2021-05-10 Thread Alexandre Ratchov
On Mon, May 10, 2021 at 07:05:49PM +, Martin wrote: > Hi, > > Great experience! But I have no possibility to recompile each sound producer > software to have sndio support. > > So my way is to use additional layer of well implemented sound architecture > and it add additional layer to

Re: Bidirectional audio between OpenBSD sndiod <-> Debian pulseaudio

2021-05-09 Thread Alexandre Ratchov
On Sat, May 08, 2021 at 10:29:35AM +, Martin wrote: > Hi list, > > It is great to have bidirectional audio between OpenBSD host and Debian guest > (headless). I hope I move in a right way to make this thing working. > > Required configuration: > mic-in on OpenBSD host >> Debian VMM guest >

Re: .profile not being loaded (ksh) when opening shell in X

2021-04-27 Thread Alexandre Ratchov
On Mon, Apr 26, 2021 at 09:26:19PM +, tetrahe...@danwin1210.me wrote: > I have some custom additions to my $PATH. They're defined in ~/.profile and > they are correctly loaded when I log in from a text console. > > When I log in to X (cwm) and open a terminal window, $PATH does not contain >

Re: How do I change the default per-application sound volume in sndiod?

2021-04-26 Thread Alexandre Ratchov
On Sun, Apr 25, 2021 at 11:57:42PM -0500, John Batteen wrote: > Greetings misc, > > I am running 6.9 and am having some difficulty. I have > outputs.master=255,255 set in mixerctl.conf (it is the only line in > the file), but every time I open an application its individual > volume is set to

Re: sndio: way to play and record from different devices?

2021-04-19 Thread Alexandre Ratchov
On Mon, Apr 19, 2021 at 09:40:37AM -0500, Ax0n wrote: > I have a nice microphone attached to a USB sound device, but I'd like to > rely on my computer's built-in line out for speakers from the same program > (e.g. Audacity, Firefox). It feels like sndio might have some way to let > programs use

Re: Microphone not working on Gen8 ThinkPad X1 Carbon

2021-03-29 Thread Alexandre Ratchov
On Sun, Mar 28, 2021 at 11:58:15AM -0500, Ax0n wrote: > I initially noticed it when I hopped in a video room on Discord in Firefox > and folks could see me and I could hear them, but Discord got no audio. It > turns out, nothing gets any audio. sysctl has audio and video recording > enabled, and

Re: sound question

2021-01-18 Thread Alexandre Ratchov
On Mon, Jan 18, 2021 at 12:00:40PM +0100, Peter J. Philipp wrote: > On Mon, Jan 18, 2021 at 11:29:54AM +0100, Alexandre Ratchov wrote: > > On Mon, Jan 18, 2021 at 10:16:53AM +0100, Peter J. Philipp wrote: > > > Hi, > > > > > > I recently switched my desktop wor

Re: sound question

2021-01-18 Thread Alexandre Ratchov
On Mon, Jan 18, 2021 at 10:16:53AM +0100, Peter J. Philipp wrote: > Hi, > > I recently switched my desktop workstation to a raspberry pi 4B with 8 GB RAM. > Since the sound there doesn't work yet, I got a USB sound card, the make of > the sound card is best read from usbdevs -v: > > addr 08:

Re: Internal Microphone on Thinkpad X1 Carbon 7th gen not working

2020-12-10 Thread Alexandre Ratchov
On Thu, Dec 10, 2020 at 10:30:56AM +0100, Anders Damsgaard wrote: > * Stefan Hagen [2020-12-10 10:14:35 +0100]: > > > Bodie wrote: > > > > > > > > > On 9.12.2020 20:43, Stefan Hagen wrote: > > > > Hello Zachary, > > > > > > > > Zachary Campbell wrote: > > > > > Any luck with this? I am also

Re: sndiod -F does not switch to device

2020-11-23 Thread Alexandre Ratchov
On Sun, Nov 22, 2020 at 07:48:14PM +0100, Jan Stary wrote: > This is current/amd64 (dmesg below), > running /usr/bin/sndiod -f rsnd/0 -F rsnd/1 > > While the -F feature works with most USB audio devices I have tried, > it does not make the switch to use the -F device > with this USB camera with a

Re: Sound/audio onFirefox on 6.8

2020-10-26 Thread Alexandre Ratchov
On Fri, Oct 23, 2020 at 03:58:55PM -0600, Duncan Patton a Campbell wrote: > > Hey Maurice. The audio works elsewhere and this looks to be > a Zombie Bugzilla bug come back from the dead. Something > about needing to directly link to sndio and skip the "cubeb" something... > > Dhu > > This is

Re: Thinkpad T400 only records from the external mic

2020-10-19 Thread Alexandre Ratchov
On Sat, Oct 17, 2020 at 07:05:53PM +0200, Jan Stary wrote: > > Strangely, with each of > >$ aucat -i /tmp/file.wav >$ aucat -o /tmp/file.wav > > it is both > > play.bytes=562560 > record.bytes=562560 > > that keep growing in audioctl. Is that intended? Yes. We

Re: USB to 3.5mm jack audio adapter

2020-09-09 Thread Alexandre Ratchov
On Wed, Sep 09, 2020 at 03:49:21PM +0200, Paul de Weerd wrote: > Hi all, > > As I don't have a microphone to use with my azalia(4) sound card, and > my webcam only has audio input (no output), I can't use my current > hardware in firefox to do videoconferencing. So I purchased (what I > thought

Re: 6.7 and sound

2020-09-03 Thread Alexandre Ratchov
On Thu, Sep 03, 2020 at 08:39:45PM -0600, Austin Hook wrote: > > Can't seem to parse the instructions in > http://www.openbsd.org/faq/upgrade67.html > > for how to re-enable an ordinary non root user of Firefox or mplayer to > output audio. > > mplayer works fine as root, but what command

Re: writing aucat output

2020-06-05 Thread Alexandre Ratchov
On Fri, Jun 05, 2020 at 12:06:54PM +0200, Peter J. Philipp wrote: > Hi, > > I'm wondering how I can write to stdout on aucat? Here is what I have: > > beta$ /usr/bin/aucat -r 44100 -h wav -i ewhist2.wav -o - | hexdump -C > stdout: failed to seek back to header > beta$ /usr/bin/aucat -r 44100 -h

Re: Distorted sound in 6.7

2020-05-24 Thread Alexandre Ratchov
On Fri, May 22, 2020 at 12:35:06PM +0100, Maurice McCarthy wrote: > Hi, > > Since installing 6.7 I've found that human voices in mpv or youtube > sound either very quiet or as-if "under water" or bubbly. I was > unable to cure this with sndioctl but succeeded with the old mixerctl > > doas

Re: Multimedia FAQ

2020-05-07 Thread Alexandre Ratchov
On Thu, May 07, 2020 at 06:12:21PM -0300, Oficial wrote: > Hi, > > The multimedia FAQ (https://www.openbsd.org/faq/faq13.html), list some > mixerctl outputs like: > > outputs.headphones=160,160 > outputs.headphones.mute=off > > In my system (current i386) there is no "outputs.headphones.mute"

Re: Sound is good on OpenBSD

2020-04-29 Thread Alexandre Ratchov
On Wed, Apr 29, 2020 at 11:46:06AM +0200, Moises Simon wrote: > On Tue, Apr 28, 2020 at 03:38:58PM -0500, Abel Abraham Camarillo Ojeda wrote: > > I think increasing -b option in sndiod helps to prevent audio jumping, I > > hear music with a local mpd with music directory over nfs, plus a lot of >

Re: couldn't find audio device

2020-04-24 Thread Alexandre Ratchov
On Fri, Apr 24, 2020 at 09:43:12AM +0200, Damien Thiriet wrote: > Hi misc@, > > > I am trying to make audio records from my web cam but > cannot succeed in doing it. > I read the FAQ, aucat(1), audioctl(1) and sndiod(8) man pages (but I > certainly misunderstood them) and searched the mailing

Re: Using a C310 Logitech webcam mic with internal speakers

2020-04-23 Thread Alexandre Ratchov
On Thu, Apr 23, 2020 at 10:01:52AM -0400, Jon Fineman wrote: > On 2020-04-23 08:40, Alexandre Ratchov wrote: > > On Wed, Apr 22, 2020 at 02:17:35PM +, Jon Fineman wrote: > > > > > > Is there a way to set the mic to one channel and the speakers to > > >

Re: Using a C310 Logitech webcam mic with internal speakers

2020-04-23 Thread Alexandre Ratchov
On Wed, Apr 22, 2020 at 02:17:35PM +, Jon Fineman wrote: > > Is there a way to set the mic to one channel and the speakers to > another? Or merge the speakers from channel rsnd/0 and rsnd/1 > together and have them output on rsnd/0? Sorry, two devices can't be combined into a single one on

Re: sndioctl double behaviour

2020-04-22 Thread Alexandre Ratchov
On Tue, Apr 21, 2020 at 09:38:04AM -0600, Theo de Raadt wrote: > Looks broken. > > Mihai Popescu wrote: > > > Hi, > > > > It's clear OpenBSD is moving to sndioctl. I used it, but I got some > > "strange" behaviour. > > Watching youtube in chromium, tried this: > > > > $ sndioctl

Re: sndioctl double behaviour

2020-04-21 Thread Alexandre Ratchov
On Tue, Apr 21, 2020 at 06:13:42PM +0300, Mihai Popescu wrote: > Hi, > > It's clear OpenBSD is moving to sndioctl. I used it, but I got some > "strange" behaviour. > Watching youtube in chromium, tried this: > > $ sndioctl output.level=1 > default: can't open control device > > After closing /

Re: sndioctl and USB HID keyboard

2020-04-21 Thread Alexandre Ratchov
On Tue, Apr 21, 2020 at 03:15:58AM +0200, Erling Westenvik wrote: > > > > > > I'm a bit confused now... so why the previous usbhidaction configuration > > > (which was aligned to the manpage suggestions and worked flawlessly for > > > years) doesn't work anymore? > > > > Sorry, few weeks ago

Re: sndioctl and USB HID keyboard

2020-04-20 Thread Alexandre Ratchov
On Mon, Apr 20, 2020 at 08:00:05PM +0200, Alessandro De Laurenzis wrote: > Hello Alexandre, > > On 20/04/2020 - 19:50, Alexandre Ratchov wrote: > > On Mon, Apr 20, 2020 at 07:35:03PM +0200, Alessandro De Laurenzis wrote: > > > Hello Alexandre, > > > >

Re: sndioctl and USB HID keyboard

2020-04-20 Thread Alexandre Ratchov
On Mon, Apr 20, 2020 at 07:35:03PM +0200, Alessandro De Laurenzis wrote: > Hello Alexandre, > > Thanks for your prompt feedback. > > On 20/04/2020 - 18:00, Alexandre Ratchov wrote: > [...] > > > > This is the right way of doing it except that the user-id ru

Re: sndioctl and USB HID keyboard

2020-04-20 Thread Alexandre Ratchov
On Mon, Apr 20, 2020 at 05:07:26PM +0200, Alessandro De Laurenzis wrote: > Greetings, > > Latest -current here: > > OpenBSD theseus.atlantide.priv 6.7 GENERIC.MP#140 amd64 > > Of course, mixerctl doesn't work anymore for volume control. > > I have a Logitech wireless keyboard whose multimedia

Re: Problem with mixerctl on latest snapshot

2020-04-19 Thread Alexandre Ratchov
On Sun, Apr 19, 2020 at 09:11:16AM +0200, zeurk...@volny.cz wrote: > > > Now programs connect to sndiod which does the hardware access for > > them, this has other advantages as well: > > - programs control the volume of the right device on systems with > > multiple audio devices (ex. usb head

Re: Problem with mixerctl on latest snapshot

2020-04-19 Thread Alexandre Ratchov
On Sat, Apr 18, 2020 at 03:53:19PM -0700, Renato Aguiar wrote: > Hi, > > After updating to latest snapshot, mixerctl stopped working with non-root > user: > >$ mixerctl >mixerctl: /dev/audioctl0: Permission denied >$ ls -l /dev/audioctl0 >crw-rw 1 root _sndiop 42, 192 Apr

Re: Record with a device, playback with another with sndiod

2020-03-16 Thread Alexandre Ratchov
On Sat, Mar 14, 2020 at 09:10:19AM +0100, David Demelier wrote: > Hello, > > I'm trying to setup sndiod to record input using my laptop's builtin > microphone but using an USB sound card for output. > > The microphone does work correctly because I was able to record some > test using aucat > >

Re: Jitsi on OpenBSD

2020-03-16 Thread Alexandre Ratchov
On Mon, Mar 16, 2020 at 10:59:08AM +, Edd Barrett wrote: > Hi, > > (CC people who may be knowledgable in this area) > > I was wondering if anyone has got the Jitsi (https://jitsi.org/) > web-client working on OpenBSD? > > It's open-source (and self-hostable) video conferencing. > > No

Re: aucat - join two mono files into stereo

2020-02-10 Thread Alexandre Ratchov
On Mon, Feb 10, 2020 at 10:45:02PM +0100, Jan Stary wrote: > I must be missing something obvious. > How does aucat mix two mono files into one stereo file > as the left and right channel, respectively? > You have to specify which file goes to which channel, for instance: aucat -n -c 0:0

Re: USB M-Audio as default audio output

2020-01-24 Thread Alexandre Ratchov
On Fri, Jan 24, 2020 at 04:04:40PM +0100, Thomas de Grivel wrote: > Hello misc, > > I have a USB M-Audio card which is very well supported by OpenBSD 6.6 amd64 > > My question is : how do I setup an USB audio card as the default audio > device whenever it is plugged in ? > > Also I did not

Re: Userland PCI drivers possible in OpenBSD?

2020-01-11 Thread Alexandre Ratchov
On Fri, Jan 10, 2020 at 03:58:16AM +, Joseph Mayer wrote: > Maybe this topic is better suited for tech@, you tell: > > Is there some way I can implement PCI drivers in userland in OpenBSD? > > On a quick Internet search, see some discussion for Linux and NetBSD > e.g. [1] however nothing in

Re: midiplay and FAQ ?

2019-12-28 Thread Alexandre Ratchov
On Sat, Dec 28, 2019 at 02:25:22PM -0500, Paul Wisehart wrote: > I'm on a recently upgraded OpenBSD 6.6 machine. > > I'm reading about midiplay here: > https://www.openbsd.org/faq/faq13.html#midi > > There is no midiplay command on the machine, but there is on a 6.5 > machine. In the man view

Re: mpd: failed to open default sndio device

2019-10-18 Thread Alexandre Ratchov
On Fri, Oct 18, 2019 at 02:34:48PM +0300, Кирилл wrote: > Hello. > After install mpd: > $ mpc play > Antimatter - Over Your Shoulder > [paused] #1/7 0:00/4:41 (0%) > volume:100% repeat: off random: off single: off consume: off > ERROR: Failed to open "sndio output" (sndio); Failed to

Re: USB speakers, no sound

2019-08-10 Thread Alexandre Ratchov
On Sat, Aug 10, 2019 at 07:58:14PM +, Doug Moss wrote: > no sound from USB speakers > > dmesg: > azalia0 at pci0 dev 27 function 0 "Intel 6 Series HD Audio" rev 0x05: msi > azalia0: codecs: Realtek ALC888, Intel/0x2805, using Realtek ALC888 > audio0 at azalia0 > ... > uhub5 at uhub3 port 1

Re: firefox, sndiod and pledge

2019-06-02 Thread Alexandre Ratchov
On Thu, May 30, 2019 at 09:07:45PM -, Stuart Henderson wrote: > On 2019-05-30, Hrvoje Popovski wrote: > > Hi all, > > > > i'm not sure is this intended or not, but if sndiod isn't running and if > > i want to open youtube video with firefox i got this log > > firefox[54192]: pledge "tty",

Re: sndio? aucat -i s.wav: "default: couldn't open audio device"

2019-05-15 Thread Alexandre Ratchov
On Tue, May 14, 2019 at 06:57:48PM -0500, Juan Zuluaga wrote: > Thank you Alexandre! > > I did > # sndiod -ddd -r 44100 -f rsnd/1 -m play sorry, there's a typo in the command I sent you, the correct device number is "0", as the device appears as "audio0" in dmesg. The correct command is: sndiod

Re: USB sound card not playing

2019-05-14 Thread Alexandre Ratchov
On Wed, May 09, 2018 at 04:06:41PM +0200, John Wilkes wrote: > > OpenBSD 6.3 (GENERIC.MP) #107: Sat Mar 24 14:21:59 MDT 2018 > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP There were a lot of changes in usb audio support, please try -current or at least OpenBSD 6.5

Re: USB sound card not playing

2019-05-14 Thread Alexandre Ratchov
On Tue, May 14, 2019 at 11:29:45AM +0900, Tuyosi T wrote: > i use 6.6 snapshots and USB sound card . > the card play youtube well including sound . > > -- > $ dmesg | grep audio > uaudio0 at uhub2 port 4 configuration 1 interface 1 "C-Media > Electronics Inc. USB Audio

Re: sndio? aucat -i s.wav: "default: couldn't open audio device"

2019-05-14 Thread Alexandre Ratchov
On Mon, May 13, 2019 at 03:53:51PM -0500, Juan Zuluaga wrote: > Hello all, > > I have audio trouble: no sound whatsoever, and error messages. > > In a first terminal window, as root, I typed > # sndiod -ddd > The ISA bus (actually the PC-XT DMA controller which didn't evolve since 1980) is not

Re: headphone volume levels cannot be manipulated by mixerctl

2019-04-28 Thread Alexandre Ratchov
On Sat, Apr 27, 2019 at 10:10:07AM -0500, joshua stein wrote: > On Sat, 27 Apr 2019 at 14:20:32 -, Christian Weisgerber wrote: > > However, as in this example, I think you will only get a few generic > > controls. > > > > It is my theoretical understanding that USB audio gadgets typically > >

Re: A question about umidi(4) Roland UM-1 support

2019-04-15 Thread Alexandre Ratchov
On Sun, Apr 14, 2019 at 07:15:33PM +0200, Alejandro G. Peregrina wrote: > Hello misc, > > I'm going to purchase Roland UM-ONE MK2 midi-to-usb converter to play > synthesizers from OpenBSD. > > umidi(4) manual stays that Roland UM-1 is supported along other specific > vendor models. Also, I've

Re: video decoding and playback in OpenBSD

2019-03-25 Thread Alexandre Ratchov
On Mon, Mar 25, 2019 at 06:05:58PM +0200, Mihai Popescu wrote: > Hello, > > I am trying to find some hardware for an OpenBSD multimedia computer. > I plan to attach it on a HDMI TV and play youtube on it, 1080p@30fps > or more. No 4K involved. > > My thinking is to go for an AMD A8-6500

Re: xhci isochronous transfers

2019-03-17 Thread Alexandre Ratchov
On Sat, Mar 16, 2019 at 06:58:55PM -0700, Nam Nguyen wrote: > > > This procedure is sufficient when I use a USB 2 port. > > I forgot to test USB 2 at the time of my original e-mail. There is > actually a regression and both USB 2 and USB 3 ports throw the same > error. > >

Re: video(1) Unable to use webcam

2019-02-19 Thread Alexandre Ratchov
On Tue, Feb 19, 2019 at 06:16:42PM +0200, Vitaly Kovalyshyn wrote: > I have disabled USB3.0 in the BIOS and my camera now works. > Thank you. > > Is it posible to use USB3.0 and webcam at the same time in OpenBSD? Not yet on all machines and webcam combinations.

Re: Setitimer() resolution?

2018-12-14 Thread Alexandre Ratchov
On Thu, Dec 13, 2018 at 09:27:12PM +, Paul Swanson wrote: > Hi, > > I'm trying to understand how interval timers work in OpenBSD, > but I'm a little stuck on this line from the getitimer / setitimer man page: > > "Time values smaller than the resolution of the system clock > are rounded up

Re: Qsynth midi latency not low enough... what to do?

2018-12-02 Thread Alexandre Ratchov
On Sat, Dec 01, 2018 at 01:19:00PM -0600, Adam Thompson wrote: > PROBLEM STATEMENT: driving FluidSynth from a MIDI controller produces ~1/4sec > delay between keypress and sound. > [...] > Is sndio(4) suitable for real-time(-ish) performance? Or do I need > a (OS) platform that does ASIO or

Re: XORG Doesnt start after syspatch

2018-11-22 Thread Alexandre Ratchov
On Wed, Nov 21, 2018 at 06:12:55PM -0600, Manuel Solis wrote: > Hello Misc. > > I have installed 64 in a macbook and it works great and out of the box, > however i notice that after i run syspatch and reboot, xorg doesn´t start > at all. > Until this problem is fixed, Xorg must be started by

Re: recommended h/w for fanless audio-out?

2018-11-12 Thread Alexandre Ratchov
On Mon, Nov 12, 2018 at 12:30:30PM +, Colin Bortner wrote: > > For the NUC, USB 3.0 can be disabled in the bios, forcing the ehci driver, > and allowing me to use the USB DAC without issues. From dmesg: > > [...] > ehci0 at pci0 dev 29 function 0 "Intel 9 Series USB" rev 0x03: apic 2 int 23

Re: recommended h/w for fanless audio-out?

2018-11-12 Thread Alexandre Ratchov
On Sun, Nov 11, 2018 at 12:24:05PM -0600, Adam Thompson wrote: > Hello, > > I’d like to use OpenBSD to build a MIDI synthesizer using > SoundFonts, as the OpenBSD MIDI and audio subsystems are remarkably > understandable and sane, compared to everything else out there > today. > � > > However,

Re: Send midi to software

2018-11-04 Thread Alexandre Ratchov
On Sun, Nov 04, 2018 at 10:28:04AM -0500, Ken M wrote: > As an alternative could I cat rmidi0 to midithru0? > Yes. But we've no utility to do so in base, you could try to install this one: http://caoua.org/alex/obsd/midicat.tar.gz Then do: midicat -q rmidi/0 -q midithru/0 You could

Re: Send midi to software

2018-11-04 Thread Alexandre Ratchov
On Sat, Nov 03, 2018 at 02:26:59PM -0400, Ken M wrote: > So I am sure I am missing something stupid. Just the first time I have tried a > midi controller with openbsd. > > So the device shows in the dmesg > a hexdump shows I am receiving sounds > but in lmms even with a device set to receive

Re: Sound from vmm guest

2018-10-27 Thread Alexandre Ratchov
On Fri, Oct 26, 2018 at 07:49:16PM -0400, Ken M wrote: > > xfreerdp /sound:sys:sndio,dev:/dev/audio /v:host ^^ If this is the sndio device name, it should be "default", not "/dev/audio". You could do "man sndio" to see sndio device names syntax.

Re: Sound from vmm guest

2018-10-27 Thread Alexandre Ratchov
On Fri, Oct 26, 2018 at 07:49:16PM -0400, Ken M wrote: > So I am working on a bit of an experiment. I have a debian sid guest in vmm. > xrdp is installed as is the pulse audio module for xrdp so that it can see the > xrdp output in the mixer. I can connect just fine till I try to get sound out. >

Re: Sndiod restart fixes Chrome sndio_output.cc failed to open device

2018-10-25 Thread Alexandre Ratchov
On Wed, Oct 24, 2018 at 10:23:27PM +0100, Kevin Chadwick wrote: > I've made the pledge and entered the veil with Chrome. > > Sound works without restarting sndiod in other applications like aucat and > mozilla apps. > > For some reason the sound does not work in chrome even without enabling the

Re: USB Audio, Serial Terminal

2018-10-08 Thread Alexandre Ratchov
On Mon, Oct 08, 2018 at 03:10:58AM -0400, Katherine Rohl wrote: > > The first is using my USB headphones. I’ve tried following the > instructions in the FAQ (making sure that the audio device is set to > the correct uaudio) but to no avail. I’ve disabled my system’s > onboard AC’97 audio to make

Re: opening fifo locks process in D state

2018-09-20 Thread Alexandre Ratchov
On Wed, Sep 19, 2018 at 11:32:40PM +0200, michal.lyszc...@bofc.pl wrote: > Hello, > > I've stumbled upon a weird problem. Long story short, I try to open > fifo two times, once O_WRONLY and once O_RDONLY, both in separate > threads - but on process. Unfortunately both threads are locked in >

Re: location of ~/.aucat_cookie

2018-09-14 Thread Alexandre Ratchov
On Fri, Sep 14, 2018 at 09:22:59PM +0200, Olivier Regnier wrote: > Hi, > > Is it possible to disable the '.aucat_cookie' file or change his location? > This file was renamed to ~/.sndio/cookie in -current. It's necessary to programs connecting to sndiod, so it can't be deleted unless sndiod is

Re: autri(4) disabled by default

2018-07-31 Thread Alexandre Ratchov
On Tue, Jul 31, 2018 at 05:51:06PM +0100, Peter Kay wrote: > On 31 July 2018 at 14:22, Christian Weisgerber wrote: > > On 2018-07-31, Janne Johansson wrote: > > > >>> I see autri(4) is disabled by default in an amd64 kernel, probably > >>> others too, and has been for a very long time. > >> > >>

Re: autri(4) disabled by default

2018-07-31 Thread Alexandre Ratchov
On Tue, Jul 31, 2018 at 11:43:37AM +0100, Peter Kay wrote: > I see autri(4) is disabled by default in an amd64 kernel, probably > others too, and has been for a very long time. > > I can't see any notice of why this is so, anyone know? > > My secondary system has a Trident 4DWave in it (yes,

Re: sndiod internals

2018-06-22 Thread Alexandre Ratchov
On Wed, Jun 20, 2018 at 11:31:37PM +0200, Denis Buga wrote: > sorry for bad english no problem > if simplify, seems like we have three pairs of concepts, while in audio path > from file to card > file (Hz/bit), sndiod (Hz/bit), card (Hz/bit) > first and third is more or less i understand > by

Re: Reading files faster than raw disk?

2018-06-15 Thread Alexandre Ratchov
On Fri, Jun 15, 2018 at 09:10:44AM +0200, Maximilian Pichler wrote: > > For the raw device (rsd1c): > $ doas cat /dev/rsd1c | pv -bra -Ss500m | sha1 > 500MiB [25.5MiB/s] [25.5MiB/s] > ca17bdb9a657bbcf654a60057861be8fe02df0b1 > I don't understand above commads. If you do: $ dd if=/dev/rsd1c

Re: Different sound sources interfere with each other

2018-06-14 Thread Alexandre Ratchov
On Thu, Jun 14, 2018 at 08:40:56AM +0300, Максим wrote: > Hello, > I use USB headphones on OpenBSD amd64 6.3 > So they are detected on the system: > uaudio0 at uhub3 port 2 configuration 1 interface 0 "Sennheiser > Communications Sennheiser USB headset" rev 1.10/1.00 addr 3 > uaudio0: audio rev

Re: connect two midi devices

2018-05-26 Thread Alexandre Ratchov
On Sat, May 26, 2018 at 12:10:03AM +0200, Sebastian Reitenbach wrote: > Am Freitag, Mai 25, 2018 22:22 CEST, Alexandre Ratchov <a...@caoua.org> > schrieb: > > > On Fri, May 25, 2018 at 10:22:26AM +0200, Sebastian Reitenbach wrote: > > > Hi Alexandre, > > &g

Re: connect two midi devices

2018-05-25 Thread Alexandre Ratchov
On Fri, May 25, 2018 at 10:22:26AM +0200, Sebastian Reitenbach wrote: > Hi Alexandre, > > Am Freitag, Mai 25, 2018 08:41 CEST, Alexandre Ratchov <a...@caoua.org> > schrieb: > > > On Fri, May 25, 2018 at 12:21:18AM +0200, Alexandre Ratchov wrote: > > > >

Re: connect two midi devices

2018-05-25 Thread Alexandre Ratchov
On Fri, May 25, 2018 at 12:21:18AM +0200, Alexandre Ratchov wrote: > > Maybe, but unlikely. If the device attaches, generally it works. Show > what's received on midi2 when you type on the keyboard or do any other > simple actions. > fwiw, here's a small utility that I use very

Re: connect two midi devices

2018-05-24 Thread Alexandre Ratchov
On Thu, May 24, 2018 at 08:31:08PM +0200, Sebastian Reitenbach wrote: > Hi, > > I've finally got an el cheapo USB to midi converter. I just wanted to test > if I can make use of my Roland Aira gear that way, because the USB connection > is not class compliant. FYI, certain Roland gears have a

Re: sndio multiple interfaces

2018-05-21 Thread Alexandre Ratchov
On Sun, May 20, 2018 at 06:49:25PM -0400, Ken M wrote: > Been looking around and can't find the answer to this question. If I missed it > in some obvious place please excuse me. > > Anyway I am curious if sndio can support multiple simultaneous cards, either > identical or different, particularly

Re: Audio stuttering on media playback with sndiod

2018-04-24 Thread Alexandre Ratchov
On Sat, Apr 14, 2018 at 11:55:23AM +0200, Alexandre Ratchov wrote: > On Tue, Apr 10, 2018 at 03:20:33PM +0200, Robert Klein wrote: > > Hi Daniel, > > > > On Wed, 4 Apr 2018 03:22:04 -0300 > > Daniel Bolgheroni <dan...@bolgh.eng.br> wrote: > > > > &g

Re: Audio stuttering on media playback with sndiod

2018-04-14 Thread Alexandre Ratchov
On Tue, Apr 10, 2018 at 03:20:33PM +0200, Robert Klein wrote: > Hi Daniel, > > On Wed, 4 Apr 2018 03:22:04 -0300 > Daniel Bolgheroni wrote: > > > Hi, > > > > audio is stuttering on media playback when run through sndiod. It's OK > > without it. > > Maybe related.

Re: Intel C610 azalia (ALC888) not configuring at /dev/audio

2018-01-21 Thread Alexandre Ratchov
On Fri, Jan 19, 2018 at 05:23:06PM -0800, yu...@cock.li wrote: > Hello, > > I have just installed the latest snapshot and audio is not configuring, > i.e. the output of mixerctl, audioctl, et al are "device not configured". > My motherboard is a Supermicro X10DAL-I-O, which has the Intel C610 >

Re: How to share a secret between a process and its children ?

2017-11-17 Thread Alexandre Ratchov
On Thu, Nov 16, 2017 at 08:08:30PM +0100, Stephane Martin wrote: > Hello, > > I need to share a short secret (say, 32 bytes long) between a process - the > father - and its children. > > The father process generates a random secret at launch. Then it > launches multiple children, and children

Re: usb MIDI keyboard

2017-05-25 Thread Alexandre Ratchov
On Wed, May 24, 2017 at 10:33:16PM -0400, David H. Rhodes Clymer wrote: > So, I'm attempting to set up my midi controller/keyboard. Since this > is not itself a synthesizer, I need to hook it up to a software > synthesizer via my computer. Thus far I've failed to get it working. > > My keyboard

Re: Audio playback issue on old Thinkpad

2017-05-19 Thread Alexandre Ratchov
On Wed, May 17, 2017 at 06:50:29PM +0100, multiplex'd wrote: > On Wed, May 17, 2017 at 05:25:14PM +0200, Alexandre Ratchov wrote: > > On Wed, May 17, 2017 at 02:27:38PM +0100, multiplex'd wrote: > > > Hello all, > > > > > > I have an IBM T22 Thinkpad runn

Re: Audio playback issue on old Thinkpad

2017-05-17 Thread Alexandre Ratchov
On Wed, May 17, 2017 at 02:27:38PM +0100, multiplex'd wrote: > Hello all, > > I have an IBM T22 Thinkpad running OpenBSD 6.1. Recently, I've been trying > to play audio on the system but I've run into some trouble. > > I'm using mplayer from packages, but when I try to play an audio file the >

Re: ThinkPad x250 with USB DAC (Audioquest DragonFly v1.2)

2017-05-09 Thread Alexandre Ratchov
On Tue, May 09, 2017 at 11:00:26AM +0100, Caolan McMahon wrote: > > $ usbdevs > addr 1: xHCI root hub, Intel > addr 5: AudioQuest DragonFly, AudioQuest inc. > addr 2: VFS5011 Fingerprint Reader, Validity Sensors > addr 3: Bluetooth, Intel > addr 4: Integrated Camera, J8AECPB08 > addr 1: EHCI

Re: Setting flags on /dev/audio

2016-10-07 Thread Alexandre Ratchov
On Fri, Oct 07, 2016 at 08:11:46AM +1100, Tobias Brodel wrote: > On 10/06/16 22:44, ludovic coues wrote: > >misc strip attachment. Please send your diff inline or start a new thread > >on dev > Thanks forthe pointer Ludovic, > Hi, We moved significant parts of the audio and MIDI sub-system out

Re: how would you troubleshoot stuttering video? (Lenovo Thinkpad)

2016-07-18 Thread Alexandre Ratchov
On Mon, Jul 18, 2016 at 04:01:30PM +0800, Miles Keaton wrote: > On Mon, Jul 18, 2016 at 3:09 PM, Alexandre Ratchov <a...@caoua.org> wrote: > > > could you go in the bios setup and see if there are options to > > disable audio recording? If so, could you enable recording

Re: how would you troubleshoot stuttering video? (Lenovo Thinkpad)

2016-07-18 Thread Alexandre Ratchov
On Mon, Jul 18, 2016 at 02:46:52PM +0800, Miles Keaton wrote: > Lenovo ThinkPad T440s : just a couple years old. > > Triple-booting Arch Linux and Windows too, it's plenty fast to watch even > huge HD 1080p movies. > > But on a new stock OpenBSD (dmesg below) it does that stuttering thing with >

Re: Overide NGROUPS_MAX

2016-07-12 Thread Alexandre Ratchov
On Tue, Jul 12, 2016 at 04:11:07PM +, Sébastien Morand wrote: > Hi everybody, > > I'm implementing a samba share on OpenBSD 5.9 and I'm getting in trouble > because of the NGROUPS_MAX limitation to 16 groups per user. Is there any > way to increase this value? > > For instance recompiling

Re: pulseaudio RTP Streaming problem on X11 Desktop

2016-05-05 Thread Alexandre Ratchov
On Wed, May 04, 2016 at 06:58:01PM +0300, freeunix freeunix wrote: > hi, I use the OpenBSD 5.9 amd64 snapshots. > and XDM Remote Deskop using is marvelous for OpenBSD. > > Now I have any problem.(I want use audio streaming for firefox.) > I tried to use pulseaudio. but couldn't work it. > Are

Re: Recording computer sound.

2016-04-13 Thread Alexandre Ratchov
On Tue, Apr 12, 2016 at 08:22:40AM +0300, li...@wrant.com wrote: > Mon, 11 Apr 2016 19:17:31 +0200 Alexandre Ratchov <a...@caoua.org> > > On Sun, Apr 10, 2016 at 12:16:42PM +0300, li...@wrant.com wrote: > > > > > > Just an idea, before providing a diff, does it

Re: Recording computer sound.

2016-04-11 Thread Alexandre Ratchov
On Sun, Apr 10, 2016 at 12:16:42PM +0300, li...@wrant.com wrote: > > Just an idea, before providing a diff, does it look like a good > candidate to go into FAQ13.4? Thank you for your consideration. > Yes, this would be good candidate (for the FAQ 13.5), as this is not the first time this is

Re: Recording computer sound.

2016-04-09 Thread Alexandre Ratchov
On Fri, Apr 08, 2016 at 07:09:59PM -0300, Henrique N. Lengler wrote: > Hi, > > Is there a way to record the sound playing on my speakers? > Like duplicating it and saving on my computer everything that goes out to the > speaker. > > I would like to to this to record some screencast. > > Any way

Re: simultaneous sound as many users

2016-04-03 Thread Alexandre Ratchov
On Sat, Apr 02, 2016 at 05:50:33PM +0200, Marc Espie wrote: > On Sat, Apr 02, 2016 at 09:26:40AM +0200, Nils Reuße wrote: > > On 04/01/2016 08:42 PM, Roman Gorelov wrote: > > >My sndio configuration is default, OBSD 5.9. > > >When I run a media file in e.g. mpv, and pause it without closing, and >

Re: No sound through headphones on laptop (HP 9480m)

2016-03-10 Thread Alexandre Ratchov
On Tue, Mar 08, 2016 at 09:44:42AM -0800, Simon McFarlane wrote: > > > >try to toggle outputs.hp_boost and/or outputs.hp_eapd and possibly > >crank inputs.dac-0:1 to 255 > > > >do you still hear nothing? > > Out of those, only changing inputs.dac-0:1 to 255 had any audible effect. I > heard a

Re: sndiod fallback trouble

2016-02-28 Thread Alexandre Ratchov
On Sat, Feb 27, 2016 at 01:41:15PM -0500, Michael Reed wrote: > On 02/27/16 04:15, Alexandre Ratchov wrote: > >A nicer approach would be to handle this in sndiod by allowing > >sub-devices (aka -s options) to change their device (aka -f > >option). The advantage

Re: sndiod fallback trouble

2016-02-28 Thread Alexandre Ratchov
On Sat, Feb 27, 2016 at 10:32:30AM +0100, Matej Nanut wrote: > On 27 February 2016 at 10:15, Alexandre Ratchov <a...@caoua.org> wrote: > > One option would to patch libsndio to try more devices (how many?). > > I've also noticed this issue and have hacked libsndio to try sn

Re: sndiod fallback trouble

2016-02-27 Thread Alexandre Ratchov
On Fri, Feb 26, 2016 at 07:18:06PM -0500, Michael Reed wrote: > Hello, > > I use OpenBSD on my laptop to listen to music, using an external DAC > (USB) at home and built-in audio elsewhere. > > In rc.conf.local I have > > # see http://thread.gmane.org/gmane.os.openbsd.misc/213373/focus=213377

Re: can't run multiple instances of httpd, flags not visible in processes

2016-01-28 Thread Alexandre Ratchov
On Wed, Jan 27, 2016 at 10:51:50PM +0100, Reyk Floeter wrote: > > Well, we "tradionally" had setproctitle("[priv]") in the parent. I > changed the tradition to setproctitle("parent"). > > I have no objections with changing this in the parent (but keeping the > setproctitles in the children) to

Re: audio capturing

2015-12-29 Thread Alexandre Ratchov
On Mon, Dec 28, 2015 at 05:45:40PM +0300, Kirill wrote: > On 12/28/15 17:21, Jan Stary wrote: > > On Dec 28 16:46:24, nightl...@nightbbs.ru wrote: > >> I want to capture audio from another app to file or simply stdout. How > >> can I do this? > > It woould be easier to help you you just said what

Re: azalia(4) partially working on Intel NUC NUC5i7RYH

2015-11-29 Thread Alexandre Ratchov
On Mon, Nov 30, 2015 at 11:09:51AM +0800, Josh wrote: > Hi, > > Running amd64-current (last update at ~5pm UTC 29th Nov), azalia(4) > works partially on that NUC NUC5i7RYH device: > Recording through audacity for instance seems to work as I can see the > amplitude changing when speaking through

Re: faq13: audio bits

2015-11-25 Thread Alexandre Ratchov
On Wed, Nov 25, 2015 at 03:11:05PM +0100, Jan Stary wrote: > Nitpicking on the audio bits of faq13: > > - fix a typo > - the "aucat sound server" is sndiod > - let sentences be senteces; but I will gladly leave this > to the native speakers. ok ratchov > Also, should sndiod -L be mentioned

Re: azalia audio works, then stutters until reboot

2015-11-23 Thread Alexandre Ratchov
On Fri, Nov 20, 2015 at 10:31:34AM -0700, luke...@onemodel.org wrote: > > $ls -ltrd /tmp/aucat > drwx-- 2 root wheel 512B Nov 20 09:39 /tmp/aucat/ > $ls -ltr /tmp/aucat > ls: aucat: Permission denied > [and timidity playing a .mid file was working] > [then i killed sndiod with ^C.] > >

Re: azalia audio works, then stutters until reboot

2015-11-07 Thread Alexandre Ratchov
On Fri, Nov 06, 2015 at 05:00:13PM -0700, luke...@onemodel.org wrote: > On 09/11/15 11:55, luke...@onemodel.org wrote: > >Short version: In OpenBSD 5.7 (with all the latest security > >patches), after some video playing, it > >starts to stutter, and doesn't recover until I reboot. Is there > >a

Re: azalia audio works, then stutters until reboot

2015-11-07 Thread Alexandre Ratchov
On Sat, Nov 07, 2015 at 06:27:17AM -0700, luke...@onemodel.org wrote: > [sorry for the dupe; correcting the 'from' address.] > > On 11/07/15 04:20, Alexandre Ratchov wrote: > >On Fri, Nov 06, 2015 at 05:00:13PM -0700, luke...@onemodel.org wrote: > >>On 09/11/15 11:55, lu

Re: Midi keyboard with 5.7

2015-09-30 Thread Alexandre Ratchov
On Wed, Sep 30, 2015 at 04:22:10PM +, pasta wrote: > Hello, > I have a Launchkey MK2 25 by Novation and I am wondering if I can > play on it using OpenBSD. As said it is a midi keyboard and it is connected > via usb. Unfortunately it doesn't show up as midi device [1]. > I read that I could

Re: redirect spkr to headphone jack?

2015-09-29 Thread Alexandre Ratchov
On Mon, Sep 28, 2015 at 11:54:46PM -0400, Quartz wrote: > We have a system with NO physical internal speaker of any kind. Audio > otherwise works from the headphone/line jack, playing wave files with aucat > and messing with mixerctl all work as expected, but there are no 'beeps' > (can't get a

  1   2   3   4   >