Jump to content


Photo

New Tool (3.1): Track Pattern Comments

track pattern pattern editor comments

  • Please log in to reply
No replies to this topic

#1 Neurogami

Neurogami

    Big Super Masta Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPip
  • 618 posts
  • Gender:Male
  • Location:Scottsdale AZ
  • Interests:Art, music, technology

Posted 29 October 2017 - 02:19

Track Pattern Comments is a variation on the Track Comments tool from fladd.
 
The tool adds a right-click menu item to the track-pattern menu.  When selected, it looks to see if the current track pattern contains, someplace, a special fx entry.  Such entries are of the form `NGxx` where `xx` is a hex value from 00 to FF.
 
That `xx` value is keyed to a comment stored within the song comments.
 
If an existing comment marker is found an edit box comes for reading/editing.
 
If no existing marker is found then an empty edit box comes up so you can add a new comment. In that case a new comment marker is added on the current line.
 
The code assumes one comment marker per track pattern.  
 
 Known issues/quirks
 
The edit box is sparse.  You click the [x] to close and save the comment.  If the box is empty then no new comment is created.
 
Nothing in place for deleting comments.  That will be added.  You can delete a comment marker but the comment remains in the data stored in the song comments.
 
You can cut and paste fx columns values, so the same comment marker can be in more than one place, and you can manage to get multiple comments into  a single track pattern. The code currently looks for the closest marker so you can exploit this, but there's no current way to just add more comment markers to a track pattern if one already exists.
 
 

Edited by Neurogami, 29 October 2017 - 04:39.

  • fladd and Circe like this





Also tagged with one or more of these keywords: track pattern, pattern editor, comments