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.


Topics - sciss

Pages: [1]
1
Hi there,

I'm looking at ways of embedding the CDP programs in an existing system (FScape 2) where they would appear as sort of UGens.
I'm trying to figure out if there is a way to avoid having to write and read temporary audio files for I/O, for example by "piping" the audio input file into the process
and the audio output file from the process. This should work at least on Linux.

Something like this

./modify speed 2 special_in_pipe special_out_pipe 12

I'm pretty optimistic there is some way to get this working in Linux with the existing unmodified shell commands.

For example, I tried to use a named pipe (via mkfifo) as input and write to it from another process, but cdp terminates with

ERROR: INVALID DATA
ERROR: File /data/audio_work/my_pipe.aif either has unredable header, or is a textfile with a CDP reserved extension.

(I double checked that the contents written to the pipe is actually a valid AIFF file).

But then perhaps my idea can't work because certain process will need random access instead of serial stream?

Best, .h.h.

2
General Board / Documentation of programs
« on: March 11, 2017, 06:33:47 PM »
Hi there,

is there any documentation on the cdp shell programs? For example, when I browse through the 'Composers Desktop Project: Tutorial Workshop 1', it's not apparent to me which shell programs are actually invoked. Example:

A. MODIFY SPEED - simple pitch transposition, using semitones
   (SS: Soundfiles > Pitch >Transpose/Speed > semitones)
   (SL: PITCH: SPEED > pitch > tape transpose by semitones)

My guess is this is the `pitch` program, but which mode?

    altharms    octmove    transp    tune    pick    chordf    chord

I.e. where would I find the reference documentation for the pitch program?

Thanks!

Best, .h.h.

3
General Board / Output seems incompatible with libsndfile
« on: March 11, 2017, 05:34:19 PM »
Hi,

I'm getting libsndfile errors playing back a generated file with SuperCollider. It looks like this:

File '/data/audio_work/out.wav' could not be opened: Error in WAV file. No 'data' chunk marker.

I can open the file in my own software and rewrite it into a "clean" file, and then it works.

More info:

$ sndfile-info /data/audio_work/out.wav
Error : Not able to open input file /data/audio_work/out.wav.
File : /data/audio_work/out.wav
Length : 2872680
RIFF : 2872672
WAVE
fmt  : 16
  Format        : 0x1 => WAVE_FORMAT_PCM
  Channels      : 2
  Sample Rate   : 48000
  Block Align   : 4
  Bit Width     : 16
  Bytes/sec     : 192000
PEAK : 24
  version    : 1
  time stamp : 1489253433
    Ch   Position       Value
     0   50682          0.518669
     1   30869          0.501828
cue  : 28
  Count : 1
   Cue ID : 1718183539  Pos :     0  Chunk : data  Chk Start : 0  Blk Start : 0  Offset :     0
LIST : 2016
  adtl
  *** note : 2004 (too big)
Have 0 marker at position 2148 (0x864).

Error in WAV file. No 'data' chunk marker.

4
Announce / Can't get pvoc anal to work - ERROR: INVALID DATA
« on: March 11, 2017, 05:19:56 PM »
hi there,

what am I doing wrong here:

$ ./pvoc anal 1 /data/audio_work/reverb-L.wav /data/audio_work/reverb-L.pvoc
ERROR: INVALID DATA
ERROR: Cannot open output file /data/audio_work/reverb-L.pvoc


Input is a 11 seconds monophonic file. Platform is Linux.

Thanks!

best regards, hanns holger


Pages: [1]