Hello, On Thu, Jul 11, 2013 at 09:08:36AM +0200, Clemens Ladisch wrote: > Y P wrote: > > I was looking for a tool to convert SMF standard midid file type 1 to type 0 > > I did read the man of arecordmidi but wasn't able to find some way to do > > this conversion. > arecordmidi creates type 0 files by default, unless you use multiple > ports or the -s option. That's what I did read in the doc, but it wasn't working. > Try this: > > arecordmidi -p 14:0 output.mid & > aplaymidi -p 14:0 input.mid It partially works: cursor is not giving the prompt back, I wait ........... then ctrl+c because nothing happends... then it creates an emty output.mid after I did a killall arecordmidi This is the test-output: aldo@asteroid:/tmp/1to0$ file DireStraits-SoFarAway.mid DireStraits-SoFarAway.mid: Standard MIDI data (format 1) using 13 tracks at 1/384 aldo@asteroid:/tmp/1to0$ arecordmidi -l Port Client name Port name 14:0 Midi Through Midi Through Port-0 16:0 SB Live! Value [CT4780] EMU10K1 MPU-401 (UART) aldo@asteroid:/tmp/1to0$ arecordmidi -p 16:0 out.mid & [1] 4003 aldo@asteroid:/tmp/1to0$ aplaymidi -p 16:0 DireStraits-SoFarAway.mid (after a few minutes without prompt...) ^C aldo@asteroid:/tmp/1to0$ file *.mid DireStraits-SoFarAway.mid: Standard MIDI data (format 1) using 13 tracks at 1/384 out.mid: empty (file seems to be emty) aldo@asteroid:/tmp/1to0$ killall arecordmidi aldo@asteroid:/tmp/1to0$ file *.mid DireStraits-SoFarAway.mid: Standard MIDI data (format 1) using 13 tracks at 1/384 out.mid: Standard MIDI data (format 0) using 1 track at 1/384 [1]+ Klaar arecordmidi -p 16:0 out.mid (the out mid file is only 43k so this isn't a playable .mid file). Am I doning something wrong ? Y P ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user