[linux-audio-user] capture MIDI to a file?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 31 Dec 2004 14:25:37 -0500, Lee Revell <rlrevell@xxxxxxxxxxx> wrote:
> On Fri, 2004-12-31 at 11:10 -0800, Mark Knecht wrote:
> > On Fri, 31 Dec 2004 13:57:18 -0500, Lee Revell <rlrevell@xxxxxxxxxxx> wrote:
> > > On Fri, 2004-12-31 at 10:49 -0800, Mark Knecht wrote:
> > > > Thanks Andreas. I downloadi and built it. Not too difficult. When I
> > > > run it the program fails asking me for a FIFO?
> > >
> > > Just use arecordmidi --port foo:bar --dump file.mid.  foo:bar is the
> > > port to dump/record from, you can list available ports with amidi -l.
> > >
> > > Lee
> >
> > Right. Thanks. This is working fine and it's readable when using the
> > mf2t applet that Dave passed along. However I'm only able to capture
> > MIDI from other apps and not from my MIDI ports so far.
> 
> What is the output of amidi -l?  Do you see the hdsp MIDI ports?
> 
> Lee

Yes, the ports are there:

[mark@Godzilla mark]$ amidi -l
Device    Name
hw:0,0     MIDI 1
hw:0,1     MIDI 2
[mark@Godzilla mark]$

Am I using them incorrectly? Using amidi I see hw:0,0 and hw:0,1while
in qjackctl I see 64:0 & 64:32. I'm realizing that I don't know which
numeric version to use.

0
0,0
0:0
64:0

Something else?


[mark@Godzilla mark]$ amidi -l
Device    Name
hw:0,0     MIDI 1
hw:0,1     MIDI 2
[mark@Godzilla mark]$ arecordmidi --port hw:0,0 --dump midi-test.mid
Invalid port hw:0 - No such file or directory
[mark@Godzilla mark]$
[mark@Godzilla mark]$ arecordmidi --port 64,0 --dump midi-test.mid
Waiting for data. Press Ctrl+C to end
_______Tick Event_________________ Ch _Data__
          0 Event type 30
[mark@Godzilla mark]$ arecordmidi --port 64:0 --dump midi-test.mid
Waiting for data. Press Ctrl+C to end
_______Tick Event_________________ Ch _Data__
[mark@Godzilla mark]$ arecordmidi --port 64:32 --dump midi-test.mid
Waiting for data. Press Ctrl+C to end
_______Tick Event_________________ Ch _Data__

None of these seem to produce any results. I can use vkeybd and see
events though so it seems to be the HDSP 9652, however vkeybd doesn't
show up in amidi -l so I don't know what to use for port numbers....

Confused,
Mark

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux