LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 12-10-2019, 03:01 AM   #1
scatterbrainz
LQ Newbie
 
Registered: Nov 2019
Posts: 11

Rep: Reputation: Disabled
Question Rosegarden Midi Keyboard Playback (Fedora31/Xfce/Jack Audio/PulseAudio/UR12/Rosegarden)???


Hey Everyone,

I'm really new to Linux, I've tried a few distro's before, and was running centos 7 previously, but I ran into some compatibility options, so I swapped over to Fedora. I've got everything stable, and for the most part it all seems to work fairly solid - Rocks...

I'm attempting to get my midi keyboard up and running so I can hear it play via the computer; and record from it. I use to compose in macOSX, with logic. So I'm just trying to duplicate that via linux.

Software:

Fedora version 31
Kernel: 5.3.13-300.fc31.x86_64
Xfce: 4.14

Rosegarden Version: 17.12
QT version: 5.12.4

I also think I have Jack and QTJackCtl installed, but how to check version I'm not sure.

Hardware:

i5-2500
32GB Ram (DDR3)
Nvidia GTX 760
2 x 500GB SSD (Raid 1)
Motherboard: P8z77-V Lx
Onboard-Audio-Chip >>> RealtekŪ ALC887 8-Channel High Definition Audio CODEC *4
- Supports : Jack-detection, Multi-streaming, Front Panel Jack-retasking
External USB Audio controller -> Steinberg UR 12
JBL LSR305 Powered Monitor Speakers (via USB)
Yamaha P105 (88 key) digital piano (via USB).

Right now I have video / sound running through the UR12 to the speakers. I'm wondering if using the onboard is a better connection, maybe UR12 & Jack Audio are not compatible?

Maybe I haven't set up Jack Audio or Rosegarden properly?

I know that PulseAudio and Jack may not play nice together...just wondering how I can get all these parts to work together....

Thanks all for help and response..

Best
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2019-12-10_03-58-54.png
Views:	25
Size:	23.9 KB
ID:	32074   Click image for larger version

Name:	Screenshot_2019-12-10_03-59-13.png
Views:	23
Size:	13.5 KB
ID:	32075   Click image for larger version

Name:	Screenshot_2019-12-10_03-59-40.png
Views:	24
Size:	10.8 KB
ID:	32076  
 
Old 12-10-2019, 04:55 AM   #2
Samsonite2010
Member
 
Registered: Apr 2015
Distribution: Debian
Posts: 267
Blog Entries: 1

Rep: Reputation: 117Reputation: 117
If you are getting sound from your UR 12 then I would stick with that - it is going to be better than on-board.

In terms of getting sound out of your keyboard, it has nothing to do with the sound card, unless you are trying to get the output sound (e.g. not MIDI), in which case you would just use standard audio connectors.

Generally there are three types of MIDI connection from a keyboard:

1. Use an audio application in Linux to play the output of the MIDI keyboard - this uses the software sounds of the Linux application (there are a few, but I have used ZynAddSubFX - here are more: https://www.ubuntupit.com/top-15-bes...io-production/)

2. You want to have some kind of pass-thru to output and then input back into the keyboard to use the keyboard's sounds. Note that doing this can be complicated and would still just generally have audio output directly from your keyboard to speakers because the sound module would be inside your keyboard and nothing to do with Linux - but - you can control the MIDI signals via Linux software and so alter the output in real time. I have not done this since using an Atari STE for MIDI...

3. Have speakers attached to your keyboard, with MIDI in and out - you hear your keyboard without MIDI, but MIDI records what you play. When you play back from software (Rosegarden) it will play back through the keyboard. This does not involve your sound card. This was a fairly standard setup in the past.

This old page may help with some understanding as I have probably just caused more confusion! http://tedfelix.com/linux/linux-midi.html
 
Old 12-10-2019, 06:14 AM   #3
scatterbrainz
LQ Newbie
 
Registered: Nov 2019
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Samsonite2010 View Post
If you are getting sound from your UR 12 then I would stick with that - it is going to be better than on-board.

In terms of getting sound out of your keyboard, it has nothing to do with the sound card, unless you are trying to get the output sound (e.g. not MIDI), in which case you would just use standard audio connectors.

Generally there are three types of MIDI connection from a keyboard:

1. Use an audio application in Linux to play the output of the MIDI keyboard - this uses the software sounds of the Linux application (there are a few, but I have used ZynAddSubFX - here are more: https://www.ubuntupit.com/top-15-bes...io-production/)

2. You want to have some kind of pass-thru to output and then input back into the keyboard to use the keyboard's sounds. Note that doing this can be complicated and would still just generally have audio output directly from your keyboard to speakers because the sound module would be inside your keyboard and nothing to do with Linux - but - you can control the MIDI signals via Linux software and so alter the output in real time. I have not done this since using an Atari STE for MIDI...

This old page may help with some understanding as I have probably just caused more confusion! http://tedfelix.com/linux/linux-midi.html
Hey thanks for such a fast reply, really appreciate it...

The goal is run the midi-keyboard through the computer and have the system play the audio through the 2 external speakers (not midi keyboard speakers), while getting rosegarden to register the sounds made.

I got some errors when doing the links you provided ...
> JACK server starting in realtime mode with priority 20
self-connect-mode is "Don't restrict self connect requests"
Failed to connect to session bus for device reservation: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection
To bypass device reservation via session bus, set JACK_NO_AUDIO_RESERVATION=1 prior to starting jackd.
It does see the Steinberg UR12 as card 1 in play back devices as [Device: 0] USB Audio.

So I'm not sure ...how to go about this...I know when Jack is running I can't play youtube videos, for some reason one blocks the other. Not sure.

Best.. and thanks for any help
 
Old 12-10-2019, 09:05 AM   #4
Samsonite2010
Member
 
Registered: Apr 2015
Distribution: Debian
Posts: 267
Blog Entries: 1

Rep: Reputation: 117Reputation: 117
OK understood. It's been a few years since I set this up on Rosegarden, but the process should be the same as for other apps, like LMMS (which I recommend if you want to just use a sequencer). IIRC, Rosegarden was a bit trickier to set up than LMMS, but it worked fine.

There are many ways to achieve what you want, which makes it more complicated in some ways.

I could check this if I looked for my MIDI interface which is in a box somewhere, but may not get to that quickly!

The main parts (from memory) are to install and open up a virtual MIDI device (like QSynth) and in JackCtl you should be able to map your MIDI interface to QSynth. Then in Rosegarden you should be able to use QSynth - this was the part that was always a bit strange in Rosegarden. But those 3 parts together should get it working, but you may have to fiddle a bit. Some simple issues at first were things like enabling MIDI in JackCtl or in QSynth (depending on how you connect).

It may be possible to piece together info from some videos for Jack and Rosegarden (but there may not be one simple video that is perfect for your setup).

This one I think is more complicated than you need, but may give you some pointers: https://www.youtube.com/watch?v=Y-BV2B5eFHw
This one is perhaps too simple and is more around Jack and Rosegarden: https://www.youtube.com/watch?v=FVhAneOg0sc

If I remember anything else or manage to play around with it I will let you know, but let us know if you get any further.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Rosegarden Midi Keyboard Playback (Fedora31/Xfce/Jack Audio/PulseAudio/UR12/Rosegarden)??? scatterbrainz Fedora 1 12-10-2019 03:08 AM
[SOLVED] Squeeze + Pulseaudio + Alsa and USB Midi device causes Pulseaudio crash mad4linux Debian 1 01-26-2011 03:57 AM
LXer: Rosegarden - An open source MIDI / audio multi-tracker LXer Syndicated Linux News 0 10-26-2010 11:10 AM
midi keyboard, how to make sound?midi keyboard, how to produce sounds? Blyiss Linux - Software 10 03-24-2007 08:53 PM
MIDI playback through midi keyboad. akihandyman Linux - Newbie 5 05-25-2005 01:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 03:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration