Csound Csound-dev Csound-tekno Search About

[Cs-dev] [ csound-Bugs-3149314 ] date not re-initializing?

Date2011-01-02 13:56
From"SourceForge.net"
Subject[Cs-dev] [ csound-Bugs-3149314 ] date not re-initializing?
Bugs item #3149314, was opened at 2011-01-01 20:49
Message generated for change (Comment added) made by joachimheintz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=564599&aid=3149314&group_id=81968

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Opcodes
Group: csound5
Status: Closed
Resolution: Works For Me
Priority: 5
Private: No
Submitted By: Joachim Heintz (joachimheintz)
Assigned to: John ffitch (jpff)
Summary: date not re-initializing?

Initial Comment:
the date opcode returns always the same result, if called more than one time. this is an example, tested under Ubuntu 10.10 and OSX 10.5 with Csound 5.12:



instr 1
itim      date
Stim      dates     itim
          printf_i  "Time in seconds: %d, Date is '%s'\\n", 1, itim, Stim
endin



i 1 0 0.1



----------------------------------------------------------------------

Comment By: Joachim Heintz (joachimheintz)
Date: 2011-01-02 14:56

Message:
strange - my output is:
Time in seconds: 1293975808, Date is 'Sun Jan  2 14:43:28 2011
'\nB  0.000 ..  5.000 T  5.000 TT  5.000 M:      0.0
Time in seconds: 1293975808, Date is 'Sun Jan  2 14:43:28 2011
'\nB  5.000 ..  5.100 T  5.100 TT  5.100 M:      0.0

this is running csound in the terminal. any idea about a possible reason?

----------------------------------------------------------------------

Comment By: John ffitch (jpff)
Date: 2011-01-02 13:39

Message:
Sorry do not believe this.

Try t=your cde with score 
i1 0 0.1
i1 5 0.1

and run to -o dac

Works for me


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=564599&aid=3149314&group_id=81968

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net