david Posted November 24 Posted November 24 Hi, I can't get this function to work with an error message (setf 000504b "~/Opusmodus/Media/MIDI/Bach/Chorals/000504b_.mid") (midi-to-omn 000504b :instrument 1) Quote
Stephane Boussuge Posted November 24 Posted November 24 It works fine here: (setf 000504b "~/Opusmodus/Media/MIDI/Bach/Chorals/000504b_.mid") (midi-to-omn 000504b :instrument 1) => ((-e g4 ff e. b4 s c5 e d5 f4 ab4 g4) (q e4 -s e4 g4 c4 e f4 ab4 ab4 f4) (e db4 db4 - c4 bb4 bb4 db5 c5) (e ab4 ab4 -s c4 f4 g4 e ab4 f4 e. b4 s c5) (q d5 -e g4 c5 a4 e. gb4 s g4) (e g4 d4 -h -e bb4) (e. bb4 s f4 e e g4 ab4 f4 d5 f4) (e eb4 c4 - c4 bb4 s c5 db5 -e c5) (q a4 -e bb4 bb4 g4 eb4 g4) (q ab4 -e eb4 s db5 bb4 e c5 - eb4) (e eb4 bb3 -q. e g4 bb4 eb4) (e ab4 -s f4 e d5 f4 q eb4 -e c4) (e. g4 s a4 bb4 bb4 bb4 c5 q db5 -e c5) (e a4 a4 c5 f4 ab4 ab4 b3 d4) (e f4 f4 - d4 g4 c4 e. b4 s c5) (e c5 g4)) Quote
david Posted November 24 Author Posted November 24 I have this result! can you describe your process? <<automatic abort>> OM 6 > audition-musicxml-omn-snippet Error: OMN Parse Error: fail 1 (abort) Return to top loop level 0. Type for backtrace or :c <option number> to proceed. Type :bug-form "<subject>" for a bug report template or :? for other options. OM 7 : 1 > I just closed OM then copied from the documentation and path again, it works!! Quote
opmo Posted November 24 Posted November 24 Is the midi file 000504b_.mid in this directory? ~/Opusmodus/Media/MIDI/Bach/Chorals/000504b_.mid Quote
opmo Posted November 24 Posted November 24 audition-musicxml-omn-snippet is playback call and has nothing to do with midi-to-omn. Quote
opmo Posted November 24 Posted November 24 On may OM the file is in: (setf 000504b "~/Opusmodus/Media/MIDI/Classic/Bach/Chorals/000504b_.mid") I ask you before if the midi file 000504b_.mid is in the directory: ~/Opusmodus/Media/MIDI/Bach/Chorals/000504b_.mid Looks like it is not. Quote
david Posted November 24 Author Posted November 24 I'm trying this function with a personal file but I can't do it! 2 minutes ago, opmo said: Le OM mai le fichier est dans : (setf 000504b "~/Opusmodus/Media/MIDI/Classic/Bach/Chorals/000504b_.mid") yes it work "~/Opusmodus/Media/MIDI/Bach/Chorals/000504b_.mid" OM 11 > midi-to-omn ((-e g4 ff e. b4 s c5 e d5 f4 ab4 g4) (q e4 -s e4 g4 c4 e f4 ab4 ab4 f4) (e db4 db4 - c4 bb4 bb4 db5 c5) (e ab4 ab4 -s c4 f4 g4 e ab4 f4 e. b4 s c5) (q d5 -e g4 c5 a4 e. gb4 s g4) (e g4 d4 -h -e bb4) (e. bb4 s f4 e e g4 ab4 f4 d5 f4) (e eb4 c4 - c4 bb4 s c5 db5 -e c5) (q a4 -e bb4 bb4 g4 eb4 g4) (q ab4 -e eb4 s db5 bb4 e c5 - eb4) (e eb4 bb3 -q. e g4 bb4 eb4) (e ab4 -s f4 e d5 f4 q eb4 -e c4) (e. g4 s a4 bb4 bb4 bb4 c5 q db5 -e c5) (e a4 a4 c5 f4 ab4 ab4 b3 d4) (e f4 f4 - d4 g4 c4 e. b4 s c5) (e c5 g4)) OM 12 > for my file (setf eingedi_.mid "~/Opusmodus/Media/MIDI/perso/eingedi_.mid") (midi-to-omn eingedi :instrument 1) Error: The variable eingedi is unbound. 1 (continue) Try evaluating eingedi again. 2 Specify a value to use this time instead of evaluating eingedi. 3 Specify a value to set eingedi to. 4 (abort) Return to top loop level 0. Type for backtrace or :c <option number> to proceed. Type :bug-form "<subject>" for a bug report template or :? for other options. ok you have to put the full name with the extension! eingedi_.mid, not eingedi, I confused! Quote
opmo Posted November 24 Posted November 24 (setf eingedi_.mid "~/Opusmodus/Media/MIDI/perso/eingedi_.mid") You can't use the same name for midi file and for the variable. (setf eingedi "~/Opusmodus/Media/MIDI/perso/eingedi_.mid") Dose are basics Quote
david Posted Thursday at 03:05 PM Author Posted Thursday at 03:05 PM Hi, there seems to be a problem with (setf eingedi "~/Opusmodus/Media/MIDI/perso/eingedi_.mid") (midi-to-omn eingedi :instrument 1) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.