Csound Csound-dev Csound-tekno Search About

[Csnd] yet-another-release

Date1999-11-22 07:42
Fromjpff@maths.bath.ac.uk
Subject[Csnd] yet-another-release
I will shortly be putting v4.01 onto my server, in versions for
Windows, PC-console, DOS, Irix5.3, PowerPC, Macintosh 68K, and Linux,
as well as sources in both tar and zip formats.
  This corrects a few bugs which have been discovered, and the usual
tinkerings.  As some people seemed to miss the release notes last time
I have written a set for 4.01 incorporating changes since 3.591
==John ffitch
------------------------------------------------------------------------
Release Notes for 4.01
======================

These are the release notes for version 4.01.  This is a set of small
changes against version 4.00, which was only slightly different from
the 3.59 (v4.0 beta) release.  These notes incorporate all changes
since v3.591


Bug Fixes
---------

None

Language Changes
----------------

Csound no longer creates score.srt as a fixed file unless the option
-t0 is given.

Opcode Fixes
------------

wguide1 and wguide2 -- fixed code so both a-rate and k-rate variables
can be used.

pvinterp and pvread -- now allow small frame sizes

space -- bug fixed which would lead to inconsistent results

schedule and schedwhen -- should now work if the event is in the future


New Opcodes 
-----------

(opcode change)

resony -- now has a new optional argument (not at the end
***INCOMPATIBLE CHANGE**) which controls logarithmic or linear spread.
See new documentation below.

Other Changes:
-------------

Version number now printed in x.xx format


Windows GUI Changes
-------------------

Changes to how often the screen is repainted; should maintain the
graphs better.

New check box in Extras dialog for keeping score.srt


------------------------------------------------------------------------
==John ff
  1999 Thanksgiving Week (USA)
========================================================================
resony 

ar    resony     asig, kbf, kbw, inum, ksep [,  isepmode, iscl, istor] 

DESCRIPTION 

A bank of second-order bandpass filters, connected in parallel. 

INITIALIZATION 

inum - number of filters. 

isepmode - determines if the separation center frequencies of each
filter must be generated in logarithmically (using octave as unit of
measure) or linearly (using Hertz). Default value is 0, corresponding
to logarithmic mode.

iscl - coded scaling factor for resonators. A value of 1 signifies a
peak response factor of 1, i.e. all frequencies other than kcf are
attenuated in accordance with the (normalized) response curve. A value
of 2 raises the response factor so that its overall RMS value equals
1. (This intended equalization of input and output power assumes all
frequencies are physically present; hence it is most applicable to
white noise.) A zero value signifies no scaling of the signal, leaving
that to some later adjustment (e.g. see balance). The default value is
0.

istor - initial disposition of internal data space. Since filtering
incorporates a feedback loop of previous output, the initial status of
the storage space used is significant. A zero value will clear the
space; a non-zero value will allow previous information to remain. The
default value is 0.


PERFORMANCE

asig - audio input signal
kbf -  base frequency, i.e. center frequency of lowest filter in Hz
kbw -  bandwidth in Hz
ksep - separation of the center frequency of filters (in octaves or in
       Hertz, depending by isepmode flag) 


resony is a bank of second-order bandpass filters, with k-rate variant
frequency separation, base frequency and bandwidth, connected in
parallel (i.e. the resulting signal is a mixing of the output of each
filter). The center frequency of each filter depends of kbf and ksep
variables. The maximum number of filters is set to 100.

EXAMPLE: 

In this example the global variable gk1 modifies kbf, gk2 modifies
kbw, gk3 inum, gk4 ksep and gk5 the main volume.

	instr	1
a1	soundin "myfile.aif"
a2	resony	a1,   gk1 , gk2 ,i(gk3),gk4 
	out	a2 * gk5 
	endin
------------------------------------------------------------------------
--

Date1999-11-22 16:49
FromChris Graham
Subject[Csnd] Compile Errors in DirectCsound & AXCsound?
I'm trying to build AXCsound with Visual C++ 6.0, and I keep getting errors
like the following:

Midisend.c
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\rpcnsip.h(25) : error
C2061: syntax error : identifier 'RPC_NS_HANDLE'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\rpcnsip.h(26) : error
C2061: syntax error : identifier 'ProposedHandle'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\rpcnsip.h(26) : error
C2059: syntax error : ';'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\rpcnsip.h(27) : error
C2143: syntax error : missing '{' before '*'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\rpcnsip.h(29) : error
C2059: syntax error : '}'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\rpcnsip.h(34) : error
C2061: syntax error : identifier 'RPC_ENTRY'

The same happens in Rtaudio.c.   Everything else compiles cleanly.

I'm compiling a freshly downloaded version of AXCsound using the included
workspace, which opens cleanly.
I also have tried building DirectCsound 3.0 using a workspace I constructed,
but with the same result.

It's a syntax error deep in the Visual Studio libraries, so I'm not sure
what the problem could be - possibly an incorrectly set compile-time option,
but I can't find what it could be.

Anyone else experienced this, or have any suggestions?

Thanks.

- Chris Graham


--

Date1999-11-23 00:50
FromMichael Gogins
SubjectRe: [Csnd] Compile Errors in DirectCsound & AXCsound?
Similar errors happen in the regular Csound build in midisend.c. I suggest
you look in the header file that is offending, e.g. rpcnsip.h, and see what
symbol is #defined to prevent multiple inclusion. Then define this in your
.c or .cpp file to prevent the header file from being scanned at all. Look
in midisend.c to see how this is done and why... hope this helps.

-----Original Message-----
From: Chris Graham [mailto:chrisgr@quik.com]
Sent: Monday, November 22, 1999 11:49 AM
To: csound@lists.bath.ac.uk
Subject: [Csnd] Compile Errors in DirectCsound & AXCsound?


I'm trying to build AXCsound with Visual C++ 6.0, and I keep getting errors
like the following:

Midisend.c
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\rpcnsip.h(25) : error
C2061: syntax error : identifier 'RPC_NS_HANDLE'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\rpcnsip.h(26) : error
C2061: syntax error : identifier 'ProposedHandle'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\rpcnsip.h(26) : error
C2059: syntax error : ';'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\rpcnsip.h(27) : error
C2143: syntax error : missing '{' before '*'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\rpcnsip.h(29) : error
C2059: syntax error : '}'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\rpcnsip.h(34) : error
C2061: syntax error : identifier 'RPC_ENTRY'

The same happens in Rtaudio.c.   Everything else compiles cleanly.

I'm compiling a freshly downloaded version of AXCsound using the included
workspace, which opens cleanly.
I also have tried building DirectCsound 3.0 using a workspace I constructed,
but with the same result.

It's a syntax error deep in the Visual Studio libraries, so I'm not sure
what the problem could be - possibly an incorrectly set compile-time option,
but I can't find what it could be.

Anyone else experienced this, or have any suggestions?

Thanks.

- Chris Graham


--
To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk

--