Using FluCoMa tools with reaper

there is. Check the ‘advanced’ tab here

I tried to defer the main() loop of the functions but it went a bit wonky. It’s something ill revisit later.

The other problem is that if the user drags a file while the processing is happening all the values on which it was executed will change and these have to be passed to the shell prior to calculation so really there is no benefit (or possible way) to make this work well within the boundaries of a scripting language. Still, this is luxury feature :slight_smile:

Dear James,

After being caught up in many other matters, I’m now getting back to FluComa stuff and read in more detail about your contributions towards Reaper scripts. It sounds amazing.

But as I have not read discourse in months, it’s hard for a ‘beginner’ to jump in.

I read the thread from 2 weeks ago.

In order to make sense for me could you please provide the current download links to your command line tools, the scripts and any installation helpfile (if it exists).

You made some short videos a while ago, but they were still based on using Python.

Thanks, Hans

Hi Hans,

Nice to hear from you. I can imagine trying to catch up is a mountain of work so let me try and crash course you. This will hopefully be helpful for anyone else who enters the discourse at this point too.

ReaScript

The ReaScripting stuff is located here:

You can follow the readme on there on how to install the scripts ( which isn’t really an installation but just instructions on how to use the scripts once you’ve downloaded them ). For brevity I won’t copy paste the instructions here as it will very quickly balloon the thread.

Batch processing

I haven’t actually looked at these in a while now. I am bit worried they won’t work or arguments have changed names since then. I have been doing a lot of batch processing in another project a while ago but the scripts aren’t generic work out of the box kind of things. Given that things are now beta and things like parameters are less prone to change I would be open to making some more generic batch processors if thats useful for you and others. It definitely would be useful for me at some point it would just be about the needs of others aligning with my compositional needs and priorities.

Python is also losing its charm on me, given that it will no longer be shipped on MacOS machines and so I’d have to have a think about what is portable, light and user friendly (as well as coder friendly for me).

Summary

Anyway, I think that the ReaScripts strike a good balance between musical productivity and coder-fun batch processing, so I’d suggest starting there. If you really want to blow up 1000 files with the transient extractor let me know and I can throw something together in bash .

1 Like

James, this is great help. Thanks.

Is this still the current CLI?
Fluid_Decomposition_CLI_alpha04.zip

I am using Beta01.

I forgot to disclaim that the ReaScripts use a function in the CLI that is currently coming in Beta02 (I am led to believe by @tremblap) and is not yet available. The team has kindly given me a build before it goes public so I can fix the scripts up ahead of time using .csv output and to test for any bugs in that specific feature.

To tide you over to the next release I have packaged up for you the most recent version of the scripts that don’t use the new functionality. These will work with Beta01 and upwards. I hope the team doesn’t mind me redistributing my binaries folder like this including @tremblap’s little index_extractor tool he made. Let me know if that is an issue @weefuzzy, @groma or @tremblap.

Download this zip archive:

https://cp.sync.com/dl/a18ecb3d0/6gs7b6nx-ky593n3u-258bpndw-axcvgnb8

Then follow the installation guide with this in mind:

  1. Treat executables as the command line executables (you will need to put the executable files into your path somewhere)
  2. Treat ReaComa as the scripts (they can go anywhere as per the installation guide)

happy to help you diagnose any issues you run into as any bugs are likely to be my fault :wink:

Thanks. That worked, at least Reaper is happy with the path and I can load a script.
I assume that novelty slice should do something with the default values. But how do I know that a process is actually running? The parameter window closes when I click ok, but nothing else seems to happen.

I did select a sound file in Reaper before launching the script.

Try a stupidly low threshold like 0.01 - if you don’t get any slices I think something is off and we can debug further.

36

and nothing happens

Do you get a popup of any sort?

no, I don’t get any further visual feedback after clicking ok

Just to be sure, do you have the index_extractor tool in the same folder as the FluCoMa executables?

Did you get a spiel when you tried to run the first script about giving the path to the tools?

Yes to both questions

Can you send me the file so I can isolate test here?

I also get no slices. If you can get slices in Max but not the command line or reaper then the problem is outside of my jurisdiction. Can you try a more hearty file with strong attacks and/or spectral differences?

Ah! Sorry, I tried immediately with a threshold of 0.01. Slices are produced, but there is so many of them it seems as if nothing has happened. With a threshold of 0.5 I get this.

Another thing to try is something like hpss, nmf, sines, transients and see if you get output from that happening

The very last thing to make sure of is are you using the scripts I sent to you via the cp.sync link or the github? You will want to use only the scripts and exec I sent you in the most recent link. Sorry if it sounds patronising, just making sure amongst the many links I have sent you all the compatible ones are being used together.