ravelox / pimidi

Raspberry Pi RTP MIDI
164 stars 38 forks source link

connection problem #26

Closed davibe closed 5 years ago

davibe commented 5 years ago
screenshot 2018-12-08 09 34 04
cpi@raspberrypi:~/midi/pimidi/raveloxmidi $ cat src/conf 
alsa.output_device = hw:1,0,0
alsa.input_device = hw:1,1,0
network.bind_address=0.0.0.0

raveloxmidi shows no specific output when i try to connect

pi@raspberrypi:~/midi/pimidi/raveloxmidi $ sudo /home/pi/midi/pimidi/raveloxmidi/src/raveloxmidi -d -N -c src/conf
network.bind_address = 0.0.0.0
network.control.port = 5004
network.data.port = 5005
network.local.port = 5006
network.socket_timeout = 30
network.max_connections = 8
service.name = raveloxmidi
run_as_daemon = no
daemon.pid_file = raveloxmidi.pid
logging.enabled = yes
logging.log_file = (null)
logging.log_level = debug
security.check = yes
readonly = no
inbound_midi = /dev/sequencer
file_mode = 0640
alsa.input_buffer_size = 4096
config.file = src/conf
alsa.output_device = hw:1,0,0
alsa.input_device = hw:1,1,0
[1544258362]    INFO: raveloxmidi (0.5.4)
[1544258362]    DEBUG: raveloxmidi_alsa_init input: device=hw:1,1,0 ret=0 Success
[1544258362]    DEBUG: rawmidi: handle="hw:1,1,0" hw_id="VirMidi" hw_driver_name="Virtual Raw MIDI" subdevice_name="" flags=7 card=1 device=1
[1544258362]    DEBUG:  available_min=1, buffer_size=4096, active_sensing=1
[1544258362]    DEBUG: raveloxmidi_alsa_init output: device=hw:1,0,0 ret=0 Success
[1544258362]    DEBUG: rawmidi: handle="hw:1,0,0" hw_id="VirMidi" hw_driver_name="Virtual Raw MIDI" subdevice_name="" flags=7 card=1 device=0
[1544258362]    DEBUG:  available_min=1, buffer_size=4096, active_sensing=1
[1544258362]    INFO: Adding service 'raveloxmidi._apple-midi._udp'
[1544258362]    DEBUG: net_socket_loop_init: pipe0=12 pipe1=13
[1544258362]    DEBUG: net_socket_alsa_listener: Thread started
[1544258362]    DEBUG: raveloxmidi_alsa_init: poll_descriptor[12]=4
[1544258363]    INFO: Service 'raveloxmidi' successfully established.
ravelox commented 5 years ago

That error happens because of an avahi configuration.

You need to edit /etc/avahi/avahi-daemon.conf and set:

use-ipv6= no publish-aaaa-on-ipv4= no

Then restart avahi.

davibe commented 5 years ago

its working