Csound Csound-dev Csound-tekno Search About

[Cs-dev] Csound 4.23f12gbs.8 released

Date2005-02-12 20:27
Fromramsdell@mitre.org (John D. Ramsdell)
Subject[Cs-dev] Csound 4.23f12gbs.8 released
I released Csound 4.23f12gbs.8 on SourceForge.  Many files were
changed for this release by others, so the first part of the ChangeLog
is included.  I provided a mode in which one can create libcsound such
that its FLTK widgets better follow the multithreading rules of FLTK.
As a result, pieces with FLTK opcodes can be rendered on OS X using
flCsound.  Anthony improved real-time sound support on OS X.

When configured to build shared libraries, the source distribution now
installs the following plugins: gabops.so, metro.so, newfils.so,
syncgrain.so, and vectorial.so.  I have not tested these plugins.
Plugins are installed into the directory .../lib/csound, where ... is
the prefix used for installations, by default /usr.

I added support for these utilities: het_export, het_import,
lpc_export, pv_export, and pv_import.  I have tested no utilities, so
all I can say is they build.

John

2005-02-12  John D. Ramsdell  

	* CVS: Tagged as csound-4_23f12gbs_8.

	* csound/Makefile.am (pkglib_LTLIBRARIES): Added support for
	creating shared libraries for plugins.

2005-02-10  John ffitch  

	* Added csound/gabops.c and csound/vectorial.c but not checked
	* Adjusts SConstruct to match

2005-02-08  Anthony Kozar  

	* csound/all_strings:
	* csound/english_strings:
	* csound/french_strings:
	* csound/text.h:
	* csound/gets.r: Corrected str 768, replaced unused 91, and added 1827.
	
	* csound/argdecode.c (usage, longusage): Factored out common code into
	new function shortusage().  Changed "--" to "-O", added line for "-@".
	Commented out usage for unused -y and -Y Mac flags.  Functions now 
	return instead of calling longjmp().
	
	* csound/argdecode.c (decode_long, argdecode): Fixed the --list-opcodes
	option to work when followed by an integer.  Added error message for
	unknown long-style flags.

2005-02-07  Anthony Kozar  

	* csound/all_strings:
	* csound/english_strings:
	* csound/french_strings: 
	* csound/gets.r: Corrected strings 89, 90, and 91.
	
	* csound/argdecode.c (decode_long, argdecode): Copy strings from args
	instead of just copying the pointers.  Exit properly for -z and --help.
	Added new --version option.
	
	* csound/main.c (csoundMain): Changed return value to -1 for Mills when
	argdecode() does not return normally.

2005-02-04  John D. Ramsdell  

	* csound/main.c (csoundMain): Removed OS X-specific code before return.
	
	* csound/rtcore.c: Changed callback and rtplay_ code to do performance
	in the main thread (outside the callback).  Temporary thread synch with
	usleep() from akozar.  Looking for a better solution.
	
	* flcsound/src/main.cpp: thread_t to flthread_t to avoid OS X conflict.
	
2005-01-29  John D. Ramsdell  

	* csound/ccsound.cpp: Converted to C++ so that the FLTK yield
	function can be expressed.

2005-01-26  John D. Ramsdell  

	* csound/csound.h: Following Micheal Goggin's changes for Csound
	5, added csoundSetFLTKThreadLocking and csoundGetFLTKThreadLocking
	calls to the Csound API. This controls whether or not the FLTK
	widgets call Fl::lock and Fl::unlock, or not (the default).
	Programs with their own FLTK thread should acquire a lock and
	enable Csound's FLTK thread locking mode.  The flCsound program
	has been modified to make use of this new feature.

2005-01-25	Steven Yi	

	* csound/ccsound.c: set stdout to not buffer if csound output not
	going to terminal

2005-01-18  John D. Ramsdell  

	* csound/Makefile.am: Added het_export, het_import, lpc_export,
	pv_export, and pv_import to the build and install target.

2005-01-18  John ffitch  

	* csound/widgets.cpp (fl_joystick): Switch way up of joystick

2005-01-15  John ff  

	* csound/fout.c (outfile_set): Typo: changed == to =

2004-12-26  John D. Ramsdell  

	* flcsound/src/main.cpp (run): Changed the run method so that it
	spawns a thread for each Csound synthesizer run when linked with
	an FLTK library that was compiled with multithreading support
	enabled.  Warning: multithreading support is experimental.  It is
	known not to work correctly with the set of FL* opcodes.
	Currently, you have to edit flcsound/src/main.cpp to enable
	multithreading in flCsound.

2004-12-25  John D. Ramsdell  

	* configure.ac: Added a check for the presence of pthread.h, and
	the check for -lpthread is always done, instead of only being done
	when FLTK is detected.  Also added a check to see if the FLTK
	library was compiled with multithreading support enabled.  When
	enabled, HAVE_FL__LOCK is defined.

	* flcsound/src/main.cpp (message, draw_graph): Added lock/unlock
	calls so these methods are thread safe when linked with an FLTK
	library that was compiled with multithreading support enabled.

2004-12-23  John D. Ramsdell  

	* csound/ccsound.c (main): Changed the preprocessor conditional so
	that a main routine is left out when both __MACH__ and RTAUDIO are
	defined.  To do: make it so that this main routine is always used.
	This involves purging the main routine in csound/rtcore.c.

2004-14-11 ma++ 

	* fixed a few bugs in LINEEVENTS that i accidentally introduced 12/10

2004-14-11 ma++ 
	* fixed filepeak to return value relative to 0dbfs
	* fixed bug for 'event' opcode and api events to work when -L is not declared
	* fixed bigendian bugs for 24-bit file input [soundin/diskin/soundio]

2004-12-11  John ffitch  

	* csound/oload.c (oloadRESET): Correct name of SetRtcloseCallback
	and GetVersion

2004-12-10 ma++ 
	* added SOWT aifc type [mac uses it for cd tracks]
	* added #ifdef __MACH__ to many files
	* changed the macintosh #ifdefs to:
	* changed any MACOSX to __MACH__ (you can have non-mach on osx)
	* added i-rate support for invalue/outvalue (aops.c)
	* fixed a bug in diskin [line 289,that RWD caught but did not change]
		( sorry its been too long for me to remember what the exact bug was)
	* chaged filpos to off_t in SOUNDINEW stuct to prevent casting errors
		with lseek in diskin -- also removed casts in diskin.
	* added a bit of istvan's subinstrset code that was never added to canonical
	* fixed bug in fout.c in header writes for float files
	* some changes in insert.c with istvan code and POLLEVENTS
	* fixed bugs in lineevent and lineevent opcodes
	* added ifdef printf in main.c around dribble to allow normal printfs
	* fixed bugs in midiops2 that causes crashed when tried to access midi opcodes from an i statement
	* changes in musmon, mostly for 'q' when running reentrantly
	* added istvan's find_opcode_or_instr() in namedins.c
	* changed default for Linefd = -1 in globals [oload.c]
	* a few lines in oload.c used old api functions, renamed them
	* moved sssfinit() call in oload() to occur before instr0 loading
	* fixed memeory leak in newopcodelist [ opcode.c ]
	* added buffer read/write for speed improvements with big endian
	pvoc-ex files [pvfileio] 
	* added POLLEVENTS and better heartbeat in pvxanal
	* fixed bug in nested if/thens [rdorch.c]
	* macintosh-related changes in sfheader.c
	* fixed big in filepeak not have output related to 0dbfs
	* added old winBe.c code [file in cvs was empty!]

2004-12-10  Anthony Kozar  
	* csound/ccsound.c (main)
	  csound/rtcore.c (main): Fixed RT audio on OS X by using main() in 
	  rtcore.c when RTAUDIO is defined and main() in ccsound.c when it is not.

	* csound/rtcore.c (main): Fixed bus error on OS X when csound command is 
	  given without any arguments.

	* csound/cscormai.c : Added GLOBAL cglob so we can link with libcscore!

2004-12-03  John D. Ramsdell  

	* flcsound/src/main.cpp (Main): Call the exit method in main when
	the root window is closed.

2004-12-01  John D. Ramsdell  

	* CVS: Tagged as csound-4_23f12gbs_7.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-02-12 20:40
Fromramsdell@mitre.org (John D. Ramsdell)
Subject[Cs-dev] SConstruct and FLTK
With the .8 release of Csound GBS out, I decided to try out scons.  I
found installing scons was quick and easy, but I was unable to build
Csound 4.  For testing purposes, I have built two version of FLTK, one
with multithreading support and one without.  Both are in non-standard
locations.  For Csound GBS, I switch between the two by placing the
bin directory containing the appropriate fltk-config on my path, and
it tells the configure script where to get everything it needs.  For
example, to get the multithreaded version, I type:

$ PATH=$HOME/opt/mtfltk/bin:$PATH ./configure

I don't have enough experience with scons to figure out how to add
this functionality, but at least the Csound 5 version of SConstruct
should. 

John


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-02-12 21:01
Fromramsdell@mitre.org (John D. Ramsdell)
Subject[Cs-dev] FLTK and Csound 5
Here is what I learned about FLTK for Csound 4 that may be relevant to
future Csound 5 development.

1. Mac OS X requires attention to the multithreading rules of FLTK.

2. Linux, and probably NetBSD run code that respects the rules, but
   also allows implementors to cheat.  

3. MinGW/MSYS on Windows does not correctly run code that respects
   the rules, but allows implementors to cheat.

I submitted a bug report to the FLTK developers.  I included a
description of the way in which FLTK is used in Csound--as both a GUI
driving the Csound engine in another thread, and as opcodes executed
by the engine.  I also submitted a tiny multithreaded program that
displays the problem on Windows.  The next entry in the bug reports
says they plan to delay addressing the bug until version 2.0 FLTK!  We
must have found something not easily fixed.  The good news, is I have
a hack that gets around the problem on Windows.  Lines near 1725 in
csound/widgets.cpp show the trick.

John


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net