[cdp] distort-repeat fails with 24bit file

Peter P. peterparker at fastmail.com
Sun Nov 22 22:35:53 CET 2020


Dear Archer,

thanks for your replies. If you don't mind I'd like to keep this
conversation on the mailing list, so that other subscribers know that
this has been replied to and is worked on. Plus the info might be useful
to others as well.
Perhaps Richard would also like to join the mailing? He can
subscribe here https://lists.mur.at/mailman/listinfo/cdp
and we could discuss directly.

Let me add that the soundfile which caused this error was created using
the Reaper DAW.

Peter

* Archer Endrich <archerhgm at gmail.com> [2020-11-21 13:16]:
> Hi Peter,
> 
> Thanks for your report about DISTORT REPEAT.  Richard has replied about this
> and is looking more deeply into it.  In the meantime, he has provided a
> workaround.  Note the use of CHXFORMAT.EXE which should be in _cdprogs.
> 
> Archer
> 
> *********
> Hi Archer,
> 
> this does look like a strange sfsys issue, which I will have to dig into,
> but not because it is a 24bit file as such (other 24bit files work fine). It
> is a mono file in WAVEX format, but with the unusual (but legal) channel
> mask of 4 ("front centre") such as can be made using copysfx. If I use my
> "chxformat" program to change the mask to the more orthodox 0, everything
> runs as expected. So this would be the workaround:
> 
> chxformat -s0 noise24.wav
> then run distort etc as before.
> 
> The more strange thing though is that somehow this is percolating through to
> the creation of the outfile. An alternative workaround is to use the -f
> prefix to the outfile (to make a floats outfile):
> 
> distort repeat noise24.wav -fn24fdist.wav 2
> 
> More anon...
> 
> Cheers,
> Richard
> **********
> 
> On 20/11/2020 20:54, Peter P. wrote:
> > Hi list,
> > 
> > just discovered that distort-repeat fails with a 24bit (packed)
> > soundfile type posting
> > 	ERROR: INVALID DATA
> > 	ERROR: Cannot open output file out.wav
> > while the same call works fine with a 16bit version of the same file. I
> > was under the impression that all(?) CDP commands are able to work with
> > 16/24/32bit resolution files? Is this not true? Is distort-repeat
> > an exception due to a possible bug?
> > 
> > Try the following call with the two attached short files:
> >   cdp_distort repeat noise16.wav noise16-repeat 2
> > works fine, while
> >   cdp_distort repeat noise24.wav noise24-repeat 2
> > throws an error.
> > 
> > Thanks for all pointers,
> > Peter
> > 
> > _______________________________________________
> > cdp mailing list
> > cdp at lists.mur.at
> > https://lists.mur.at/mailman/listinfo/cdp
> 
> 


More information about the cdp mailing list