Csound Csound-dev Csound-tekno Search About

Re: PMAX???

Date1999-02-14 21:23
Fromjpff@maths.bath.ac.uk
SubjectRe: PMAX???
Message written at 14 Feb 1999 13:42:49 +0000
--- Copy of mail to gamma_orion@iname.com ---

 gamma> I would like to know if there is a reasonn for PMAX compile time
 gamma> variable to be set as low as 150 by default?

The main reason is that the allocation of space for each event is of
fixed size, so increasing PMAX means a general increase in memory
requirements.  For some time I have wanted to relax this restriction,
but the last time I looked it seemed rather tricky.  Still I might
have another look.

 gamma> If I want to create an ftable using more than 1000 pfield, it is a best
 gamma> way to set PMAX to that value and recompile or to put the data in a
 gamma> sound file format and use gen01?

I would say use GEN

==John ffitch


Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa16291;
          14 Feb 99 21:26 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by shaun.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
	for jpff@maths.bath.ac.uk
	id 10C93n-00035y-00; Sun, 14 Feb 1999 21:26:40 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (VAA04340); Sun, 14 Feb 1999 21:24:15 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Sun, 14 Feb 1999 21:24:02 GMT
Received: from exim@wallace.maths.bath.ac.uk [138.38.100.104] by hermes via ESMTP (VAA13940); Sun, 14 Feb 1999 21:24:01 GMT
Received: from [138.38.97.36] (helo=maths.Bath.AC.UK ident=mmdf)
	by wallace.maths.bath.ac.uk with smtp (Exim 1.92 #2)
	for csound@maths.ex.ac.uk
	id 10C91I-0003PG-00; Sun, 14 Feb 1999 21:24:04 +0000
Date:     Sun, 14 Feb 99 21:24:03 GMT
From: jpff@maths.bath.ac.uk
Subject:  Re: Further bugs I found
To: csound@maths.ex.ac.uk
Message-Id: 
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Message written at 14 Feb 1999 17:13:50 +0000
--- Copy of mail to huber@iamexwi.unibe.ch ---
In-reply-to: <199901281042.LAA17238@klee.iamexwi.unibe.ch> (message from the
	Physicist on Thu, 28 Jan 1999 11:42:44 +0100 (MET))
References:  <199901281042.LAA17238@klee.iamexwi.unibe.ch>

I think that the problem with aftouch was fixed some time ago.  Can
you confirm that there is still a problem on a recent version?  If so
please let me know which platform and a sample orc/sco/midifile woudl
help

==John ffitch


Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa17007;
          15 Feb 99 6:55 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by shaun.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
	for jpff@maths.bath.ac.uk
	id 10CHwf-0003W0-00; Mon, 15 Feb 1999 06:55:53 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (LAA12561); Wed, 10 Feb 1999 11:25:21 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Wed, 10 Feb 1999 11:24:54 GMT
Received: from exim@wallace.maths.bath.ac.uk [138.38.100.104] by hermes via ESMTP (LAA05222); Wed, 10 Feb 1999 11:24:49 GMT
Received: from [138.38.97.36] (helo=maths.Bath.AC.UK ident=mmdf)
	by wallace.maths.bath.ac.uk with smtp (Exim 1.92 #2)
	id 10AXl8-0000nw-00; Wed, 10 Feb 1999 11:24:46 +0000
From: jpff@maths.bath.ac.uk
To: batov@glasnet.ru
CC: csound@maths.ex.ac.uk
In-reply-to:  (message from Sergey Batov on
	Tue, 9 Feb 1999 12:31:18 +0300)
Subject: Re: WaveIn in DirectCsound
References:  
Date: Wed, 10 Feb 99 11:24:44 GMT
Source-Info:  From (or Sender) name not authenticated.
Message-Id: 
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

print is an i-rate opcode so what else do you expect?  If you want
repeated printings you need to use printk
==John


Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa17446;
          15 Feb 99 8:52 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by wallace.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
	for jpff@maths.bath.ac.uk
	id 10CJlw-0003xU-00; Mon, 15 Feb 1999 08:52:56 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (IAA10837); Mon, 15 Feb 1999 08:50:07 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Mon, 15 Feb 1999 08:49:54 GMT
Received: from exim@wallace.maths.bath.ac.uk [138.38.100.104] by hermes via ESMTP (IAA10754); Mon, 15 Feb 1999 08:49:53 GMT
Received: from [138.38.99.25] (helo=maths.Bath.AC.UK ident=mmdf)
	by wallace.maths.bath.ac.uk with smtp (Exim 1.92 #2)
	for csound@maths.ex.ac.uk
	id 10CJiy-0003x2-00; Mon, 15 Feb 1999 08:49:52 +0000
Date:     Mon, 15 Feb 99 8:49:50 GMT
From: jpff@maths.bath.ac.uk
Subject:  V3.52
To: csound@maths.ex.ac.uk
Message-Id: 
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Message written at 14 Feb 1999 21:45:33 +0000

I have just placed v3.52 on my servers.  There are all teh PC
versions, Irix5.3, and  Irix4.0 ; I hope Solaris version will follow
very soon.  Macintosh 68K will be there too by now.

The main changes are opcode renamings, a few bug fixes, and a few new
opcodes.  I have also attempted a first stab at the (missing) readk
opcodes.

There are teh start of some score language changes (exponential ramps
thsi time) which will allow for a more coherent language

Emacs users may care to noite that csound-orc.el has been updated to 
recognise the opcode names.

==John ff

------------------------------------------------------------------------
Release Notes for 3.52
======================

These are the release notes for version 3.52.  This is a collection of
bug fixes from 3.51, and some major opcode renaming to avoid vlashes
between variables and opcodes


Bug Fixes
---------

Extending the number of GOTOs and LABELS had two independent bugs
which wuld usually lead to a segmentation error.  Fixed

Some use of [] could give a memory error, now fixed


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

aiff files with Author, Annotation and Copyright chunks read correctly

In score arithmetic, operators % (for remainder) and ^ allowed

The use of {} for exponential ramps is supplimented by ( and ).  This
is so we can withdraw { and } soon so they can be used for section
brackets. 

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

biquad has an additional optional argument to skip reinitialisation,
so smooth transitions can happen

distort1 changes so all but first argument are optional

tonex, atonex and resonx corrected when reinit is skipped.  Shoudl
remove soem clicks.

The opcode readk, readk2, readk3 and readk4 have been given code.  The
interpolation argument is currently ignored whiel I think about it.
The code has not been tested so may fail.

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

poscil -- High precision oscilator

poscil3 -- High precision oscilator with cubic interpolation

lposci -- High precision looping oscilator

lposcil3 -- High precision looping oscilator with cubic interpolation


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

opcodes islider8, islider16, islider32 renamed slider8/slider16/slider32 
ilimit renamed limit
itableng renamed tableng
itimes/itimek renamed times/timek
All itable.... opcodes renamed tablei....
ictrl... renamed ctrl...
imidic... renamed midic...
ion renamed noteon
ioff rename noteoff
iout... rename outi...
kout... rename outk...
agogobel renamed gogobel
iondur renamed ondur
iondur2 renamed ondur2 
is16b14 renamed s16b14

kread renamed readk
kread2 renamed readk2
kread3 renamed readk3
kread4 renamed readk4

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

None


------------------------------------------------------------------------
==John ff
  1999 Valentine's Day, available on Galileo's birthday
========================================================================
poscil and lposcil, poscil3 and lposcil3

ar	poscil		kamp, kcps, ift [,iphs]
kr	poscil		kamp, kcps, ift [,iphs]
ar	poscil3		kamp, kcps, ift [,iphs]
kr	poscil3		kamp, kcps, ift [,iphs]

ar	lposcil		kamp, kfreqratio, kloop, kend, ift [,iphs]
ar	lposcil3	kamp, kfreqratio, kloop, kend, ift [,iphs]



INITALIZATION

ift - function table number
iphs - initial phase (in samples)

PERFORMANCE

ar - output signal
kamp - amplitude
kcps - frequency
kfreqratio - multiply factor of table frequency (for example: 1 =
        original frequency, 1.5 = a fifth up , .5 = an octave down)
kloop - loop point (in samples)
kend - end loop point (in samples)

poscil (precise oscillator) is the same as oscili but allows hugely more
precise frequency control (especially when using long tables and low
frequency values). It uses floating-point table indexing instead of
integer math, differently by oscil and oscili.  It is only a bit
slower than oscili. 

lposcil (loop oscillator) allows to vary at k-rate the starting and
ending point of a sample contained in a table.  This can be useful
when reading samples loop of a wavetable which repeat speed can be
varied during the performance. 

The versions with a 3 use cubic interpolation.


Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa18144;
          15 Feb 99 10:57 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by shaun.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
	for jpff@maths.bath.ac.uk
	id 10CLi5-0003jC-00; Mon, 15 Feb 1999 10:57:05 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (KAA11846); Mon, 15 Feb 1999 10:44:27 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Mon, 15 Feb 1999 10:44:11 GMT
Received: from exim@wallace.maths.bath.ac.uk [138.38.100.104] by hermes via ESMTP (KAA11758); Mon, 15 Feb 1999 10:44:10 GMT
Received: from [138.38.97.36] (helo=maths.Bath.AC.UK ident=mmdf)
	by wallace.maths.bath.ac.uk with smtp (Exim 1.92 #2)
	id 10CLVU-00048J-00; Mon, 15 Feb 1999 10:44:04 +0000
From: jpff@maths.bath.ac.uk
To: g.maldonado@agora.stm.it
CC: kgallagh@astro.ocis.temple.edu, csound@maths.ex.ac.uk
In-reply-to: <36C6ACDA.69CE5B99@agora.stm.it> (message from Gabriel Maldonado
	on Sun, 14 Feb 1999 12:00:42 +0100)
Subject: Re: more than one krate
References:  <36C6ACDA.69CE5B99@agora.stm.it>
Date: Mon, 15 Feb 99 10:44:01 GMT
Source-Info:  From (or Sender) name not authenticated.
Message-Id: 
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

I believe at one time there was a fourth rate, to sit between k and i,
but as it did not seem to be useful it was removed. I think it was
called q?