Page 1 of 1

Sunvox on Riotboard Linux : MIDI questions

Posted: Thu Feb 22, 2018 3:27 pm
by stevie232323
Привет, красивые люди!!

Hi guys. Now I have Sunvox working on Riotboard running Linux Ubuntu I am trying to get a couple of things working, one of them being MIDI.
I have a USB to MIDI cable (cheap chinese job, works fine) that I have plugged into one of the Riotboards' 4 USB ports. I know Riotboard sees the USB cable because I can send MIDI bytes to it using Terminal and the aMIDI command. It also shows up as USB MIDI USB 1.
However, when I open Sunvox and navigate to the MIDI prefs, I don't see it in the MIDI connections. All I get is MIDI connections : none.
I have tried setting channels to any but still no avail...
Any help or is it possible?
Thanks again.
STeve. S :)

Re: Sunvox on Riotboard Linux : MIDI questions

Posted: Fri Feb 23, 2018 8:58 pm
by NightRadio
However, when I open Sunvox and navigate to the MIDI prefs, I don't see it in the MIDI connections
MIDI output settings are not in the SunVox preferences. It is in the module properties (double click on the module).

Re: Sunvox on Riotboard Linux : MIDI questions

Posted: Fri Feb 23, 2018 9:11 pm
by stevie232323
Hi Nightradio. Thanks 4 replying.
well...
I tried what you suggested. Clicked on the module (in this case a simple generator) and I still don't see an option for my MIDI USB. All I see is MIDI OUT: none. :(
What could be the problem?
Like I said, the rRiotboard sees the USB MIDI adaptor and AMIDI sends bytes to it but no joy with Sunvox....

Re: Sunvox on Riotboard Linux : MIDI questions

Posted: Mon Feb 26, 2018 2:13 pm
by NightRadio
Please send me the log (you can find it here: /tmp/sunvox_log.txt)

Re: Sunvox on Riotboard Linux : MIDI questions

Posted: Mon Feb 26, 2018 2:19 pm
by stevie232323
я буду позже. благодаря Nightradio. :)

Re: Sunvox on Riotboard Linux : MIDI questions

Posted: Thu Mar 01, 2018 5:53 pm
by stevie232323
Hi Nightradio. xxx
Ok I've rebooted with my MIDI USB in USB port .
Here is the sunvox_log.txt

Code: Select all

SunDog Engine / Feb 17 2018 23:36:38
WM: device start
WM: language = C.UTF-8
WM: screen_zoom = 1
WM: screen_ppi = 110
WM: screen size = 800 x 600
WM: flags SCALABLE OPTIMIZE_MOVE_EVENTS FRAMEBUFFER 
WM: system palette init...
WM: initialized
Audio buffer size: 2048 frames
ALSA: pulse
ALSA HW Default rate: 44100
ALSA HW Rate: 44100 frames
ALSA HW Buffer size: 4096 frames
ALSA HW Period size: 227
ALSA HW Periods: 0
ALSA SW Avail min: 227
ALSA SW Start threshold: 1
ALSA SW Stop threshold: 4096
WM: system palette init...
snd_seq_open() error -2
Stack ptr: 0
snd_seq_open() error -2
GPIO 43 (dir:1) locked
GPIO 0 (dir:0) locked
SunVox v1.9.3b Feb 17 2018 23:36:37; driver: ALSA; 4.12 fixed-point; sample rate: 44100
GPIO 43 unlocked
GPIO 42 (dir:1) locked
GPIO 42 unlocked
GPIO 34 (dir:1) locked
GPIO 34 unlocked
GPIO 28 (dir:1) locked
GPIO 28 unlocked
GPIO 20 (dir:1) locked
GPIO 20 unlocked
GPIO 18 (dir:1) locked
GPIO 18 unlocked
GPIO 4 (dir:1) locked
GPIO 4 unlocked
GPIO 17 (dir:1) locked
GPIO 17 unlocked
GPIO 18 (dir:1) locked
GPIO 18 unlocked
GPIO 17 (dir:1) locked
GPIO 17 unlocked
GPIO 15 (dir:1) locked
GPIO 15 unlocked
GPIO 12 (dir:1) locked
GPIO 12 unlocked
GPIO 11 (dir:1) locked
GPIO 11 unlocked
GPIO 8 (dir:1) locked
GPIO 8 unlocked
GPIO 7 (dir:1) locked
GPIO 7 unlocked
GPIO 6 (dir:1) locked
GPIO 6 unlocked
GPIO 3 (dir:1) locked
GPIO 3 unlocked
GPIO 2 (dir:1) locked
GPIO 2 unlocked
GPIO 3 (dir:1) locked
GPIO 3 unlocked
GPIO 4 (dir:1) locked
GPIO 4 unlocked
GPIO 5 (dir:1) locked
GPIO 5 unlocked
GPIO 6 (dir:1) locked
GPIO 6 unlocked
GPIO 7 (dir:1) locked
GPIO 7 unlocked
GPIO 8 (dir:1) locked
GPIO 8 unlocked
GPIO 9 (dir:1) locked
GPIO 9 unlocked
GPIO 10 (dir:1) locked
GPIO 10 unlocked
GPIO 11 (dir:1) locked
GPIO 11 unlocked
GPIO 12 (dir:1) locked
GPIO 12 unlocked
GPIO 13 (dir:1) locked
GPIO 13 unlocked
GPIO 14 (dir:1) locked
GPIO 14 unlocked
GPIO 15 (dir:1) locked
GPIO 15 unlocked
GPIO 16 (dir:1) locked
GPIO 16 unlocked
GPIO 0 unlocked
SOUND: sundog_sound_deinit() begin
SOUND: sundog_sound_deinit() end
SDL: video deinit...
Max memory used: 2577564
Hope you can help.
I notice I have snd_seq missing.
Do you know how I rectify this?

Thanks as ever,
your humble Sunvox admirer. x

Re: Sunvox on Riotboard Linux : MIDI questions

Posted: Sat Mar 03, 2018 12:54 pm
by NightRadio
I notice I have snd_seq missing.
Yes and i don't know why :( ALSA can't open MIDI sequencer device for some reason...
Please show me the output of the following commands:

Code: Select all

aconnect -i
aseqdump

Re: Sunvox on Riotboard Linux : MIDI questions

Posted: Tue Mar 06, 2018 1:15 am
by stevie232323
hiya. ok.

Code: Select all

aconnect -i
returns:

Code: Select all

ALSA lib seqhw.c:457: (snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
cant open sequencer

Code: Select all

aseqdump
did the same... :(

boo hoo. what do i do?

Re: Sunvox on Riotboard Linux : MIDI questions

Posted: Wed Mar 07, 2018 1:09 pm
by NightRadio
I'm not sure... :(
Seems that something wrong with ALSA on the Linux kernel level...

Re: Sunvox on Riotboard Linux : MIDI questions

Posted: Wed Mar 07, 2018 3:52 pm
by stevie232323
Seems that something wrong with ALSA on the Linux kernel level...
Yeah. It looks like the Kernel for this version was compiled without it.

Какой облом!

Oh well I guess I'll just have to figure out how to recompile a Kernel with the snd-seq module and activate it!!
Something I know nothing about but It'll be worth it for Sunvox. 8)