Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] GBS 9

Date2005-02-23 02:46
From"Art Hunkins"
SubjectRe: [Cs-dev] GBS 9
I did find one thing weird in the console version (WinME), however:

C:\GBS9Console\csound>csound gemininebulalive.csd
Using default language
0dBFS level = 32767.0
Csound Version 4.23f12 (Feb 21 2005)
UnifiedCSD:  gemininebulalive.csd
STARTING FILE
Creating options
Creating orchestra
Creating C:\WINDOWS\TEMP\cs2.orc (7803BC10)
Creating score
orchname:  C:\WINDOWS\TEMP\cs2.orc
scorename: C:\WINDOWS\TEMP\cs3.sco
orch compiler:
Macro definition for TBLSIZ
519 lines read
sr = 48000.000000, kr = 480.000000, ksmps = 100.000000
error:  inconsistent sr, kr, ksmps
1 syntax errors in orchestra.  compilation invalid
inactive allocs returned to freespace
end of score.              overall amps:      0.0
           overall samples out of range:        0
0 errors in performance

(Of course, there are no .000000's in the .csd.)

The very same file runs fine in flCsound.

Also, the same file but with sr=44100 and kr=441 runs correctly in console
GBS9.

At first I thought, maybe GBS doesn't run at 48000 (I'd never tried it
before to my knowledge). But then 48000 ran fine in flCsound. So there you
are.

Art Hunkins

----- Original Message -----
From: "John D. Ramsdell" 
To: 
Sent: Tuesday, February 22, 2005 8:37 PM
Subject: Re: [Cs-dev] GBS 9


> Victor,
>
> I added these changes into the repository.  They should fix all your
> problems, except I'm not sure about the -lX11 problem.
>
> diff -u -r1.126 ChangeLog
> --- ChangeLog 22 Feb 2005 06:28:57 -0000 1.126
> +++ ChangeLog 23 Feb 2005 01:13:21 -0000
> @@ -1,3 +1,11 @@
> +2005-02-22  John D. Ramsdell  
> +
> + * csound/Makefile.am (csound_CXXFLAGS): Added -I$(top_srcdir) so
> + that includes work correctly.
> +
> + * configure.ac: Removed -Wl,-R$x_libraries from LDFLAGS except
> + when compiling on NetBSD.
> +
>  2005-02-21 ma++ 
>
>   * added some error checking for corrupt sfont files
> Index: configure.ac
> ===================================================================
> RCS file: /cvsroot/csound/csound/configure.ac,v
> retrieving revision 1.70
> diff -u -r1.70 configure.ac
> --- configure.ac 22 Feb 2005 01:59:28 -0000 1.70
> +++ configure.ac 23 Feb 2005 01:13:21 -0000
> @@ -246,7 +246,10 @@
>          CFLAGS="$CFLAGS -I$x_includes"
>        fi
>        if test -n "$x_libraries"; then
> -        LDFLAGS="$LDFLAGS -Wl,-R$x_libraries -L$x_libraries"
> +        LDFLAGS="$LDFLAGS -L$x_libraries"
> +        if test "x$opsys" = xnetbsd; then
> +          LDFLAGS="$LDFLAGS -Wl,-R$x_libraries"
> +        fi
>        fi
>  # Note: Win32 support is currently broken.
>  #   elif test "x$opsys" = xwin32; then
> cvs diff: Diffing csound
> Index: csound/Makefile.am
> ===================================================================
> RCS file: /cvsroot/csound/csound/csound/Makefile.am,v
> retrieving revision 1.30
> diff -u -r1.30 Makefile.am
> --- csound/Makefile.am 12 Feb 2005 17:44:12 -0000 1.30
> +++ csound/Makefile.am 23 Feb 2005 01:13:21 -0000
> @@ -16,6 +16,7 @@
>  # Console Csound
>
>  csound_SOURCES = ccsound.cpp
> +csound_CXXFLAGS= -I$(top_srcdir) -I$(top_builddir)
>  csound_LDFLAGS = $(CONSOLE_LDFLAGS)
>  csound_LDADD = libcsound.la
>  csound_DEPENDENCIES = libcsound.la
> cvs diff: Diffing doc
>
> John
>
> Victor Lazzarini  writes:
>
> > I have just tried building cs423 GBS 9 on OSX from
> > the sources. I'd like to report a few things:
> >
> > 1. the makefiles included a ld flag -R/usr/lib/X11, which
> >     the linker does not like (I'd never seen it before)
> >     perhaps -L is meant (changed manually and it
> >     was OK)
> >
> > 2. even though X11 was selected by configure, the makefiles
> >    lacked the -lX11 flag. Added manually.
> >
> > 3. ccsound.cpp tries to include , which
> >     is not found in the include path. Changed ccsound.cpp
> >     to include 
> >
> > With these changes, it builds.
> >
> > Is it possible to build it with fltk support?
> >
> > Victor
> >
> >
> > -------------------------------------------------------
> > 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
> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> -------------------------------------------------------
> 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
> https://lists.sourceforge.net/lists/listinfo/csound-devel



-------------------------------------------------------
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-23 03:24
Fromramsdell@mitre.org (John D. Ramsdell)
SubjectRe: [Cs-dev] GBS 9
"Art Hunkins"  writes:

> I did find one thing weird in the console version (WinME), however:
> 
> C:\GBS9Console\csound>csound gemininebulalive.csd
...
> 1 syntax errors in orchestra.  compilation invalid

> The very same file runs fine in flCsound.
> 
> Also, the same file but with sr=44100 and kr=441 runs correctly in console
> GBS9.

Both console Csound and flCsound are linked with libcsound, and thus
use the same code during synthesis.  I'm at a complete loss to explain
this problem or where to look for it.  All I can suggest is that you
send me the CSD file the demonstrates the bug, and I'll see if I can
reproduce it on my machine.

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-23 11:15
FromIstvan Varga
SubjectRe: [Cs-dev] GBS 9
Art Hunkins wrote:

> sr = 48000.000000, kr = 480.000000, ksmps = 100.000000
> error:  inconsistent sr, kr, ksmps

This problem is caused by rounding errors.
Csound5 does "fuzzy compare" when checking the consistency of
sr, kr, and ksmps, that is why it does not fail.


-------------------------------------------------------
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