Recent posts

#61
Mac installation / Re: Fixed filter banks hang on...
Last post by j_p_higgins - June 02, 2025, 03:18:58 AM
Some progress, the issue is being caused by the normalisation step although both that and the filtering seem to work fine individually. If I bypass normalisation by setting do_norm = 0 the process doesn't get stuck looping. I am not really sure though what is causing it to not get stuck. Some things to note:

  • sndseekEx is returning 0, although I haven't yet checked that it is actually succeeding at all steps
  • reset_filedata_counters doesn't reset ssampsread although manually resetting this to 0 didn't make any difference
  • I have now recreated the bug where it runs first time after a reboot but not any subsequent time, it will also sometimes run correctly if I duplicate the input file and run it again with the new file

I might have to stop trying to troubleshoot this now, I haven't done any programming in C since I was a teenager and this is getting a bit beyond me but hopefully these will be helpful pointers for someone who actually knows what they are doing!
#62
Mac installation / Re: Fixed filter banks hang on...
Last post by j_p_higgins - June 01, 2025, 11:49:54 PM
I've spent some time trying to troubleshoot this although my knowledge of C is pretty poor so I'm not doing the best job. I have no fixes yet but in case anyone looks into this, this is what I have found/tried:

  • From inserting some diagnostic prints in the code, it is getting as far as the main processing loop after the normalisation stage and "Info: Running Filter" however, it just loops for ever. On the first loop it reports to have processed some samples but the value of samps_left doesn't go down and after the first loop it just remains at this on every loop:

    samps_left: 1830700 | ssampsread: 0 | filter_tail: 0 | tail_extend: 0

    By the time it reaches the file writing stage in loop, sampsread is always 0.
  • This only seems to occur when it is called from the command line. Running this process within SoundLoom directly runs fine however, if I make it part of a batch file inside SoundLoom and run that from the batch window in SoundLoom it gets stuck looping. I did try forcing sloom to 1 in the code to see if that made a difference, it didn't make a difference but I'm not convinced I did it right.
  • It doesn't make any difference if the process runs with the -t or -s flags.
  • I tried forcing the normalisation scaling on the output to something very high in case the tail logic wasn't seeing a high enough level due to rounding but that didn't seem to make a difference.
  • Some users have reported that it runs fine first time after a reboot but not after that however, I haven't been able to replicate this personally.
  • Sometimes if the filter banks maximum frequency is set close to the minimum frequency it will run - mostly only with filter bank 6. I thought this might suggest denormals were the issue but flushing those didn't seem to make a difference.
  • It runs fine on windows, I haven't had a chance to test it on linux yet but I haven't had any reports from linux users of it not working
#63
Mac installation / Fixed filter banks hang on mac...
Last post by j_p_higgins - June 01, 2025, 02:17:42 AM
There seems to be an intermittent fault where fixed filter banks (FILTER BANK) hang on mac just after printing "INFO: Running Filter" to the console.

Sometimes it will run fine but most of the time it hangs. I have recreated this bug in the command line so it seems it is an issue with the cdp process itself. I have tried troubleshooting in lldb but it is just giving me exit code -1 and nothing else useful. I have had reports of this happening on M macs and intel macs so it doesn't seem like it is arm mac specific.

On my most recent test it was hanging on most runs with most arguments but the last run it hung on I was calling:

filter bank 1 infile outfile 400 1.5 55 12000

The infile was a stereo wav.

There are some crash reports in this link: https://github.com/j-p-higgins/SoundThread/issues/75 although they seem to suggest the problem is with calling display_virtual_time however commenting out calls to that in the filter code and building the source didn't seem to make any difference

Is here the right place to report this or should I open an issue on github?
#64
General Board / Re: New node based UI for CDP ...
Last post by Vasilakis - June 01, 2025, 12:28:55 AM
This looks very promising, thank you!
#65
General Board / Soundshaper troubles with prev...
Last post by Vasilakis - June 01, 2025, 12:28:28 AM
Hello,

For some reason, if I do changes to breakpoint values and save it and then do preview, it might not register the changes. So I had to re-open breakpoint file and only then do preview and get hearable results.

Is that expected behaviour? Thanks.
#66
General Board / Soundshaper - problem when loa...
Last post by Vasilakis - June 01, 2025, 12:23:55 AM
Hi!

So I was doing some sound exploration and saved the patch. Next time, when I load the patch and press "run", and then go to various cells, it keeps saying "file does not exist". Same behaviour when loading automatically with source audio, and when loading without source and then replacing it. The source in "A0" plays fine, but the problem is with process cells further in table.

Perhaps I did something wrong? Please advice.

Also, for some reason, while in A0 it says "snd1.wav", in A1-A4 cells it changes to "* snd1.wav".

And report window says the following:

""~A_4.bat" �Ґ пў«пҐвбп ў�гваҐ��Ґ© Ё«Ё ў�Ґи�Ґ©
Є®¬ �¤®©, ЁбЇ®«�塞®© Їа®Ја ¬¬®© Ё«Ё Ї ЄҐв�л¬ д ©«®¬."

Which seems not good  :-[
#67
Mac installation / Re: Having troubles installing...
Last post by dequalsrxt - May 29, 2025, 05:45:36 PM
Hi Simon, thanks for the reply. A bit of background - I've been using CDP7 via Renoise and I had Soundloom installed, but it's completely impenetrable to me. I do remember getting them installed was an ordeal. I'm not exactly computer competent, so doing anything in the terminal is an adventure to say the least. I'd like to try out the new SoundThread UI, but I couldn't get it working. I thought maybe it's because I was still on 7, which is why I've been trying to install 8.

I was following the instructions in the readme file, I hadn't looked at the manualconfig file. Unfortunately I'm still having difficulties. I know I'm doing something wrong in the terminal, but I'm not sure what. If I try to do almost anything, I get a 'command not found' message. The 'cd ~' command brings me to my home directory as expected, but if e.g. I try to open text edit via the terminal, I get '-bash: open: command not found'. However, I notice that if I look for hidden files in my home folder using command-shift-period, I do have a .zshenv file and it does contain the statement

Quotepath=('$HOME/cdpr8/_cdp/_cdprogs' $path)
export PATH

as the indicated in the manualconfig file. Not sure how that happened, but ok, whatever. But if I try to point the Renoise tool to the CDP8 _cdprogs folder, Mac security blocks it. Same result if I replace CDP7's '_cdprogs' folder with CDP8's. And if I try to enter 'xattr -rc cdpr8' to bypass security, I get the 'xatter: command not found' message. Same with Soundloom, which I uninstalled for some reason.

I got CDP7 and the Renoise tool working again, so I guess I'm not too fussed about this right now.
#68
Mac installation / Re: Having troubles installing...
Last post by simonk - May 28, 2025, 09:40:13 PM
Hello,
There is a file called 'Manualconfig-MAC.pdf in the /cdpr8/docs folder.
Look down to 1b on page 3 & follow the instructions there.

Please let us know that it works for you.

Simon
#69
Mac installation / Having troubles installing CDP...
Last post by dequalsrxt - May 27, 2025, 05:54:46 PM
I'm trying to install CDP8 as new and I'm having some issues. I'm on Monterey 12.6.8 on a Macbook Pro M1. This is what shows up in the terminal when I double-click cdp8install.command -

QuoteThe default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.
MacBook-Pro-2:~ josh$ /Users/josh/cdpr8/cdp8install.command ; exit;
/Users/josh/cdpr8/cdp8install.command: line 4: dirname: command not found
/Users/josh/cdpr8/cdp8install.command: line 5: /Users/josh/scripts/cdpsetbashpath.pl: No such file or directory
/Users/josh/cdpr8/cdp8install.command: line 7: cat: command not found
logout

Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]

and when I try point the terminal to the CDP directory and enter 'xattr -rc cdpr8', I get this message -

Quote-bash: xattr: command not found

I had CDP7 installed and I remember having a hard time getting that running. I guess I shouldn't have removed it, whoops. I don't computer good, so any help would be greatly appreciated!
#70
General Board / Re: New node based UI for CDP ...
Last post by simonk - May 26, 2025, 02:22:53 PM
Hi Jonathan,
Congratulations on your work, this looks really good !
I just watched the first video & downloaded the zip file. So, I'll be eagerly trying this out in the next few days.

Simon