Recent Posts

Pages: [1] 2 3 ... 10
1
General Discussion / Re: AZ Lua MFX plug-in parallel fifths
« Last post by azslow3 on December 16, 2018, 09:20:47 AM »
Great!  :)

It took just several years till someone has tried to use AZ Lua  ::)
2
General Discussion / Re: AZ Lua MFX plug-in parallel fifths
« Last post by F0h on December 16, 2018, 02:16:29 AM »
F0h

Hello Alexey
This is my "Hello World" for AZ Lua
a Power Chord Plug in

Thanks for the advice

Julio.

F7h

Code: [Select]
--[[ Power Chord
    by Julio Benavides
--]]
local active = MfxOffNotes.new()
local n
function OnInput(pqIn, pqOut)
  for i,e in ipairs(pqIn) do
    if e.Type ~= Note then 
  pqOut.add(e)
end

    e = active.move(e, pqOut )

    if not e then  
elseif e.Vel then
      base = e:copy()  
      n = e.Key
      --Seconde note--  
  e.Key = n + 7
      active.add(base, e)     
      pqOut.add(e)  
      --Third note--
  e.Key = n + 12
      active.add(base, e)     
      pqOut.add(e)       
    end   
  end
end 

OnEvents = function ( From, To, pqIn, pqOut)
 OnInput(pqIn, pqOut)
end

3
General Discussion / Re: AZ Lua MFX plug-in parallel fifths
« Last post by F0h on December 15, 2018, 10:27:05 PM »
Oh yes!  :-[ Duration is Delta Time from Note Off to Note on.
I will study "Transpose everything one octave up during C3 "switch key"
and MfxOffNotes.new()
Thanks for your time.

4
General Discussion / Re: AZ Lua MFX plug-in parallel fifths
« Last post by azslow3 on December 15, 2018, 09:17:19 PM »
You took an example which works with CC. And you need one for Notes. That is a bit tricky, when you play recorded notes they are represented as "Note", with duration. But live they are represented as "NoteOn" and "NoteOff". If you dynamically switch what notes do, check MfxOffNotes.new() documentation and "Transpose everything one octave up during C3 "switch key" engaged" as an example.

But for simple static transformation you can use (untested!!!)
Code: [Select]
function OnInput(pqIn, pqOut)
  for i,e in ipairs(pqIn) do
    if e.Key then
      e.Key = e.Key + 7
    end
    pqOut.add(e)
  end
end
OnEvents = function ( From, To, pqIn, pqOut)
 OnInput(pqIn, pqOut)
end
The trick here is simple, "Note", "NoteOn" and "NoteOff" have the field "Key". Other MIDI events do not have it. So you modify the Key if it exists, for all cases at once...
5
Discussions / Re: TouchOSC not working in Cakewalk by Bandlab
« Last post by azslow3 on December 15, 2018, 09:03:57 PM »
When you have such problems, check:
a) Sonar/CbB is allowed to use network, also as a server
b) the port you configure in AZ Controller is not in use. Can be the case if for example you use the same in other DAW
c) OSC is enabled in AZ Controller.

If the problem is gone on its own, (b) can be the case. And so it can return...
6
General Discussion / Re: AZ Lua MFX plug-in parallel fifths
« Last post by F0h on December 15, 2018, 09:00:38 PM »
oh, I see the code process when I play a recorded MIDI event, but I would like add a new note every time I play a key... in realtime of course.
7
General Discussion / AZ Lua MFX plug-in parallel fifths
« Last post by F0h on December 15, 2018, 06:58:22 PM »
Hello Cakewalkers!
I'm starting to learn AZ LUA, I copied and edited the program that "Convert modulation to the Program Change " I don´t Know what does not work my edition
Please help
Regards.

Code: [Select]
--[[parallel fifths]]--

function OnInput(pqIn, pqOut)
  for i,e in ipairs(pqIn) do
    if e.Type == Note then
      local n = MfxEvent.new(Note)
      n.Time = e.Time
      n.Chan = e.Chan
      n.Key  = e.Key + 7
      n.Vel  = e.Vel
      n.VelOff = e.VelOff
      n.Duration = e.Duration
      e = n
    end
    pqOut.add(e)
  end
end

OnEvents = function ( From, To, pqIn, pqOut)
 OnInput(pqIn, pqOut)
end

8
General Discussion / Re: Sonar is alive again!
« Last post by F0h on December 15, 2018, 06:38:29 PM »
Old by useful  ;)
I miss the really old "Studioware" panel design and the CAL Editor
I love de AZ LUA I think it will be a resuscitator for CW

Regards.
9
Discussions / Re: TouchOSC not working in Cakewalk by Bandlab
« Last post by balinas on December 15, 2018, 04:32:44 PM »
so this morning, I uninstalled everything AZ, then reinstalled with latest version, along with redownload, reinstall .spp files and touchOSC files.  Then confirmed the IP address of my phone and computer. 

Surprisingly, everything then worked.  so no further troubleshooting needed at this time! hope all is well!
10
Discussions / Re: Channel Strip Control LCD on VS-700
« Last post by Mathimid on December 15, 2018, 01:04:01 PM »
It looks like you don't have to implement that first. The VM-C7X00 Checksum seems to does it.

So the current action list for the value is:

- SysEx/MIDI+: Begin: f0 41 10 00 00 31 12 01 (msb first column) 40 (lsb bottom row)
- Paramenter value
- SysEx/MIDI+: Append text
- Ro. VM-C7X00 Checksum
- SysEx: End: f7

It currently triggers the changes pretty slowly and i have to implement some monitor reset actions, but it works.

I just couldn't get managed to show the parameter name in the top row. It just shows me the name of the focused container, respectively plugin, (f.e. Track-EQ). And the first character in the top row of the display is empty. But that's just a matter of time and try and error.
Pages: [1] 2 3 ... 10