conda-forge / fluidsynth-feedstock

A conda-smithy repository for fluidsynth.
BSD 3-Clause "New" or "Revised" License
0 stars 5 forks source link

Problem on Linux #1

Closed stefan-balke closed 1 year ago

stefan-balke commented 5 years ago

When running on Linux this produces an error.

FluidSynth runtime version 1.1.11
Copyright (C) 2000-2018 Peter Hanappe and others.
Distributed under the LGPL license.
SoundFont(R) is a registered trademark of E-mu Systems, Inc.

fluidsynth: error: Device </dev/dsp> does not exists
Failed to create the audio driver
stefan-balke commented 5 years ago

Adressed in #2

ngam commented 1 year ago

I will test this after #33 gets online, cc @h-vetinari

ngam commented 1 year ago

@h-vetinari, I tried the newest, mamba install fluidsynth -c cf-staging, then wget https://musical-artifacts.com/artifacts/2258/ToyRadio.sf2, but:

~$ fluidsynth ToyRadio.sf2 
FluidSynth runtime version 2.2.8
Copyright (C) 2000-2022 Peter Hanappe and others.
Distributed under the LGPL license.
SoundFont(R) is a registered trademark of Creative Technology Ltd.

fluidsynth: warning: No preset found on channel 9 [bank=128 prog=0]
ALSA lib seq_hw.c:466:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
fluidsynth: error: Error opening ALSA sequencer
Failed to create the MIDI thread; no MIDI input
will be available. You can access the synthesizer 
through the console.
ALSA lib confmisc.c:855:(parse_card) cannot find card '0'
ALSA lib conf.c:5180:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
ALSA lib conf.c:5180:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name
ALSA lib conf.c:5180:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5703:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM default
fluidsynth: error: Failed to open the "default" audio device
Failed to create the audio driver. Giving up.
h-vetinari commented 1 year ago

No idea, I just added the bindings and assumed things would be fine if it builds. We can add a test based on this example, but I'm not sure it'll run in CI - /dev/snd/seq is looking for actual sound devices, and those will be missing (I think). In any case, I've removed the automerge from #29 before we can figure this one out.

h-vetinari commented 1 year ago

also, the CDN is much faster these days - could you try to install it "regularly" just to be sure?

ngam commented 1 year ago

I think we are good to go, but I am not sure I fully understood all of this... (edit: works fine on my local osx-arm64 setup, though I am not entirely sure how it is supposed to be working; simply no errors and it seems to be responding to things)

ngam commented 1 year ago

Gonna close this for now.