Jump to content


Photo

New Tool (3.1): xCleaner

Instrument Content Creation Tool

  • Please log in to reply
10 replies to this topic

#1 danoise

danoise

    Probably More God or Borg Than Human Member

  • Renoise Team
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 6419 posts
  • Gender:Male
  • Location:Berlin
  • Interests:wildlife + urban trekking

Posted 10 July 2016 - 11:17

splash-big.png

 

This is the place for discussion, bug reports, and announcements regarding the xCleaner tool. 

 

Download from the tools page and check out the documentation & source code on github


  • ffx, KURTZ, slippycurb and 3 others like this

Tracking with Stuff. API wishlist | Soundcloud


#2 ffx

ffx

    Guruh Motha Fakka is Levitating and Knows Everything About Renoise Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 2938 posts
  • Gender:Not Telling
  • Interests:macOS fanboying

Posted 29 July 2016 - 12:36

Hi,

 

nice tool as always :)

I would like to suggest the following additional features:

 

Clean up track fx, too, not only inside instruments

Currently this tool seems to be for inside instruments only. Would love to see it for the whole song structure. Like remove disabled fx, that is not automated for on/off (btw. would love to have an automation indicator here, it's missing!)
 

Deleting unused columns in all tracks of the complete song. Also on the left.

At least here I often have those empty columns left in a final song.   Also columns at the beginning. E.g. if you use the "split into several tracks" tool, the result tracks often have empty columns on the very left. Or if you did double a track with note contents and did some fancy note splitting.  Thanks to the lately feature "drag column", you can quite easily fix an empty beginning column, by dragging the empty one the the very right and then lowering the number of columns. But IMO would nicely fit into this tool.

 

Delete unused instruments + delete empty instrument slots

Yes, it's available in the context menu in the instrument list, but why not adding this to this tool, too? Is there this function available in the API?

 

Put all instruments to "auto suspend"

 

Remove unused send tracks

 

 

Thanks for considering!


Edited by ffx, 29 July 2016 - 12:36.

MacOS 10.12.6 Retina, Renoise 3.1 64 bit   -   Tuned Shortcuts | Multi-Jump From/To Send | Quick Template | Insert Native DSP Menu (incl. deprecated)


#3 fladd

fladd

    Guruh Motha Fakka is Levitating and Knows Everything About Renoise Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 1225 posts
  • Gender:Male
  • Location:The Netherlands

Posted 10 June 2017 - 21:46

Detect silence (with adjustable loudness threshold) at either end of sample.

 

 

How is this done? I cannot find an option for this in the tool. I have several instruments where each sample has silence before and after the actual sample, and I would like to remove this silence.



#4 4Tey

4Tey

    Chief Above Chief Member

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

Posted 11 June 2017 - 09:26

Just also to mention danoise...  Line 992 of the file xCleanerUI.lua -> https://github.com/r...erUI.lua#L992  Might be better to go from this:

self._x.fix_issue(instr,tab_idx,data,item_idx,update_callback)

to:

self._x:fix_issue(instr,tab_idx,data,item_idx,update_callback)


#5 danoise

danoise

    Probably More God or Borg Than Human Member

  • Renoise Team
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 6419 posts
  • Gender:Male
  • Location:Berlin
  • Interests:wildlife + urban trekking

Posted 11 June 2017 - 10:58

@4Tey: thanks! Those sneaky colons are easily missed. 

 

How is this done? I cannot find an option for this in the tool. I have several instruments where each sample has silence before and after the actual sample, and I would like to remove this silence.

 

Ah, good of you to point this out. The feature is disabled "under the hood". Not sure why, but then there never was an option to adjust this threshold to begin with.  

Let me just add that into the tool - perhaps even today. Want to quickly fix the error that 4Tey discovered...


  • 4Tey likes this

Tracking with Stuff. API wishlist | Soundcloud


#6 fladd

fladd

    Guruh Motha Fakka is Levitating and Knows Everything About Renoise Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 1225 posts
  • Gender:Male
  • Location:The Netherlands

Posted 11 June 2017 - 11:13

Awesome! I don't think I'd need a threshold setting. The silence in my samples is zero I think, so it should be fine.

#7 danoise

danoise

    Probably More God or Borg Than Human Member

  • Renoise Team
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 6419 posts
  • Gender:Male
  • Location:Berlin
  • Interests:wildlife + urban trekking

Posted 11 June 2017 - 21:22

So...here's a version with leading/trailing silence detect and removal. 

 

It defaults to -48 dB as the threshold, which is of course nowhere near "absolute silence". 

But often, samples have been processed somehow, and even a bit of dithering could make the silence detection useless. 

 

Check it out, see if it works for you? 


Edited by danoise, 12 June 2017 - 13:55.
Download is now on the tools page

Tracking with Stuff. API wishlist | Soundcloud


#8 fladd

fladd

    Guruh Motha Fakka is Levitating and Knows Everything About Renoise Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 1225 posts
  • Gender:Male
  • Location:The Netherlands

Posted 12 June 2017 - 11:27

Nice! A threshold of "-inf" (aka -200) seems to work well for me. I also just had a look at xLib for the first time. Wonderful work! I am tempted to just write a small script that automatizes cleaning and naming for my sampled stuff specifically.



#9 danoise

danoise

    Probably More God or Borg Than Human Member

  • Renoise Team
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 6419 posts
  • Gender:Male
  • Location:Berlin
  • Interests:wildlife + urban trekking

Posted 12 June 2017 - 12:49

I also just had a look at xLib for the first time. Wonderful work!

 

Thanks! This tool, however, is a mess  ^_^


Tracking with Stuff. API wishlist | Soundcloud


#10 4Tey

4Tey

    Chief Above Chief Member

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

Posted 12 June 2017 - 13:51

This tool, however, is a mess  ^_^

Never mind danoise.  Coding wise I didn't get to the mess stage, so you are doing well even with a mess :)



#11 ffx

ffx

    Guruh Motha Fakka is Levitating and Knows Everything About Renoise Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 2938 posts
  • Gender:Not Telling
  • Interests:macOS fanboying

Posted 13 October 2017 - 13:25

Is there a batch processing for everything in the song, and if not, could you add that? :)

 

EDIT: Even cooler was, if Renoise's multi-selection of instruments was reflected in the LUA API and your tool was supporting it.... Yeah, daydreams...


Edited by ffx, 13 October 2017 - 13:29.

MacOS 10.12.6 Retina, Renoise 3.1 64 bit   -   Tuned Shortcuts | Multi-Jump From/To Send | Quick Template | Insert Native DSP Menu (incl. deprecated)






Also tagged with one or more of these keywords: Instrument, Content Creation, Tool