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 - Seán

Pages: [1]
Mac installation / Re: Batch files?
« on: February 13, 2024, 10:50:16 PM »
Hi all,

Practice and experience in the command line brought me to finding the workflow there more efficient than other methods (such as GUIs). It is extremely easy to write batch files for the command line. This is where the power and ease of CDP comes alive for me. More recently I write batch files in Python code which I find even more streamlined given that I can integrate python scripts with other things.


Mac installation / Re: CDPv8 and M1
« on: December 11, 2023, 01:54:35 AM »
Hi all,

Apologies for the delay pmj. You are correct that is exactly the bit of ssfunc.h throwing the error. You could just comment out or delete the if function;


#define MSBFIRST        (1)
#define LSBFIRST        (1)

/* RWD extended set of symbols ! Now works for Mac universal Binary build */
/*#if defined(__I86__) || defined(_X86_) || defined(__x86_64) || defined(__i386__) || defined(__i486__) || defined(_IBMR2)/*
/*#undef MSBFIRST/*
/*#elif defined(M68000) || defined(__sgi) || defined (__POWERPC__)/*
/*#undef LSBFIRST/*
/*#error  "Unknown byte order for this processor"/*

#if defined(MSBFIRST) && defined(LSBFIRST)
#error  "Internal: can't be both MSB and LSB"


Basically from here in the code you should have defined LSBFIRST as the byte order. I dont have access to the same machine I was trying this on at the moment, but I am 90% sure that is what I did.

#define LSBFIRST        (1)

-on it s own would do it too

Richard –me and Nando were talking when we trying to figure this out and I guess it essentially is dead? But there definitely could be some Power PC users still out there still given the flexibility of CDP and the hard to reach places you might find users? Thanks Richard for the invitation to communicate directly on Git!

pmj the new releases should work out of the box for you on M2 also? With a regular installation.

All the best,

Mac installation / Re: CDPv8 and M1
« on: October 19, 2023, 08:01:56 AM »
Hello pmj,

I tried building last Spring on an M2 and this was the first problem I encountered. This was luckily a simple fix. In 'ssfunc.h', there is an if/then clause somewhere which is referring to the byte order for the processor. You need to change this to force the byte order to 'LSBFIRST' for the ARM processor.

This got me past this error but the next problem was with portaudio. I was unable to install portaudio on the M2. Well, I thought I did, it seemed to build fine, but I could not point the CDP make files towards it no matter what I tried. If you manage to get the portaudio portion working I would love to know how! There is no Homebrew etc for portaudio as far as I know.

All the best,

General Board / Re: SFEDIT CUTMANY
« on: July 21, 2022, 01:39:15 PM »

I think I have isolated the problem trying different variations in paths, trying to eliminate various possibilities. As far as I can see, the problem for me is that if the outfile is a path greater than or equal to 6 directories deep it fails. In this case it just ouptuts the first slice. For example when these are paths for outfile;

/Users/seanodalaigh/Documents/composition/2022/ - - - > this works fine

/Users/seanodalaigh/Documents/composition/2022/BLUE/ - - - > this fails (it is invariant to the CAPS)

I wonder if anyone can reproduce this?

Thanks ,

General Board / Re: SFEDIT CUTMANY
« on: July 11, 2022, 09:20:14 PM »
Thanks Simon and Richard!

Sorry for my delay I thought the problem was elsewhere, but I think I have isolated it now as I described.

running this is successful and produces the 15 audio files I am expecting

seanodalaigh$ sfedit cutmany 1 /Users/seanodalaigh/columbia.wav /Users/seanodalaigh/sylabble_ /Users/seanodalaigh/breakpoints.txt 0.01

If I move the files (columbia.wav and breakpoints.txt) to a my intended folder and run it; something like (with paths line separated here only for ease)

seanodalaigh$ sfedit cutmany 1

it outputs the first grain only. This seems to be an error statement that follows when this happens

0 min  0.00 secAbort trap: 6

I am assuming (hoping) I have the enviornmental variables set up correctly, as many other processes work fine for me in any folder structure. I actually tried making arbitrary folders in the Home directory to test it and it works actually! Maybe there is something in the strings of the paths I am supplying that is causing a bug?

Thanks in advance for the help,


this is the contents of the breakpoint file

0.010240   0.112640
0.122880   0.337920
0.348160   0.604160
0.624640   0.768000
0.768000   1.013760
1.116160   1.505280
1.505280   1.617920
1.802240   2.017280
2.037760   2.181120
2.447360   2.580480
2.631680   2.816000
2.826240   3.092480
3.164160   3.543040
3.553280   3.993600
4.034560   4.239360

General Board / SFEDIT CUTMANY
« on: June 23, 2022, 01:22:22 PM »
Hello all,

I have been using CDP for a number of years now but have only just joined to forum. Nice to digitally meet you all!

I had a question re. SFEDIT CUTMANY. When using it in on the command line, (Mac OS 10.14.6) and specifying an output directory that is not the Home directory, it only writes one output slice from a potential many. If I write the output in the Home directory however it successfully writes multiple files. Just wondering if this is expected behaviour, or maybe I am doing something incorrectly?
Thanks in advance, and thanks also to the CDP team for such an amazing and inspiring set of programs!


Pages: [1]