Jump to content


Photo

New Tool: Note Off / (Note Length Tool)


  • Please log in to reply
25 replies to this topic

#1 Ledger

Ledger

    Guruh Motha Fakka Knows More About Renoise Than Taktik

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 3647 posts
  • Gender:Male

Posted 15 January 2011 - 23:07

3.0 Version Now on tools page:

Tools page

3.0 version:

 

Attached File  ledger.scripts.NoteOffTool_V1.03.xrnx   4.02KB   76 downloads


Still a few features to be implemented but useable in the mean time, test with the usual alpha care!:

The main GUI is for the note-length part of the tool.

-Set the "Length in Rows", and note-OFFs will be applied after every note that distance away. The tool clears the previous note_OFFs first.
i.e. you control the lengths of all the notes in a "Track in Pattern" at once.


N-off-tool.PNG


-If you set the rows to zero all noteo-OFFs except the first in each column will be cleared.





Main Keybinding:

"Note Off Tool"


Also included are two
Extra Short-cuts:

"Add Note-Offs To Empty Cells in Row"
"Add Note-Offs To Empty Cells in [Whole Pattern Row]"



-----------------------------------------------------------------------------------------------
v0.57
--Added: when a delay value is chosen, delay column will be automatically unhidden if hidden
--Added: Delay:Tog button to toggle cuttent tracks delay column hidden/shown


v0.56
--Added Delay column support

v0.55
-- Added "Selection In Pattern" option

v0.51

-- Fixed valuebox behaviour


--> Lua for newbies <--

My Scripts On Forum

Top Tip!

 

cpu : Xeon 1231 v3, os : Win 7 64bit, audio: Audient iD4
posts as 4tune @ KvR and some other music related sites


#2 vV

vV

    God's or Borg's Chief and Ruler of All Species

  • Moderator
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 16855 posts
  • Gender:Male
  • Location:Netherlands

Posted 16 January 2011 - 00:04

NOTE: STRANGE BUG WHEN TRYING TO TYPE VALUES INTO THE BOX SO USE MOUSE ONLY. I BELIEVE THIS IS A RENOISE BUG THOUGH


I thought it was a problem with the conversion (You are currently forced to perform a conversion number to string and string to number conversion), It has been fixed, but only comes with the next update. You can for now only circumvent this by deliberately doing a conversion from number to string and vice versa.
Vv....


cpu Intel Core i7-4820K @3.70GHz
chipset Intel X79 chipset
mem 32 Gb 2400Mhz
os Win 7 64-bit SP1, DirectX 11
audio ESI ESP1010e - > Driver rev:2.0.6.0
video nVidia Geforce GTX780 - > Driver rev:335.23


Renoise Official Manual

#3 Ledger

Ledger

    Guruh Motha Fakka Knows More About Renoise Than Taktik

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 3647 posts
  • Gender:Male

Posted 16 January 2011 - 00:08

I thought it was a problem with the conversion (You are currently forced to perform a conversion number to string and string to number conversion), It has been fixed, but only comes with the next update. You can for now only circumvent this by deliberately doing a conversion from number to string and vice versa.


Ah, ok I will see what I can do with it for now,

thanks

--> Lua for newbies <--

My Scripts On Forum

Top Tip!

 

cpu : Xeon 1231 v3, os : Win 7 64bit, audio: Audient iD4
posts as 4tune @ KvR and some other music related sites


#4 Ledger

Ledger

    Guruh Motha Fakka Knows More About Renoise Than Taktik

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 3647 posts
  • Gender:Male

Posted 16 January 2011 - 02:14

I thought it was a problem with the conversion (You are currently forced to perform a conversion number to string and string to number conversion), It has been fixed, but only comes with the next update. You can for now only circumvent this by deliberately doing a conversion from number to string and vice versa.


Where exactly would I perform this conversion? I tried in the valuebox notifier and in the main function but it didn`t help:


local conversion = tostring(number)
conversion = tonumber(conversion)

local note_length = conversion

--> Lua for newbies <--

My Scripts On Forum

Top Tip!

 

cpu : Xeon 1231 v3, os : Win 7 64bit, audio: Audient iD4
posts as 4tune @ KvR and some other music related sites


#5 dblue

dblue

    Dodgy Geezer

  • Admins
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 5829 posts
  • Gender:Male
  • Location:Berlin
  • Interests:Code. Music. Graphics.

Posted 16 January 2011 - 02:22

Where exactly would I perform this conversion?


In the same way that you add a notifier function to the valuebox declaration, you would add the conversion functions there.

For example:
[lua]
tostring = function(value)
return tostring(value)
end,

tonumber = function(str)
return tonumber(str)
end,
[/lua]

#6 Ledger

Ledger

    Guruh Motha Fakka Knows More About Renoise Than Taktik

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 3647 posts
  • Gender:Male

Posted 16 January 2011 - 02:27

In the same way that you add a notifier function to the valuebox declaration, you would add the conversion functions there.

For example:
[lua] tostring = function(value) return tostring(value) end, tonumber = function(str) return tonumber(str) end, [/lua]


Thanks, thats great dblue!

--> Lua for newbies <--

My Scripts On Forum

Top Tip!

 

cpu : Xeon 1231 v3, os : Win 7 64bit, audio: Audient iD4
posts as 4tune @ KvR and some other music related sites


#7 dblue

dblue

    Dodgy Geezer

  • Admins
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 5829 posts
  • Gender:Male
  • Location:Berlin
  • Interests:Code. Music. Graphics.

Posted 16 January 2011 - 02:30

Thanks, thats great dblue!

No problemo. I ran into exactly the same problem myself recently. It was definitely a WTF moment :)

#8 Ledger

Ledger

    Guruh Motha Fakka Knows More About Renoise Than Taktik

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 3647 posts
  • Gender:Male

Posted 16 January 2011 - 02:36

No problemo. I ran into exactly the same problem myself recently. It was definitely a WTF moment :)


Yeah, I started blaming my keyhandler function first up :)

New update with valuebox fix:
http://www.renoise.c...ndpost&p=222338

--> Lua for newbies <--

My Scripts On Forum

Top Tip!

 

cpu : Xeon 1231 v3, os : Win 7 64bit, audio: Audient iD4
posts as 4tune @ KvR and some other music related sites


#9 Ledger

Ledger

    Guruh Motha Fakka Knows More About Renoise Than Taktik

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 3647 posts
  • Gender:Male

Posted 16 January 2011 - 20:11

Added "Selection in Pattern" option and made it the default.

http://www.renoise.c...ndpost&p=222338

--> Lua for newbies <--

My Scripts On Forum

Top Tip!

 

cpu : Xeon 1231 v3, os : Win 7 64bit, audio: Audient iD4
posts as 4tune @ KvR and some other music related sites


#10 Ledger

Ledger

    Guruh Motha Fakka Knows More About Renoise Than Taktik

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 3647 posts
  • Gender:Male

Posted 17 January 2011 - 00:21

v0.56
--Added Delay column support:

http://www.renoise.c...ndpost&p=222338

--> Lua for newbies <--

My Scripts On Forum

Top Tip!

 

cpu : Xeon 1231 v3, os : Win 7 64bit, audio: Audient iD4
posts as 4tune @ KvR and some other music related sites


#11 Djeroek

Djeroek

    Probably More God or Borg Than Human Member

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

Posted 17 January 2011 - 00:26

Haven't had time yet to check this out, but thanks in advance! :)

#12 Ledger

Ledger

    Guruh Motha Fakka Knows More About Renoise Than Taktik

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 3647 posts
  • Gender:Male

Posted 17 January 2011 - 00:29

Haven't had time yet to check this out, but thanks in advance! :)


No probs, thanks for checking it out. When you get the chance, try applying:

Rows: 1

to a whole pattern (via selection) for a bit of a gating effect :)

--> Lua for newbies <--

My Scripts On Forum

Top Tip!

 

cpu : Xeon 1231 v3, os : Win 7 64bit, audio: Audient iD4
posts as 4tune @ KvR and some other music related sites


#13 Ledger

Ledger

    Guruh Motha Fakka Knows More About Renoise Than Taktik

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 3647 posts
  • Gender:Male

Posted 18 January 2011 - 00:22

v0.57
--Added: when a delay value is chosen, delay column will be automatically unhidden if hidden
--Added: Delay:Tog button to toggle cuttent tracks delay column hidden/shown

http://www.renoise.c...ndpost&p=222338

--> Lua for newbies <--

My Scripts On Forum

Top Tip!

 

cpu : Xeon 1231 v3, os : Win 7 64bit, audio: Audient iD4
posts as 4tune @ KvR and some other music related sites


#14 Guest_68000_*

Guest_68000_*
  • Guests

Posted 28 January 2011 - 00:23

might be useful, thanks!

#15 Ledger

Ledger

    Guruh Motha Fakka Knows More About Renoise Than Taktik

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 3647 posts
  • Gender:Male

Posted 14 March 2011 - 22:23

2.7 beta version added

http://www.renoise.c...ote-length-tool

--> Lua for newbies <--

My Scripts On Forum

Top Tip!

 

cpu : Xeon 1231 v3, os : Win 7 64bit, audio: Audient iD4
posts as 4tune @ KvR and some other music related sites


#16 Ledger

Ledger

    Guruh Motha Fakka Knows More About Renoise Than Taktik

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 3647 posts
  • Gender:Male

Posted 29 May 2011 - 11:51

2.7 Version Now on tools page:

http://tools.renoise...tools/note-tool

  • esaruoho likes this

--> Lua for newbies <--

My Scripts On Forum

Top Tip!

 

cpu : Xeon 1231 v3, os : Win 7 64bit, audio: Audient iD4
posts as 4tune @ KvR and some other music related sites


#17 Djeroek

Djeroek

    Probably More God or Borg Than Human Member

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

Posted 16 July 2011 - 21:29

Ey Ledger,

was wondering if you would consider some feature requests for your tool? Namely:

...some kind of linear/exponential note-off insertion & adding randomness.

With linear/exponential I mean;

1) the tool auto inserts note-offs at increasing intervals of enough empty lines, it shouldn't overwrite existing note content.

Posted Image

In the above screenshot you see a note-off is placed immediately after the first event, than the next opportunity when there is enough space en so forth.

2) Another option would be to have note-offs added with some kind of counter mechanism:

Posted Image

Here the amount of events is taken into consideration for note-off placement, no matter how much empty space is between the events. The wanted feature would put a note-off after the first event, than after 2 events, than after 3 events etc.

And last but not least have some kind of randomization for the note-off's.


Why would these kind of things be useful?

I often use patterns of note-off's in drum parts to variate, emphasize and create some kind of structure. These kind of functions would aid in setting up quick patterns.

#18 Ledger

Ledger

    Guruh Motha Fakka Knows More About Renoise Than Taktik

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 3647 posts
  • Gender:Male

Posted 17 July 2011 - 13:51

Thanks for the detailed explaination Jonas,

When I get back to scripting I will have a look at how well this may fit the tool.

--> Lua for newbies <--

My Scripts On Forum

Top Tip!

 

cpu : Xeon 1231 v3, os : Win 7 64bit, audio: Audient iD4
posts as 4tune @ KvR and some other music related sites


#19 Djeroek

Djeroek

    Probably More God or Borg Than Human Member

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

Posted 17 July 2011 - 22:22

Thanks for the detailed explaination Jonas,

When I get back to scripting I will have a look at how well this may fit the tool.


cool :)

#20 Djeroek

Djeroek

    Probably More God or Borg Than Human Member

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

Posted 13 August 2011 - 04:41

Ey Ledger,


Dunno if I can describe it understandably enough :-) , but could you make an option for this tool so that you can set the amount of rows before the next note hits? So if you set the amount to 2, then two steps before there is a note event a note-off is placed.
  • martyfmelb likes this

#21 datassette

datassette

    Big Masta Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPip
  • 511 posts
  • Gender:Male

Posted 15 August 2011 - 01:34

Very useful. Thanx a bunch!

#22 Ledger

Ledger

    Guruh Motha Fakka Knows More About Renoise Than Taktik

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 3647 posts
  • Gender:Male

Posted 23 August 2011 - 17:53

Dunno if I can describe it understandably enough :-) , but could you make an option for this tool so that you can set the amount of rows before the next note hits? So if you set the amount to 2, then two steps before there is a note event a note-off is placed.


Another good suggestion, noted.


Very useful. Thanx a bunch!


Thanks for feedback!

--> Lua for newbies <--

My Scripts On Forum

Top Tip!

 

cpu : Xeon 1231 v3, os : Win 7 64bit, audio: Audient iD4
posts as 4tune @ KvR and some other music related sites


#23 Djeroek

Djeroek

    Probably More God or Borg Than Human Member

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

Posted 24 August 2011 - 01:58

Another good suggestion, noted.


B)

One more :), that is probably outside of the scope of the current note-off tool, but anyway.... I sometimes like to apply note-off-like gating to sample-based instruments that use volume envelopes in the instrument settings. These sounds however won't be cut-off by a note off, they do respond to velocity values.

Could your tool please have an extra option to set 00 values in the volume column, instead of note-off? :guitar:

#24 Djeroek

Djeroek

    Probably More God or Borg Than Human Member

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

Posted 17 September 2012 - 11:44

*bumped*

Would love a random option in this tool. Random note-off placement, in between notes, never overwriting existing note-events. Please make it happen ledger :D .

#25 Drop Shadow

Drop Shadow

    Big Daddy Member

  • Normal Members
  • PipPipPipPipPipPipPip
  • 443 posts
  • Gender:Male
  • Location:Copenhagen

Posted 24 February 2018 - 13:36

Great tool. It would be very useful if the delay values of the notes were taken into account when determining the distance between the note and the subsequent note-off. Thereby it would be possible set the same note length for all notes in selections with different delay values. As it works now, the actual note length you get is:

Set Note Lenghts values (as set in the tool) minus eventual delay value of the notes.

It measures the distance from the line where a note is present, not the actual position of a note.

In some scenarios, the result seems a bit arbitrary.

 

If there was an option to take delay values into account, it would work this way:

C-4 60 (where 60 is a delay value)
---

would be changed to

C-4 60
OFF 60

when the tool is set to Row=1 (and no further delay).


Edited by Drop Shadow, 24 February 2018 - 13:36.