Csound Csound-dev Csound-tekno Search About

[Cs-dev] another one for the new parser

Date2010-10-13 23:44
FromVictor Lazzarini
Subject[Cs-dev] another one for the new parser
Somehow 0dbfs is not being properly set:

a1 oscili 0dbfs, 440, 1
      out a1

produces a max amp of 1.0 with default header values (ie. 0dbfs is not  
set)

Victor

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-10-17 13:26
Fromjohn ffitch
SubjectRe: [Cs-dev] another one for the new parser
Can you provide a compete example?  So far I have failed to reproduce this
==John ffitch
>>>>> "Victor" == Victor Lazzarini  writes:

 Victor> Somehow 0dbfs is not being properly set:
 Victor> a1 oscili 0dbfs, 440, 1
 Victor>       out a1

 Victor> produces a max amp of 1.0 with default header values (ie. 0dbfs is not  
 Victor> set)


------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-10-17 16:55
FromVictor Lazzarini
SubjectRe: [Cs-dev] another one for the new parser
Here is another example





instr 1
kenvelope linen 0dbfs, 0.1, p3, 0.1
asignal oscili kenvelope, p5, 1
out asignal
endin


f1 0 16384 10 1
i1 0 2 0.5 440



with --old-parser, the max amps are 32768; with the new parser, they  
are 1.0.

If, however 0dbfs=32767 is set in the header, it works.

Victor

On 17 Oct 2010, at 13:26, john ffitch wrote:

> Can you provide a compete example?  So far I have failed to  
> reproduce this
> ==John ffitch
>>>>>> "Victor" == Victor Lazzarini  writes:
>
> Victor> Somehow 0dbfs is not being properly set:
> Victor> a1 oscili 0dbfs, 440, 1
> Victor>       out a1
>
> Victor> produces a max amp of 1.0 with default header values (ie.  
> 0dbfs is not
> Victor> set)
>
>
> ------------------------------------------------------------------------------
> Download new Adobe(R) Flash(R) Builder(TM) 4
> The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
> Flex(R) Builder(TM)) enable the development of rich applications  
> that run
> across multiple browsers and platforms. Download your free trials  
> today!
> http://p.sf.net/sfu/adobe-dev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-10-21 18:16
Fromjohn ffitch
SubjectRe: [Cs-dev] another one for the new parser
Thank you; armed with this and a forced idle afternoon it is now fixed
in CVS
>>>>> "Victor" == Victor Lazzarini  writes:

 Victor> Here is another example

 Victor> 
 Victor> 
 Victor> 
 Victor> 
 Victor> instr 1
 Victor> kenvelope linen 0dbfs, 0.1, p3, 0.1
 Victor> asignal oscili kenvelope, p5, 1
 Victor> out asignal
 Victor> endin
 Victor> 
 Victor> 
 Victor> f1 0 16384 10 1
 Victor> i1 0 2 0.5 440
 Victor> 
 Victor> 

 Victor> with --old-parser, the max amps are 32768; with the new parser, they  
 Victor> are 1.0.

 Victor> If, however 0dbfs=32767 is set in the header, it works.

==John ffitch

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net