Re: Web MIDI, Firefox, OpenBSD.
On Thu, Jul 14, 2022 at 10:05:43AM +0200, Brian Durant wrote: > On a possibly related issue to my browser access to file system problem, has > anyone been able to get Web MIDI working with Firefox on OpenBSD 7.1? Here I > am referring to bandcamp.com and flowkey.com in particular. Neither site > appears to be receiving any MIDI signal despite an Akai LPK25 (for testing) > being registered by the system at umidi0. Flowkey requires ffmpeg to be > installed, as well as prompting for the Jazz MIDI extension to be installed. > Flowkey tabs crash and never make a MIDI connection. This has never happened > to me with Win 11, Linux, of FreeBSD. The Bandcamp site simply doesn't > register a MIDI device connected to the system, but doesn't crash the tab. > Again, any constructive advice is welcomed. > > OpenBSD ports has no MIDI support. A quick look at firefox sources suggest it's using is library: https://github.com/boddlnagg/midir which doesn't have sndio backend.
Re: Web MIDI, Firefox, OpenBSD.
On 7/15/22 12:54 PM, Alexandre Ratchov wrote: On Thu, Jul 14, 2022 at 10:05:43AM +0200, Brian Durant wrote: On a possibly related issue to my browser access to file system problem, has anyone been able to get Web MIDI working with Firefox on OpenBSD 7.1? Here I am referring to bandcamp.com and flowkey.com in particular. Neither site appears to be receiving any MIDI signal despite an Akai LPK25 (for testing) being registered by the system at umidi0. Flowkey requires ffmpeg to be installed, as well as prompting for the Jazz MIDI extension to be installed. Flowkey tabs crash and never make a MIDI connection. This has never happened to me with Win 11, Linux, of FreeBSD. The Bandcamp site simply doesn't register a MIDI device connected to the system, but doesn't crash the tab. Again, any constructive advice is welcomed. OpenBSD ports has no MIDI support. A quick look at firefox sources suggest it's using is library: https://github.com/boddlnagg/midir which doesn't have sndio backend. Many thanks about the information regarding Web MIDI, Firefox and midir. No wonder this has been driving me mad. I had yet to look systematically at ports to see what programs using MIDI were available, as I have been so busy with the browser issues, so it is interesting that you state that MIDI programs are lacking in ports. What do other users do? To my mind, OpenBSD has excellent support for recognizing MIDI devices, and excellent audio support (sndio) as well, which would make it an excellent OS for music production... At the very least, it should be feasible to get a USB MIDI keyboard working with fluidsynth (Qsynth) according to the OpenBSD FAQ (Multimedia), but I admittedly have yet to be successful at getting that working either... Brian
Re: Web MIDI, Firefox, OpenBSD.
On Fri, Jul 15, 2022 at 02:28:37PM +0200, Brian Durant wrote: > On 7/15/22 12:54 PM, Alexandre Ratchov wrote: > > > On Thu, Jul 14, 2022 at 10:05:43AM +0200, Brian Durant wrote: > > > On a possibly related issue to my browser access to file system problem, > > > has > > > anyone been able to get Web MIDI working with Firefox on OpenBSD 7.1? > > > Here I > > > am referring to bandcamp.com and flowkey.com in particular. Neither site > > > appears to be receiving any MIDI signal despite an Akai LPK25 (for > > > testing) > > > being registered by the system at umidi0. Flowkey requires ffmpeg to be > > > installed, as well as prompting for the Jazz MIDI extension to be > > > installed. > > > Flowkey tabs crash and never make a MIDI connection. This has never > > > happened > > > to me with Win 11, Linux, of FreeBSD. The Bandcamp site simply doesn't > > > register a MIDI device connected to the system, but doesn't crash the tab. > > > Again, any constructive advice is welcomed. > > > > > > > > OpenBSD ports has no MIDI support. A quick look at firefox sources > > suggest it's using is library: > > > > https://github.com/boddlnagg/midir > > > > which doesn't have sndio backend. > > Many thanks about the information regarding Web MIDI, Firefox and midir. No > wonder this has been driving me mad. I had yet to look systematically at > ports to see what programs using MIDI were available, as I have been so busy > with the browser issues, so it is interesting that you state that MIDI > programs are lacking in ports. What do other users do? To my mind, OpenBSD > has excellent support for recognizing MIDI devices, and excellent audio > support (sndio) as well, which would make it an excellent OS for music > production... At the very least, it should be feasible to get a USB MIDI > keyboard working with fluidsynth (Qsynth) according to the OpenBSD FAQ > (Multimedia), but I admittedly have yet to be successful at getting that > working either... > To make fluidsynth work (applies to any real-time softsynth), first lower sndio latency, example: doas rcctl set sndiod flags "-z 128" doas rcctl restart sndiod Install fluidsynth and generaluser-gs-soundfont pacakges. In one terminal start fluidsynth: fluidsynth /usr/local/share/generaluser-gs/GeneralUser_GS.sf2 At this point, fluidsynth listens for incoming MIDI messages on the default "midithru/0" port. To send MIDI messages from your keyboard (probably "midi/0") to it, try: midicat -d -q midi/0 -q midithru/0
Re: Web MIDI, Firefox, OpenBSD.
On 7/15/22 2:53 PM, Alexandre Ratchov wrote: On Fri, Jul 15, 2022 at 02:28:37PM +0200, Brian Durant wrote: On 7/15/22 12:54 PM, Alexandre Ratchov wrote: On Thu, Jul 14, 2022 at 10:05:43AM +0200, Brian Durant wrote: On a possibly related issue to my browser access to file system problem, has anyone been able to get Web MIDI working with Firefox on OpenBSD 7.1? Here I am referring to bandcamp.com and flowkey.com in particular. Neither site appears to be receiving any MIDI signal despite an Akai LPK25 (for testing) being registered by the system at umidi0. Flowkey requires ffmpeg to be installed, as well as prompting for the Jazz MIDI extension to be installed. Flowkey tabs crash and never make a MIDI connection. This has never happened to me with Win 11, Linux, of FreeBSD. The Bandcamp site simply doesn't register a MIDI device connected to the system, but doesn't crash the tab. Again, any constructive advice is welcomed. OpenBSD ports has no MIDI support. A quick look at firefox sources suggest it's using is library: https://github.com/boddlnagg/midir which doesn't have sndio backend. Many thanks about the information regarding Web MIDI, Firefox and midir. No wonder this has been driving me mad. I had yet to look systematically at ports to see what programs using MIDI were available, as I have been so busy with the browser issues, so it is interesting that you state that MIDI programs are lacking in ports. What do other users do? To my mind, OpenBSD has excellent support for recognizing MIDI devices, and excellent audio support (sndio) as well, which would make it an excellent OS for music production... At the very least, it should be feasible to get a USB MIDI keyboard working with fluidsynth (Qsynth) according to the OpenBSD FAQ (Multimedia), but I admittedly have yet to be successful at getting that working either... To make fluidsynth work (applies to any real-time softsynth), first lower sndio latency, example: doas rcctl set sndiod flags "-z 128" doas rcctl restart sndiod Install fluidsynth and generaluser-gs-soundfont pacakges. In one terminal start fluidsynth: fluidsynth /usr/local/share/generaluser-gs/GeneralUser_GS.sf2 At this point, fluidsynth listens for incoming MIDI messages on the default "midithru/0" port. To send MIDI messages from your keyboard (probably "midi/0") to it, try: midicat -d -q midi/0 -q midithru/0 Cool. My two problems had been that I could only figure out to use Qsynth to get the path to the soundfont. The second was that I was trying to use umidi/0 rather than midi/0, as I almost exclusively have USB MIDI keyboards. Many thanks. Anyone that uses a DAW with OpenBSD is welcome to jump in here as well. As I mainly work with MIDI, I guess that the best I can hope for is getting LMMS working, as Ardour doesn't handle MIDI very well, from my limited experience...
Behringer UMC404HD USB soundcard with OpenBSD 7.1.
I have thus far been using an audio direct out to my speakers, but would like to get my USB soundcard working in OpenBSD. Without the soundcard, (direct connection) everything works fine. With the soundcard, no audio at all. I have tried the following as per the OpenBSD FAQ: # rcctl set sndiod flags -f rsnd/0 -F rsnd/1 # rcctl restart sndiod sndiod(ok) sndiod(ok) I have rebooted the system, tried Cmixer and adjusted output gradually to 100%, but did not get any sound. I have consulted the list archive, but nothing, except to note what I already knew, that Behringer soundcards are class compliant. I use this card on Windows 11, Linux and FreeBSD, so I know that it works. I have made no major adjustments to the unit itself. Sooo, I have hit a bit of a dead end. Anyone out there that can provide some help? I am trying to get this to work by testing YouTube in Firefox, both of which work with a direct audio connection (midi jack cable)... Brian