On Aug 29, 2005, at 1:20 PM, Istvan Varga wrote:
> Graham Breed wrote:
>
>> It's currently failing with
>> ...
>>
>> ld: Undefined symbols:
>> _pthread_mutex_timedlock
>> and a previous
>> ... Top/threads.o Top/threads.c
>> Top/threads.c: In function `csoundWaitThreadLock':
>> Top/threads.c:194: warning: implicit declaration of function
>> `pthread_mutex_timedlock'
>> may be implicated. This is Tiger, with GCC 3.3 as the default
>> compiler.
>
> This may be fixed by replacing the #ifdef in Top/threads.c, at line
> 172:
>
> #if defined(LINUX) || defined(__MACH__)
>
> with
>
> #if defined(LINUX)
>
> with this change, the use of pthread_mutex_timedlock() is disabled
> (of course, the timeout parameter of csoundWaitThreadLock() will not
> work, any non-zero value will result in an infinite wait time).
> It is possible that the pthread library on OS X does not have this
> function.
>
I was having the same issue, but that fixed it right up!
Thanks, Istvan for adding the ATS opcodes -- they're sounding nice!
I'll post some examples when I get home from work... and YES it would
be amazing if we could add the atsa binary from SourceForge to Csound5.
This would definitely put Csound far beyond most (if not all) other
softsynth languages in terms of it's wide range of spectral based
processing / synthesis, IMHO.
Anthony mentioned the link already (thanks for looking up the license
info, btw!!) but here it is again since I believe before the focus was
the "ats-csound"
http://sourceforge.net/project/showfiles.php?
group_id=94277&package_id=118299
That is the GUI application for Linux / OSX / Windows (atsh). I believe
for you need GTK for all OS's in order for it to work.
For Windows:
http://wingtk.sourceforge.net/
The commandline analysis tool (atsa) personally I think it would be
worth adding to Csound.
Here is the relevant license info from the README included with the ATS
package from SourceForge (linked above)
"ATS Copyright:
The atsa library and atsh ware developed as part of the "Desarrollo de
Software
para analisis y sintesis de sonido digital (Digital Sound Analysis and
Synthesis Software Development)" research and development project with
the support of: Universidad Nacional de Quilmes, Buenos Aires, Argentina
(http://www.unq.edu.ar), and the Center for Digital Arts and
Experimental
Media, University of Washington, Seattle, USA
(http://www.washington.edu/dxarts).
Except where otherwise noted, ATSA and ATSH is Copyright 2002-2004
Oscar Pablo
Di Liscia, Pete Moss and Juan Pampin.
The authors hereby grant permission to use, copy, modify, distribute,
and license this software and its documentation for any purpose. No
written agreement, license, or royalty fee is required. Modifications
to this software may be copyrighted by their authors and need not
follow the licensing terms described here.
IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY
FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE
IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE
NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS,
OR MODIFICATIONS."
-David
|