Csound Csound-dev Csound-tekno Search About

[Cs-dev] 0dbfs not working?

Date2010-01-09 19:48
FromAndres Cabrera
Subject[Cs-dev] 0dbfs not working?
Hi

When I see things like this, I suspect there's something wrong with my
setup... But is 0dbfs not working? It appears that no matter what
value of 0dbfs I specify in the header I get:

0dBFS level = 32768.0

Is everyone else seeing this?

Cheers,
Andres



-- 


Andrés

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-01-09 19:51
FromRory Walsh
SubjectRe: [Cs-dev] 0dbfs not working?
Sorry Andres but I still haven't updated to the latest CVS yet, so I'm
out of the loop on this one!

2010/1/9 Andres Cabrera :
> Hi
>
> When I see things like this, I suspect there's something wrong with my
> setup... But is 0dbfs not working? It appears that no matter what
> value of 0dbfs I specify in the header I get:
>
> 0dBFS level = 32768.0
>
> Is everyone else seeing this?
>
> Cheers,
> Andres
>
>
>
> --
>
>
> Andrés
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-01-09 20:23
FromSteven Yi
SubjectRe: [Cs-dev] 0dbfs not working?
Is this the same using --new-parser and with --old-parser?

On Sat, Jan 9, 2010 at 2:48 PM, Andres Cabrera  wrote:
> Hi
>
> When I see things like this, I suspect there's something wrong with my
> setup... But is 0dbfs not working? It appears that no matter what
> value of 0dbfs I specify in the header I get:
>
> 0dBFS level = 32768.0
>
> Is everyone else seeing this?
>
> Cheers,
> Andres
>
>
>
> --
>
>
> Andrés
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-01-10 13:59
FromAndres Cabrera
SubjectRe: [Cs-dev] 0dbfs not working?
Hi,

I think I am using the old parser since both of those options are
currently invalid for me.

I'm using csound from cvs (updated yesterday).

Is anyone else seeing the same, or is it just me...?

Cheers,
Andres

On 1/9/10, Steven Yi  wrote:
> Is this the same using --new-parser and with --old-parser?
>
> On Sat, Jan 9, 2010 at 2:48 PM, Andres Cabrera 
> wrote:
>> Hi
>>
>> When I see things like this, I suspect there's something wrong with my
>> setup... But is 0dbfs not working? It appears that no matter what
>> value of 0dbfs I specify in the header I get:
>>
>> 0dBFS level = 32768.0
>>
>> Is everyone else seeing this?
>>
>> Cheers,
>> Andres
>>
>>
>>
>> --
>>
>>
>> Andrés
>>
>> ------------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Verizon Developer Community
>> Take advantage of Verizon's best-in-class app development support
>> A streamlined, 14 day to market process makes app distribution fast and
>> easy
>> Join now and get one step closer to millions of Verizon customers
>> http://p.sf.net/sfu/verizon-dev2dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>


-- 


Andrés

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-01-15 16:12
FromSteven Yi
SubjectRe: [Cs-dev] 0dbfs not working?
Attachmentsx.csd  None  None  
(Returning to the original thread)

I just made a test csd file and reproduced the problem. Output with
--verbose below, and test CSD file attached.

steven


C:\work\workspace\csound5\tests>csound x.csd --verbose
time resolution is 279.365 ns
PortAudio real-time audio module for Csound
virtual_keyboard real time MIDI plugin for Csound
0dBFS level = 32768.0
Csound version 5.11 beta (double samples) Jan  9 2010
libsndfile-1.0.17
Reading options from $CSOUNDRC: C:\Csound\.csoundrc
decode_long expression-opt
decode_long old-parser
UnifiedCSD:  x.csd
Environment variable 'SADIR' has been set to 'c:\work\audio\csound\analysis;C:\w
ork\workspace\csound5\tests'
Environment variable 'SSDIR' has been set to 'c:\work\audio\csound\samples;C:\wo
rk\workspace\csound5\tests'
Environment variable 'INCDIR' has been set to 'c:\work\audio\csound\include;C:\w
ork\workspace\csound5\tests'
Environment variable 'MFDIR' has been set to 'C:\work\workspace\csound5\tests'
STARTING FILE
Creating orchestra
Creating score
decode_long verbose
orchname:  C:\DOCUME~1\syi\LOCALS~1\Temp\cs898.orc
scorename: C:\DOCUME~1\syi\LOCALS~1\Temp\cs900.sco
rtaudio: WinMM module enabled
orch compiler:
18 lines read
LINE 4:
LINE 5:
groups: sr = 44100
modified opcod: =.r
treqd i, tfound c
xincod = 0
treqd r, tfound r
sr      =.r     44100
LINE 6:
groups: ksmps = 1
modified opcod: =.r
treqd i, tfound c
xincod = 0
treqd r, tfound r
ksmps   =.r     1
LINE 7:
groups: nchnls = 1
modified opcod: =.r
treqd i, tfound c
xincod = 0
treqd r, tfound r
nchnls  =.r     1
LINE 8:
groups: 0dbfs = 1
modified opcod: =.r
treqd i, tfound c
xincod = 0
treqd r, tfound r
0dbfs   =.r     1
LINE 9:
LINE 10:
LINE 11:
LINE 12:
LINE 13:
LINE 14:
LINE 15:
groups: instr 1
        endin
pmax 3, kcnt 0, wcnt 0, acnt 0, pcnt 0, scnt 0
        instr   1
LINE 16:
groups: aout vco2 .8 440
treqd o, tfound c
treqd k, tfound c
treqd k, tfound c
xincod = 0
treqd a, tfound a
aout    vco2    .8      440     0
LINE 17:
LINE 18:
groups: out aout
treqd a, tfound a
xincod = 1
        out     aout
LINE 19:
groups: endin
        endin
pmax 3, kcnt 0, wcnt 0, acnt 1, pcnt 0, scnt 0
LINE 20:
LINE 21:
poolcount = 5, strpool_cnt = 1
pool:   0       44100   1       440     0.8
strpool:        ""
=.r argndxs:    6       2
=.r argndxs:    8       3
=.r argndxs:    9       3
=.r argndxs:    11      3
vco2 argndxs:   -4      5       4       1
out argndxs:    -4
argoff array:
        0       1       6       1       2       1       8       1       3
1       9       1       3       1       11      1       3       1       -4
3       5       4       1       1       -4
Elapsed time at end of orchestra compile: real: 0.578s, CPU: 0.578s
sorting score ...
        ... done
Elapsed time at end of score sort: real: 0.600s, CPU: 0.594s
Csound version 5.11 beta (double samples) Jan  9 2010
Creating search path cache for 'SNAPDIR':
Creating search path cache for 'SFDIR;SSDIR;INCDIR':
    1: "C:\work\workspace\csound5\tests\"
    2: "c:\work\audio\csound\include\"
    3: "c:\work\audio\csound\samples\"
Creating search path cache for 'SFDIR':
Creating search path cache for 'SADIR':
    1: "C:\work\workspace\csound5\tests\"
    2: "c:\work\audio\csound\analysis\"
Creating search path cache for 'SFDIR;SSDIR':
    1: "C:\work\workspace\csound5\tests\"
    2: "c:\work\audio\csound\samples\"
displays suppressed
esr = 44100.0, ekr = 44100.0, ksmps = 1, nchnls = 1 0dbfs = 32768.0
lclabeg 4, lclsbeg 4
lclabeg 4, lclsbeg 5
0dBFS level = 32768.0
instr 0 allocated at 004DBC88
        lclbas 004DBD08, opds 004DBD08
op 51 (=.r) allocated at 004DBD08
argptrs:        004ECCB0        004ECC90
op 51 (=.r) allocated at 004DBD28
argptrs:        004ECCC0        004ECC98
op 51 (=.r) allocated at 004DBD48
argptrs:        004ECCC8        004ECC98
op 51 (=.r) allocated at 004DBD68
argptrs:        004ECCD8        004ECC98
orch now loaded
audio buffered in 4096 sample-frame blocks
The available output devices are:
  0: Plantronics USB Headset
  1: SoundMAX HD Audio
  2: C-Media USB Audio
winmm: opening output device 0 (Plantronics USB Headset)
writing 8192-byte blks of shorts to dac
SECTION 1:
new event:  0.0000000000000  0.0000000000000
activating instr 1 at 0
new alloc for instr 1:
instr 1 allocated at 004DAFB8
        lclbas 004DB038, opds 004DB040
op 1006 (vco2) allocated at 004DB040
opadr = 6E363CF4
argptrs:        004DB038        004ECCA8        004ECCA0        004ECC88
op 295 (out) allocated at 004DB0E0
opadr = 6F1F22F5
argptrs:        004DB038
psave beg at 004DB020
   ending at 004DB038
init vco2:
In insert:  198 2.000000 2.000000
Calling schedofftim line 214; offtime= 2.000000 (88200.000000)
schedofftim: 2.000000 0.000000 0.000000
schedofftim: 2.000000 0.000011
instr 1 now active:
insno   instanc nxtinst prvinst nxtact  prvact  nxtoff  actflg  offtim
0       004DBC88        00000000        00000000        00000000        00000000
        00000000        1       0.0
1       004DAFB8        00000000        00000000        00000000        004C2D98
        00000000        1       2.0
removed instance of instr 1
deactivated all notes to time   2.000
frstoff = 00000000
B  0.000 ..  2.000 T  2.000 TT  2.000 M:      0.9
Score finished in csoundPerform().
removed instance of instr 0
inactive allocs returned to freespace
end of score.              overall amps:      0.9
           overall samples out of range:        0
0 errors in performance
Elapsed time at end of performance: real: 2.463s, CPU: 2.453s
22 8192-byte soundblks of shorts written to dac
Removing temporary file C:\DOCUME~1\syi\LOCALS~1\Temp\cs901.srt ...
Removing temporary file C:\DOCUME~1\syi\LOCALS~1\Temp\cs900.sco ...
Removing temporary file C:\DOCUME~1\syi\LOCALS~1\Temp\cs898.orc ...




On Sun, Jan 10, 2010 at 8:59 AM, Andres Cabrera  wrote:
> Hi,
>
> I think I am using the old parser since both of those options are
> currently invalid for me.
>
> I'm using csound from cvs (updated yesterday).
>
> Is anyone else seeing the same, or is it just me...?
>
> Cheers,
> Andres
>
> On 1/9/10, Steven Yi  wrote:
>> Is this the same using --new-parser and with --old-parser?
>>
>> On Sat, Jan 9, 2010 at 2:48 PM, Andres Cabrera 
>> wrote:
>>> Hi
>>>
>>> When I see things like this, I suspect there's something wrong with my
>>> setup... But is 0dbfs not working? It appears that no matter what
>>> value of 0dbfs I specify in the header I get:
>>>
>>> 0dBFS level = 32768.0
>>>
>>> Is everyone else seeing this?
>>>
>>> Cheers,
>>> Andres
>>>
>>>
>>>
>>> --
>>>
>>>
>>> Andrés
>>>
>>> ------------------------------------------------------------------------------
>>> This SF.Net email is sponsored by the Verizon Developer Community
>>> Take advantage of Verizon's best-in-class app development support
>>> A streamlined, 14 day to market process makes app distribution fast and
>>> easy
>>> Join now and get one step closer to millions of Verizon customers
>>> http://p.sf.net/sfu/verizon-dev2dev
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>> ------------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Verizon Developer Community
>> Take advantage of Verizon's best-in-class app development support
>> A streamlined, 14 day to market process makes app distribution fast and easy
>> Join now and get one step closer to millions of Verizon customers
>> http://p.sf.net/sfu/verizon-dev2dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
>
> --
>
>
> Andrés
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

Date2010-01-16 10:48
Fromjohn ffitch
SubjectRe: [Cs-dev] 0dbfs not working?
I think I understand.  Will take a few minutes to fix.  A consequence
of an unrelated change.
==John ffitch

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net