|
|
|
12-13-2019, 10:20 PM
|
#81
|
Human being with feelings
Join Date: Dec 2019
Posts: 9
|
Ahh, that makes so much sense now
Thank you!
|
|
|
12-14-2019, 11:18 AM
|
#82
|
Human being with feelings
Join Date: Jun 2018
Location: At the bottom optimistically looking up.
Posts: 142
|
ReaPack Not Compatible With Windows XP
High. Hell oh. Reading the comments in this thread, this ChordGun script seems highly rated or at least very useful.
But how do I download GunChord if I can't install ReaPack on my Windows XP computer?
Is via ReaPack the only way to download ChordGun?
I did download ChordGun.lua from https://github.com/benjohnson2001/Ch...r/ChordGun.lua but it doesn't work.
If possible, can someone please upload a working version of ChordGun to the REAPER stash?
Is ChordGun's filesize too big for the REAPER stash?
__________________
Ah! böwakawa poussé, poussé
|
|
|
12-14-2019, 01:29 PM
|
#84
|
Human being with feelings
Join Date: Oct 2018
Posts: 367
|
Quote:
Originally Posted by Harry Diddlebock
|
The master branch is unpackaged and untested, don't use that
Quote:
Originally Posted by Harry Diddlebock
But how do I download GunChord if I can't install ReaPack on my Windows XP computer?
Is via ReaPack the only way to download ChordGun?
|
Everything is available in the pkg folder of the release branch, the main action is here https://github.com/benjohnson2001/Ch...t_ChordGun.lua
Last edited by pandabot; 02-08-2021 at 07:42 PM.
|
|
|
12-14-2019, 08:57 PM
|
#85
|
Human being with feelings
Join Date: Jun 2018
Location: At the bottom optimistically looking up.
Posts: 142
|
I managed to get ChordGun working.
I don't know how to download a lua file from that site via my ancient Firefox browser.
So, I just copied the code into notepad and changed the txt file extension to the lua file extension.
I checked to see if YouTube has videos about ChordGun... and yes, there's a few of them that I plan to watch later to find out how to use ChordGun.
Thanks very much PandaBot for helping me find the proper ChordGun to download.
__________________
Ah! böwakawa poussé, poussé
|
|
|
12-27-2019, 07:36 PM
|
#86
|
Human being with feelings
Join Date: Dec 2018
Posts: 1,025
|
Quote:
Originally Posted by pandabot
|
Hi, very eager to try this but having issues as well. I got the pack from ReaPack browser within Reaper. The problem is pressing on the chord buttons does not input anything into the midi editor.
Appreciate help to get this working.
Edit: To clarify, it works in sending chord events to a VSTi when I have record enabled and MIDI input set to virtual input. But I still cannot get it to work for inserting events into midi editor (non-recording mode)
Last edited by talustalus; 12-27-2019 at 08:20 PM.
|
|
|
12-27-2019, 09:37 PM
|
#87
|
Human being with feelings
Join Date: Dec 2019
Posts: 9
|
Quote:
Originally Posted by talustalus
I still cannot get it to work for inserting events into midi editor
|
Did you try holding the shift key while clicking the chord name?
|
|
|
12-28-2019, 07:37 PM
|
#88
|
Human being with feelings
Join Date: Dec 2018
Posts: 1,025
|
Quote:
Originally Posted by St3v3
Did you try holding the shift key while clicking the chord name?
|
Well whaddaya know!
It works
Thank you.
|
|
|
01-25-2020, 02:58 PM
|
#89
|
Human being with feelings
Join Date: Oct 2019
Location: Lübeck, Germany
Posts: 47
|
Quote:
Originally Posted by pandabot
it is definitely possible to detect when a mouse key is released and what you describe was actually the original behavior, but decided I liked this behavior better with having a single mouseclick ring out
unfortunately it is not possible to detect when a key is released, although I came up with a hack that seems to work on my machine (note offs are detected with just a small delay). The problem is that it relies on a number that you have to tweak before it works right, and this number is likely different for each user's machine so decided against implementing it for the general public
|
I would love to be able to trigger the chords from one octave of my MIDI keyboard, but with note-off being observed.
Is there any workaround to be able to do this? Like a JSFX script that detects the MIDI notes and then alternately triggers the "scale chord n" and "stop all notes" actions?
Thanks anyway for a great tool!
|
|
|
01-27-2020, 07:16 PM
|
#90
|
Human being with feelings
Join Date: Aug 2006
Posts: 399
|
Couldn't get midigun to work,I have scaler which is easier for my brain,just add it to the start of an instrument.
It costs though but not much.
|
|
|
01-27-2020, 07:18 PM
|
#91
|
Human being with feelings
Join Date: Aug 2006
Posts: 399
|
Quote:
Originally Posted by St3v3
Did you try holding the shift key while clicking the chord name?
|
I tried this,no sound at all.
I use Scaler so no biggie.
|
|
|
01-27-2020, 07:32 PM
|
#92
|
Human being with feelings
Join Date: Aug 2006
Posts: 399
|
Quote:
Originally Posted by EpicSounds
|
This tutorial does not explain how to get sound from it and yes I have Air's Mini Grand plugin installed into a midi track and armed and making sound on my midi kb.
Where is Kenny G?
|
|
|
01-27-2020, 07:37 PM
|
#93
|
Human being with feelings
Join Date: Aug 2006
Posts: 399
|
Got it to Work!
Make sure you have all midi channels selected on midi in.
I'm old and a dumbo,God hates us ,we struggle for stuff brainiacs find easy.
|
|
|
01-27-2020, 11:19 PM
|
#94
|
Human being with feelings
Join Date: Oct 2014
Posts: 1,369
|
"Insert virtual Instrument on new track" do the trick at once
|
|
|
01-29-2020, 07:14 PM
|
#95
|
Human being with feelings
Join Date: Oct 2018
Posts: 367
|
Quote:
Originally Posted by vonglan
I would love to be able to trigger the chords from one octave of my MIDI keyboard, but with note-off being observed.
Is there any workaround to be able to do this? Like a JSFX script that detects the MIDI notes and then alternately triggers the "scale chord n" and "stop all notes" actions?
Thanks anyway for a great tool!
|
I never looked into any JSFX stuff so I'm not sure if that's possible, it looks like these guys explored that a little https://forum.cockos.com/showthread.php?p=2182487
Quote:
Originally Posted by smasha
Where is Kenny G?
|
https://www.youtube.com/watch?v=xyBcpMXrxgQ
|
|
|
02-01-2020, 07:36 AM
|
#96
|
Human being with feelings
Join Date: Oct 2008
Location: Germany
Posts: 1,772
|
Quote:
Originally Posted by talustalus
Hi, very eager to try this but having issues as well. I got the pack from ReaPack browser within Reaper. The problem is pressing on the chord buttons does not input anything into the midi editor.
Appreciate help to get this working.
Edit: To clarify, it works in sending chord events to a VSTi when I have record enabled and MIDI input set to virtual input. But I still cannot get it to work for inserting events into midi editor (non-recording mode)
|
Hi, can you tell me where in Reaper i can find the ReaPack browser?
Regards
Michael
|
|
|
02-08-2020, 04:28 PM
|
#97
|
Human being with feelings
Join Date: Oct 2018
Posts: 367
|
It's in Extensions->ReaPack->Browse packages
|
|
|
02-09-2020, 08:02 AM
|
#98
|
Human being with feelings
Join Date: Oct 2014
Posts: 1,369
|
thank you this cool enhancement to REAPER
i have the same issues like Xenova
https://forum.cockos.com/showpost.ph...6&postcount=53
Ctrl , Ctrl . and those others won't fire the action
i tuned the Chordgun a little to fire decrementScaleTonicNoteAction() with a , solely .. and that works
downgrade to version 1 (i kind a like the non shift thing, but democracy rulez)
the detection of control/command/shift-keys seams to be defective in windows
i see the detectiojn of control in variable gfx_mouse_cap
32 for the Logo-Key (Windows),
8 for shift
Ctrl is 4
Alt is 16
WindowsKey with comma shows preview of desktops
and WindowsKey with dot shows an emoji-selection
--
i see that inputcharacter won't change if Control and Comma are both pressed .. shift will work but changes the inputcharacter from 44 to 59 (normal behaviour)
Last edited by bobobo; 02-09-2020 at 08:26 AM.
|
|
|
02-09-2020, 09:51 AM
|
#99
|
Human being with feelings
Join Date: Jul 2013
Location: Québec
Posts: 491
|
Thanks Pandabot for your excellent ChordGun.
I replaced the chord Root-5 (C-5 in C) for minMaj7 (label it min+7) chord cos I need that chord in harmonic mineur mode.
|
|
|
02-09-2020, 11:56 AM
|
#100
|
Human being with feelings
Join Date: Oct 2018
Posts: 367
|
Quote:
Originally Posted by bobobo
32 for the Logo-Key (Windows),
8 for shift
Ctrl is 4
Alt is 16
|
Oh interesting, that's not what I would have expected from reading the docs:
Code:
gfx.mouse_cap is a bitfield of mouse and keyboard modifier state.
1: left mouse button
2: right mouse button
4: Command key
8: Shift key
16: Option key
32: Control key
64: middle mouse button
Quote:
Originally Posted by bobobo
WindowsKey with comma shows preview of desktops
and WindowsKey with dot shows an emoji-selection
|
You can probably disable these global hotkeys in your Windows configuration and then it should work. So I guess the translation is:
Mac command => Windows ctrl
Mac option => Windows alt
Mac control => Windows logo-key
|
|
|
02-09-2020, 04:59 PM
|
#101
|
Human being with feelings
Join Date: Oct 2014
Posts: 1,369
|
I understand the gfx.mouse_cap
Control is Windows Logo Key
Option Windows Alt Key
Command is Windows Control Key
But command/control/alt & comma/point is not recognized by the script
inputcharacter won't change then
But maybe my pc is crap
I wish one of our script heros would check this
|
|
|
02-09-2020, 05:43 PM
|
#102
|
Human being with feelings
Join Date: Oct 2018
Posts: 367
|
Quote:
Originally Posted by bobobo
i see that inputcharacter won't change if Control and Comma are both pressed
|
inputCharacter is not supposed to change when modifiers are held down, modifiers only change the state of gfx.mouse_cap. The script checks to see if these flags are set using these functions https://gist.github.com/benjohnson20...d25bbb7bc241a4
The Windows logo-key shortcuts are global and will override this script, that's the real problem. It should work if you disable these
|
|
|
02-10-2020, 10:41 AM
|
#103
|
Human being with feelings
Join Date: Oct 2014
Posts: 1,369
|
i 've diable shortcuts
but the script wont recognize , . with those modifier keys
i dont want to spoil my pc (windows an windows-Logo-key isn't that easy to switch off, you have to crawl into the guts for it)
maybe someone with Windows can confirm it or show the way what i do wrong here.
it still keeps being a great script
Last edited by bobobo; 02-10-2020 at 11:16 AM.
|
|
|
02-12-2020, 07:11 AM
|
#104
|
Human being with feelings
Join Date: Oct 2014
Posts: 1,369
|
i've found maybe similar issues concerning gfx.getchar
https://forum.cockos.com/showthread.php?t=212238
there is a script that shows what key is pressed.
, and . (and other with no regular key) shows values as long as Commd / Alt or WindowsKey isn't involved, if they are no value is shown.
the code in handleinput is ok but delivers no result
(can only test in Windows)
Anybody here who can confirm this?
|
|
|
02-12-2020, 09:42 AM
|
#105
|
Human being with feelings
Join Date: Oct 2014
Posts: 1,369
|
how about a version that uses
0 - stop all notes from playing
1 - play scale chord 1
2 - play scale chord 2
3 - play scale chord 3
4 - play scale chord 4
5 - play scale chord 5
6 - play scale chord 6
7 - play scale chord 7
q - higher scale note 1
w - higher scale note 2
e - higher scale note 3
r - higher scale note 4
t - higher scale note 5
y - higher scale note 6
u - higher scale note 7
a - scale note 1
s - scale note 2
d - scale note 3
f - scale note 4
g - scale note 5
h - scale note 6
j - scale note 7
z - lower scale note 1
x - lower scale note 2
c - lower scale note 3
v - lower scale note 4
b - lower scale note 5
n - lower scale note 6
m - lower scale note 7
cmd q - decrement scale tonic note
cmd w - increment scale tonic note
cmd e - decrement scale type
cmd r - increment scale type
cmd a - halve grid size
cmd s - double grid size
cmd d - decrement octave
cmd f - increment octave
cmd y - decrement chord type
cmd z - decrement chord type (in german version)
cmd x - increment chord type
cmd c - decrement chord inversion
cmd v -increment chord inversion
cmd g - cursor one step right in grid
right arrow - cursour one step right
left arrow - cursor one step left
F1 - this help
you can download 2 variations
english version directly from here
normal version
german version (z and y are reversed)
german Version
put it into the scripts folder Scripts\ReaTeam Scripts\Various\pandabot_ChordGun
load it in the action list.
all tribute to pandabot original version
Donate: https://paypal.me/benjohnson2001
original version
Last edited by bobobo; 02-19-2020 at 03:14 AM.
Reason: insert CMD G , y-z swap , links , Space for StopPlaying, ArrowKeys, show Shortcuts via F1
|
|
|
02-16-2020, 05:59 PM
|
#106
|
Human being with feelings
Join Date: Oct 2018
Posts: 367
|
Quote:
Originally Posted by STOP
Thanks Pandabot for your excellent ChordGun.
I replaced the chord Root-5 (C-5 in C) for minMaj7 (label it min+7) chord cos I need that chord in harmonic mineur mode.
|
Hey very nice! Yeah it should be pretty easy to hack, adding custom scales is a similar process if anyone is curious https://imgur.com/a/V01ovbI
|
|
|
02-23-2020, 05:20 PM
|
#107
|
Human being with feelings
Join Date: May 2017
Posts: 125
|
Nice smart chord helper. I have the problem, that the chords always play forever. I know I can press 0 to stop all midi notes, but that makes no fun. What is the problem in general, and is there a work around?
|
|
|
02-28-2020, 10:19 AM
|
#108
|
Human being with feelings
Join Date: Oct 2018
Posts: 367
|
Quote:
Originally Posted by Eisenspalter
Nice smart chord helper. I have the problem, that the chords always play forever. I know I can press 0 to stop all midi notes, but that makes no fun. What is the problem in general, and is there a work around?
|
There's no api access into key releases so there isn't any way to tell if a user releases a key. I was playing with a workaround here but it wasn't a good solution
|
|
|
02-29-2020, 09:26 AM
|
#109
|
Human being with feelings
Join Date: May 2017
Posts: 125
|
Quote:
Originally Posted by pandabot
There's no api access into key releases so there isn't any way to tell if a user releases a key. I was playing with a workaround here but it wasn't a good solution
|
If you optionally set a note length beforehand and compare the current key with the previous key, and only play a new note if the key or chord is different, that would be a great improvement. And I could work with it well.
|
|
|
03-05-2020, 08:25 AM
|
#110
|
Human being with feelings
Join Date: Oct 2018
Posts: 367
|
So instead of having everything ring out, the duration of the chord/note should be the same as the grid length?
|
|
|
03-05-2020, 09:29 AM
|
#111
|
Human being with feelings
Join Date: May 2017
Posts: 125
|
Sure, you can use the grid length
|
|
|
03-05-2020, 11:51 AM
|
#112
|
Human being with feelings
Join Date: Oct 2014
Posts: 1,369
|
And the actual temposetting.
A grid set to 16 at 220bpm is shorter than 16 at 66bpm
Maybe it`s easier to set a diable length in seconds or parts of seconds in realtime. Note-on with a countdown til note-off
|
|
|
03-08-2020, 10:04 PM
|
#113
|
Human being with feelings
Join Date: Oct 2018
Posts: 367
|
Quote:
Originally Posted by bobobo
And the actual temposetting.
A grid set to 16 at 220bpm is shorter than 16 at 66bpm
Maybe it`s easier to set a diable length in seconds or parts of seconds in realtime. Note-on with a countdown til note-off
|
I remember doing that, if you look in the code there's a Timer class that ends up being unused but that's what that was for. I can't remember why I didn't go with it, it was either less satisfying than having it ring out or too small a benefit to justify the added complexity.
Most interesting melody lines require more than one subdivision, so with this change you'd probably have to set the grid to a larger value and then get the shorter values by playing the longer one immediately after it unless you're unnaturally good at switching grid value while playing. And that's assuming you make it monophonic. Even with this change the playable rhythms you'd get for interesting melodies are pretty limited. Since the API doesn't relay key releases we can't really create playable computer keyboards so I end up just using ChordGun as a harmony tool and then add the rhythm manually afterwards.
Maybe if enough people ask Reaper devs for API access into key releases they'll add it! I just worked within the limits, I don't know if anyone has even asked yet
|
|
|
03-21-2020, 05:43 AM
|
#114
|
Human being with feelings
Join Date: Dec 2015
Posts: 18
|
Frist of i think Chordgun is a great addon!
But proably found a bug:
When i inserd two or more chords via shift and clicking on the wished chords i always get fast forward sound of audio i recorded if there is audio in the same bare in an other track.
would be glad for an answer or how to fix this,
Thanks
|
|
|
03-24-2020, 06:38 PM
|
#115
|
Human being with feelings
Join Date: Oct 2018
Posts: 367
|
Hey that's pretty weird! It seems to be a bug within the "reaper.SetEditCurPos2" function where if you move the cursor forwards in time twice then Reaper thinks it should be playing audio like normal (at the lightning speed of cursor jumps)
I figured it might be the combination of playing the chord and moving the cursor, so thought I could rearrange the order of the functions to try and fix it but it still happens even when I removed the audio-playing part of the code completely. I don't think there's anything I can do, the tool needs to be able to set the edit cursor after inserting a chord so you can be in place to insert the next chord after it.
As a workaround you can solo the track while entering chords. Also feel free to file a bug report, both "reaper.SetEditCurPos" and "reaper.SetEditCurPos2" have this behavior
|
|
|
04-09-2020, 08:28 PM
|
#116
|
Human being with feelings
Join Date: Feb 2009
Location: Reaper HAS send control via midi !!!
Posts: 4,032
|
Quote:
Originally Posted by Jason Brian Merrill
now, all we need is an arpeggiator to make realistic piano parts
|
Do not they exsit?
|
|
|
04-11-2020, 01:45 PM
|
#117
|
Human being with feelings
Join Date: Oct 2018
Posts: 367
|
Quote:
Originally Posted by TonE
Thanks for sharing. Cool that you bring your older stuff of Renoise to Reaper now. In your ChordGun is it possible mapping midi notes to the interface buttons
|
All the ChordGun functions are available as individual Actions, it might be possible to somehow map midi notes to trigger reaper Actions but I'm not sure
Quote:
Originally Posted by TonE
probably there are key bindings? Never used it, not sure where I should use it? Mouse clicking is not fun usually.
|
Yes you can assign these individual Actions to keyboard shortcuts, and there are also keyboard shortcuts for when the UI has focus. For chords use the number keys 1-7 and 0 to stop the notes from playing
|
|
|
04-11-2020, 03:39 PM
|
#118
|
Human being with feelings
Join Date: Feb 2009
Location: Reaper HAS send control via midi !!!
Posts: 4,032
|
Quote:
Originally Posted by pandabot
All the ChordGun functions are available as individual Actions, it might be possible to somehow map midi notes to trigger reaper Actions but I'm not sure
|
Ah, that is a cool design then, yes you can map also midi notes to actions, of course, even osc events. Advantage of midi mapping over qwerty keybinding is, it works always, no matter which window is active/focused.
|
|
|
04-11-2020, 03:57 PM
|
#119
|
Human being with feelings
Join Date: Jan 2020
Location: Oslo, Norway
Posts: 54
|
I want it,.. Im sold..
How do I install it?
--------------------------------------------
edit: I figured it out, thx to Jon@Reaperblog...
__________________
have a nice day :)
Last edited by I'm not a robot; 04-11-2020 at 04:43 PM.
|
|
|
04-11-2020, 04:04 PM
|
#120
|
Human being with feelings
Join Date: Feb 2009
Location: Reaper HAS send control via midi !!!
Posts: 4,032
|
Quote:
Originally Posted by pandabot
Hey very nice! Yeah it should be pretty easy to hack, adding custom scales is a similar process if anyone is curious https://imgur.com/a/V01ovbI
|
But scala files not supported yet.
|
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 03:15 AM.
|