You are not logged in.
Well I use RPG Maker 2003 and to listen midi files I need to use this command: timidity -iA, and midi files works but the .wav does not work. Please help with this issue!
Offline
Does
timidity -iA -Os
work better?
In general you need to provide more information on your setup, how is your audio configured normally? What's the output, in code tags of
sudo fuser -v /dev/snd/*
aplay -lL
Offline
does not work timidity -iA -Os!
Does
timidity -iA -Os
work better?
In general you need to provide more information on your setup, how is your audio configured normally? What's the output, in code tags of
sudo fuser -v /dev/snd/* aplay -lL
sudo fuser -v /dev/snd/*
USUÁRIO PID ACESSO COMANDO
/dev/snd/controlC0: gdm 773 F.... pulseaudio
rafa 997 F.... pulseaudio
aplay -lL
null
Discard all samples (playback) or generate zero samples (capture)
jack
JACK Audio Connection Kit
pulse
PulseAudio Sound Server
default
Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=PCH
HDA Intel PCH, ALC269VC Analog
Default Audio Device
front:CARD=PCH,DEV=0
HDA Intel PCH, ALC269VC Analog
Front speakers
surround21:CARD=PCH,DEV=0
HDA Intel PCH, ALC269VC Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
HDA Intel PCH, ALC269VC Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
HDA Intel PCH, ALC269VC Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
HDA Intel PCH, ALC269VC Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
HDA Intel PCH, ALC269VC Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
HDA Intel PCH, ALC269VC Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=PCH,DEV=0
HDA Intel PCH, HDMI 0
HDMI Audio Output
usbstream:CARD=PCH
HDA Intel PCH
USB Stream Output
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC269VC Analog [ALC269VC Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
Last edited by ryu7 (2019-09-25 14:19:16)
Offline
Can you repost those with timidity actually running? FWIW if you are using pulse anyway you are likely much better off with fluidsynth configured with pulse as the audio output backend and using
systemctl --user start fluidsynth
to start the daemon.
Offline
Can you repost those with timidity actually running? FWIW if you are using pulse anyway you are likely much better off with fluidsynth configured with pulse as the audio output backend and using
systemctl --user start fluidsynth
to start the daemon.
timidity -iA -Os
Requested buffer size 32768, fragment size 8192
ALSA pcm 'default' set buffer size 32768, period size 8192 bytes
TiMidity starting in ALSA server mode
Opening sequencer port: 129:0 129:1 129:2 129:3
I have fluidsynth! and make what you say but wav works and midi does not work!
Offline
Does wav work while not using timidity? If it doesn't then that's an entirely different area to look into, however at least according to that output timidity correctly uses the default device that should be redirected over to pulse, what do you get for
pacmd list-sink-inputs
while attempting to play a wav?
Or are you actually attempting to play back wav files with timidity? That's not going to work...
Offline
Does wav work while not using timidity? If it doesn't then that's an entirely different area to look into, however at least according to that output timidity correctly uses the default device that should be redirected over to pulse, what do you get for
pacmd list-sink-inputs
while attempting to play a wav?
Or are you actually attempting to play back wav files with timidity? That's not going to work...
.wav files works! but mid files does not work! I need timidity to play mid files on RPG Maker 2003
the output of pacmd list-sink-inputs is
0 sink input(s) available.
Offline
We need that during playback, if this is while playing back a midi file with timidity, then definitely switch over to fluidsynth. Also did you configure wine to play back to the correct device? Do other wine utilities show the same issues? Can you post output of running rpg maker in a terminal?
Offline
We need that during playback, if this is while playing back a midi file with timidity, then definitely switch over to fluidsynth. Also did you configure wine to play back to the correct device? Do other wine utilities show the same issues? Can you post output of running rpg maker in a terminal?
I don't know how to post a output of rpg maker 2003! and no! it was not while was playback!
how to configure wine to correct device? I type winecfg and put pulse audio only!
EDIT:
I don't know if you understand! but when I use timidity -iA the midi works on rpg maker but the sound of moviment of cursor(.wav) dissapear! It only happens on RPG Maker!
Last edited by ryu7 (2019-09-25 15:40:59)
Offline
I'm familiar with RPG Maker, FWIW I've only ever used it in conjunction with fluidsynth and pulseaudio and had no issues, while timidity shouldn't be grabbing the hardware directly, it is much less hasslefree to just use
fluidsynth -a pulseaudio -m alsa_seq -r 48000
Last edited by V1del (2019-09-27 08:44:05)
Offline
I'm familiar with RPG Maker, FWIW I've only ever used it in conjunction with fluidsynth and pulseaudio and had no issues, while timidity shouldn't be grabbing the hardware directly, it is much less hasslefree to just use
fluidsynth -a pulseaudio -m alsa_seq -r 48000
returns:
FluidSynth runtime version 2.0.6
Copyright (C) 2000-2019 Peter Hanappe and others.
Distributed under the LGPL license.
SoundFont(R) is a registered trademark of E-mu Systems, Inc.
ALSA lib pcm_dmix.c:1108:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm.c:2564:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2564:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2564:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
connect(2) call to /dev/shm/jack-0/default/jack_0 failed (err=No such file or directory)
attempt to connect to server failed
connect(2) call to /dev/shm/jack-0/default/jack_0 failed (err=No such file or directory)
attempt to connect to server failed
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
ALSA lib pcm_dmix.c:1108:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1108:(snd_pcm_dmix_open) unable to open slave
connect(2) call to /dev/shm/jack-0/default/jack_0 failed (err=No such file or directory)
attempt to connect to server failed
fluidsynth: error: Failed to create PulseAudio connection
Failed to create the audio driver
Offline
Sorry for the double post! But I need to turn on MIDI on RPG Maker! Please someone could help me?
Offline
Did you run that as root? don't do that.
You will also need to provide a sound font, e.g.
fluidsynth -a pulseaudio /usr/share/soundfonts/FluidR3_GM.sf2
, install soundfont-fluid for that.
Last edited by V1del (2019-11-11 21:05:05)
Offline
Did you run that as root? don't do that.
You will also need to provide a sound font, e.g.
fluidsynth -a pulseaudio /usr/share/soundfonts/FluidR3_GM.sf2
, install soundfont-fluid for that.
I've intalled the two soundfonts! When I run this command
fluidsynth -a pulseaudio /usr/share/soundfonts/FluidR3_GM.sf2
return the same error above!
EDIT:
And no, I did not run like root
Last edited by ryu7 (2019-11-12 19:56:38)
Offline
Then that's probably GDMs pulse screwing fluidsynths detection. Try to disable pulse in GDM
Offline
Then that's probably GDMs pulse screwing fluidsynths detection. Try to disable pulse in GDM
Didn't not work! I disabled with the command
sudo setfacl -m u:gdm:r /usr/bin/pulseaudio
I tried to access
/etc/pacman.d/hooks/pulseaudio.hook
but it says does not exist!
Offline
Yes you're supposed to create that. However it's irrelevant for now, after you've ran the facl command, reboot, check with the fuser command that gdm does in fact not have a pulse daemon on your audio devices, and then retry the fluidsynth command
Offline
Yes you're supposed to create that. However it's irrelevant for now, after you've ran the facl command, reboot, check with the fuser command that gdm does in fact not have a pulse daemon on your audio devices, and then retry the fluidsynth command
Yes I did that I Reboot and after ran the fluidsynth command and nothing! Whats the fuse command?
I ran the fuser and after ran fluidsynt command and receive the same error! fuser shows a manual when I ran!
Last edited by ryu7 (2019-11-16 22:13:10)
Offline