Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - p8rpp

Pages: 1 2 3 [4]
46
Announce / Re: 7.1 Source code
« on: November 02, 2016, 02:32:25 PM »
Thank you Simon!

is this different from version 7? If yes, is there a changelog file available that could indicate the changes done to the sources?
Thank you for making this available and for letting us know.

best, Peter

47
Thanks again Richard,

I compared pvoc.c in the sources available from http://unstablesound.net/downloads/CDPrelease7src.zip with these from http://unstablesound.net/downloads/CDPrelease7src-linuxbeta.tar.gz and they do differ in many ways, the first line which is different for example is

OSX:
static int  sndwrite_header(int N2,long *Nchans,float *arate,float R,int D,long origsize,long *isr,int M,dataptr dz);
LINUX:
static int  sndwrite_header(int N2,int *Nchans,float *arate,float R,int D,int origsize,int *isr,int M,dataptr dz);

but I am not sure if that's somewhere around the source of the error.

cheers, P

48
Thanks again Richard,
the literal prefix worked of course.

pvoc synth somefile.ana -fsynthesizedFloat.wav

I am wondering if it is writing a floating point wav file though. When I inspect the file propoerties using the Unix program sndfile-info it looks like a 16bit file with a max amplitude of 0dBFS, or see the output of sox(i) below.

$ sndfile-info synthesizedFloat.wav

Version : libsndfile-1.0.25

========================================
File : synthesizedFloat.wav
Length : 1752656
RIFF : 1752648
WAVE
fmt  : 16
  Format        : 0x1 => WAVE_FORMAT_PCM
  Channels      : 1
  Sample Rate   : 44100
  Block Align   : 2
  Bit Width     : 16
  Bytes/sec     : 88200
PEAK : 16
  version    : 1
  time stamp : 1458596576
    Ch   Position       Value
     0   46526          1
cue  : 28
  Count : 1
   Cue ID : 1718183539  Pos :     0  Chunk : data  Chk Start : 0  Blk Start : 0  Offset :     0
LIST : 2016
  adtl
    note : 2004
data : 1750528
End

----------------------------------------
Sample Rate : 44100
Frames      : 875264
Channels    : 1
Format      : 0x00010002
Sections    : 1
Seekable    : TRUE
Duration    : 00:00:19.847
Signal Max  : 32767 (-0.00 dB)

------------------------------------------------------------------------------------------------------------------------------------------------------------

Or using sox (called as "soxi" to give info on the file header):

$ soxi synthesizedFloat.wav

Input File     : 'synthesizedFloat.wav'
Channels       : 1
Sample Rate    : 44100
Precision      : 16-bit
Duration       : 00:00:19.85 = 875264 samples = 1488.54 CDDA sectors
File Size      : 1.75M
Bit Rate       : 706k
Sample Encoding: 16-bit Signed Integer PCM

Am I understanding or doing something wrong? Shouldn't it be a 24 or 32bit floating point wav?

Thank you so much!

best, Peter

49
Hi Richard,

thank you for your helpful reply!
I tried to resynthesize with
     pvoc synth file.ana -f file.wav

but (in comparison to without the -f flag) am getting an error message:
     Too many parameters on command line.

Am I calling the command correctly? I am on bash (Debian GNU/Linux)

Thank you again!
cheers, P

50
General Board / Re: mixing method with soundfile length?
« on: March 18, 2016, 04:54:13 PM »
Robert,

thank you so much for your detailed reply and for outlining the respective features/limitations of the various programs. I will try to find a combination or other workaround that allows what I have in mind, or - change my mind and do things differently. ;)

again, much appreciated, and with kindest regards
Peter

51
Hi Simon,

thank you for your kind reply. Do you normalize files before using "pvoc anal" or "pvoc synth"?
I am looking for a way to normalize while still working on .ana files, still in the frequency domain.
As described by both of us, "pvoc synth" will report overs, but I am wondering if there is a way to normalize .ana files automatically with any other cdp command before "pvoc synth", as I want to avoid the need to have user interaction in scripts.
Read as: "I want something that normalizes .ana files so that "pvoc synth" will never be out of range.

Thank you again for your ideas!

al the best, P

52
Hi dear fellow,

After having exposed a specfile to various spectral domain operations I want to convert it to the time domain on the unix command line using
 pvoc synth.
I am getting a warning that my levels are too hot, and some samples were clipped. pvoc synth informs me of the gain correction factor I need to apply to the specfile in order to normalize it, which I would do using
 spec gain
My question is, how could I normalize a specfile in the frequency domain anyway, before having to call pvoc synth, so that I can do it in a script without user interaction? Is there a simple way to normalize a specfile?

Thank you for all ideas!
best, Peter

53
General Board / mixing method with soundfile length?
« on: March 01, 2016, 02:42:16 PM »
Hi,
I am looking into the different ways of mixing on the command line with CDP submix and its various modes, and into the mixfile syntax.
I am wondering if there is a way to specify not only the starttime of a soundfile in a mixfile, but also its endtime and position in the source soundfile itself.
Is there any mode, or other binary that allows such a thing without having to trim off soundfiles in a separate step before mixing?
Thank you for all replies!
P

54
General Board / Tutorial Workshop: Command Line calls for examples?
« on: June 29, 2015, 05:50:13 AM »
Hi,

I am trying to work through the Tutorial Workshops, and would like to do so using the command line CDP programs. I am wanting to do this because it fits my style of doing/documenting things much better, and because I am on linux and dont want to run a GUI.
I am wondering if there is any documentation with regard to the Tutorial Workshop of how all of the examples could have been done using the command line?

Thank you for any pointers!
best, Peter

55
General Board / allow cdp to overwrite outfiles?
« on: June 29, 2015, 05:41:52 AM »
Hi list,

Is there a way to force cdp to overwrite existing outfiles? Perhaps an
environment variable already exists (I am on linux)?

thank you!
P

56
General Board / non-linear data in bpf, for example pitches?
« on: June 29, 2015, 05:40:46 AM »
Hi list,

Is there a way to have pitches in a bpf rather than frequencies? Or are
there means of converting (midi)pitches to Hz? dB to linear amplitude?

cheers, P

57
Howdy list,

When writing breakpoint files, is there a placeholder for "total
duration of file" so that I don't have to manually check for, and insert
into the file, the total duration? Something like
     0       val1
     5       val2
     end     val3

Thanks for all suggestions!
Peter

58
Hi list,

I do wonder what would be the best way to insert a soundfile's length
as a parameter in a script file automatically? Is there a way to do with a CDP
program what I have so far achieved on unix using sox(i)?:
      extend zigzag 1 infile outfile 0 `soxi -D infile` 60 1

So I'd need a cdp binary that returns the length of a soundfile in seconds, and only that.
Does anyone know of such a program?

thank you all,
P

Pages: 1 2 3 [4]