[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Denemo-devel] midi input
From: |
Richard Shann |
Subject: |
Re: [Denemo-devel] midi input |
Date: |
Thu, 06 Nov 2008 16:22:57 +0000 |
On Wed, 2008-11-05 at 12:55 -0600, Jeremiah Benham wrote:
> > I have both alsa and jack installed I think,
and timidity
> but I
> > have no /dev/sequencer
correction, I have this
> - I don't know what might create that (it would
> > have to be a soft synthesizer as I don't have dedicated hardware).
>
> You probably don't have a hardware synth in your sound card.
right, the sound support is on the motherboard
> You can
> emulate one with timidity or other software. By default ubuntu lauches
> timidity in damen mode. Anything written to /dev/sequencer is sounded
> via timidity as the events are received.
Ok, this is what I need I think. I have timidity installed, but no
daemon running. Also I have both /dev/sequencer and /dev/sequencer2 but
only the second responds to the ioctl (sequencer_fd, SNDCTL_SYNTH_INFO,
&card_info) call in midi.c
it comes back with this:
Synthesizer detected: Midi Through Port-0
Synthesizer supports 16 voices.
but when I do
$ aseqdump
Waiting for data at port 128:0. Press Ctrl+C to end.
Source_ Event_________________ Ch _Data__
The data that comes out when denemo starts doesn't look convincing
it starts with Port subscribed, but after that ...
0:1 Port subscribed 15:1 -> 128:0
15:1 Control change 0 123 0
15:1 Control change 0 121 0
15:1 Pitch bend 0 0
15:1 Control change 1 123 0
15:1 Control change 1 121 0
15:1 Pitch bend 1 0
15:1 Control change 2 123 0
15:1 Control change 2 121 0
15:1 Pitch bend 2 0
15:1 Control change 3 123 0
and so on until
15:1 Control change 15 123 0
15:1 Control change 15 121 0
15:1 Pitch bend 15 0
0:1 Port unsubscribed 15:1 -> 128:0
0:1 Port subscribed 15:1 -> 128:0
0:1 Port unsubscribed 15:1 -> 128:0
turning on playnotes() in denemo (it is commented out at the moment)
spews out similar looking stuff for each note played. I don't get
anything coming from the loudspeakers.
If I try running a timidity daemon with
$ timidity -iAD
TiMidity starting in ALSA server mode
Opening sequencer port: 129:0 129:1 129:2 129:3
this seems to have no effect on all the above dignostics.
You mentioned that midi.c was broken - do you recall in what way it was
broken? Was it working at one time?
Should /dev/sequencer take the raw midi data that my music-keyboard is
putting out?
Is there a way to test it (iv I cat a midi file at it I get
cat junk.mid > /dev/sequencer2
cat: write error: Invalid argument
If anyone can help, with suggested diagnostic procedures etc, please do,
and thanks in advance.
Richard
- [Denemo-devel] midi input, Richard Shann, 2008/11/05
- Re: [Denemo-devel] midi input, Jeremiah Benham, 2008/11/05
- Re: [Denemo-devel] midi input, Nils Gey, 2008/11/05
- Re: [Denemo-devel] midi input, Richard Shann, 2008/11/05
- Re: [Denemo-devel] midi input,
Richard Shann <=
- Re: [Denemo-devel] midi input, Jeremiah Benham, 2008/11/06
- Re: [Denemo-devel] midi input, Richard Shann, 2008/11/07
- Re: [Denemo-devel] midi input, Jeremiah Benham, 2008/11/07
- Re: [Denemo-devel] midi input, Richard Shann, 2008/11/07
- Re: [Denemo-devel] midi input, Jeremiah Benham, 2008/11/08
- Re: [Denemo-devel] midi input, Richard Shann, 2008/11/08
- Re: [Denemo-devel] midi input, Richard Shann, 2008/11/09
- Re: [Denemo-devel] midi input, Jeremiah Benham, 2008/11/09