I’ve recently created a preset that I can’t open anymore.
Haken editor prompts ‘download failed’ and the max console displays
req1 • 110 123
cc109 • 6 archiveFail
noAck1 • bang
noAck • bang
Yet, the file seems to contain the preset when changing to .txt
Maybe there’s just one or two wrong characters?
Has anyone experienced a similar issue?
Is there a way to get my preset back or is it just lost in the limbo?
Which version of the editor and firmware are you using?
After loading it, do you see anything in the editor, or is the matrix blank?
Viewing a .mid file as .txt won’t tell you much – the preset file is binary (standard MIDI file format). If you saved after opening it as .txt, that’s likely to corrupt the file, and using anything but the Haken editor to edit the file is also likely to mess it up.
110 123 is the normal final code in a preset, but it looks like some of the post-reading checks are failing – there’s a check that the count of MIDI messages read in matches what the file says in its header.
To tell more, I’d need a copy of the file in question.
I see a couple of oddities in the file. I’m not sure exactly how the EM counts messages, but the recorded count doesn’t look right, which would make the consistency check fail. I also see data streams that don’t have the usual stream terminator, but that might be normal for the new “poke” streams. Other than these, everything else seems to be ok.
I haven’t completely decoded/analyzed the file, so there might be other anomalies. I’m not far enough along with my coding for the new firmware to fully understand the new MIDI protocol. When I’m further along I could tell you how to recreate everything that’s captured in that MID file.
I think the best thing to would be to email support @HakenAudio.com, and attach the preset and see what they say.
So the patch is there but there are errors in the metadata?
That’s what I assumed but couldn’t be sure. That’s very good news!
I email Haken Audio then
Thanks
he gets the same problem on some presets. There’s something to correct for Lippold or Ed.
the preset loads but fails on archive. In Utilities, Midi Log On let’s you see the communication between the Haken Editor and the Continuum in Max Console. It might be possible to recreate at least parts of the preset by ‘reading’ it with Haken Midi implementation (I imagine that’s part of what you did Paul, I thought I’d write it down here if other people needed the information)
Thanks for that, RK - I didn’t know if that was an issue with the broken preset or intended. Good to know. Based on the comment for cc86 127, seems to be streams 19-26.
The lack of terminators makes certain things more complex to implement and removes an error detection opportunity.
It would be helpful to know exactly what is counted for ch15 cc119 (archive count). The comment says “count of controller messages in archive definition” but it’s not clear where the count starts, where it ends, and how the count is affected by running status. I would like to implement the consistency check, but I haven’t done sufficient reverse-engineering to do that yet.
I have new MIDI file reader that I’m building out EM knowledge in, but just started. So for this exercise it’s little more than a text dump of the raw MIDI. I’m mostly manually decoding, referring to HakenMidi.h. I walk through the text MIDI dump and annotate with the meaning. I do a bunch of this kind of thing for a while to learn the new protocol, then go write code based on what I learned.
This is of course extremely primitive but works for me as a learning process.
I’m curious to hear precisely what the problem with this file is. Is it missing required data, or is that the archive count is wrong? (or info is missing and the archive count includes the info that isn’t there). I didn’t decode the formulas, but I didn’t see any logical inconsistencies in the file. I’m used to seeing more general settings, like the CVC version and MIDI routing, but that doesn’t necessarily mean there’s a problem.
Regarding CVC, MIDI or other general settings, I usually don’t change anything in those menus. It might explain why there is not so much reference to them in this particular preset
In 10.09 presets, there are commonly occurrences of general settings that are the default settings - MIDI routing is one. I do need to look at more presets from the new FW to see what’s normal for them, which I’ll be doing when I return to my EM software projects.
Useful tip you probably know but when saving a preset on 10.38, before entering the name and saving you can check in the midi log the ArchiveCnt entry.
It should display “expect A got B” with A equal to B. If A and B are different, don’t save, the file will be unreadable.
Click cancel, change one or two harmless things in your preset and then retry saving until A equals B