Recent posts

#81
General Board / Re: Soundshaper - problem when...
Last post by Vasilakis - June 03, 2025, 10:34:35 AM
Hello,

Thanks for looking into my problem.

So it was a simple patch where I had one sound source and then Reverb, Speed, FltVari, Speed cells.
It was saved with "include source(s)" and "whole patch" options (I think both are enabled by default).

Then, what happens when I try to load it.

I press "load" button, choose the patch (with .ssp extension), then I get warning window telling me "previous patch files may not all be cleared..." (which suprises me as I try to load patch right after starting Soundshaper, before doing anything else), I press "ok", then it says "Missing source for cell A_0 Load original if possible", I press "yes". Then, if I click at A0 and press "play", the original file plays fine ("snd1.wav" and with correct folder path). If I try clicking on process cells, playback options are greyed out.

Then I press "Run" button. Something happens. On the bottom of the page, it says "Infile length not available. File may not exist". Then, if I click any cells, it says "file does not exist". If I click on A0 and press "play", it still plays fine. If I try "play" on any cells, then error window appears with same note (file does not exist).

Report window, of opened, still shows unreadable symbols ("~A_4.bat" �Ґ пў«пҐвбп ў�гваҐ��Ґ© Ё«Ё ў�Ґи�Ґ©
Є®¬ �¤®©, ЁбЇ®«�塞®© Їа®Ја ¬¬®© Ё«Ё Ї ЄҐв�л¬ д ©«®¬.)

Now, if I do double-click on any of the processes, as you suggest above. Let's try with Reverb. Firstly, it greets me with message "parameter file does not exist". Then it loads parameters page and another warning message ('''' is not a valid integer value). I press "ok", then click "render" and then it says "Expected output file was not found". After which, report window changes content to the following:

rgain    : set level of dense reverb (0.0 <= rgain <= 1.0)
mix      : dry/wet balance (source and reverb): 1.0<-- mix -->= 0.0
rvbtime  : reverb decay time (to -60dB) in seconds
absorb  : degree of hf damping to suggest air absorption: 0.0 <= absorb <= 1.0
lpfreq  : lowpass filter cutoff freq (Hz) applied at input to reverb
to disable either filter (absorb, lpfreq), use the value 0
trtime  : trailer time added to outfile for reverb tail (secs)
times.txt: list of delay times (msecs) for 6 comb and 4 allpass filters

Then, if I click "run" again it says "multi processing finished", but nothing actually changes as I still get "file does not exist" messages etc.

Now, if I try double-clicking Speed instead, it firstly talks about lack of .prm, and then says "Cell's input file does not exist. Cannot re-edit cell".

So that's what happens to me. Now, if I restart Soundshaper and load patch again, and say "NO" when asked, and then manually choose snd1.wav. Soundfile loads fine in A0 again, and then software asks me to press "run". However, after that it's all just the same behaviour.



So, long story short, this was my first experience trying to save and load patch, and it ended up not working as I hoped :) Maybe I did some error when saving? Maybe there are other reasons for this behaviour? Still, I hoped that it would be a straightforward process, where you could work on your cell sequence and save it, and then load it the next day, use same or different source and the process sequence would be applied without problems and overall it would feel like opening the saved project to continue working on it.

One more detail I've now noticed, though. When opening parameters for reverb, I notice that Delaytimes datafile is in orange, and if you click on it, the text preview is empty (and there is no filepath displayed under "delaytimes data"). Meanwhile earlyref datafile is just black and if you click, it previews values just fine (and filepath displayed under "earlyref data"). Could this be important?

On a side note, I'm under impression that I've rewritten some of default .brk files for some of processes (for filters, for example), should I just copy the whole txt folder from installation files to restore those?

Thanks, and I hoped I described details now, anything else needed?
#82
General Board / Re: Soundshaper troubles with ...
Last post by Robert Fraser - June 03, 2025, 10:03:58 AM
Hi,

I'm afraid I haven't been able to repeat this problem. I used Speed (Transpose semitones) as a test process. I clicked T-V (automation) and edited the default values graphically, then clicked the SAVE CHANGES button and hit PREVIEW. I repeated this several times, editing the values manually in the edit memo. I could go back through the earlier previews and they were still correct. For the final change, I again edited the data graphically.

The important thing is to click SAVE CHANGES before clicking the PREVIEW button. This seems fussy, but the button appears when changes might not have been saved, and disappears after being clicked.

Maybe you (or others) could reproduce my test and let us know if it doesn't work for you.

Robert
#83
General Board / Re: Soundshaper troubles with ...
Last post by Robert Fraser - June 02, 2025, 10:20:39 PM
Hi,
I'll look into this tomorrow and get back to you.
Robert
#84
General Board / Re: Soundshaper - problem when...
Last post by Robert Fraser - June 02, 2025, 10:18:05 PM
Hi,

There can be issues when running a patch with a different source sound. Where the first cell fails, showing "File does not exist", it's often fixed by re-editing the cell (double-click on it to bring up parameters) and then clicking RUN (PATCH) when the cell has rendered correctly.  What was the process sequence and (especially) what was the process that failed?

On your second point, if your source was called "snd1.wav" and you process it (A1- A4) it shows the original filename preceded by an asterisk to show it's changed. If you then save one of those outputs to file, it'll show that filename instead.

~A_4.bat" �Ґ пў«пҐвбп ў�гваҐ��Ґ© Ё«Ё ў�Ґи�Ґ©
Є®¬ �¤®©, ЁбЇ®«�塞®© Їа®Ја ¬¬®© Ё«Ё Ї ЄҐв�л¬ д ©«®¬.
Well that does seem like a bug! I've never seen that before. Again, I'd need further details of what produced the message.
#85
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!
#86
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
#87
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?
#88
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!
#89
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.
#90
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  :-[