Posted November 24, 2024Nov 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)
November 24, 2024Nov 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))
November 24, 2024Nov 24 Author 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!!
November 24, 2024Nov 24 Is the midi file 000504b_.mid in this directory? ~/Opusmodus/Media/MIDI/Bach/Chorals/000504b_.mid
November 24, 2024Nov 24 audition-musicxml-omn-snippet is playback call and has nothing to do with midi-to-omn.
November 24, 2024Nov 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.
November 24, 2024Nov 24 Author 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!
November 24, 2024Nov 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 🙂
December 5, 2024Dec 5 Author Hi, there seems to be a problem with (setf eingedi "~/Opusmodus/Media/MIDI/perso/eingedi_.mid") (midi-to-omn eingedi :instrument 1)
December 9, 2024Dec 9 Your picture does not show the whole path. When you hit option-cmd-p you see the whole path of the file in the lower part of the finder. A picture of that would show that the path was correct. Did you try without the underscore?
Create an account or sign in to comment