amxd midi effect to audio effect
In Max i opened an amxd midi effect i downloaded and reprogrammed it to my likings and it turned out to be an audio effect because you know, inspiration sometimes comes suddenly. Now it has nothing midi related in it. Still live does not accept it as an audio effect. This even happens when i delete everything that is inside of the amxd (using max). It seems that there is "data" hidden from me that tells live how to interpret an amxd as instrument, midi- or audio effect. I even opened it with a text editor and changed the "amxdtype" to the number i copied from an audio effect amxd, but that causes my amxd to be not accepted by ableton live at all. So my question: how do i make the amxd acceptable as an audio effect for live? It should not really matter but i am on windows10 using live 11.3.3 and max 8.5.5
can you describe exactly this :
I even opened it with a text editor and changed the "amxdtype"
where is that amxdtype set ?
amxd file has header which also includes checksum.
types :
ampfmmmmmetaptch = midi
ampfaaaametaptch = audio
ampfiiiimetaptch = instrument
------
Windows text editor usually won't work - it uses wrong text encoding.
you need hex editor

I think you can simply create a new audio effect device and paste your patch.
edit: I was successful using the hex editor and changing mmmmmeta to aaaameta and the amxd is accepted by live. It seems to be functional. Thanks for the hint, source audio! Strange thing is that i did not change the long number next to "amxdtype", but hey if it works without that additional step...
I am still very interested on what broc has to say to this topic and in general, that is why i keep my previous (before this edit) statements here:
First of all, thanks for your replies.
@broc: quote: "I think you can simply create a new audio effect device and paste your patch."
Do you mean in MAX? If so how do i copy and paste my whole patch without having to recreate the presentation and/or the patching mode with its cord connections? Up until now i was only able to copy/paste either the the presentation or the patching mode successfully and had to recreate/fix one of them. Or is that not possible in MAX and something people still wish for since decades like once, recording automation in clips in ableton (without a third party tool like midi yoke) ? XD
______________________________________________________
@source audio: I used notepad to edit the file. I changed the header you described and the "amxdtype" which is in line 75 and has a long number like 1633771873, but the notepad edit fails. When i take an amxd that is accepted by live and open it in notepad, and "replace" the "a" in "ampf" with an "a" so that there is no change visible and save the file it will no longer be accepted by live. I will try with hex editor.
Question towards you: Have you successfully used a hex editor to change the amxd type so it was accepted by live?
________________________________________________________________________________________________________________
For your knowledge: I am very new to Max. I do my best searching the internet and forums before asking directly. I hope you understand and have mercy with me.
Sorry, I assumed that it would work in Max like in Live/M4L.
But just verified myself that it's not true.
@broc: Thank you for your replie!
So you say this is possible in m4l? If so how?
I am new to both M4L and Max. I think abketon live suite 11 (which i have access to) has m4l built in. In the live settings i can choose how to open amxd files: either the built in aka "bundled version" or external. I am not really aware about the differences of many aspects.
But it should be possible in max to copy/paste a whole patch and insert it into another patch without crippeling the pasted patch. I searched and the statement was that it is not possible which would be a small catastrophy, but i cannot find the thread and dont know how old it was and about which version of Max the thread was about.
Of course it's possible with M4L, otherwise you would not be able to create own devices. Just load a 'New' device into the Live set, open it in the editor, create or paste your patch, and save.
In Live I prefer the bundled Max version as it ensures best integration.
I remember an announcement that amxd devices can now be *used* in Max, meaning implicitly that devices can't be created. The reason may be technical or commercial.
Thanks broc, but i dont get it at all. Where and how do i copy it, where and how do i paste it? I am neither lazy nor stupid, but i just dont get it. Do i drag the amxd using windows file explorer into m4l? If i do that m4l says in the console bpatcher patchcord out of range, js cant find stringformat and amxd~ is not supported in live. And i get a little box with the file name of the amxd, nothing else. I tried selecing everything of the amxd in hex editor and copy it to the empty patch but paste is greyed out.
Note that amxd~ is a plugin (similar to vst~) which is created from some existing M4L device. If you want to edit the plugin, load the original M4L device into Live and use the Max editor of M4L.
Max 8 can natively open amxd fies for editing and storing them
without Live.
What Broc describes is simple :
you take any audio amxd file, open it in Max, or load it into Live and
open for editing.
Replace contents with your patch or copied items from another amxd.
Or start from scratch.
Then save it under different name.
ampf type descriptor remains as is.
but changing that 4 lette is faster , or ?
Thank you both for your replies! You taught me much! And yes, editing the file is much much faster and convenient, allthough i think there should be an internal option to define the amxd as audio/midi/instrument.