Jump to content


Photo

New Tool (3.1): Transporter


  • Please log in to reply
17 replies to this topic

#1 joule

joule

    Guruh Motha Fakka is Levitating and Knows Everything About Renoise Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 1340 posts
  • Gender:Not Telling
  • Location:Sweden
  • Interests:music, philosophy, engineering

Posted 11 October 2016 - 19:29

A cheap transport bar to pimp your Renoise.

 

Menu - Main Menu:Tools:Transporter

Keybind - Global:View:Show/Hide Transporter

 

EDIT: Updates in thread below.

 

transporter.png

 

Attached File  joule.no0b.Transporter.xrnx   1.69KB   47 downloads


Edited by joule, 17 October 2016 - 07:56.

  • Ledger, Roppenzo, Fsus4 and 1 other like this

#2 Roppenzo

Roppenzo

    Big Daddy Member

  • Normal Members
  • PipPipPipPipPipPipPip
  • 419 posts
  • Gender:Male
  • Location:Netherlands

Posted 12 October 2016 - 00:48

Tested in 2.8.2!!

This is great joule.. I've been wanting this idea for so long :-)

You're a hero man.


edit: made a tool image:

2h87o20.png


feel free to use it.

Edited by Roppenzo, 12 October 2016 - 01:56.

  • joule likes this
House Music All Night Long. - Say What?

#3 joule

joule

    Guruh Motha Fakka is Levitating and Knows Everything About Renoise Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 1340 posts
  • Gender:Not Telling
  • Location:Sweden
  • Interests:music, philosophy, engineering

Posted 12 October 2016 - 07:36

Awesome :D Thanks.

 

I'll sort out some bugs before uploading anyplace else, so please report anything found.

 

Known issues:

 

* Does not update song length when number of lines are changed in a pattern (don't wanna observe all those). Will add some sort of slow timer that occasionally refreshes total number of lines to catch such changes.

* Transporting somewhere while playing seems to only skip by patterns - should be lines. Worked before but dunno what happened now.

* Should operate on playback pos, not edit pos ? Edit pos seems nicest.

 

Additional ideas (all optional in GUI):

* Cheap "scrubber" slider (forward only, and optional). Move a slider to increase BPM, and when released it will snap back to original BPM. Might not be possible with slider, but only with xypad. Edit: xypad hooked up to  BPM and a realtime pitchshifter (if free one exist) would be pretty cool. No GUI element suitable.

* Song markers of various kind - comments, "bookmarks", play from bookmark on click. Some image handling needed.

* Generate some kind of small "intensity/energy" image below the transporter, based upon number of non-empty slots at any position. Fixing this.

* Skipping thru song should reset audio inbetween. I think it's possible and that I saw some tool killing audio (?). Edit: transport:panic(). Will see if it works smooth enough. Done.


Edited by joule, 13 October 2016 - 10:28.


#4 joule

joule

    Guruh Motha Fakka is Levitating and Knows Everything About Renoise Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 1340 posts
  • Gender:Not Telling
  • Location:Sweden
  • Interests:music, philosophy, engineering

Posted 16 October 2016 - 10:45

I added a representation of the pattern sequence and a FFW button. Let me know what you think. Of course you can hide/show it.

 

Sequence buttons are clickable. The button lightness represents how many patterntracks that are non-empty.

 

trans2.png

 

Attached File  joule.no0b.Transporter.xrnx   5.81KB   33 downloads


  • Fsus4 likes this

#5 Roppenzo

Roppenzo

    Big Daddy Member

  • Normal Members
  • PipPipPipPipPipPipPip
  • 419 posts
  • Gender:Male
  • Location:Netherlands

Posted 16 October 2016 - 14:37

Best tool of the year bro.. i am really, I mean REALLY thankful for this.
House Music All Night Long. - Say What?

#6 joule

joule

    Guruh Motha Fakka is Levitating and Knows Everything About Renoise Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 1340 posts
  • Gender:Not Telling
  • Location:Sweden
  • Interests:music, philosophy, engineering

Posted 16 October 2016 - 14:48

Thanks, although there are lots of other tools that are "better" and cooler :) I agree that it's nifty being able to navigate thru song more easily.

 

I'll add a tiny bit of coloring to the sequence buttons to make the visual cue more effective - adding blue value for each track that is dropped and red values for each track that is introduced (+some extra intelligence to make coloring more relevant).

 

Also, custom window width would be nice.


Edited by joule, 16 October 2016 - 14:52.


#7 Roppenzo

Roppenzo

    Big Daddy Member

  • Normal Members
  • PipPipPipPipPipPipPip
  • 419 posts
  • Gender:Male
  • Location:Netherlands

Posted 16 October 2016 - 15:09

maybe pattern numbers below the blocks?
House Music All Night Long. - Say What?

#8 Meef Chaloin

Meef Chaloin

    Big Daddy Member

  • Normal Members
  • PipPipPipPipPipPipPip
  • 437 posts
  • Gender:Male

Posted 16 October 2016 - 20:15

'/home/meef/.renoise/V3.1.0/Scripts/Tools/joule.no0b.Transporter.xrnx/' failed to execute in one of its menu entry functions.
Please contact the author (joule) for assistance...
./gui.lua:153: attempt to index global 'rns' (a nil value)
stack traceback:
  ./gui.lua:153: in function 'show_transporter'
  main.lua:31: in function <main.lua:22>

I get this when I try to launch the tool.


Edited by Meef Chaloin, 16 October 2016 - 20:17.


#9 Circe

Circe

    Member

  • Normal Members
  • PipPip
  • 41 posts
  • Gender:Male
  • Location:Spain
  • Interests:Visual Basic 6.0 Music Programing
    Piano Chords

Posted 16 October 2016 - 22:30

Usefull a lot. May be putting position song marks, using colours could be Great !!!

 

Thanks.



#10 joule

joule

    Guruh Motha Fakka is Levitating and Knows Everything About Renoise Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 1340 posts
  • Gender:Not Telling
  • Location:Sweden
  • Interests:music, philosophy, engineering

Posted 17 October 2016 - 07:42

@Meef Chaloin,

I think this update should fix the problem. (I'm guessing that depending on your HW, an idle notifier loop could slip by and get ran before rns was set)

 

Attached File  joule.no0b.Transporter.xrnx   5.59KB   25 downloads


Edited by joule, 17 October 2016 - 15:36.


#11 joule

joule

    Guruh Motha Fakka is Levitating and Knows Everything About Renoise Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 1340 posts
  • Gender:Not Telling
  • Location:Sweden
  • Interests:music, philosophy, engineering

Posted 17 October 2016 - 07:54

Usefull a lot. May be putting position song marks, using colours could be Great !!!

 

Thanks.

 

Yes, I might try doing that. My thinking:

 

* Small bookmark symbols above the slider.

* Rather a keyboard shortcut for adding bookmarks than clutter the interface with an 'Add bookmark' button.

* If you press the bookmark for more than 2 seconds, a popup shows where you can enter a comment or delete the bookmark.

* Comment is also shown as tooltip popup when hovering bookmark.

 

Bookmarks should be tied to the unique sequence/line so I'll have to make sure it handles updates in the pattern sequence correctly. I hope and believe that's possible.



#12 Meef Chaloin

Meef Chaloin

    Big Daddy Member

  • Normal Members
  • PipPipPipPipPipPipPip
  • 437 posts
  • Gender:Male

Posted 17 October 2016 - 13:50

@Meef Chaloin,

I think this update should fix the problem. (I'm guessing that depending on your HW, an idle notifier loop could slip by and get ran before rns was set)

 

attachicon.gifjoule.no0b.Transporter.xrnx

Unfortunately, the same message still appears.



#13 danoise

danoise

    Probably More God or Borg Than Human Member

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

Posted 17 October 2016 - 18:35

* If you press the bookmark for more than 2 seconds, a popup shows where you can enter a comment or delete the bookmark.

Just FYI - Keyboard shortcuts for tools are invoked only when pressed, not when released. I've made something sort-of work for the Noodletrap tool, but that approach will only function for as long as the tool dialog has focus - and I guess you want to use traditional shortcuts, working in the pattern editor and elsewhere?
So don't waste your time trying to figure this one out. Better to have it as a separate shortcut  ;)
 

I'm guessing that depending on your HW, an idle notifier loop could slip by


I haven't looked in detail, but generally speaking you want to initialize the tool following the new_document observable. This should ensure that the renoise.song is available. 


Tracking with Stuff. API wishlist | Soundcloud


#14 joule

joule

    Guruh Motha Fakka is Levitating and Knows Everything About Renoise Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 1340 posts
  • Gender:Not Telling
  • Location:Sweden
  • Interests:music, philosophy, engineering

Posted 17 October 2016 - 19:10

Just FYI - Keyboard shortcuts for tools are invoked only when pressed, not when released. I've made something sort-of work for the Noodletrap tool, but that approach will only function for as long as the tool dialog has focus - and I guess you want to use traditional shortcuts, working in the pattern editor and elsewhere?
So don't waste your time trying to figure this one out. Better to have it as a separate shortcut  ;)

 
The idea was to press mousebutton (on bookmark image) for two seconds to edit the bookmark. That should be possible with some timer checking on release.
 
I realized it's even better and possible to use a modifier + mouseclick to bring up the edit mode. Given that the keyhandler will recognize a modifier being held while clicking the window (which I suppose it can).
 

I haven't looked in detail, but generally speaking you want to initialize the tool following the new_document observable. This should ensure that the renoise.song is available.

I haven't got the latest feedback from Meef Chaloin yet, but I believe the problem was that I had some menu definitions with invokes before rns was set. My guess is that, even if these are not being run upon initialization, they are dealt with similarly as loadstring generating bytecode (?). I put the menu stuff at the bottom and hope the problem is solved.

 

It seems some people have problems and bugs that other haven't. I've even noticed different tool behavior on different machines myself, and I don't know why. The only far fetched reason I can think of is that you might have tools installed that's messing with the _G table (?).



#15 danoise

danoise

    Probably More God or Borg Than Human Member

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

Posted 17 October 2016 - 21:08

Ah, "long-press" on an image will work for sure, yes. 

 

 It seems some people have problems and bugs that other haven't. I've even noticed different tool behavior on different machines myself, and I don't know why. The only far fetched reason I can think of is that you might have tools installed that's messing with the _G table (?).

 

I don't think so - each tool exist in it's own sandbox. It's more likely to come down to the various ways a document can be instantiated. A few ways I can think of: loading a new song, when the program first starts (with out without a document to load). Temporarily there might not be a document - renoise.song() - available.

 

So this gets a little tricky when you're using a shortcut (rns) - you have to assign it at the right moment - app_new_document_observable. 


Tracking with Stuff. API wishlist | Soundcloud


#16 Roppenzo

Roppenzo

    Big Daddy Member

  • Normal Members
  • PipPipPipPipPipPipPip
  • 419 posts
  • Gender:Male
  • Location:Netherlands

Posted 23 March 2017 - 12:51

Is this tool "finished" already Joule?


House Music All Night Long. - Say What?

#17 joule

joule

    Guruh Motha Fakka is Levitating and Knows Everything About Renoise Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 1340 posts
  • Gender:Not Telling
  • Location:Sweden
  • Interests:music, philosophy, engineering

Posted 23 March 2017 - 14:30

I haven't touched it in a while. Let me know if you have any feature suggestions!



#18 Roppenzo

Roppenzo

    Big Daddy Member

  • Normal Members
  • PipPipPipPipPipPipPip
  • 419 posts
  • Gender:Male
  • Location:Netherlands

Posted 31 March 2017 - 00:41

Well, it's not on the tools page.. so many people don't know it exist ;-)

Edited by Roppenzo, 31 March 2017 - 00:41.

House Music All Night Long. - Say What?