Sidar

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: Lost my work again. #115242
    Sidar
    Participant
    • Topics: 1
    • Replies: 5
    • Total: 6

    Sorry for spamming, looks like I solved it. Not sure how Panel File Path works but for whatever reason it kept pointing to a different file. Is there more to this or does that sound like a bug?

    in reply to: Lost my work again. #115238
    Sidar
    Participant
    • Topics: 1
    • Replies: 5
    • Total: 6

    Alright there is definitely some bugs going on.

    1: File wouldn’t open because of the groupname property on one of the modulator, after removing it opens again
    2: For whatever reason one of my group panels always gets parented into one of the other panels after reopening the file.

    No idea how to fix point 2

    edit:
    File attached, second tab, “Phaser” group is hidden in “Tremelo group”

    • This reply was modified 3 years, 1 month ago by Sidar.
    • This reply was modified 3 years, 1 month ago by Sidar.
    Attachments:
    You must be logged in to view attached files.
    in reply to: Lost my work again. #115237
    Sidar
    Participant
    • Topics: 1
    • Replies: 5
    • Total: 6

    Ok so my file won’t open again, not sure what I did this time. No error thrown either it just closes.

    Is there a way to debug?
    I’ve attached the file, can does it open for you?

    in reply to: Lost my work again. #115229
    Sidar
    Participant
    • Topics: 1
    • Replies: 5
    • Total: 6

    Ok my bad I found out why.
    I copied the function over and overriding the function name.
    They both had “ChorusTypes” as function name. Perhaps an error message about this would help a lot?

    in reply to: Lost my work again. #115228
    Sidar
    Participant
    • Topics: 1
    • Replies: 5
    • Total: 6

    Am on PC using 5.3.201

    I also figured out which part is causing it

      <luaMethod luaMethodName="ReverbTypes" luaMethodCode="--&#10;-- Called when a modulator value changes&#10;-- @mod   http://ctrlr.org/api/class_ctrlr_modulator.html&#10;-- @value    new numeric value of the modulator&#10;--&#10;ChorusTypes = function(--[[ CtrlrModulator --]] mod, --[[ number --]] value, --[[ number --]] source)&#10;&#13;&#10;NONE &#9;&#9;= &#9;CtrlrMidiMessage({0xF0,0x43,0x10,0x4C,0x02,0x01,0x00,0x00,0x00,0xF7})&#13;&#10;HALL1 &#9;&#9;= &#9;CtrlrMidiMessage({0xF0,0x43,0x10,0x4C,0x02,0x01,0x00,0x01,0x00,0xF7})&#13;&#10;HALL2 &#9;&#9;= &#9;CtrlrMidiMessage({0xF0,0x43,0x10,0x4C,0x02,0x01,0x00,0x01,0x01,0xF7})&#13;&#10;Room1 &#9;&#9;=&#9;CtrlrMidiMessage({0xF0,0x43,0x10,0x4C,0x02,0x01,0x00,0x02,0x00,0xF7})&#13;&#10;Room2 &#9;&#9;=&#9;CtrlrMidiMessage({0xF0,0x43,0x10,0x4C,0x02,0x01,0x00,0x02,0x01,0xF7})&#13;&#10;Room3 &#9;&#9;=&#9;CtrlrMidiMessage({0xF0,0x43,0x10,0x4C,0x02,0x01,0x00,0x02,0x02,0xF7})&#13;&#10;Stage1 &#9;&#9;=&#9;CtrlrMidiMessage({0xF0,0x43,0x10,0x4C,0x02,0x01,0x00,0x03,0x00,0xF7})&#13;&#10;Stage2 &#9;&#9;=&#9;CtrlrMidiMessage({0xF0,0x43,0x10,0x4C,0x02,0x01,0x00,0x03,0x01,0xF7})&#13;&#10;Plate &#9;&#9;=&#9;CtrlrMidiMessage({0xF0,0x43,0x10,0x4C,0x02,0x01,0x00,0x04,0x00,0xF7})&#13;&#10;WHITE &#9;&#9;=&#9;CtrlrMidiMessage({0xF0,0x43,0x10,0x4C,0x02,0x01,0x00,0x10,0x00,0xF7})&#13;&#10;TUNNEL &#9;&#9;=&#9;CtrlrMidiMessage({0xF0,0x43,0x10,0x4C,0x02,0x01,0x00,0x11,0x00,0xF7})&#13;&#10;BASEMENT &#9;=&#9;CtrlrMidiMessage({0xF0,0x43,0x10,0x4C,0x02,0x01,0x00,0x13,0x00,0xF7})&#13;&#10;&#13;&#10;if value == 0 then&#13;&#10;panel:sendMidiMessageNow(NONE)&#13;&#10;elseif value == 1 then&#13;&#10;panel:sendMidiMessageNow(HALL1)&#13;&#10;elseif value == 2 then&#13;&#10;panel:sendMidiMessageNow(HALL2)&#13;&#10;elseif value == 3 then&#13;&#10;panel:sendMidiMessageNow(Room1)&#13;&#10;elseif value == 4 then&#13;&#10;panel:sendMidiMessageNow(Room2)&#13;&#10;elseif value == 5 then&#13;&#10;panel:sendMidiMessageNow(Room3)&#13;&#10;elseif value == 6 then&#13;&#10;panel:sendMidiMessageNow(Stage1)&#13;&#10;elseif value == 7 then&#13;&#10;panel:sendMidiMessageNow(Stage2)&#13;&#10;elseif value == 8 then&#13;&#10;panel:sendMidiMessageNow(Plate)&#13;&#10;elseif value == 9 then&#13;&#10;panel:sendMidiMessageNow(TUNNEL)&#13;&#10;elseif value == 10 then&#13;&#10;panel:sendMidiMessageNow(BASEMENT)&#13;&#10;elseif value == 11 then&#13;&#10;panel:sendMidiMessageNow(FLANGER3)&#13;&#10;end&#13;&#10;&#13;&#10;end"
                     luaMethodLinkedProperty="luaModulatorValueChange" luaMethodSource="0"
                     uuid="22531e68545b4bba9c2627c3e3e7ccec" luaMethodValid="1"/>

    For reference the other method that works which is similar looks like this

     
    <luaMethod luaMethodName="ChorusTypes" luaMethodCode="--&#10;-- Called when a modulator value changes&#10;-- @mod   http://ctrlr.org/api/class_ctrlr_modulator.html&#10;-- @value    new numeric value of the modulator&#10;--&#10;ChorusTypes = function(--[[ CtrlrModulator --]] mod, --[[ number --]] value, --[[ number --]] source)&#10;&#13;&#10;NONE = &#9;&#9;CtrlrMidiMessage({0xF0,0x43,0x10,0x4C,0x02,0x01,0x20,0x00,0x00,0xF7})&#13;&#10;CHORUS1 = &#9;CtrlrMidiMessage({0xF0,0x43,0x10,0x4C,0x02,0x01,0x20,0x41,0x00,0xF7})&#13;&#10;CHORUS2 = &#9;CtrlrMidiMessage({0xF0,0x43,0x10,0x4C,0x02,0x01,0x20,0x41,0x01,0xF7})&#13;&#10;CHORUS3 =&#9;CtrlrMidiMessage({0xF0,0x43,0x10,0x4C,0x02,0x01,0x20,0x41,0x02,0xF7})&#13;&#10;CHORUS4 =&#9;CtrlrMidiMessage({0xF0,0x43,0x10,0x4C,0x02,0x01,0x20,0x41,0x08,0xF7})&#13;&#10;CELESTE1 =&#9;CtrlrMidiMessage({0xF0,0x43,0x10,0x4C,0x02,0x01,0x20,0x42,0x00,0xF7})&#13;&#10;CELESTE2 =&#9;CtrlrMidiMessage({0xF0,0x43,0x10,0x4C,0x02,0x01,0x20,0x42,0x01,0xF7})&#13;&#10;CELESTE3 =&#9;CtrlrMidiMessage({0xF0,0x43,0x10,0x4C,0x02,0x01,0x20,0x42,0x02,0xF7})&#13;&#10;CELESTE4 =&#9;CtrlrMidiMessage({0xF0,0x43,0x10,0x4C,0x02,0x01,0x20,0x42,0x08,0xF7})&#13;&#10;FLANGER1 =&#9;CtrlrMidiMessage({0xF0,0x43,0x10,0x4C,0x02,0x01,0x20,0x43,0x00,0xF7})&#13;&#10;FLANGER2 =&#9;CtrlrMidiMessage({0xF0,0x43,0x10,0x4C,0x02,0x01,0x20,0x43,0x01,0xF7})&#13;&#10;FLANGER3 =&#9;CtrlrMidiMessage({0xF0,0x43,0x10,0x4C,0x02,0x01,0x20,0x43,0x08,0xF7})&#13;&#10;&#13;&#10;if value == 0 then&#13;&#10;panel:sendMidiMessageNow(NONE)&#13;&#10;elseif value == 1 then&#13;&#10;panel:sendMidiMessageNow(CHORUS1)&#13;&#10;elseif value == 2 then&#13;&#10;panel:sendMidiMessageNow(CHORUS2)&#13;&#10;elseif value == 3 then&#13;&#10;panel:sendMidiMessageNow(CHORUS3)&#13;&#10;elseif value == 4 then&#13;&#10;panel:sendMidiMessageNow(CHORUS4)&#13;&#10;elseif value == 5 then&#13;&#10;panel:sendMidiMessageNow(CELESTE1)&#13;&#10;elseif value == 6 then&#13;&#10;panel:sendMidiMessageNow(CELESTE2)&#13;&#10;elseif value == 7 then&#13;&#10;panel:sendMidiMessageNow(CELESTE3)&#13;&#10;elseif value == 8 then&#13;&#10;panel:sendMidiMessageNow(CELESTE4)&#13;&#10;elseif value == 9 then&#13;&#10;panel:sendMidiMessageNow(FLANGER1)&#13;&#10;elseif value == 10 then&#13;&#10;panel:sendMidiMessageNow(FLANGER2)&#13;&#10;elseif value == 11 then&#13;&#10;panel:sendMidiMessageNow(FLANGER3)&#13;&#10;end&#13;&#10;&#13;&#10;end"
                     luaMethodLinkedProperty="luaModulatorValueChange" luaMethodSource="0"
                     uuid="ec043aafcf8c40de91eff87e0a324956" luaMethodValid="1"/>
    

    Your attachment crashes too.

    I was about to make an issue on github, should I continue?

Viewing 5 posts - 1 through 5 (of 5 total)
Ctrlr