<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3243" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>OK, I'm not a math wiz or even a audio/dsp wiz, and 
certainly not a ChucK wiz. What exactly does this mean:</FONT></DIV>
<DIV>now - (now % T) =&gt; now;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I've seen it before and am guessing it has 
something to do with periodicity, but not really sure how this statement works. 
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>-- Rich</FONT></DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=signal.automatique@gmail.com 
  href="mailto:signal.automatique@gmail.com">Kassen</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A 
  title=chuck-users@lists.cs.princeton.edu 
  href="mailto:chuck-users@lists.cs.princeton.edu">ChucK Users Mailing List</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, January 08, 2008 7:34 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [chuck-users] cast dur to 
  time?</DIV>
  <DIV><BR></DIV>On 08/01/2008, <B class=gmail_sendername>mike clemow</B> &lt;<A 
  href="mailto:gelfmuse@gmail.com">gelfmuse@gmail.com</A>&gt; wrote:
  <DIV><SPAN class=gmail_quote></SPAN>
  <BLOCKQUOTE class=gmail_quote 
  style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Okay...&nbsp;&nbsp;affine 
    spaces.&nbsp;&nbsp;I'm going to have to wikipedia that one, i'm<BR>afraid 
    (high school math ain't doin' it for me here ;-)&nbsp;&nbsp;I 
    understand<BR>the analogy of vectors and point, though--I think that lends 
    some <BR>credence to the idea that Chuck is already on the right path as 
    far<BR>how the dur and time types work.</BLOCKQUOTE>
  <DIV><BR>I see the analogy and I think it has a lot of merit.<BR>I'm also, at 
  the same time, sticking to my older point that ChucK is already muddying the 
  waters and is in fact getting quite a bit of use from that, for example "now - 
  (now % T) =&gt; now;", I find that line very beautiful, extremely useful and 
  in direct opposition to looking at time objects are pure references to 
  instances. <BR>&nbsp;</DIV><BR>
  <BLOCKQUOTE class=gmail_quote 
  style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">I 
    still have a few questions.&nbsp;&nbsp;The first is for 
    Kassen:&nbsp;&nbsp;Why do you<BR>want to know the VM start time?&nbsp; 
  </BLOCKQUOTE>
  <DIV><BR>To quote Nick Cave; "I can't see for the smoke so I poke around, I 
  poke around"(etc)<BR><BR>At some moment I just tried it as the units are the 
  same, it didn't work so I tried some more related stuff. <BR><BR>I want to 
  learn so I'm asking questions. ChucK is a great tool to put some bangin' beats 
  on the proverbial floor and it's a nice experiment in syntax. I like both 
  aspects a lot. At the core of ChucK's syntax is time and timing so any 
  questions and -possible- incoherency's in working with those are quite 
  interesting. <BR><BR>I can find the birth of the VM and half a minuted after I 
  found out how to I shared this with the list so now we all can, but I think 
  some questions remain. I don't know about you but so far I have used "time" as 
  a data type only rarely and I didn't know that much about it, I think we all 
  know a bit more now. In a way there is a certain philosophical beauty to only 
  being able to define time in relation to the "now" but as this can lead to 
  some decidedly odd expressions I wonder if that's intentional and proper. 
  <BR>&nbsp;<BR>As for actual use, I could imagine that referring to absolute 
  moments in time could become useful when writing a score, especially with some 
  sort of sorting, Csound style. Maybe there are other better uses, maybe it's 
  all quite academic? I'm already enthusiastic there are people that have a 
  position on this too. <BR><BR></DIV><BR>
  <BLOCKQUOTE class=gmail_quote 
  style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid"><BR><BR>I'm 
    just thinking out loud...</BLOCKQUOTE>
  <DIV><BR>So was and am I. It's the ultimate in open-source! 
  <BR>&nbsp;"thinking out loud" strikes me as a excelent slogan for a musical 
  programing language.<BR></DIV><BR><BR>Yours,<BR>Kas.<BR></DIV>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>chuck-users mailing 
  list<BR>chuck-users@lists.cs.princeton.edu<BR>https://lists.cs.princeton.edu/mailman/listinfo/chuck-users<BR></BLOCKQUOTE></BODY></HTML>