Re: pvsanal usage
Fabio Barbon <[email protected]> Wed, 29 Sep 2004 16:49:34 +0200
| Newsgroups | gmane.comp.audio.csound.tekno |
|---|---|
| Message-ID | <[email protected]> |
Andres Cabrera wrote:
> Hi,
> I tried several of the pvs opcodes some time ago (on CsoundAV, though
> that shouldn't make a difference), and I found them working fine. I see
> no evident error on Kevin's example. Can you post the csd you're using
> and the exact error reported by Csound.
I haven't tried CsoundAV yet. With Csound 4.23f12 (under GNU/Linux) the
error message is the following (note that this is the same reported by
Matt Ingalls on 2002's message I cited):
instr 1
Expecting y: error: input arg '0' of type const not allowed when
expecting y, line 6:
fin pvsanal ain,1024,256,2048,0 ;
Expecting y: error: input arg '2048' of type const not allowed when
expecting y, line 6:
fin pvsanal ain,1024,256,2048,0 ;
error: input arg 'pvsanalain' used before defined, line 6:
fin pvsanal ain,1024,256,2048,0 ;
Expecting S: error: input arg 'pvsanalain' of type ? not allowed when
expecting S, line 6:
fin pvsanal ain,1024,256,2048,0 ;
Expecting y: error: input arg '0.75' of type const not allowed when
expecting y, line 7:
fout pvsmaska fin,1,0.75 ;
error: input arg 'pvsmaskafin' used before defined, line 7:
fout pvsmaska fin,1,0.75 ;
Expecting S: error: input arg 'pvsmaskafin' of type ? not allowed when
expecting S, line 7:
fout pvsmaska fin,1,0.75 ;
error: input arg 'fout' used before defined, line 8:
aout pvsynth fout ;
8 syntax errors in orchestra. compilation invalid
Early return from csoundPerform().
Here is the code I used:
<CsoundSynthesizer>
<CsOptions>
-odac -iadc
</CsOptions>
<CsInstruments>
nchnls = 1
instr 1
ain in ; live source
fin pvsanal ain,1024,256,2048,0 ; analyse, using Hamming
fout pvsmaska fin,1,0.75 ; apply eq from f-table
aout pvsynth fout ; and resynthesize
out aout
endin
</CsInstruments>
<CsScore>
; 10 secondi di pv analisi/re-sintesi
i 1 0 10
</CsScore>
</CsoundSynthesizer>
Ciao,
- Fabio
>
>> Hi, this is probably an already posted question (sorry, the link for
>> browsing list archives gives an error:
>> http://www.bek.no/pipermail/csoundtekno/).
>>
>> The following code (from here:
>> http://kevindumpscore.com/docs/csound-manual/pvsanal.html) doesn't
>> compile:
>>
>> ain in ; live source
>> fin pvsanal ain,1024,256,2048,0 ; analyse, using Hamming
>> fout pvsmaska fin,1,0.75 ; apply eq from f-table
>> aout pvsynth fout ; and resynthesize
>>
>> Both Csound 4.23 and 5-beta (cvs updated) give the same errors, also
>> described in this 2002 message:
>>
>> http://eartha.mills.edu:8000/guest/archives/CSOUND-DEV/log0204/msg00015.html
>>
>>
>> Are these opcodes implemented (at a level in which you can experiment
>> with, I mean) or not?
>>
>> Many thanks in advance,
>> - Fabio
>>
>
>
> _______________________________________________
> csoundtekno mailing list
> [email protected]
>
> Subscribe, unsubscribe, change mailing list options:
> http://plot.bek.no/mailman/listinfo/csoundtekno
--
Fabio Barbon
Automated Reasoning Systems - Formal Methods Group
IRST - Istituto per la Ricerca Scientifica e Tecnologica
http://sra.itc.it/people/barbonfab
_______________________________________________
csoundtekno mailing list
[email protected]
Subscribe, unsubscribe, change mailing list options:
http://plot.bek.no/mailman/listinfo/csoundtekno