Jump to content

Featured Replies

Posted

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)

 

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))

 

  • 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!!

  • Author

command E

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.

  • Author

I'm trying this function with a personal file but I can't do it!

image.png.6ae0db6bdf6d85e0ba1a58329e2bfc12.png

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!

 

(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 🙂

  • Author

ok thank you;-)

  • 2 weeks later...
  • Author

Hi, there seems to be a problem with 

(setf eingedi "~/Opusmodus/Media/MIDI/perso/eingedi_.mid")


(midi-to-omn eingedi :instrument 1)

 

image.png.321fbd7ebf46fb9089ef054b4ccd7ce7.png

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


Copyright © 2014-2025 Opusmodus™ Ltd. All rights reserved.
Product features, specifications, system requirements and availability are subject to change without notice.
Opusmodus, the Opusmodus logo, and other Opusmodus trademarks are either registered trademarks or trademarks of Opusmodus Ltd.
All other trademarks contained herein are the property of their respective owners.

Powered by Invision Community

Important Information

Terms of Use Privacy Policy