LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Is there a software midisynth built into Alsa ? (https://www.linuxquestions.org/questions/linux-newbie-8/is-there-a-software-midisynth-built-into-alsa-4175417951/)

hitsware 07-21-2012 08:59 AM

Is there a software midisynth built into Alsa ?
 
I can get
{ speaker-test }
to produce sound, but
{ amidi -S "90 3C 45" }
gives me
' cannot open port "default":
inappropriate ioctl for device '

i_joh 07-21-2012 01:19 PM

Quote:

Originally Posted by hitsware (Post 4734493)
I can get
{ speaker-test }
to produce sound, but
{ amidi -S "90 3C 45" }
gives me
' cannot open port "default":
inappropriate ioctl for device '

Install timidity. On Debian 6.0 it sets up a software synth. You have to install some soundfont package too though.

hitsware 07-21-2012 02:49 PM

> Install timidity.

Then there is no built in midi-synth ?

i_joh 07-21-2012 04:20 PM

Quote:

Originally Posted by hitsware (Post 4734669)
> Install timidity.

Then there is no built in midi-synth ?

There doesn't appear to be. I use timidity to play midi. It works like a software synth giving music in games like OpenTTD.

hitsware 07-21-2012 06:48 PM

> There doesn't appear to be. I use timidity to play midi.
> It works like a software synth giving music in games like OpenTTD.

I may have a more rudimentary problem.
When I type:

$ aconnect -o

I get:

ALSA lib seq_hw.c:457:(snd_seq_hw_open) /dev/snd/seq failed:
No such file or directory

What am I missing here ?

i_joh 07-22-2012 04:54 AM

I've got timidity and timidity-daemon installed. Install those. Then install soundfonts, say freepats. Or you could get CT4MGM.SF2 from a Creative installation disc to get classic Creative MIDI sound. If you get the creative soundfont, put the following in /etc/timidity/timidity.cfg:

Code:

soundfont /usr/local/creative_soundfonts/CT4MGM.SF2
Then try again. It sounds to me you don't have a synth at all.

i_joh 07-22-2012 05:29 AM

Here are the MIDI kernel modules that my system has loaded:

snd_seq_midi
snd_rawmidi
snd_seq_midi_event
snd_seq
snd_seq_device

Code:

lsmod | grep mid
Would tell you if you have any modules loaded. If not, load them with modprobe.

hitsware 07-22-2012 12:04 PM

>snd_seq_midi
>snd_rawmidi
>snd_seq_midi_event
>snd_seq
>snd_seq_device

Thanks !
Where do I find them ?

i_joh 07-22-2012 08:37 PM

Quote:

Originally Posted by hitsware (Post 4735195)
>snd_seq_midi
>snd_rawmidi
>snd_seq_midi_event
>snd_seq
>snd_seq_device

Thanks !
Where do I find them ?

Just run modprobe <name of module>. The modules should be on your system already.

hitsware 07-22-2012 09:14 PM

> The modules should be on your system already.

Thanks. Evedently they're not.
Is there a way to list the modules available ?

i_joh 07-23-2012 10:12 AM

Yeah they're in /lib/modules. What distro are you using?

hitsware 07-23-2012 10:40 AM

Quote:

Originally Posted by i_joh (Post 4735888)
Yeah they're in /lib/modules. What distro are you using?

I found them. I had forgotten to use 'sudo'. TinyCore


All times are GMT -5. The time now is 05:52 AM.