Macro LAF / Paint Routines help
-
@DanH said in Macro LAF / Paint Routines help:
[obj.macroIndex]
check if this exist? -
@ulrik It seems to as it works perfectly for the names at the bottom...
-
@DanH Hm.. I've never worked with macros before, do you have a snippet?
-
@ulrik Yup :) I've commented out the lines which give errors
HiseSnippet 1227.3oc4XstaaaCEVxNpqwstXEX.CX+hv+xFy0QxIwMEAAKWrcgQaRLhyJFPPP.iDsLWjIMjnSrQQeB1ivdo1ixdC1NTTxRNUyyKHccoSAvQ7bg76bH44h55ysIAAbeM8UOc5Hhl9SM5MkIFbv.Lko0ool9yLNDGHH9HEo8mNBGDPbzz0y+ZIA8UWQK742+g8wdXlMIgjl163TaxaoCohDpc28MTOu1XGxozgojdic6XyYGv83iA7j2vTaD19JrK4HrTrbFZ5OpkCUv86IvBRfl9J6ycl1a.+FlR92QCnW5QjCrz5ASjhbatmiDwx20NX.0yoarcGnooazMwKjW4E9FiCoNzYzS7FecHCThFo8G54VD7rtivSOE7VQAumazy1mNRjvQhsmXzgAaT8wvVPZXojUK2uj23.NHASTaH9JRaeXvLMJ2vzrJZSSyJaWr.rMDHPWi8Qd39ncPsXtTFolsOALrW6wuD6olz2x4WsGyoMg3UVp3Zy+fPGt2AmbbOz7jKVnXgnoLfHBwAg4bH11mGT9rRfNVkphj+udoykSKfhZ9DWp7bX6wLaAkyJWxwGeyQiGdIw+TrKnP+XNtUQ7K+4JEK79hEPvi5WfTMLXAmYdN562IYX8yQu.Ys412RJqPoLuMYP5cPVabaxqOGY0uqslzCZGddNXXn0ABcl4jFa05Ulq27UUQlSZ21zrwVM157HUcktD0cfxIbqrc7T5VqOb44D9XFbl4Dhs.yb8HkmaUNSBqvW6.RM47pyvYUzFUlsPYNQYJYZH8x0a1P9WBW49vhlmpn5UlywDdvhHfMyPGRovcaXqdNgTy6ddTWFw4TxDQ4HUVj0UxFNc6SbJIWvOTY63iDHN6HtfbLqbkBuuvpE9PAzsY0uel7j2X74ddD+LYKif4uHEKyBOgVELZuwjYBBWkmOVwSVtXE1pKvoDjy5vnhiGQhFmDMQxSY0wbM0lYroIkXiooFZZYHVBoONXkVT.FHrUtHwAQEgAsdVTPqddTGhuFEv3WY7FF+RKsPeS5zFZKsx0yP4erSSr.KCcFAG.hiH9BpzQq2jbMjSREHcUiljfqD7Qg3c3HNSBd8U9aQ7DHsg9DXslJe4WUPdo0utT+H.aNd2j43iC0CIb3Ni8vh4yBIS8Fw.NtMW3dYHcV.ULMcp4+AolLyL0jUV61KIbetQWpvdP13MWF3Ud74SLdiRzWznU+9PPqDvthQ6e5tlU+tAkGqfx2ZDlALwK0CB3Boxkf56T7PILQJtVKnfreaYKHazRWPld948E4WtnVYTUyS+LTz08+I6ujtHl++8WDWjqa0nafV2qawVexvY8GH3b8+iekIFma7.Ama9.AmMdffyW9.Ama84BmPmeBJy8PrvmJqJF5HWUZBfQFi3EHKtMmr9X0XS4XIf5A87GN3OfmHlVxw5QLshY9uxZD1Q4E1p9NjUn73PJfcyB+7SOxP9cIh61vvvrlo1PnrjKrsk4pdALS51wMR4bwHrOnFzuJrCHK7O8GmIEO0W4JZ3EpUJtGigxh4hVHrzrMrfW832DSc.0cPLYJ6ZnCm3OiDzLrCm4MMZWKCKo98ukX8WXI0+jYI4LVjU7kuvxxh2arfOTULGPnaqvVe00awvvc4vfAZ+Ifcufsy
-
This post is deleted! -
@DanH Try this
There were a wrong line in there, this one://g.fillRoundedRectangle(coloursmacros[obj.macroIndex], obj.area, 4);
HiseSnippet 1213.3oc4X0saaaCElxNJqwqtXEX.CXWQ3qrwbSjbRbSQPP9y1EFsIwnNqX.AYYLRz1bQlzShNwFEEXuJ6MY2t61ivdD1av1ghRQxtIYt.Ka0sx.1lm+32gGxCOG0xW3PCBD9HikNd7.Jx3glsGyk81uGgwQMqgLdj4Aj.I0GqIs23Ajf.pKxvH6yUDLVZAT3yet8dDOB2glPBgdsf4PeIqOSlPs0Nuf440f3ROl0OkzqsSSGAeegmXHfmrlVnADmKHcoGRThkwDYrXcWlT32VRjz.jw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2IL8IJjD92lbW5nSSTnCbV6Uhg.U2WQcjDdWOZwXbWFu1MYZqQOc0ZUUeR3pVsuK6TFWoz639dTIDxBc7BgwTHfNgPZ6tqGqKm5dLcjrXjJS6PkwIyUAGXOrO0sfZBeaoMiC7XA+PgjdDuXobuI2R4daN7zr5z4F4oNW3K77n92HaUdJ+6Rwh7v8gkAm1aH8ZAgCrSlQv71yHjNgki9XZJAE7lbl7nAT9skm.Ec1FxXjIBUfnxv7EOJJeQaOlK0GwfzBel4K3hysQg.NJG7Ou2u7GailYkqLgx+pakeaaz21rFQRTYshfC.wATeIS48F0nWBWGnygsjYMZvERwfP71effq.uwB+iHdTxMFe+NiudvO3rC58vNURYGqgSYm2MiKj2W3NziHm7x.0MfQLf8CSj0UkYkGvjiSeC48xMDyJberYKlzo2Mi2L2.dUaktmwaz8s4Mq2oCjUIArKX136t+ubMMTdfFJekY3EQIqRsgLhvMpJP80Zd3DlXMW66ntneeVqKZvLWWjQ1Yds38nNnG9AccPeJdnL6m7GJuqktkhNMZ+AdHNFmUlSv4pyI3bs4Dbt9bBNqNmfymNmfyM9+BmPaZRFu6ADoOCpx0DZRVWlBfQNm5oZDwHipkA8XK0XEfZCsgGN3ufmHl1pwFQLsiY9exbD192YN59QTUn7fPJfeyCeiPKZpdUAwcgrnY0pKag5C0kblii5xpm.lxvIt0N2yFP7A8ftKgPfpSfzuvjT7zu4ongmomp3lO5qpryzzRMQDkeaZC+0SbUL0drt8hIy3WBs9nCTVHn0UWA2abTX6FbkJItRk0+WxUruEWox8lqjwL1MhL9DdwG+BqJLd2gRQec4b.gV0CaJ1vnNm.mlCSGf9a.jM0tCA
I'm getting an Error here:
Interface: Index mismatch: Removed Macro Control for Mix
I Have custom Knobs Made By LAF, It Works in The Example Above, But Once i Hit Compile, It Gets Remove From the Macros :/
Edit: Mix Is A Knob! Which Assigned to One of Macros!
-
Here is the snippet:
HiseSnippet 1646.3oc4Y8taaaCDWJIZsIqoXEs.CXehKextwwQxNwIAAE04et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st right click and Select MAC1 on Context menu, and Then hit Compile
It Removes :/ -
@Natan so you want the compiled plugin to already be assigned to MAC1 when you open it in a daw?
-
@ulrik said in Macro LAF / Paint Routines help:
nt the compiled plugin to already be assigned to MAC1 when you open it in a
Nah, I Need this Like normal Way, User Assign with mouse right Click and Select The MAC Number.
But it Somehow removes The macros.
Also if I Export this as Fx Plugin, It Does Nothing At All.
Looks like it works In VST instruments Only And not FX Plugins, RIght? -
@Natan I compiled it and loaded it as an instrument (au) in logic and it did not work, it said it was connected to MAC1 but there were no number indicating it and I was not able to disconnect it...
-
@ulrik said in Macro LAF / Paint Routines help:
d it and loaded it as an instrument (au) in logic and it did not work, it said it was connected to MAC1 but there were no number indicating it and I was not able to disconnect it...
I guess you need to Tick Enable Midi Input FX And An Extra Flag, So it Let You use the Right Click Pop Up Option, Otherwise, The pop Up won't show up In Compiled VST Instrument.