Jump to content


Photo

New Tool (3.1): Processor

Algorythmic composition riff processor

  • Please log in to reply
13 replies to this topic

#1 Laffik

Laffik

    Super Advanced Member

  • Normal Members
  • PipPipPipPip
  • 145 posts
  • Gender:Male
  • Location:London
  • Interests:digital music

Posted 08 July 2017 - 21:02

Hello Renoisers!

 

Here goes upload of new tool which is Processor - bass/riff/arpeggio harmonic processor.

 

Script rewrites your riff or arpeggio or basically anything over new chords.

 

Here is situation: There is harmony defined by yourself or by other three harmony friends - Premier, Progressor and Pathfinder. While it is defined it's good to lay up a bass line to chords. This may be tedious. Bass line is repetitive riff, sequence that transposes over new chords with modulation - minor to major and so on. Where Progressor track is given (or plain track of chords written like Progressor track) it is enough to set up bass riff over first quarter of pattern or several lines. Make the bass working with chords - so mainly first, fifth and third (however Processor harmonizes all functions, well sixth may be odd sometimes, but who's gonna play sixth on bass?). Bass riff may be few Progressor chords long and going right with the chords - transposing if longer than one chord. While it is ready - switch Processor. Describe track with chords and riff. Describe pattern in which the riff residues also line in which it starts and ends. Then describe first pattern and line and last pattern and line of continuous paste. Then click on "Replicate". Script will wrap off the riff along all lines and chords. And it will do it right.

 

:)

 

Cheers and have fun.

 

PS. Any questions and debug error and so on issues - let me know here I will fix it as soon as.

 

 

Attached Files


Edited by Laffik, 01 August 2017 - 19:27.

  • danoise and Djeroek like this
Laffik's mp3 downloads webpage:
http://www.laffik.com/

#2 Djeroek

Djeroek

    Probably More God or Borg Than Human Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 6713 posts
  • Gender:Male
  • Location:Borneo

Posted 08 July 2017 - 21:41

got this after changing the chord & riff track parameters, then pressing replicate;

 

C:\Users\pluge\AppData\Roaming\Renoise\V3.1.0\Scripts\Tools\com.Laffik.Processor.xrnx\main.lua' failed in one of its notifiers.

 
Please contact the author (Laffik) for assistance...
 
main.lua:158: attempt to perform arithmetic on local 'basetone' (a nil value)
stack traceback:
  main.lua:158: in function 'findfunction'
  main.lua:279: in function 'arpegiate'
  main.lua:540: in function <main.lua:539>


#3 Laffik

Laffik

    Super Advanced Member

  • Normal Members
  • PipPipPipPip
  • 145 posts
  • Gender:Male
  • Location:London
  • Interests:digital music

Posted 09 July 2017 - 11:58

What's in the patterns?


Laffik's mp3 downloads webpage:
http://www.laffik.com/

#4 4Tey

4Tey

    Chief Above Chief Member

  • Normal Members
  • PipPipPipPipPipPip
  • 382 posts
  • Gender:Male

Posted 09 July 2017 - 14:23

My quick two cents Laffik is that Djeroek has a track with anything other than 3 or 4 note columns visible to produce that error?  Your script seems to be wired for either a 3 or 4 visible note columns in the track.

 

I'll just point out for you line 129 of main.lua.  It reads:

local a

I don't know if you want to change that to:

local a,b


#5 Laffik

Laffik

    Super Advanced Member

  • Normal Members
  • PipPipPipPip
  • 145 posts
  • Gender:Male
  • Location:London
  • Interests:digital music

Posted 09 July 2017 - 14:59

Is it good now? I've noticed that Renoise doesn't pop up with variables declarations missing - it passes on day but fails another day. If it were consistent there wouldn't be error.

 

Here's new version:

 

Attached Files


  • Djeroek likes this
Laffik's mp3 downloads webpage:
http://www.laffik.com/

#6 Djeroek

Djeroek

    Probably More God or Borg Than Human Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 6713 posts
  • Gender:Male
  • Location:Borneo

Posted 09 July 2017 - 20:10

What's in the patterns?

Was a test song, don't have it any more, probably misuse on my end :-) . One column in a track featuring a simple repeating bassline.

 

Tried the latest version, tweaking some gui settings and changing the pattern length to 1 results in after pressing 'replicate';

 

C:\Users\pluge\AppData\Roaming\Renoise\V3.1.0\Scripts\Tools\com.Laffik.Processor.xrnx\main.lua' failed in one of its notifiers.

 
Please contact the author (Laffik) for assistance...
 
main.lua:274: attempt to index field '?' (a nil value)
stack traceback:
  main.lua:274: in function 'arpegiate'
  main.lua:540: in function <main.lua:539>

Again, not how you should use the tool, trying out some edge scenario's. 



#7 Laffik

Laffik

    Super Advanced Member

  • Normal Members
  • PipPipPipPip
  • 145 posts
  • Gender:Male
  • Location:London
  • Interests:digital music

Posted 09 July 2017 - 20:53

Yeah. I got it now. It doesn't work on patterns other than 16 lines long. What a gap! I will fix it shortly. Sorry for my mess.


Laffik's mp3 downloads webpage:
http://www.laffik.com/

#8 Laffik

Laffik

    Super Advanced Member

  • Normal Members
  • PipPipPipPip
  • 145 posts
  • Gender:Male
  • Location:London
  • Interests:digital music

Posted 09 July 2017 - 21:36

Here goes. Bugfix. Different sizes of riff range allowed and also backscan for chord starting before riff selection range. It should solve your errors Dj Eroek. :)

 

 

Attached Files


  • Djeroek likes this
Laffik's mp3 downloads webpage:
http://www.laffik.com/

#9 Djeroek

Djeroek

    Probably More God or Borg Than Human Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 6713 posts
  • Gender:Male
  • Location:Borneo

Posted 09 July 2017 - 23:48

Thanks for the quick updates :) , don't think I'm using it correctly or am understanding what it should do, wouldn't mind a step by step description or demo song if possible  B) . Tooltips would be handy, you know the little text pop ups when you hover the mouse pointer over a parameter input box

 

Anyway, I tried some stuff and while having the gui open, opened up another vsti on a different track, then when using the tool again got this;

 

C:\Users\pluge\AppData\Roaming\Renoise\V3.1.0\Scripts\Tools\com.Laffik.Processor.xrnx\main.lua' failed in one of its notifiers.

 
Please contact the author (Laffik) for assistance...
 
main.lua:158: attempt to index field '?' (a nil value)
stack traceback:
  main.lua:158: in function 'findfunction'
  main.lua:325: in function 'arpegiate'
  main.lua:586: in function <main.lua:585>


#10 Laffik

Laffik

    Super Advanced Member

  • Normal Members
  • PipPipPipPip
  • 145 posts
  • Gender:Male
  • Location:London
  • Interests:digital music

Posted 10 July 2017 - 19:01

Something tells me you have no chords along with riff in neighbouring track?

 

Processor has to get your riff on one track and chords for this riff in other track in the same pattern parallelly and playing simultaneously with the riff. If there's no chords Processor crashed. Now it just exits:

 

New version:

 

Attached File  Processor_v05.xrnx   4KB   11 downloads

 

Simply how to use it, what you asked:

1. Place chords progression on one track - it may be Progressor chords or Progressor-like-looking chords - best are 3 voice polyphony so something like G-4 B-4 D-5 in three note columns in one track, and other chords like this.

2. In next track in the same pattern and starting with the chords make riff/arpeggio/bass line/passage - something that works on chord(s) of neighbouring track (voices of a chord - 1st, 5th, 3rd, and also 2nd and 4th are OK. - however 6th and 7th doesn't work very well due to chromatic mode of Processor)

3. Riff may be one or few chords long - as long as few chords in track with chords passing by, adjusted to chords tonally.

4. Run Processor

5. Define (controls respectively) track number with chords line, track number with riff, pattern number with riff, start and end lines of riff in pattern, paste start pattern and line, paste end pattern and line - these last two describe where to continuously paste the riff. (There also must be chords written in chords track - these are chords that Processor will be matching your riff to)

6 Click on Replicate.

 

Done.

 


Processor will repeat your riff in paste range adjusting transposition and chords mode to your chords in track in paste range.


  • Djeroek likes this
Laffik's mp3 downloads webpage:
http://www.laffik.com/

#11 Djeroek

Djeroek

    Probably More God or Borg Than Human Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 6713 posts
  • Gender:Male
  • Location:Borneo

Posted 10 July 2017 - 19:17

Thanks for the info, will try and see if I can make it work :) ...not that theoretically inclined, that's why I like progressor, being able to run it on anything and see what works through playing with different gui values. Stuff like pathfinder is too hardcore for me, this sounds workable, not too complex ;-) .



#12 Laffik

Laffik

    Super Advanced Member

  • Normal Members
  • PipPipPipPip
  • 145 posts
  • Gender:Male
  • Location:London
  • Interests:digital music

Posted 11 July 2017 - 09:01

Text here, if you stuck with something.


Laffik's mp3 downloads webpage:
http://www.laffik.com/

#13 Laffik

Laffik

    Super Advanced Member

  • Normal Members
  • PipPipPipPip
  • 145 posts
  • Gender:Male
  • Location:London
  • Interests:digital music

Posted 11 July 2017 - 13:42

Little update:

 

Attached File  Processor_v06.xrnx   4.03KB   16 downloads

 

Small bugfix with pattern cue line.


Laffik's mp3 downloads webpage:
http://www.laffik.com/

#14 Laffik

Laffik

    Super Advanced Member

  • Normal Members
  • PipPipPipPip
  • 145 posts
  • Gender:Male
  • Location:London
  • Interests:digital music

Posted 12 July 2017 - 14:17

Song made with my quartet - Premier and Pathfinder on first track, Progressor on second and Processor on third.

 

Attached File  Laffik - Premier Progressor Pathfinder Processor.xrns   646.77KB   14 downloads


  • Djeroek likes this
Laffik's mp3 downloads webpage:
http://www.laffik.com/





Also tagged with one or more of these keywords: Algorythmic composition, riff processor