Jump to content


Photo

New Tool: pattern_pone - Pattern overview and editing tool

pattern overview pattern matrix pattern editor alternative pattern editor piano roll

  • Please log in to reply
28 replies to this topic

#1 toblerpone

toblerpone

    Guruh Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 902 posts
  • Gender:Not Telling
  • Location::c

Posted 07 July 2014 - 20:00

Alternative pattern note data editor and overview

Spoiler

Project terminated unless requested. Moved on to reaper's midi editor.

Use shift-h while the tool is focussed to show the help dialog.

Attached Images

  • pattern_pone.png

Attached Files


Edited by toblerpone, 02 April 2016 - 15:41.

  • Djeroek, hmā, hotelsinus and 3 others like this

#2 slippycurb

slippycurb

    Big Masta Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPip
  • 515 posts
  • Gender:Male
  • Location:Ireland Co Galway
  • Interests:My interests change from day to day, but i always like eggs.

Posted 08 July 2014 - 10:41

wow, looks complicated :-)
  • Djeroek likes this
"No one would have believed, in the last years of the nineteenth century, that this world was being watched keenly and closely by intelligences greater than man's and yet as mortal as his own;"


SuckOnThisElectronicEgg


https://www.facebook...ristiansvslions

#3 weizenkeim

weizenkeim

    Advanced Member

  • Normal Members
  • PipPipPip
  • 108 posts
  • Location:hh

Posted 08 July 2014 - 13:04

wow, looks complicated :-)


no it's not! It's brilliant. superuseful!
  • slippycurb likes this

#4 thalamus

thalamus

    Big Daddy Member

  • Normal Members
  • PipPipPipPipPipPipPip
  • 422 posts
  • Gender:Male
  • Location:Cambridge, UK
  • Interests:Sound

Posted 08 July 2014 - 15:49

This is great start!

#5 danoise

danoise

    Probably More God or Borg Than Human Member

  • Renoise Team
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 6176 posts
  • Gender:Male
  • Interests:wildlife + urban trekking

Posted 08 July 2014 - 20:03

The sliders work on a "what has higher value - that's the end marker" basis

Hmm, too bad the viewbuilder API doesn't feature a proper range-slider for this kind of thing.
But nice to see such a creative workaround :-)

Tracking with Stuff. API wishlist | Soundcloud


#6 Akiz

Akiz

    Guruh Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 960 posts
  • Gender:Male

Posted 09 July 2014 - 10:44

Nice upgrade: every "lpb line" (lets say every 4th or 8th) would have different color for better orientation.

#7 toblerpone

toblerpone

    Guruh Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 902 posts
  • Gender:Not Telling
  • Location::c

Posted 09 July 2014 - 11:12

Nice upgrade: every "lpb line" (lets say every 4th or 8th) would have different color for better orientation.


Later I'll add an index, with line numbers on beats and visual markings of the beat parts.

#8 toblerpone

toblerpone

    Guruh Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 902 posts
  • Gender:Not Telling
  • Location::c

Posted 19 July 2014 - 09:24

I might be able to fix the index and other issues this week.

I've also changed my previous tool for recording not-quantised-to-lines automation, now using Illformed's position calculating script, so now the tool works properly-ish, see link bellow.

Attached Files


Edited by toblerpone, 02 April 2016 - 15:21.


#9 toblerpone

toblerpone

    Guruh Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 902 posts
  • Gender:Not Telling
  • Location::c

Posted 25 July 2014 - 21:38

pretty much final update

Edited by gova, 25 July 2014 - 22:57.


#10 dblue

dblue

    Dodgy Geezer

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

Posted 29 July 2014 - 14:02

Some quick observations while testing v1.01...

If I delete a block of notes using Alt+F4, Shift+F4, etc., then the tool does not update its view correctly, and shows some kind of residual ghost notes:
pone-bug-1.png

Likewise, if I use Backspace or Insert to shift the notes up or down, I get similar ghost notes appearing:
pone-bug-2.png

If I keep the tool interface open while creating a new song, I get this error:
[lua]*** std::logic_error: 'trying to access a nil object of type 'class SequencerTrack'. the object is not or no longer available.'
*** stack traceback:
*** [C]: ?
*** [C]: in function '__index'
*** [string "do..."]:36: in function <[string "do..."]:35>
*** main.lua:505: in function 'terminate_tool'
*** main.lua:529: in function <main.lua:523>[/lua]

#11 toblerpone

toblerpone

    Guruh Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 902 posts
  • Gender:Not Telling
  • Location::c

Posted 29 July 2014 - 14:10

I see, the tool doesn't overwrite the bitmap data to '', the if loop skips lines without a note, will be dealt with in the next version.
Will have to make some deeper digging to see what's with the new song bugs, will take a while longer.

Edited by gova, 29 July 2014 - 14:11.


#12 esp81

esp81

    Chief Above Chief Member

  • Normal Members
  • PipPipPipPipPipPip
  • 357 posts

Posted 29 July 2014 - 17:46

Is there a way to adjust the size of the interface? It's so tiny on my screen I can't see anything.

#13 toblerpone

toblerpone

    Guruh Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 902 posts
  • Gender:Not Telling
  • Location::c

Posted 29 July 2014 - 17:58

Is there a way to adjust the size of the interface? It's so tiny on my screen I can't see anything.

The feature is not yet properly implemented (the index does not react), but you can, open the main.lua file in the tool's folder find

local BUT_HEIGHT = 20
local BUT_WIDTH = 10

and change it to what you like

Edited by gova, 29 July 2014 - 19:36.


#14 toblerpone

toblerpone

    Guruh Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 902 posts
  • Gender:Not Telling
  • Location::c

Posted 29 July 2014 - 19:34

Fixed the reported bugs

#15 toblerpone

toblerpone

    Guruh Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 902 posts
  • Gender:Not Telling
  • Location::c

Posted 12 August 2014 - 12:03

I was beginning to write a tool that would allow you to move throughout the beat/pattern using steps of your measure of choice, but since moving entirely to using pattern_pone instead, I have no use of it anymore, if anyone needs the tiny bit of code: http://pastebin.com/msr62YF3

 

A little head's up for those interested, I don't know how to handle the issue with modifiers and using multiple-key keybinds not being skipped properly by the tool (the tool should ignore them and let renoise have them, you can simply keybind your qwerty non-piano keys or bind your midi controller (most advisable, because you'll be able to record lag-free while the tool is running)

If anyone could figure out the correct math formula to calculate the slider to line number conversion, that'd be great 

The observable error that happens if you hadn't launched this tool in a song and release it will be fixed in a later version.

I'm thinking of having the index drawing be slightly optimised and maybe adding a sister-tool that would work for effects columns, also adding the function to 'detach' the tool and have the window become static and independent, for observing other tracks while changing your current one.

 

Project closed.


Edited by gova, 12 August 2014 - 17:44.


#16 toblerpone

toblerpone

    Guruh Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 902 posts
  • Gender:Not Telling
  • Location::c

Posted 17 August 2014 - 20:15

If there are bugs please report, otherwise, final update.



#17 toblerpone

toblerpone

    Guruh Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 902 posts
  • Gender:Not Telling
  • Location::c

Posted 17 August 2014 - 21:03

hotfix



#18 toblerpone

toblerpone

    Guruh Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 902 posts
  • Gender:Not Telling
  • Location::c

Posted 19 August 2014 - 21:21

small feature and bugfix patch



#19 toblerpone

toblerpone

    Guruh Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 902 posts
  • Gender:Not Telling
  • Location::c

Posted 20 August 2014 - 21:07

Found a small 'accidental garbage' collection bug, fixed it, will upload in next version.

Next version will feature several sizes, adjustable speed for the refresh and a detach-dialog from tool function making it inert, useful for comparing multiple tracks.

 

I need to ask you what sizes you want, go to the tools folder and find main.lua, then ctrl-f for BUT_WIDTH and BUT_HEIGHT and change them, don't change slid_size, it's now only the seekbar height.

On windows you'll find it in C:\Users\YOUR_ACCOUNT_NAME\AppData\Roaming\Renoise\V3.0.0\Scripts\Tools\gova.tools.Pattern_pone.xrnx

 

Thank you.



#20 danoise

danoise

    Probably More God or Borg Than Human Member

  • Renoise Team
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 6176 posts
  • Gender:Male
  • Interests:wildlife + urban trekking

Posted 20 August 2014 - 21:33

On windows you'll find it in C:\Users\YOUR_ACCOUNT_NAME\AppData\Roaming\Renoise\V3.0.0\Scripts\Tools\gova.tools.Pattern_pone.xrnx

 

Hey, if you want to point someone to the tool path, cross-platform style: 

Renoise menu > Tools > Tool Browser > (Right-click installed tool) -> Reveal in Finder / Explorer / etc.


  • toblerpone likes this

Tracking with Stuff. API wishlist | Soundcloud


#21 hmā

hmā

    Advanced Member

  • Normal Members
  • PipPipPip
  • 88 posts
  • Gender:Male
  • Location:Tukums

Posted 20 August 2014 - 23:21

Loving it, nice and useful, thank you gova, different sizes and comparing different tracks sounds great, cannot wait :)



#22 toblerpone

toblerpone

    Guruh Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 902 posts
  • Gender:Not Telling
  • Location::c

Posted 21 August 2014 - 20:35

Most probably final update, I can't find any more bugs.... assuming the fix I did in this version doesn't cause any, but I don't see why it should.



#23 toblerpone

toblerpone

    Guruh Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 902 posts
  • Gender:Not Telling
  • Location::c

Posted 22 August 2014 - 22:40

OK,

Definitely last update, added everything I found necessary.

It would be great if this could be tested, if I get 50 downloads without any bug reports I'll submit to be reviewed by the dev team.

 

unrelatedly, some small handy scripts I've made

Attached Files


Edited by toblerpone, 02 April 2016 - 15:17.


#24 hmā

hmā

    Advanced Member

  • Normal Members
  • PipPipPip
  • 88 posts
  • Gender:Male
  • Location:Tukums

Posted 01 September 2014 - 01:22

This is cool, so quick to adjust volume/delay, great for fine tuning a beat, thanks again gova.



#25 toblerpone

toblerpone

    Guruh Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 902 posts
  • Gender:Not Telling
  • Location::c

Posted 02 September 2014 - 18:58

I found a 'bug' but I don't think it's possible to fix,

When you push play after you've set a looping region that is not supported by block loop, it sets the loop to the closest block loop region. 

So non-block loops can only be played properly if you already are playing.

Scheduling patterns to play doesn't trigger it. 

Is this technically a renoise bug?

 

 

EDIT: actually it doesn't always happen

Try this:  make a 0x80 long pattern and set the loop from 30 to 5F, then try the above issue.

or 00-33, seems to happen every time when 1/2 block loops are the closest variant


Edited by gova, 02 September 2014 - 19:07.






Also tagged with one or more of these keywords: pattern overview, pattern matrix, pattern editor, alternative pattern editor, piano roll