Old 01-26-2017, 07:18 PM   #161
cyrilfb
Human being with feelings
 
cyrilfb's Avatar
 
Join Date: Apr 2012
Location: Denver, CO
Posts: 249
Default

Quote:
Originally Posted by Lokasenna View Post
Do you have saved values from Chord Helper? It's a long shot, but try deleting them.
Yes I did have Chord Helper saved values in the reaper-extstate.ini file.
When I deleted those, it ran.

However there are different errors when I try to change the scale.
__________________
Cy Ball
Reaper + inspiration = music.
soundcloud.com/cyball or cyball.bandcamp.com/ or cyrilfb.com
cyrilfb is offline   Reply With Quote
Old 01-26-2017, 08:49 PM   #162
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
Default

Well that's a start. What's it doing now?
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate
Lokasenna is offline   Reply With Quote
Old 01-26-2017, 09:33 PM   #163
vanhaze
Human being with feelings
 
vanhaze's Avatar
 
Join Date: Jul 2012
Location: Netherlands
Posts: 5,247
Default

It works for me now ! Woooohaaa !
vanhaze is offline   Reply With Quote
Old 01-26-2017, 09:35 PM   #164
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
Default

Quote:
Originally Posted by vanhaze View Post
It works for me now ! Woooohaaa !
Nice to know I'm stumbling in the right direction.

Another tiny update, just bug fixes that nobody seems to have found yet.
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate
Lokasenna is offline   Reply With Quote
Old 01-27-2017, 01:16 AM   #165
egoplasma
Human being with feelings
 
egoplasma's Avatar
 
Join Date: May 2009
Location: Germany
Posts: 214
Default

Thank you! Now its working fine!
egoplasma is offline   Reply With Quote
Old 01-27-2017, 01:54 AM   #166
Mykyndryd
Human being with feelings
 
Mykyndryd's Avatar
 
Join Date: Jan 2017
Location: Cumbria, UK
Posts: 3
Default [Solved] - Theory Helper not loading

I removed the lines from the extstate.ini file and Theory Helper has loaded ok

I can preview and enter chords / arpeggios without any problem.

Thanks for that. Much appreciated.

Cheers.
Mike.
Mykyndryd is offline   Reply With Quote
Old 01-27-2017, 02:31 AM   #167
slipstick
Human being with feelings
 
Join Date: Apr 2016
Location: UK, near Europe
Posts: 878
Default

Working fine here as a Chord Helper. Brilliant job.

I'll try the other bits but I fear it may now have so many clever features in it that my poor old brain will not be able to cope .

Steve
slipstick is offline   Reply With Quote
Old 01-27-2017, 03:35 AM   #168
G-Sun
Human being with feelings
 
G-Sun's Avatar
 
Join Date: May 2010
Location: Norway
Posts: 7,318
Default

Now, where is a reascale-file?
(Can't open plugin)
__________________
Reaper x64, win 11
Composer, text-writer, producer
Bandcamp
G-Sun is offline   Reply With Quote
Old 01-27-2017, 05:42 AM   #169
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
Default

Reaper\Data should have sample.reascale. There some good ones here too: https://stash.reaper.fm/browse.php?q=reascale&x=0&y=0 - the ZD Basic or Complete are great choices.
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate
Lokasenna is offline   Reply With Quote
Old 01-27-2017, 06:32 AM   #170
G-Sun
Human being with feelings
 
G-Sun's Avatar
 
Join Date: May 2010
Location: Norway
Posts: 7,318
Default

Quote:
Originally Posted by Lokasenna View Post
Reaper\Data should have sample.reascale. There some good ones here too: https://stash.reaper.fm/browse.php?q=reascale&x=0&y=0 - the ZD Basic or Complete are great choices.
Thanks!
Now I just need to figure out what this tool is for and how to use it
__________________
Reaper x64, win 11
Composer, text-writer, producer
Bandcamp
G-Sun is offline   Reply With Quote
Old 01-27-2017, 07:57 AM   #171
xpander
Human being with feelings
 
xpander's Avatar
 
Join Date: Jun 2007
Location: Terra incognita
Posts: 7,670
Default

This is a great helper tool now, thanks Lokasenna! Surely worth donating to, would hope to give even a bit more than able right now.
xpander is offline   Reply With Quote
Old 01-27-2017, 08:51 AM   #172
NextLevel
Human being with feelings
 
Join Date: Dec 2014
Posts: 417
Default

Excellent update!
NextLevel is offline   Reply With Quote
Old 01-27-2017, 09:43 AM   #173
Mordi
Human being with feelings
 
Mordi's Avatar
 
Join Date: May 2014
Location: Norway
Posts: 982
Default

Feature request; put the velocity slider and the octave dropdown on the same page as the chord-tool.

Oh, and great job! It has grown in complexity - I don't know what stuff does. Is there a guide somewhere?
Mordi is offline   Reply With Quote
Old 01-27-2017, 09:45 AM   #174
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
Default

Quote:
Originally Posted by Mordi View Post
Feature request; put the velocity slider and the octave dropdown on the same page as the chord-tool.
They can apply to all three tabs though.

No guide yet, since I'm still finalizing all of the things it does. I'm happy to update the tooltips/help tab if things are unclear though. Which features do you need help with?
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate
Lokasenna is offline   Reply With Quote
Old 01-27-2017, 10:41 AM   #175
G-Sun
Human being with feelings
 
G-Sun's Avatar
 
Join Date: May 2010
Location: Norway
Posts: 7,318
Default

Quote:
Originally Posted by Lokasenna View Post
No guide yet, since I'm still finalizing all of the things it does. I'm happy to update the tooltips/help tab if things are unclear though. Which features do you need help with?
Well, I guess I'll need some help with getting started.
Is it for analyzing midi?
Making midi?
Finding scale?
Creating harmonies?
__________________
Reaper x64, win 11
Composer, text-writer, producer
Bandcamp
G-Sun is offline   Reply With Quote
Old 01-27-2017, 11:40 AM   #176
Ozman
Human being with feelings
 
Join Date: Feb 2015
Posts: 753
Default

All is working well now.
Ozman is offline   Reply With Quote
Old 01-27-2017, 11:41 AM   #177
Ozman
Human being with feelings
 
Join Date: Feb 2015
Posts: 753
Default

Quote:
Originally Posted by G-Sun View Post
Well, I guess I'll need some help with getting started.
Is it for analyzing midi?
Making midi?
Finding scale?
Creating harmonies?
I know I mainly use it for quick previewing and insertion of a scale's chords while writing progressions.
Ozman is offline   Reply With Quote
Old 01-27-2017, 11:55 AM   #178
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
Default

Quote:
Originally Posted by G-Sun View Post
Well, I guess I'll need some help with getting started.
Is it for analyzing midi?
Making midi?
Finding scale?
Creating harmonies?
It was originally meant to replace a few websites I found myself looking at all the time for theory help.

Scale tab - By checking the lower set of boxes, you can search for scales that include those notes. Handy if you've got a melody and want to know what key it's in, or in conjunction with the next tab if you want to know what chords might go with it. Also lets you shift through a scale's modes, which I find really helpful when I'm trying to make two riffs in different keys go together.

Chords tab - Shows you all of the chords that can be "legally" built in a given scale. You can also insert them directly into the MIDI editor either as chords or arpeggios.

Harmony tab - Will harmonize notes for you using a given scale and degree, or let you fiddle with harmonies yourself, while being able to preview what the harmony would sound like. Similar to the "duplicate selected notes diatonically..." script I released last month, but more complicated.
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate
Lokasenna is offline   Reply With Quote
Old 01-27-2017, 06:29 PM   #179
cyrilfb
Human being with feelings
 
cyrilfb's Avatar
 
Join Date: Apr 2012
Location: Denver, CO
Posts: 249
Default Still problems - SOLVED

Quote:
Originally Posted by Lokasenna View Post
Well that's a start. What's it doing now?
Fixed, I finally got the rest of it right.
Thanks for your patience Lokasenna.
__________________
Cy Ball
Reaper + inspiration = music.
soundcloud.com/cyball or cyball.bandcamp.com/ or cyrilfb.com

Last edited by cyrilfb; 01-27-2017 at 07:25 PM.
cyrilfb is offline   Reply With Quote
Old 01-27-2017, 08:25 PM   #180
pcartwright
Human being with feelings
 
Join Date: Jan 2009
Posts: 1,030
Default

I've tried removing the indicated text in the reaper-exstate file, but I still get nil errors. I can't even get the script to open at this point.

Took out the chord helper item and it works now. Thanks.

Well, I still get random nil errors. I'll see if I can find some consistent way to trigger the error and get back to you.

Last edited by pcartwright; 01-27-2017 at 08:36 PM.
pcartwright is offline   Reply With Quote
Old 01-28-2017, 11:08 AM   #181
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
Default

Is it the same line number every time?
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate
Lokasenna is offline   Reply With Quote
Old 01-28-2017, 11:21 AM   #182
G-Sun
Human being with feelings
 
G-Sun's Avatar
 
Join Date: May 2010
Location: Norway
Posts: 7,318
Default

Quote:
Originally Posted by Lokasenna View Post
It was originally meant to replace a few websites I found myself looking at all the time for theory help.

Scale tab - By checking the lower set of boxes, you can search for scales that include those notes. Handy if you've got a melody and want to know what key it's in, or in conjunction with the next tab if you want to know what chords might go with it. Also lets you shift through a scale's modes, which I find really helpful when I'm trying to make two riffs in different keys go together.

Chords tab - Shows you all of the chords that can be "legally" built in a given scale. You can also insert them directly into the MIDI editor either as chords or arpeggios.

Harmony tab - Will harmonize notes for you using a given scale and degree, or let you fiddle with harmonies yourself, while being able to preview what the harmony would sound like. Similar to the "duplicate selected notes diatonically..." script I released last month, but more complicated.
Thanks a lot!
So, it's not reading selected notes in ME or something?
__________________
Reaper x64, win 11
Composer, text-writer, producer
Bandcamp
G-Sun is offline   Reply With Quote
Old 01-28-2017, 12:19 PM   #183
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
Default

Quote:
Originally Posted by G-Sun View Post
Thanks a lot!
So, it's not reading selected notes in ME or something?
The buttons on the left side of the Harmony tab do, and I've got some ideas for more features that could work with existing notes (transpose from one scale to another, for instance).

Harmonize selected notes will look through the notes you've got selected in the MIDI editor, insert harmonized notes based on the sliders' values.

- The original notes are shown below the sliders
- The harmonized notes are shown at the top.
- Any sliders left at 0 won't produce a harmonized note.

Preview selected notes with harmony will use the sliders' values as well, but it'll just play through all of your selected notes with the harmony on top so you can see how it sounds.

Also, just because it's not documented anywhere yet, the only difference between "Smart" and "Literal" harmonies right now is how they handle scales with passing tones; these scales have to be specifically written with passing tones in the .reascale file, like so:
Code:
0 "Min. Pentatonic" 100304050070     
0 "Blues"           100304450070
The "Smart" behavior will look for that duplicated scale degree and pretend it doesn't exist; that is, if you were in A Blues and harmonizing a third up, the C would be harmonized as E rather than Eb.
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate

Last edited by Lokasenna; 01-28-2017 at 12:26 PM.
Lokasenna is offline   Reply With Quote
Old 01-30-2017, 01:46 PM   #184
jet2
Human being with feelings
 
Join Date: May 2013
Posts: 39
Default error message

i am always getting an error message and there is no possibility to fix anything.

reinstalling the script does not change anything.



Lokasenna_Theory Helper.lua:1799: attempt to compare two nil values
jet2 is offline   Reply With Quote
Old 01-30-2017, 02:23 PM   #185
pcartwright
Human being with feelings
 
Join Date: Jan 2009
Posts: 1,030
Default

Quote:
Originally Posted by Lokasenna View Post
Is it the same line number every time?
I get a concatenate nil error on line 3067 which causes the script to end. I seem to get this error when I try to manually change the scale in the script window.

If I restart, I get a compare nil value on line 1799.

I will get the second error until I delete entries from the reaper-extstate file.
pcartwright is offline   Reply With Quote
Old 01-30-2017, 02:37 PM   #186
jet2
Human being with feelings
 
Join Date: May 2013
Posts: 39
Default error

when i remove the extstate ini and start reaper again
i could load the interface and get a menu for grabbing the reascale file.

when i load a file and try to choose something there are either scales nor chord to be selected.

when i click 'set' in the scales interface, the application crashes

.../ReaTeam Scripts/MIDI Editor/Lokasenna_Theory Helper.lua:4475: attempt to index a nil value (field '?')

i'm on mac sierra
jet2 is offline   Reply With Quote
Old 01-30-2017, 03:44 PM   #187
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
Default

Alright, can you guys try running this version instead? (You'll have to install it manually, it's not on ReaPack - right-click the file, save it somewhere, use the Load button in Reaper's Action List to find it and then run "Script: Lokasenna_Theory Helper w debug messages.lua")

https://dl.dropboxusercontent.com/u/...20messages.lua

- Delete the Theory Helper data from your reaper-extstate.ini file again
- Run the action
- Nothing is fixed, but it should spit out a bunch of messages. Copy/paste those for me.
- *After* running it, copy/paste whatever Theory Helper values are in your reaper-extstate.ini now.

Please and thanks. Sorry for the trouble.
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate
Lokasenna is offline   Reply With Quote
Old 01-30-2017, 04:29 PM   #188
pcartwright
Human being with feelings
 
Join Date: Jan 2009
Posts: 1,030
Default

Quote:
Originally Posted by Lokasenna View Post
Alright, can you guys try running this version instead? (You'll have to install it manually, it's not on ReaPack - right-click the file, save it somewhere, use the Load button in Reaper's Action List to find it and then run "Script: Lokasenna_Theory Helper w debug messages.lua")

https://dl.dropboxusercontent.com/u/...20messages.lua

- Delete the Theory Helper data from your reaper-extstate.ini file again
- Run the action
- Nothing is fixed, but it should spit out a bunch of messages. Copy/paste those for me.
- *After* running it, copy/paste whatever Theory Helper values are in your reaper-extstate.ini now.

Please and thanks. Sorry for the trouble.
I just sent you a private message with this info.
pcartwright is offline   Reply With Quote
Old 02-01-2017, 04:45 AM   #189
jet2
Human being with feelings
 
Join Date: May 2013
Posts: 39
Default

Quote:
Originally Posted by Lokasenna View Post
Alright, can you guys try running this version instead? (You'll have to install it manually, it's not on ReaPack - right-click the file, save it somewhere, use the Load button in Reaper's Action List to find it and then run "Script: Lokasenna_Theory Helper w debug messages.lua")

https://dl.dropboxusercontent.com/u/...20messages.lua

- Delete the Theory Helper data from your reaper-extstate.ini file again
- Run the action
- Nothing is fixed, but it should spit out a bunch of messages. Copy/paste those for me.
- *After* running it, copy/paste whatever Theory Helper values are in your reaper-extstate.ini now.

Please and thanks. Sorry for the trouble.


hi lokasenna,

thank you for your support.
i tried your debug script, but my output was that the entire reaper application crashes...

kind reagards
jet2 is offline   Reply With Quote
Old 02-01-2017, 06:26 AM   #190
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
Default

That's... odd.
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate
Lokasenna is offline   Reply With Quote
Old 02-01-2017, 07:15 AM   #191
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
Default

Small bug fix update - hopefully clears up some of the crashes people are seeing.
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate
Lokasenna is offline   Reply With Quote
Old 02-01-2017, 08:06 AM   #192
dankan
Human being with feelings
 
dankan's Avatar
 
Join Date: Apr 2015
Posts: 17
Default

THANK YOU again. Now this is really serious stuff, extremely helpful tool.
dankan is offline   Reply With Quote
Old 02-01-2017, 08:36 AM   #193
jet2
Human being with feelings
 
Join Date: May 2013
Posts: 39
Default

Quote:
Originally Posted by Lokasenna View Post
Small bug fix update - hopefully clears up some of the crashes people are seeing.

hi, me again.
i tried the bugfixed script.

i send you a private message.
jet2 is offline   Reply With Quote
Old 02-05-2017, 02:04 AM   #194
alftronix
Human being with feelings
 
Join Date: Feb 2017
Posts: 1
Default

AWESOME... you're a genius, thank you very very much!
alftronix is offline   Reply With Quote
Old 02-05-2017, 06:24 AM   #195
RSG
Human being with feelings
 
RSG's Avatar
 
Join Date: May 2007
Location: Deepest South Bucks, UK
Posts: 96
Default

I did have this working and was very much enjoying splashing chords around. Thank you.

However, today I just get Lokasenna_Theory Helper.lua:4632: attempt to index a nil value (field '?') when trying to open the script from the midi editor.

What am I doing wrong? I have synced with reapack beforehand so should have the latest version.
I have a reascale in the midi editor loaded and keysnap switched on.
__________________
Mac Pro 3.1, Emagic AMT8, iconnectivity Audio 4+, Zoom R24, Novation Mininova.
RSG is offline   Reply With Quote
Old 02-05-2017, 09:23 AM   #196
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
Default

That's not the newest version of the script; line 4632 doesn't have any commands on it. It looks like ReaPack hasn't updated with v1.2 - that's probably my fault somehow, but I'm not seeing a problem.

Try installing it manually: https://github.com/ReaTeam/ReaScript...y%20Helper.lua
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate
Lokasenna is offline   Reply With Quote
Old 02-05-2017, 10:57 AM   #197
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 4,937
Default

Quote:
Originally Posted by Lokasenna View Post
It looks like ReaPack hasn't updated with v1.2 - that's probably my fault somehow, but I'm not seeing a problem.
v1.2 is being overshadowed by v1.16 because it's a smaller number. Versions are not decimal in ReaPack: http://forum.cockos.com/showpost.php...&postcount=484.
As seen in the version selection menu of the package browser:
I have manually renamed that version to 1.20 in the index file to make it higher than the previous one.

Last edited by cfillion; 02-05-2017 at 11:15 AM.
cfillion is offline   Reply With Quote
Old 02-05-2017, 01:48 PM   #198
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
Default

Ah, good to know. Cheers.
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate
Lokasenna is offline   Reply With Quote
Old 02-06-2017, 12:10 PM   #199
RSG
Human being with feelings
 
RSG's Avatar
 
Join Date: May 2007
Location: Deepest South Bucks, UK
Posts: 96
Default

I now have version 1.2 (checked and looked at the script itself)
It is still not working unfortunately.

Lokasenna_Theory Helper.lua:4718: attempt to index a nil value (field '?')
__________________
Mac Pro 3.1, Emagic AMT8, iconnectivity Audio 4+, Zoom R24, Novation Mininova.
RSG is offline   Reply With Quote
Old 02-06-2017, 12:26 PM   #200
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
Default

If you don't mind, download this version: https://dl.dropboxusercontent.com/u/...20messages.lua

Install it, run it, and then copy/paste the messages it spits out.

Cheers.
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate
Lokasenna is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 07:20 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.