Page 1 of 1
Casio Privia PX-130 USB Controler/Sampler
Posted: Tue Dec 09, 2014 4:01 pm
by JoelTheSynthNoob
Hi, I have a privia PX-130 keyboard that is supposed to essentially be a plug n' play USB keyboard controller. I have been able to use this keyboard on windows with mix craft however I have not been able to get it working on my other computer that is running Linux Ubuntu Studio 14.10. I am searching for a program that my keyboard will work with I have tried many of the programs built into Ubuntu studio but have not gotten them to successfully sample sounds with my keyboard like I could with mix craft. Any help is greatly appreciated, thanks.
-Joel
Ps sorry if I put this in the wrong section on the forum I'm new here.
Re: Casio Privia PX-130 USB Controler/Sampler
Posted: Tue Dec 09, 2014 6:04 pm
by varpa
This keyboard uses USB-midi and should work automatically in linux. Specifically, it will appear as an Alsa midi device, visible in the "Alsa" tab of QJackCtl. However, you will still probably need to make a software connection from the keyboard Alsa device to whatever software you want to use (using QJackCtl, for instance). For an explanation of how this works with the Jack sound server (recommended for audio work on linux) see:
http://www.libremusicproduction.com/art ... arted-jack
Re: Casio Privia PX-130 USB Controler/Sampler
Posted: Tue Dec 09, 2014 11:24 pm
by JoelTheSynthNoob
OK thank you for your response.. I have now gotten QjackCTL to see my keyboard but I am not exactly sure what to do from here.
Re: Casio Privia PX-130 USB Controler/Sampler
Posted: Wed Dec 10, 2014 10:15 pm
by ssj71
JoelTheSynthNoob wrote:I have now gotten QjackCTL to see my keyboard but I am not exactly sure what to do from here.
So virtually what you now have is a bunch of audio jacks. The output of your keyboard makes midi signals but you need something to take midi and make some sound. An easy one is Qsynth which plays sf2 sample packs (which are freely available with some google searches). Or perhaps easier is a synthesizer like Amsynth because it will make sound without needing to load any files. Once you have started one of these programs it creates new jacks, one input for the midi, one or two outputs for the sound (2 for stereo).
Connect your keyboard to the synth midi input, and connect the output to your system speakers jacks.
Once the connections are made you should be able to play the keyboard and hear sound. If you don't, come on back and we can help you. (Or hop onto #opensourcemusicians on IRC for some more immediate help).
The reason for all this messing around with virtual jacks is so you can connect your synthesizer to go to an effects program, then to a recording program and everywhere else you want it. Its very powerful.
Re: Casio Privia PX-130 USB Controler/Sampler
Posted: Tue Apr 19, 2016 1:26 am
by JoelTheSynthNoob
HI I'm back its been quite a while and I just decided to mess around with this again and I cant quite get it to work... I believe I have everything plugged in correctly I am very confused on how to use amSynth and the qjack patchbay.
Thanks,
Joel
Re: Casio Privia PX-130 USB Controler/Sampler
Posted: Tue Apr 19, 2016 4:04 pm
by varpa
Re: Casio Privia PX-130 USB Controler/Sampler
Posted: Wed Apr 20, 2016 8:17 pm
by JoelTheSynthNoob
I read article however I can not get qjackctl to patch any sort of keyboard sound through to any programs. Could it maybe be something I'm doing wrong on the piano. I also believe I'm doing something wrong in qjack patchbay.
Thanks,
-Joel
Re: Casio Privia PX-130 USB Controler/Sampler
Posted: Thu Apr 21, 2016 3:36 am
by kbongosmusic
I googled on the px-130, says that they do not require drivers, class compliant usb midi, so should just work when you plug it in. There was some site having issues on a mac thinking they needed drivers.. And then they mention switching usb modes via pressing a function key and usb key(storage/midi).
So turn it on, plug up the midi cable, then at a terminal run 'dmesg', this will dump kernel messages, the end of it should show some USB messages stating what USB device is connected. You can also run 'lsusb' in the terminal and look for your casio px-130. It should show something.
Assuming it acts as a standard USB midi device, it should just appear in qjackctl ALSA connections list, and you can drag and drop connect it to say a synth like amsynth or yoshimi and then get notes played from the keyboard. You can see the same ALSA midi devices using command line tools like aconnect -i You may alsa have to connect qjackctl Audio from Yoshimi to system to get that routed.
But it needs to show up as a USB device first in lsusb and dmesg. If it doesn't show up, try holding function key in while pressing usb key would be something to try. You could post what you see on these commands. If it shows up on lsusb, add the -v option and post what it says about the px-130.
dmesg | tail - plug in my m-audio oxygen keyboard:
[1132273.217686] usb 3-2.1: USB disconnect, device number 118
[1132273.928062] usb 3-2.1: new full-speed USB device number 119 using uhci_hcd
[1132274.036236] usb 3-2.1: New USB device found, idVendor=0763, idProduct=1015
[1132274.036247] usb 3-2.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[1132278.493832] usb 1-1: 1:1: cannot get freq at ep 0x1
[1132278.523759] usb 1-1: 2:1: cannot get freq at ep 0x82
lsusb -v | less
...
Bus 003 Device 117: ID 0763:1015 Midiman M-Audio Keystation
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x0763 Midiman
idProduct 0x1015 M-Audio Keystation
...
Re: Casio Privia PX-130 USB Controler/Sampler
Posted: Thu Apr 21, 2016 3:43 am
by kbongosmusic
Oh, I see now, you already have the USB midi working. So maybe you just need to route the synth to the audio card. Yoshimi has a built in keyboard and you should be able to use that and hear sounds to verify audio works. You can also run a midimonitor app and connect it to the keyboard midi and see the messages coming from keyboard. Make note of the channel number, normally keyboard default and send via midi channel 1 which should be the default channel a synth is going to recognize.
Oh, and you mention Qjackctl Patchbay, don't use that. You want the 'Connect' button/dialog, ALSA tab and AUDIO tab, don't worry about the JACK tab, that can be empty.
Re: Casio Privia PX-130 USB Controler/Sampler
Posted: Fri Apr 22, 2016 2:59 pm
by JoelTheSynthNoob
Thanks for all the help guys I finally got it working and I can now use any of the sound generators on Ubuntu studio with my keyboard!
After a year and a half it finally worked lol
Thanks,
-Joel
Re: Casio Privia PX-130 USB Controler/Sampler
Posted: Sat Apr 23, 2016 8:36 pm
by briandc
Strange it took so long! Did you install the a2jmidid package? That will give you connections in Jack too. After installing it from the repos, go to QJackCtl and click on "options" and type "a2jmidid -e &" (without the quotations) in the window marked "execute script after startup".
Then quit QJackCtl and launch it again. You will see the new connections in the connections window.
brian