New Tool (3.0): CDP lua tool


(Sonny Nieuwenhuizen) #281

Hey Sonny. Not sure what that particular error is but pretty much everyone runs into this “environment variable” problem. Perhaps this could help (on Windows):

If you are on Mac:

You might need to reinstall the tool and/or restart your computer after that.

Thanks again friend. You are helping me out so much.


#282

Guys im terribly sorry if this is out there in the thread somewhere, but im a novice Renoiser and in one of the tutorials i watched Emre_k uses CDP. I tried to get it to work and make it sound as awesome as the examples but i only get this:

MiK3Exi.png

Have you downloaded and installed the CDP package? - http://unstablesound.net/cdp.html

Looks like the tool can’t find the exe’s


(danoise) #283

You were right. I had make this manual config “2. Adding the CDP_SOUND_EXT environment variable” which can be found on the manualconfig.pdf. Important not to mess up the name “launchd.conf.” with “launchd.conf” as written in the manual.

This is worth repeating. Seems to have made my install on OSX 10.8.5 work


(Legendary Taunt) #284

I have no clue on what is going on with this thing. I keep getting this output.

5895 Screen Shot 2015-08-29 at 9.02.42 PM.png

I’m on a mac and I’ve followed the instructions in the manualconfig pdf. Got files, paths and directories created. Hell I don’t even know what “settings” option I’m suppose to check. Any idea as to what this means?

EDIT: When I launch the tool in renoise for the first time I’ve set the executable path to ~/Users/adrianthomas/cdpr7/_cdp/_cdprogs. Is this the right path? I see files in there.


#285

Are you using OSX Yosemite? If so then there is now another step that you need to that isn’t documented in the manualconfig.pdf. Here are the instructions from the CDP forum:http://unstablesound.net/cdpforum/index.php?topic=49.0

The procedure previously documented for Mountain Lion etc has (again) been discarded by Apple for Yosemite. An immediate consequence of this is that pvoc anal and related programs creating frequency domain files will fail with an error message.

We are in the final stages of updating the whole CDP system to default CDP_SOUND_EXT to wav, but in the short term there is a new recommended procedure. Create a standard text file (e.g. using TextEdit.ap) called “environment.plist” with the following content:

Code:[Select]

<?xml version="1.0" encoding="UTF-8"?> ](http://www.apple.com/DTDs/PropertyList-1.0.dtd) Label my.startup ProgramArguments sh -c launchctl setenv CDP_SOUND_EXT wav RunAtLoad Copy this file to your Library/LaunchAgents folder and reboot.

This should fix it, however if you are using an OSX version below Yosemite, it may be something else.

EDIT: When I launch the tool in renoise for the first time I’ve set the executable path to ~/Users/adrianthomas/cdpr7/_cdp/_cdprogs. Is this the right path? I see files in there.

Yeah, that path is the right one, the files in there are the CDP executables.

BTW there is a newer version of the CDP tool than the one in the screenshot, you can get it here:https://forum.renoise.com/t/new-tool-3-0-cdp-lua-tool/41466


(Legendary Taunt) #286

Are you using OSX Yosemite? If so then there is now another step that you need to that isn’t documented in the manualconfig.pdf. Here are the instructions from the CDP forum:http://unstablesound.net/cdpforum/index.php?topic=49.0

This should fix it, however if you are using an OSX version below Yosemite, it may be something else.

Yeah, that path is the right one, the files in there are the CDP executables.

BTW there is a newer version of the CDP tool than the one in the screenshot, you can get it here:https://forum.renoise.com/t/new-tool-3-0-cdp-lua-tool/41466

Thanks. So now there are some things that work and some things that don’t. Looks like anything involving an .ana conversion is causing this thing to freaking choke.

5899 Screen Shot 2015-08-30 at 10.09.32 AM.png

I get this with blur as well but distort and a few others are fine.

I saw on page 11 that apparently there was something to convert the .wav to .ana and back no problem. Was this implemented or is this another Yosemite only bug?


#287

All of these issues are to do with the environment variable not being set properly (this is step 2 in the manualconfig.pdf)

Basically any process that has the “PVOC analysis settings” will not work unless environment variable is set. So if the problem is only with these “PVOC” effects then you need to follow the additional steps for Yosemite…

I think 99% of all the issues that people have on this thread relate in some way to the environment variable :-/


(Legendary Taunt) #288

Has to be something else. I’ve followed the new instructions and still no dice.


#289

Try running the PVOC process from the command line, if it fails then this is something to post on the CDP Forum

If it works on command line then it is something with the tool and I will investigate it further.


(Legendary Taunt) #290

I’ve just posted on there. Yeah I’m getting the same error message. At least I know the tool works, and the specific problem, the .wav not converting to .ana. For those who are getting it to work, are you guys just working with all mono sounds or are you using stereo as well?


(Legendary Taunt) #291

Finally got this thing to work!! After trying to figure out what’s wrong, I’ve just uninstalled/deleted everything, and reinstalled the CDP tools again minus soundloom. I also just used the latest environmental instructions and ignored the manualconfig.pdf. Ana files are converted.


(Akiz) #292

So no linux user still?


#293

@LT Glad you got it working :slight_smile:

So no linux user still?

I think there are Linux users, check this post: http://unstablesound.net/cdpforum/index.php?topic=72.0

Edit: Also mentioned earlier in this thread: https://forum.renoise.com/t/new-tool-3-0-cdp-lua-tool/41466

I think Meef is using Linux


(Akiz) #294

Can you copy - paste please?
I dont want register to another forum :-).


#295

Just wanted to say that I have solved this, I had not set the CDP_SOUND_EXT properly and now, after adding ‘CDP_SOUND_EXT=wav’ to my .zshenv file everything is working 8)
Thanks!


(Dave Phillips) #296

Greetings,

Running the Renoise demo on Fedora 21 x86_64. Took a bit of time but the CDP tool (0.61) is working nicely here now. Incredible work, my compliments to the chef(s). The integration with Renoise is wonderful, very powerful, should be a selling point for anyone working with or wanting to work with the CDP software.

Back to the fun. :slight_smile:

Best,

dp


(Dave Phillips) #297

Btw, I’m writing a detailed step-by-step set of instructions on how to download, install, and run the CDP software and the Renoise CDP tool for Linux users. Alas, I’ve forgotten how I configured the path to the CDP binaries. Can someone refresh my memory ? How should the path be set when installing the tool ?

Also, is S_L_A_S_H absolutely necessary in the preferences.xml or can I simply replace it with the / character ?

TIA, and thanks again for this fabulous tool.

Best,

dp

EDIT: Got it, never mind, dumb questions. Sorry for the noise.


(digidandy) #298

Trying to make this work, but not happening.

I load a sample into the sample player of Renoise first. Then launch CDP Interface.

I choose a EXE filter, edit some parameters, then press “process”. I then get the message “An output file was not produced - Check your settings”.

I have followed the additional step for Yosemite, and checked that theCDP_SOUND_EXT is where it should be.

Also, running CDP through Soundloom works just fine.

Is the “Output” name supposed to be the same as the “Input”?

If I change the “Output” to a blank, I get this:

‘/Users/***********/Library/Preferences/Renoise/V3.0.1/Scripts/Tools/com.afta8.CdpInterface.xrnx/main.lua’ failed in one of its notifiers.

Please contact the author (afta8 | fathand@gmail.com ) for assistance…

main.lua:455: attempt to index field ‘?’ (a nil value)

stack traceback:

main.lua:455: in function ‘launch_commands’

main.lua:463: in function ‘run_process’

main.lua:1515: in function main.lua:1363

Any ideas?


(Dave Phillips) #299

I load a sample into the sample player of Renoise first. Then launch CDP Interface.

I choose a EXE filter, edit some parameters, then press “process”. I then get the message “An output file was not produced - Check your settings”.

I have followed the additional step for Yosemite, and checked that theCDP_SOUND_EXT is where it should be.

Is the “Output” name supposed to be the same as the “Input”?

If I change the “Output” to a blank, I get this:

‘/Users/***********/Library/Preferences/Renoise/V3.0.1/Scripts/Tools/com.afta8.CdpInterface.xrnx/main.lua’ failed in one of its notifiers.

A few questions for you :

Which processor are you testing ?

Is the CDP_SOUND_EXT variable defined as “wav” ?

Does the terminal output window post any other message after the advice to check your settings ?

The input and output are the same by default, meaning that changes will take place on the active sample (the input source). If you don’t want that to happen, add an empty slot in the sample browser and direct the output to that slot.

HTH,

dp


(digidandy) #300

A few questions for you :

Which processor are you testing ?

Is the CDP_SOUND_EXT variable defined as “wav” ?

Does the terminal output window post any other message after the advice to check your settings ?

The input and output are the same by default, meaning that changes will take place on the active sample (the input source). If you don’t want that to happen, add an empty slot in the sample browser and direct the output to that slot.

HTH,

dp

Thanks for trying to help!

By processor, do you mean EXE filter? If so, I have tried various - for example various “distort” presets, many of which I played (successfully) with in Soundloom yesterday.

Yes, the CDP_SOUND_EXT is defined as wav, and the input files I am trying are all wav.

Terminal window goes blank after I press “process”. No messages at all.

EDIT: Btw, I am using the 32-bit version of Renoise. Is that relevant?