Jump to content

Recommended Posts

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)

 

Posted

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

 

Posted

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

Posted

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.

Posted

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!

 

Posted

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

  • 2 weeks later...
Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

Terms of Use Privacy Policy