Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
03-19-2007, 11:17 PM
|
#1
|
|
LQ Newbie
Registered: Feb 2007
Distribution: Linux debian 2.6.18-3-486 #1 Mon Dec 4 15:59:52 UTC 2006 i686 GNU/Linux
Posts: 24
Rep:
|
midi keyboard, how to make sound?midi keyboard, how to produce sounds?
Hello guys! I need help.
I am running Debian Etch.
I have a real time kernel compiled from 2.6.20.1, Rosegarden4, jackd, JACK Audio Connection Kit, fluidsynth, Qsynth, zynaddsubfx, via82xx soundcard, legacy soundcard, yamaha YRP-20 keyboard which is connected through the joystic port,
but I have no clue how to make my keyboard produce any sound. I want to record the music I play in Rosegarden and print it into Lilypond. Thanks in advance.
|
|
|
|
03-20-2007, 10:59 AM
|
#2
|
|
Member
Registered: Nov 2005
Location: Toronto Canada
Distribution: Debian
Posts: 90
Rep:
|
I messed around with midi files so my daughter could compose and play music using NoteEdit and Denemo I had to install timidity and down-loaded ewpats ( for better sounds) then to get timidity to run with alsa I have to run this in a terminal: "timidity -iA -B8,2 -Os" You can put this into a start-up script so that it will run automatically upon boot ( but I'm too dense/lazy to figure out how ) I think the keyboards need the midi capability to be heard.
|
|
|
|
03-20-2007, 12:57 PM
|
#3
|
|
LQ Newbie
Registered: Feb 2007
Distribution: Linux debian 2.6.18-3-486 #1 Mon Dec 4 15:59:52 UTC 2006 i686 GNU/Linux
Posts: 24
Original Poster
Rep:
|
Thank you, glidermike, for your reply. I would definitely give up trying to fix this problem, if my keyboard didn't sound in Windows. Thus I assume that I missed something.
I have timidity installed. I use it to play midi files via xmms plugin and freeparts.
Last edited by Blyiss; 03-20-2007 at 12:59 PM.
|
|
|
|
03-20-2007, 01:29 PM
|
#4
|
|
Member
Registered: Nov 2005
Location: Toronto Canada
Distribution: Debian
Posts: 90
Rep:
|
did a little poking around, I suppose you have looked at the Rosegarden site for info? http://www.rosegardenmusic.com/doc/e...ce-editor.html
It might be something simple, like recognizing your keyboard in the config dialog. Or perhaps plugging your keyboard into a different port other than the joystick port.
|
|
|
|
03-20-2007, 02:16 PM
|
#5
|
|
Member
Registered: Oct 2006
Posts: 460
Rep:
|
Hi,
i have using midi keyboard trigger for many years on Linux and i use debian etch so i should be able to help.
to make sure the joystick is being seen as a midi port use the command
pmidi -l
if you don't have pmidi you need it
show me what the output is
the joystick port will be listed as UART
if the joystick port is not listed then try
modprobe snd-mpu401-uart
and see if it is listed now
might want to post the results of modprobe
lets get this first part out of the way before we move on
|
|
|
|
03-20-2007, 10:39 PM
|
#6
|
|
LQ Newbie
Registered: Feb 2007
Distribution: Linux debian 2.6.18-3-486 #1 Mon Dec 4 15:59:52 UTC 2006 i686 GNU/Linux
Posts: 24
Original Poster
Rep:
|
Thank you, guys for your help.
glidermike, I know this. I would be happier if they showed the right configuration to use. There are so many options that I have to try each and everything ends up crashing and I have to start over again. Of course I can buy a USB adaptor but that will be the same. Why joystick port is bad? I need to figure it out.
studioj, with or without modprobe snd-mpu401-uart pmidi -l says:
Code:
$ pmidi -l
Port Client name Port name
14:0 Midi Through Midi Through Port-0
There's no UART anywhere.
Last edited by Blyiss; 03-20-2007 at 10:52 PM.
|
|
|
|
03-21-2007, 12:07 PM
|
#7
|
|
Member
Registered: Oct 2006
Posts: 460
Rep:
|
show output from lsmod thanks.
to make sure joystick port is loaded at all.
i think the module is called gameport
lsmod | grep gameport
you should be able to look at
dmesg | grep gameport
and see where output where it was loaded up
|
|
|
|
03-21-2007, 05:50 PM
|
#8
|
|
LQ Newbie
Registered: Feb 2007
Distribution: Linux debian 2.6.18-3-486 #1 Mon Dec 4 15:59:52 UTC 2006 i686 GNU/Linux
Posts: 24
Original Poster
Rep:
|
Thank you, studioj
Code:
$ lsmod | grep gameport
gameport 16168 1 snd_via82xx
Code:
$ dmesg | grep gameport
..nothing
Does it mean anything?
Last edited by Blyiss; 03-21-2007 at 05:55 PM.
|
|
|
|
03-22-2007, 10:54 PM
|
#9
|
|
Member
Registered: Oct 2006
Posts: 460
Rep:
|
at least we know what the problem is think.
try some options on the driver
http://www.alsa-project.org/alsa-doc...module=via82xx
looks there is an option parm: mpu_port long array (min = 1, max = 8), description "MPU-401 port."
try this in your /ect/modules.conf
Code:
options snd-via82xx index=0 mpu_port=0x330 joystick=1
reboot i guess then try
modprobe snd-mpu401-uart
then look at pmidi -l
and see if you have a new uart port
|
|
|
|
03-23-2007, 12:12 AM
|
#10
|
|
LQ Newbie
Registered: Feb 2007
Distribution: Linux debian 2.6.18-3-486 #1 Mon Dec 4 15:59:52 UTC 2006 i686 GNU/Linux
Posts: 24
Original Poster
Rep:
|
I tried what you said. Nothing.
I added the following to /ect/modules.conf:
Code:
# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-via82xx
# module options should go here
parm: index int array (min = 1, max = 8), description "Index value for VIA 82xx bridge."
parm: id string array (min = 1, max = 8), description "ID string for VIA 82xx bridge."
parm: enable int array (min = 1, max = 8), description "Enable audio part of VIA 82xx bridge."
parm: mpu_port long array (min = 1, max = 8), description "MPU-401 port."
parm: ac97_clock long array (min = 1, max = 8), description "AC'97 codec clock (default 48000Hz)."
# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
# card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
Nothing. If there a way to check the changes I made?
pmidi -l says as usual:
Code:
$ pmidi -l
Port Client name Port name
14:0 Midi Through Midi Through Port-0
I don't understand anything.
|
|
|
|
03-24-2007, 08:53 PM
|
#11
|
|
LQ Newbie
Registered: Feb 2007
Distribution: Linux debian 2.6.18-3-486 #1 Mon Dec 4 15:59:52 UTC 2006 i686 GNU/Linux
Posts: 24
Original Poster
Rep:
|
I fixed it. I inserted the line "options snd-via82xx mpu_port=0x330" into "/etc/modprobe.d/sound". Thus the whole file looks like this now:
Code:
alias snd-card-0 snd-via82xx
options snd-via82xx index=0
options snd-via82xx mpu_port=0x330
It's in Debian Etch that I am currently running. For Fedora Core the file will be "/etc/modprobe.conf", I think. So output from "cat /proc/asound/oss/sndstat" looks like this now:
Code:
Sound Driver:3.8.1a-980706 (ALSA v1.0.14rc1 emulation code)
Kernel: Linux debian 2.6.20.1 #1 SMP PREEMPT Mon Mar 19 18:28:57 EDT 2007 i686
Config options: 0
Installed drivers:
Type 10: ALSA emulation
Card config:
VIA 82C686A/B rev50 with ICE1232 at 0xdc00, irq 10
Audio devices:
0: VIA 82C686A/B rev50 (DUPLEX)
Synth devices: NOT ENABLED IN CONFIG
Midi devices:
0: VIA 82C686A/B rev50 MIDI
Timers:
7: system timer
Mixers:
0: ICEnsemble ICE1232
Rosegarden detects VIA 82C686A Midi device automatically now and doesn't need any special connection changes in qjackctl. Thank you, guys. Your advices helped me understand and fix the problem I had.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:38 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|