Jump to content


Photo

New Tool (3.0): CDP lua tool


  • Please log in to reply
411 replies to this topic

#401 hyenaz

hyenaz

    New Member

  • Normal Members
  • Pip
  • 7 posts

Posted 08 April 2017 - 18:24

Hello Djeroek and OopsIFly

 

Thank you! Your assistance has allowed me to move forward. I can make the distortion tool work inside Reaper, along with a couple others.

 

One thing which was confusing me, and which might help other new users, is about how to create a new sample that CDP can use for the output. I was just clicking on the "+" symbol next to the instrument slots in the Renoise sampler. What is important, is to choose or create an instrument slot, but then in the window where the waveform is represented (where the text says "No Sample Selected"), right click and choose "Create Sample". Now you can use this empty sample as an output for CDP.

 

So at least I know that CDP can work for me in Renoise running on Linux. But at this point, I can only get three to work (distortion, fastconv and reverb). The reasons for not working are varied. Some, I notice, are present in the Renoise CDP Tool drop down menu but are not present in the binaries I compiled (eg mchiter).

 

But most frustrating for me is this error message (see image below):

 

fm01yzfgexxj_t.jpg
 

This time I am also not having any success in the terminal:

 

x@x:~/Binaries/CDP/Release$ ./blur blur $HOME/cdptest/radtoolds.wav $HOME/cdptest/radtoolds/output/radtooldsblur.wav 100

Application doesn't work with this type of infile.
 

I have already added to my $HOME/.bashrc the lines:

  # For the Renoise CDP tool
  export CDP_SOUND_EXT=wav

Do you have any ideas about this? I'll also ask at the CDP forum as well.

 

Thank you so much for helping me get this far. Already having a lot of fun with the (few) tools that I can use.



#402 OopsIFly

OopsIFly

    Guruh Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 814 posts
  • Gender:Male
  • Interests:...daydreams... -VS- ...propaganda...

Posted 08 April 2017 - 18:47

Hello!

 

Ah, I see you are also on Ubuntu 16.04. I also had some trouble, but for now most effects are working nicely for me. Well, some are not so, I don't know now which ones are troublesome, but this tool isn't 100% feature complete yet after all I guess. Most do their job, and I haven't explored them all yet. Regarding your screenshot, the blur avrg command works nicely for me, it is a very good effect, for example on percussions, smoothing and whitening them up drastically without making them loose punch, with overlap at 4 and the pvoc bands at least at 4096.

 

I also had some Trouble with compiling, also lacking many of the effects and having others broken. The compile script also sucks because it prints no real error message, it was done very simple I think. But, I found out what the problem was (incompatibility with "newer" gcc compiler versions) and was able to fix it editing some build scripts. You can find a patch from me in this thread, in this post: http://forum.renoise...-16#entry355331 - I fear you will have to compile the cdp modules again. But if you still have the sources from the first build, maybe it will work just applying the patch and compiling again.

 

If everything went right, you should have 148 files in the "CDPrelease7src/dev/Release/" folder. The "mchiter" program is among the files that wouldn't get compiled without my patch.

 

Also the ".bashrc" thing won't work on newer ubuntus. I did something else, I added the line "CDP_SOUND_EXT=wav" to another file in my user directory named "~/.pam_environment". You can create it with just that line if it isn't there already. Then log out of your user account, and in again. In a terminal, the command "echo $CDP_SOUND_EXT" should output "wav", then you're ready to go.

 

Feel free to ask if you have any questions regarding these fixes or any further problems. If you got all the files and blur avrg works after the pam environment fix, and other tools don't work, please name them here, I'd look into them if I find the time to do so.

 

Someone should deffinately update the howto blog with this info, as the info there doesn't apply to new ubuntus anymore.



#403 hyenaz

hyenaz

    New Member

  • Normal Members
  • Pip
  • 7 posts

Posted 09 April 2017 - 00:28

Thanks a lot OopsIFly,

 

That did it! I am really excited!

 

I would be really happy to update the Linux tutorial - it only needs a couple of lines of clarification. I'll post them in the comments section.

 

If anybody is in contact with the author, we could ask them to include them in the article.

 

I really appreciate that you made this tool, and that you took the time to help me out.

 

All the best,

 

Adrienne



#404 hyenaz

hyenaz

    New Member

  • Normal Members
  • Pip
  • 7 posts

Posted 09 April 2017 - 00:46

The Renoise blog (https://www.renoise....-cdp-tool-guide) is blocking my comment as spam - so I will post my summary of important knowledge for Linux users here:

 

Hi Paul,

This tutorial is really helpful, but there are a couple of things that have changed which Linux users can benefit from knowing about

1) Firstly, the CDP Linux compiler doesn't work that well. A forum user OopsIFly has created a patch to fix the compiler.

After you have unpacked the archive containing the Linux sources for CDP into your source directory, download the following file and place it in your source directory.

http://forum.renoise...&attach_id=7260

Rename the file from "CDP_Libmfix.diff.txt" to "CDP_Libmfix.diff" (without the quotes "")

In the terminal, go to your src directory. Execute the following command:

patch -p1 < CDP_Libmfix.diff

If the patch works successfully, continue with the instructions above (eg "satisfy the need for libaaio")

2) Quoting OopsIFly: "the ".bashrc" thing won't work on newer ubuntus. I did something else, I added the line "CDP_SOUND_EXT=wav" to another file in my user directory named "~/.pam_environment". You can create it with just that line if it isn't there already. Then log out of your user account, and in again. In a terminal, the command "echo $CDP_SOUND_EXT" should output "wav", then you're ready to go."

Everything else should work fine.

One other thing which was confusing me, is about how to create a new sample that CDP can use for the output. I was just clicking on the "+" symbol next to the instrument slots in the Renoise sampler. What is important, is to choose or create an instrument slot, but then in the window where the waveform is represented (where the text says "No Sample Selected"), right click and choose "Create Sample". Now you can use this empty sample as an output for CDP.
 



#405 OopsIFly

OopsIFly

    Guruh Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 814 posts
  • Gender:Male
  • Interests:...daydreams... -VS- ...propaganda...

Posted 09 April 2017 - 01:13

I didn't make the tool, I just found out how to make it work for myself & wanted to share.

 

Have fun with all the unusual effects!



#406 Djeroek

Djeroek

    Probably More God or Borg Than Human Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 6684 posts
  • Gender:Male
  • Location:Borneo

Posted 09 April 2017 - 09:08

Some, I notice, are present in the Renoise CDP Tool drop down menu but are not present in the binaries I compiled (eg mchiter).

 

For your interest, even if you get it compiled, mchiter is one of the many multi-channel type of processes, stuff that electro-acoustic composers use to send sounds to arrays of >2 speakers :-) . Cdp's multi-channel output files aren't supported by Renoise, therefore where possible for these processes, output channels are limited to 2, so you can't really take advantage of what they are intended for. Maybe in a future version, >2 channel output can be automatically divided across multiple output files in Renoise? 

 

In any case I suggest keeping the manual/docs opened next to using the tool and keep an eye on the terminal output in the tool gui if there are any parameter mis-settings.  



#407 hyenaz

hyenaz

    New Member

  • Normal Members
  • Pip
  • 7 posts

Posted 16 April 2017 - 13:34

Okay, thanks a lot for the info. I will go deep.



#408 emre_k

emre_k

    Big Daddy Member

  • Normal Members
  • PipPipPipPipPipPipPip
  • 432 posts

Posted 17 April 2017 - 23:56

Hey,

 

I've been messing around with some stuff after a while, but I'm getting some strange crashes with v 0.68 on Win 8.1. Fastconv and Reverb exe's crash as soon as I hit "process" button. Most of the other processes (blur, distort etc) work fine.

 

Also love the new envelope editor  :yeah: 


  • afta8 likes this

#409 Djeroek

Djeroek

    Probably More God or Borg Than Human Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 6684 posts
  • Gender:Male
  • Location:Borneo

Posted 18 April 2017 - 08:33

Hey,

 

I've been messing around with some stuff after a while, but I'm getting some strange crashes with v 0.68 on Win 8.1. Fastconv and Reverb exe's crash as soon as I hit "process" button. Most of the other processes (blur, distort etc) work fine.

From; http://unstablesound....php?topic=14.0 , try overwriting the buggy processes with these;  http://people.bath.a...7PCrebuilds.zip



#410 emre_k

emre_k

    Big Daddy Member

  • Normal Members
  • PipPipPipPipPipPipPip
  • 432 posts

Posted 18 April 2017 - 10:26

From; http://unstablesound....php?topic=14.0 , try overwriting the buggy processes with these;  http://people.bath.a...7PCrebuilds.zip

 

Thanks, that sounds like it but I'm getting a 404 error when I try to dl that :S



#411 Djeroek

Djeroek

    Probably More God or Borg Than Human Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 6684 posts
  • Gender:Male
  • Location:Borneo

Posted 18 April 2017 - 12:06

Thanks, that sounds like it but I'm getting a 404 error when I try to dl that :S

 

Mmmm, could be they've already replaced the faulty processes in the main cdp install file? Have you tried re-installing with the latest package (25/07/16)? http://www.unstables...win32-07-16.zip



#412 emre_k

emre_k

    Big Daddy Member

  • Normal Members
  • PipPipPipPipPipPipPip
  • 432 posts

Posted 18 April 2017 - 15:43

Mmmm, could be they've already replaced the faulty processes in the main cdp install file? Have you tried re-installing with the latest package (25/07/16)? http://www.unstables...win32-07-16.zip

 

That did the trick, thanks!