No jackaudio output on Raspberry Pi

Moderators: khz, MattKingUSA, deva, muldjord

renoh
Established Member
Posts: 5
Joined: Wed May 08, 2019 8:57 pm

No jackaudio output on Raspberry Pi

Postby renoh » Wed May 08, 2019 9:59 pm

Hi,

I've got problems getting any sound output (jackaudio) when running drumgizmo standalone via cli, although the MIDI notes themselves reach drumgizmo (console output like e.g. "Event: note:47 velocity:99"). When exporting to a .wav, everything works fine. Jack itself works, too, when connecting any other audio software (e.g. hydrogen) to my MIDI input (jack-keyboard) and the standard audio output.

Since I want to run it on a Raspberry Pi, I removed some instrument entries in the DRSKit_minimal.xml file so that less samples get loaded (~700). One point I have not grasped yet is how the MIDI channel/program/bank number related to the configured drum kit. I've tried fuzzing those values around, yet without any luck.

Any help is appreciated.

User avatar
deva
Established Member
Posts: 136
Joined: Sun Oct 23, 2016 10:15 am
Contact:

Re: No jackaudio output on Raspberry Pi

Postby deva » Thu May 09, 2019 5:15 am

Could you post the full commandline as you are currently running it?

It may be a problem due to low latency (small jack buffer) and resampling being active (ie. too much load on the CPU).
If you can try running it with increased buffersize (2048 samples for example) and run jack in the same samplerate as the drumkit you are using (DRS is 44k1hz) and report back if you get sound?

renoh
Established Member
Posts: 5
Joined: Wed May 08, 2019 8:57 pm

Re: No jackaudio output on Raspberry Pi

Postby renoh » Thu May 09, 2019 6:26 am

Code: Select all

drumgizmo -i jackmidi -I midimap=~/drs/Midimap_minimal.xml -o jackaudio ~/drs/DRSKit_minimal_reduced.xml


Good point to modify the jack parameters ... I haven't looked at vmstat/top/etc. concerning the load either yet. I am going to check both areas tonight and if necessary use a more powerful single board computer.

Thank you very much for the hints!

renoh
Established Member
Posts: 5
Joined: Wed May 08, 2019 8:57 pm

Re: No jackaudio output on Raspberry Pi

Postby renoh » Thu May 09, 2019 4:56 pm

It's working now, thank you for the help - I totally forgot to adjust the sample rate within jack.

Have a nice day!

User avatar
deva
Established Member
Posts: 136
Joined: Sun Oct 23, 2016 10:15 am
Contact:

Re: No jackaudio output on Raspberry Pi

Postby deva » Sun May 12, 2019 11:56 am

Just for future reference; which jack settings did you end up with?


Return to “Support / Suggestions”

Who is online

Users browsing this forum: No registered users and 4 guests