Re: understanding midi files

2014-01-28 Thread pls
On 28.01.2014, at 12:24, k...@aspodata.se wrote: > http://www.cdik.se/pdf/midiformat.pdf describes the time signature > event on page 12. It is unclear written. Is there anyone here that > have a clear understanding about the last two parameters, named cc and > bb in the document ? > > And page

Re: understanding midi files

2014-01-28 Thread karl
Richard Shann: > On Tue, 2014-01-28 at 13:42 +0100, Johan Vromans wrote: > > > > > 'ticks' => 192, > > > # Track #0 ... > > > ['set_tempo', 0, 50], > > > ['time_signature', 0, 1, 3, 24, 8], > > > > Weird time sig. 1/8 ? > > I have seen used in a MIDI file to indicate

Re: understanding midi files

2014-01-28 Thread Richard Shann
On Tue, 2014-01-28 at 13:42 +0100, Johan Vromans wrote: > > > 'ticks' => 192, > > # Track #0 ... > > ['set_tempo', 0, 50], > > ['time_signature', 0, 1, 3, 24, 8], > > Weird time sig. 1/8 ? I have seen used in a MIDI file to indicate a 1/8 upbeat (anacrusis, pickup), t

Re: understanding midi files

2014-01-28 Thread Johan Vromans
k...@aspodata.se writes: > Johan Vromas: >> k...@aspodata.se writes: >> >> >> > IOError: [Errno 2] No such file or directory: 'aeiou.mid' >> > >> > $ ls -l aeiou.mid >> > -rw--- 1 karl users 9760 Jan 27 10:44 aeiou.mid >> >> To eliminate some odds, try passing the file using a complete path

Re: understanding midi files

2014-01-28 Thread karl
Johan Vromas: > k...@aspodata.se writes: > > >> > IOError: [Errno 2] No such file or directory: 'aeiou.mid' > > > > $ ls -l aeiou.mid > > -rw--- 1 karl users 9760 Jan 27 10:44 aeiou.mid > > To eliminate some odds, try passing the file using a complete path, e.g. > > $ lilymidi --pretty `p

Re: understanding midi files

2014-01-27 Thread Johan Vromans
k...@aspodata.se writes: >> > IOError: [Errno 2] No such file or directory: 'aeiou.mid' > > $ ls -l aeiou.mid > -rw--- 1 karl users 9760 Jan 27 10:44 aeiou.mid To eliminate some odds, try passing the file using a complete path, e.g. $ lilymidi --pretty `pwd`/aeiou.mid -- Johan _

Re: understanding midi files

2014-01-27 Thread karl
David Kastrup: > k...@aspodata.se writes: ... > > $ lilymidi --pretty aeiou.mid > > Traceback (most recent call last): > > File "/usr/local/bin/lilymidi", line 250, in > > go () > > File "/usr/local/bin/lilymidi", line 231, in go > > midi_data = read_midi (midi_file) > > File "/usr/

Re: understanding midi files

2014-01-27 Thread karl
Phil Holmes: > - Original Message - > From: > > Looking at midi files created with NoteWorthy Composer, e.g.: > > > > http://www.cipoo.net/downloads/midi/LottiAminAgnus.mid > > > > it should be possible to create a good readable .ly files. > > Dumping this midi file with midi.pl, it easy

Re: understanding midi files

2014-01-27 Thread Phil Holmes
- Original Message - From: To: Sent: Sunday, January 26, 2014 9:32 PM Subject: understanding midi files Looking at midi files created with NoteWorthy Composer, e.g.: http://www.cipoo.net/downloads/midi/LottiAminAgnus.mid it should be possible to create a good readable .ly files

Re: understanding midi files

2014-01-27 Thread Henning Hraban Ramm
Am 2014-01-27 um 18:58 schrieb Johan Vromans : > David Kastrup writes: > >> Ugh. Can we collect feedback on the various platforms? For me, stuff >> works fine. That would be Ubuntu 13.10 on i386. > > 2.16.0 works fine on Fedora 17. > > 2.18.0 gives On OSX (Intel, 10.9) also 2.16.2 is brok

Re: understanding midi files

2014-01-27 Thread David Kastrup
k...@aspodata.se writes: > David Kastrup: > ... >> Uh, this is awkward, > > What is awkward? > >> but you do know that the LilyPond distribution >> comes with a program called lilymidi which you can use like > > Yes I know. > >> lilymidi --pretty somefile.midi >> >> in order to get a readable rep

Re: understanding midi files

2014-01-27 Thread karl
Johan Vromans: ... > Since you're focussing on Perl tools: the CPAN module MIDI::Tweaks comes > with a midi-dump tool that outputs a decomposed and commented Perl > structure of the midi input. This structure can be evalled to produce a > new MIDI::Opus object. I'm using the MIDI module, but have

Re: understanding midi files

2014-01-27 Thread karl
David Kastrup: ... > Uh, this is awkward, What is awkward? > but you do know that the LilyPond distribution > comes with a program called lilymidi which you can use like Yes I know. > lilymidi --pretty somefile.midi > > in order to get a readable representation of a Midi file? I've tried it,

Re: understanding midi files

2014-01-27 Thread karl
Phil: > Le 26/01/2014 22:32, k...@aspodata.se a écrit : ... > Perhaps you don't know midicomp. > Here the latest version: > https://github.com/markc/midicomp > > It gives you all information on a midifile. > As you know Perl there is a tiny exemple to use it with midicomp in the > README. > Perha

Re: understanding midi files

2014-01-27 Thread Johan Vromans
Phil Hézaine writes: > Perhaps you don't know midicomp. > Here the latest version: > https://github.com/markc/midicomp Since you're focussing on Perl tools: the CPAN module MIDI::Tweaks comes with a midi-dump tool that outputs a decomposed and commented Perl structure of the midi input. This str

Re: understanding midi files

2014-01-27 Thread Johan Vromans
David Kastrup writes: > Ugh. Can we collect feedback on the various platforms? For me, stuff > works fine. That would be Ubuntu 13.10 on i386. 2.16.0 works fine on Fedora 17. 2.18.0 gives /opt/lilypond/usr/bin/lilymidi --pretty ~/tmp/FOG1.mid Traceback (most recent call last): File "/opt

Re: understanding midi files

2014-01-27 Thread and...@andis59.se
On 2014-01-27 12:29, David Kastrup wrote: David Kastrup wrote Uh, this is awkward, but you do know that the LilyPond distribution comes with a program called lilymidi which you can use like lilymidi --pretty somefile.midi Ugh. Can we collect feedback on the various platforms? For me, stuff

Re: understanding midi files

2014-01-27 Thread David Kastrup
Henning Hraban Ramm writes: > Am 2014-01-27 um 16:43 schrieb Eluze : > >> David Kastrup wrote >>> Uh, this is awkward, but you do know that the LilyPond distribution >>> comes with a program called lilymidi which you can use like >>> >>> lilymidi --pretty somefile.midi >>> >>> in order to get a

Re: understanding midi files

2014-01-27 Thread Henning Hraban Ramm
Am 2014-01-27 um 16:43 schrieb Eluze : > David Kastrup wrote >> Uh, this is awkward, but you do know that the LilyPond distribution >> comes with a program called lilymidi which you can use like >> >> lilymidi --pretty somefile.midi >> >> in order to get a readable representation of a Midi file

Re: understanding midi files

2014-01-27 Thread Eluze
esn't produce more than the help information Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/understanding-midi-files-tp158500p158518.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mai

Re: understanding midi files

2014-01-27 Thread David Kastrup
Phil Hézaine writes: > Le 26/01/2014 22:32, k...@aspodata.se a écrit : >> I'm experimenting with midi file to lilypond conversion since >> midi2ly creates files that are hard to read for me, and thus makeing >> it hard to use its output. Yes I can write a program to tidy up its >> output, and I

Re: understanding midi files

2014-01-27 Thread Phil Hézaine
Le 26/01/2014 22:32, k...@aspodata.se a écrit : I'm experimenting with midi file to lilypond conversion since midi2ly creates files that are hard to read for me, and thus makeing it hard to use its output. Yes I can write a program to tidy up its output, and I did so, but looking at the dump of

understanding midi files

2014-01-26 Thread karl
I'm experimenting with midi file to lilypond conversion since midi2ly creates files that are hard to read for me, and thus makeing it hard to use its output. Yes I can write a program to tidy up its output, and I did so, but looking at the dump of a midi file with this simple program: /// midi.pl