Recent Posts

Pages: [1] 2 3 ... 10
1
General Board / Re: Problem running Soundshaper on Windows 11
« Last post by Robert Fraser on May 04, 2024, 05:49:28 PM »
"Soundshaper works very fine on WINESKIN port for MAC"
This could be very important for MAC users - I looked up Wineskin, but found different versions and I'm not sure which to download. Any help you can give on this, and how to use etc., would be hugely appreciated. 
2
General Board / Re: how to get txt for FOFS?
« Last post by Robert Fraser on May 04, 2024, 05:43:37 PM »
Addendum:
In the bash script above, .aiff should ideally be .wav nowadays (infilepchdummy.wav) and CDP is also advocating the use of PVOCEX instead of .ana for freq. analysis files  - i.e. "infile.pvx" instead of "infile.ana".  Pvx ensures compatibility with CSOUND; .ana still works though and is used in Soundshaper, which doesn't support .pvx yet.

For the PC version, check that you have the replacement REPITCH.exe (see post under the "Announce" category).
3
General Board / Re: how to get txt for FOFS?
« Last post by Robert Fraser on May 04, 2024, 11:07:37 AM »
The PSOW (FOF) programs require a pitch-trace breakpoint file extracted using PTOBRK WITHZEROS.  And that requires a pitch file (.frq) extracted from a frequency analysis file (.ana), using REPITCH GETPITCH 1.  This is all better put in a little script (Windows CMD batch file or MacOS bash shell script).

Here are two similar scripts: the first kindly supplied by Richard Dobson for bash, and my own batch file (PC) based on Soundshaper. Both make use of arguments supplied on the commandline - particularly the infile and outfile names. Bash scripts have variables $1, $2 and so on, referring to the first, second etc. arguments; the equivalent in CMD batch files is %1, %2, etc.   Both scripts assume a mono input sound.

First, Richard's bash script frqtotext: note the usage "frqtotxt insndfile outtextfile", where outtextfile is the name of the pitch-trace file.

#!/bin/bash
echo frqtotxt.sh - shell script to prepare pitch-brkpnt-data file for
echo                use with a FOF-source file: lengths must match.
if [ $# -ne 2 ]
    then
        echo usage: frqtotxt insndfile outtextfile
        exit 1
fi
echo
echo pvoc anal 1 $1 infile.ana
pvoc anal 1 $1 infile.ana
echo repitch getpitch 1 infile.ana infilepchdummy.aiff infile.frq
repitch getpitch 1 infile.ana infilepchdummy.aiff infile.frq
echo ptobrk withzeros infile.frq $2 20
ptobrk withzeros infile.frq $2 20
echo Delete \(temporary\) files no longer needed:
echo rm infile.ana
rm infile.ana
echo rm infilepchdummy.aiff
rm infilepchdummy.aiff
echo rm infile.frq
rm infile.frq

Now the BAT version, which adds parameter values for the application PSOW STRETCH. In this example the file suffixes are in the script, so would not be supplied on the commandline:

REM %1 is input wav (just the name without .wav); %2 is the output wav (also without .wav)
REM %3 is amount of stretch; %4 is no. of grains
echo ***** PSOW STRETCH BATCH SCRIPT (PC) *****
echo off
REM  Convert wav to ana
pvoc anal 1 %1.wav %1.ana -c1024 -o3
REM Extract pitch
repitch getpitch 1 %1.ana %1pch.ana %1.frq 
REM erase unwanted pitch file             
erase %1pch.ana   
REM Create pitch-trace text file                                   
ptobrk withzeros %1.frq %1.pch 20   
REM Stretch the input sound                     
psow stretch %1.wav %2.wav %1.pch %3 %4   
REM Erase intermediate files...             
if exist %1.ana erase %1.ana                             
if exist %1.frq erase %1.frq                             
if exist %1.brk erase %1.brk
REM Optionally play the output
if exist %2.wav paplay -i %2.wav 

A typical commandline for this might be fofstretch my mystr 2.0 20. For test purposes, put the script in the same folder as the input file.
 
4
General Board / Re: Problem running Soundshaper on Windows 11
« Last post by Robert Fraser on May 03, 2024, 05:19:48 PM »
I've done a fresh installation on my wife's Windows 11 laptop. So far, everything seems to run as it should (except for F keys which are presumably set to Windows things).  I did have to get past Windows and the security software not wanting me to run the installation program, but hacked round this.

So far I've tested with modify speed, followed by repitch transpose (to test spectral auto-conversion).

Because of the vast number of CDP processes, Soundshaper reads parameter data from a text file CmdData.txt which must reside in its \BAT sub-folder. Any issue with reading the appropriate setup data from this file will give strange results and messages as you report. So that's the problem - the file is easily replaced if corrupted somehow...  Can your user test first if the file is there, in the correct place?  Have they installed Soundshaper/CDP from fresh or just copied files from someone, which might mean the setup is not right?

It may be necessary to correspond directly to get to the bottom of the issue. Your student is welcome to send me emails in Italian and I can use Google Translate to understand and reply. Email is found here: http://www.ensemble-software.net/links.html

Robert F.
5
General Board / Re: Problem running Soundshaper on Windows 11
« Last post by Robert Fraser on May 03, 2024, 03:52:29 PM »
Thanks for your bug report. The parameter pages are clearly not loading for some reason. Not sure at this stage whether this is genuinely a Windows 11 problem or not. I'll test the program on Win11 and report back.
6
General Board / Re: how to get txt for FOFS?
« Last post by rwdobson on April 30, 2024, 12:30:24 PM »
It looks like the assumed procedure (by Trevor Wishart) is to obtain the pitch breakpoint file from the (or a) source soundfile, using "Repitch getpitch 2..." (or Repitch->extract etc in Soundloom). Perhaps editied or modified using any number of tools to process breakpoint files. It is a plain time/freq format file. Of course, "repitch" requires an analysis file, which will requires running pvoc on the source soundfile first. If you are on a PC, you always have the GUI option of using BrkEdit, but I think there is a basic GUI draw/edit facility in Soundloom as well. I think a core idea is to start with repitch getpitch, and then apply changes to the breakpoint data (e.g. data reduction, shifts etc) according to the compositional goal.

How practical it is to apply such changes manually of course depends on the length of the source and the density of pitch movements - the generated breakpoint file may easily contain 100s of points. There is however no serious technical reason not to use short hand-written data files - the spirit of the software is very much that of experiment, trial and error - but the duration of the breakpoint file (final data line) should normally match or exceed that of the source file.

The FOFS tool in Soundloom uses the commandline program "psow" behind the scenes, and it may be useful to run that directly to see the usage messages, in conjunction with the general CDP documentation.

In Soundloom, the somewhat convoluted process starts with running pvoc on a source soundfile, and then selecting the analysis file as the input for "Repitch" - save the text output to some name, to ensure it appears in the Workspace (may need to click "Refresh"). Select the original soundfile, to make FOFS available in the Process window, and in the relevant parameter page use "Get File" to select the required breakpoint file.

And so on.
7
General Board / Problem running Soundshaper on Windows 11
« Last post by ratoci on April 22, 2024, 11:59:43 AM »
Hello, thanks for keeping the community alive.
I'm teaching CDP as part of my Electroacoustic Composition course in Mantova Conservatory (Italy). Actually Soundshaper works very fine on WINESKIN port for MAC but I have problem with a student with a Windows PC.
After installation, which goes without any problem, running any Soundshaper command brings out a glitched interface with many incoherent sliders with strange parameter names (DLbl1, etc.) and the error "SCROLLBAR PROPERTY OUT OF RANGE".
Also on subsequent re-opening of Soundshaper I get "-----SOUNDSHAPER SETUP PROBLEM...." with missing folders like when CDPR folder is unaccessible (but I swear, it's there, unmoved)
8
General Board / Re: FOF Strecht Breakpoint Pitch
« Last post by Phoenix cat on April 04, 2024, 06:08:33 AM »
I have the same problem.
9
General Board / how to get txt for FOFS?
« Last post by Phoenix cat on April 04, 2024, 06:07:38 AM »
In Soundloom almost all effects using FoFs requires a txt files for certain parameters. But I dont know what to write in that file. May someone write a default text for that file? Thanks.
10
Showcase / Re: Two compositions made with CDP
« Last post by Phoenix cat on April 01, 2024, 09:51:25 PM »
Hi, sounds like abrassive drone music. How is the original audio? I like it.
Pages: [1] 2 3 ... 10