Dominic Sacré a écrit :
>
> By the way, try mididings-20081123. Reading and writing MIDI files turned
> out to be much easier than I expected (thanks to libsmf), so I quickly
> added support for processing MIDI files directly. It's not pretty and needs
> more testing, but I tried it on your Merengue and it seems to do the right
> thing (keeping all metadata intact).
>
> Support for libsmf must be enabled explicitly at compile time
> (./setup.py build --enable-smf).
> You can use it by replacing the run() function with process_file():
>
> process_file('infile.mid', 'outfile.mid', Call(Volume2Velocity()))
>
>
> Cheers,
>
> Dominic
I get this with ./setup.py build --enable-smf
....
i686-pc-linux-gnu-g++ -pthread -fPIC -DENABLE_JACK_MIDI=1 -DENABLE_SMF=1
-I/usr/include/alsa -Isrc -I/usr/include/python2.5 -c
-DENABLE_JACK_MIDI=1 -DENABLE_SMF=1 -I/usr/include/alsa -Isrc
-I/usr/include/python2.5 -c src/engine.cc -o
build/temp.linux-i686-2.5/src/engine.o
Dans le fichier inclus à partir de src/engine.cc:20:
src/backend_smf.hh:21:17: erreur: smf.h : Aucun fichier ou répertoire de
ce type
src/backend_smf.hh:39: erreur: ‘smf_t’ was not declared in this scope
src/backend_smf.hh:39: erreur: patron de l'argument 1 est invalide
src/backend_smf.hh:40: erreur: ‘smf_t’ was not declared in this scope
src/backend_smf.hh:40: erreur: patron de l'argument 1 est invalide
src/backend_smf.hh: In member function ‘virtual size_t
BackendSmf::num_out_ports() const’:
src/backend_smf.hh:36: erreur: base operand of ‘->’ is not a pointer
error: command 'i686-pc-linux-gnu-g++' failed with exit status 1
I've qjackctl --version
Qt: 4.3.3
QjackCtl: 0.3.3
and
jack-smf-utils-1.0 USE="readline -lash
May be i've just missed a library?
-- Phil. Superbonus-Project (Site principal) <http://superbonus.project.free.fr> Superbonus-Project (Plate-forme d'échange): <http://philippe.hezaine.free.fr> _______________________________________________ Linux-audio-user mailing list Linux-audio-user@lists.linuxaudio.org http://lists.linuxaudio.org/mailman/listinfo/linux-audio-userReceived on Mon Nov 24 20:15:05 2008
This archive was generated by hypermail 2.1.8 : Mon Nov 24 2008 - 20:15:06 EET