Group Admins

  • Profile picture of Karim
  • Profile picture of Jean

OpenMusic

Public Group active 16 hours, 48 minutes ago

User group for OpenMusic and computer-aided composition. Visit the Forum for discussions.

MIDI Export Error

Author 2 Subscribed Users |
Profile photo of ejb
ejb

Hi all,

I have a simple set up, simply trying to export a chord-seq to MIDI. Getting the error: “Wrong integer -11 for unsigned byte type.” Pardon me if this has been elsewhere dealt with, but I couldn’t find this particular problem on the forum.

Screenshot attached.

Thanks all!

Ethan

Attachments:
  1. Screen-Shot-2018-12-25-at-10.13.46-AM

    Screen-Shot-2018-12-25-at-10.13.46-AM.png

  2. Screen-Shot-2018-12-25-at-10.13.46-AM

    Screen-Shot-2018-12-25-at-10.13.46-AM.png

December 25, 2018 at 10:16 #28650
Profile photo of Jean
Jean

Hello Ethan.
Your patch looks like you are converting SDIF to CHORD-SEQ, but I suspect this is not how you git this error…
Are you using the contextual menu on the chord-seq box to save as MIDI ?
Could you attach your patch so I can reproduce your problem ?

Best,
Jean

December 26, 2018 at 00:17 #28653
Profile photo of ejb
ejb

Hey Jean,

I am using the contextual menu, yea. I suspected that the problem had nothing in particular to do with OM…I simply want to extract the chord-seq as MIDI data for a project and have done precisely this before…

Thanks so much.

Patch attached.

E

Attachments:
  1. new.zip
  2. new.zip
December 26, 2018 at 11:38 #28656
Profile photo of Jean
Jean

Hello Ethan,
Sorry for the delay. Thanks for the patch — I didn’t need the whole workspace :)

=> Your problem is that the chord-seq you want to save as MIDI has negative pitches (falling below the MIDI key #0).
These should be filtered before to save as MIDI; I will push this in the code for the next release.
In the meantime you should probably set your partial-tracking parameters so as to avoid frequencies below ±10Hz.

Best
—Jean

January 8, 2019 at 10:22 #28748

You must be logged in to reply to this topic.

Log in now