<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.lisp.ccrma.general">
    <title>gmane.lisp.ccrma.general</title>
    <link>http://permalink.gmane.org/gmane.lisp.ccrma.general</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.ccrma.general/4067"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.ccrma.general/4066"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.ccrma.general/4065"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.ccrma.general/4064"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.ccrma.general/4063"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.ccrma.general/4062"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.ccrma.general/4061"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.ccrma.general/4060"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.ccrma.general/4059"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.ccrma.general/4058"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.ccrma.general/4057"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.ccrma.general/4056"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.ccrma.general/4055"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.ccrma.general/4054"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.ccrma.general/4053"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.ccrma.general/4052"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.ccrma.general/4051"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.ccrma.general/4050"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.ccrma.general/4049"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.ccrma.general/4048"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.ccrma.general/4067">
    <title>Re: live coding with common music</title>
    <link>http://permalink.gmane.org/gmane.lisp.ccrma.general/4067</link>
    <description>&lt;pre&gt;while watching it I was thinking, "hooboy, my poor little gtk repl
has a long ways to go..."
&lt;/pre&gt;</description>
    <dc:creator>Bill Schottstaedt</dc:creator>
    <dc:date>2013-05-18T22:58:28</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.ccrma.general/4066">
    <title>live coding with common music</title>
    <link>http://permalink.gmane.org/gmane.lisp.ccrma.general/4066</link>
    <description>&lt;pre&gt;There's an interesting live coding music video:

 http://vimeo.com/66448855

comments here:

http://www.reddit.com/r/lisp/comments/1ekpfs/livecoding_on_clozurecl/

(reddit lisp -- not sure these urls will actually work).
&lt;/pre&gt;</description>
    <dc:creator>Bill Schottstaedt</dc:creator>
    <dc:date>2013-05-18T22:56:23</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.ccrma.general/4065">
    <title>Re: s7, simple listener</title>
    <link>http://permalink.gmane.org/gmane.lisp.ccrma.general/4065</link>
    <description>&lt;pre&gt;I think you need to add -ldl:

gcc -o doc7 doc7.c s7.o -lm -I. -ldl

The default gcc version of s7 now includes the dynamic loader,
but I (of course) forgot to check the documentation examples.
I need to find a way to extract those examples and run them
during my huge regression test suite.  Thanks for the bug
report!
&lt;/pre&gt;</description>
    <dc:creator>Bill Schottstaedt</dc:creator>
    <dc:date>2013-05-16T10:56:25</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.ccrma.general/4064">
    <title>s7, simple listener</title>
    <link>http://permalink.gmane.org/gmane.lisp.ccrma.general/4064</link>
    <description>&lt;pre&gt;Hi,
Trying to run the simple listener example from s7 manual under FFI.

$ gcc -c s7.c -I.

ok.

$ gcc -o doc7 doc7.c s7.o -lm -I.

s7.o: In function `g_load':
s7.c:(.text+0x4a177): undefined reference to `dlopen'
s7.c:(.text+0x4a192): undefined reference to `dlsym'
s7.c:(.text+0x4a1b6): undefined reference to `dlerror'
s7.c:(.text+0x4a1e9): undefined reference to `dlclose'
s7.c:(.text+0x4a1f0): undefined reference to `dlerror'
collect2: error: ld returned 1 exit status

I tried just including dlfcn.h in s7.c but that didn't fix it.  Wondering what lib or headers I'm missing.  I do have a ld-2.16.so in usr/lib if that's what it needs.

thanks,
Jim Hearon

       _______________________________________________
Cmdist mailing list
Cmdist-l0SEpsmuUtBegcJQxxnBRDe48wsgrGvP&amp;lt; at &amp;gt;public.gmane.org
http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist
&lt;/pre&gt;</description>
    <dc:creator>James Hearon</dc:creator>
    <dc:date>2013-05-16T01:50:27</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.ccrma.general/4063">
    <title>gtk snd listener</title>
    <link>http://permalink.gmane.org/gmane.lisp.ccrma.general/4063</link>
    <description>&lt;pre&gt;I'm unicodizing the gtk version of snd's listener, so if you
use the cvs stuff or the daily tarball, expect the unexpected.
I'll have it back to normal in no time...
&lt;/pre&gt;</description>
    <dc:creator>Bill Schottstaedt</dc:creator>
    <dc:date>2013-05-13T20:41:54</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.ccrma.general/4062">
    <title>Re: optional arguments in Scheme</title>
    <link>http://permalink.gmane.org/gmane.lisp.ccrma.general/4062</link>
    <description>&lt;pre&gt;Thank you both!
&lt;/pre&gt;</description>
    <dc:creator>Antoine</dc:creator>
    <dc:date>2013-05-09T11:27:56</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.ccrma.general/4061">
    <title>Re: optional arguments in Scheme</title>
    <link>http://permalink.gmane.org/gmane.lisp.ccrma.general/4061</link>
    <description>&lt;pre&gt;(Just as I was about to press "send", Rick's answer arrived,
but I'll send my redundant verbiage anyway).

In s7, define* arguments are optional and have keyword names
without any marker like &amp;amp;optkey (:optional is accepted, but ignored).
I'm not sure where &amp;amp;optkey comes from, perhaps def-optkey-fun
in the Common Lisp version of clm?

(define* (hiho a (b 0) (c 0)) (+ a b c))

has 3 optional/keyword arguments.

(hiho 1) -&amp;gt; 1
(hiho 1 11) -&amp;gt; 12
(hiho :c 0 :b 11 :a 1) -&amp;gt; 12

See s7.html under define* (the third major section of the doc).
s7.html has tons of examples, and there are many more in the
Snd *.scm files.  The s7 version of clm is primarily
documented in sndclm.html.
&lt;/pre&gt;</description>
    <dc:creator>Bill Schottstaedt</dc:creator>
    <dc:date>2013-05-09T11:18:19</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.ccrma.general/4060">
    <title>Re: optional arguments in Scheme</title>
    <link>http://permalink.gmane.org/gmane.lisp.ccrma.general/4060</link>
    <description>&lt;pre&gt;hi  if you use s7's define then you don't need OptKey at all because all arguments will be opt key:

   (list a b c d e))

(#f #f #f #f #f)


(1 2 #f #f #f)

(1 2 3 4 5)




On May 9, 2013, at 2:30 AM, Antoine &amp;lt;antoinedaurat-gM/Ye1E23mwN+BqQ9rBEUg&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:

&lt;/pre&gt;</description>
    <dc:creator>Heinrich Taube</dc:creator>
    <dc:date>2013-05-09T11:07:08</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.ccrma.general/4059">
    <title>optional arguments in Scheme</title>
    <link>http://permalink.gmane.org/gmane.lisp.ccrma.general/4059</link>
    <description>&lt;pre&gt;Hello,

I am having a hard time understanding optional arguments 
in Scheme and could use a little help.
I want to pass optional arguments, without having to write 
the keywords and it seems that in that 
case "&amp;amp;optkey" becomes an argument!...


(define* (hiho a &amp;amp;optkey (b 0) (c 0))
  (+ a b c))

(hiho 1 12)

=&amp;gt; 1

(hiho 1 12 1 1)

=&amp;gt; 3

Neither s7 documentation nor Common Music's reference 
or examples give an overview of the syntax 
for optionals and rests arguments. Could you be kind enough 
to point me the right direction? :)
Thank you!
&lt;/pre&gt;</description>
    <dc:creator>Antoine</dc:creator>
    <dc:date>2013-05-09T07:30:49</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.ccrma.general/4058">
    <title>Re: Installing snd and s7 on MacOS-X Mountain Lion</title>
    <link>http://permalink.gmane.org/gmane.lisp.ccrma.general/4058</link>
    <description>&lt;pre&gt;I think the easiest way is to configure snd without any GUI:

./configure --with-no-gui
make

This will give you snd/clm/s7 in an old-style interpreter.
There are several suggestions in README.Snd -- perhaps
you can get motif or gtk from one of the packagers
mentioned there.  I don't recommend trying to build
either one yourself -- both are borderline impossible
to get going by hand.  I can't upgrade my old Mac to
the new OSX, so I haven't tested it.

Good luck!
&lt;/pre&gt;</description>
    <dc:creator>Bill Schottstaedt</dc:creator>
    <dc:date>2013-05-05T11:42:49</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.ccrma.general/4057">
    <title>Installing snd and s7 on MacOS-X Mountain Lion</title>
    <link>http://permalink.gmane.org/gmane.lisp.ccrma.general/4057</link>
    <description>&lt;pre&gt;Hi !
New to cmdist. Is there any easy way to install s7 scheme and snd on Mac-OSX Mountain Lion ?
Thanks a lot,

   roy
&lt;/pre&gt;</description>
    <dc:creator>Jean-Paul.ROY-1tiMtmcNHhw&lt; at &gt;public.gmane.org</dc:creator>
    <dc:date>2013-05-05T08:14:17</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.ccrma.general/4056">
    <title>Re: S7 scheme running on Android in NDK</title>
    <link>http://permalink.gmane.org/gmane.lisp.ccrma.general/4056</link>
    <description>&lt;pre&gt;Thanks very much!  I have merged those changes into the
ccrma and sourceforge copies of s7.  


That's the truth!  Sorry you got bitten.  As far as I know, that one
spot is the only unaligned access.  Please let me know of any other
troubles.

By the way, how do you run it in Android?  I had somehow convinced
myself that I needed Java.
&lt;/pre&gt;</description>
    <dc:creator>Bill Schottstaedt</dc:creator>
    <dc:date>2013-05-03T23:39:06</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.ccrma.general/4055">
    <title>S7 scheme running on Android in NDK</title>
    <link>http://permalink.gmane.org/gmane.lisp.ccrma.general/4055</link>
    <description>&lt;pre&gt;Hi,

I have just added s7 scheme to a C++ project on Android, and I ran into a
couple of issues that I would like to post in case anyone else runs into
them.

1 - android doesn't seem to support the log2 function.  Easy fix:  fx =
log((double)ix)/log(2.0);

2 - It seems that arm based architectures have issues with aligned access.
I discovered this when calling s7_init to create a second scheme vm.  The
fix for this is to simply add __ANDROID__ to the __bfin__ check.


here is the diff of the changes for s7.c:

4021c4021
&amp;lt; #if (__bfin__)
---
10216a10217,10219
10217a10221


Are there any other spots in s7 where unaligned access may occur?  They are
rather difficult to debug.


Sincerely,
Jason Ripley
_______________________________________________
Cmdist mailing list
Cmdist-l0SEpsmuUtBegcJQxxnBRDe48wsgrGvP&amp;lt; at &amp;gt;public.gmane.org
http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist
&lt;/pre&gt;</description>
    <dc:creator>Jason Ripley</dc:creator>
    <dc:date>2013-05-03T22:17:04</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.ccrma.general/4054">
    <title>Re: scheme, s7</title>
    <link>http://permalink.gmane.org/gmane.lisp.ccrma.general/4054</link>
    <description>&lt;pre&gt;
Sorry, I might not get what you are after. 

 (define counter 0)

Here, you create a binding (i.e. you create a  "variable"  and assign an initial value to it).

  (define (bump-counter)  
    (process repeat 5 do(set! counter (+ counter 1))))

Here you create a function that, when called, will return whatever 'process' return, which is
most likely not what you want (since process will return an anonymous function). I guess you want
'bump-counter' to actually modify your counter.

  (define (bump-counter)
    (loop repeat 5 do (set! counter (+ counter 1))))
 
Should do the job. But maybe I don't understand your question.

 HTH Ralf Mattes

&lt;/pre&gt;</description>
    <dc:creator>Ralf Mattes</dc:creator>
    <dc:date>2013-04-25T22:48:55</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.ccrma.general/4053">
    <title>Re: scheme, s7</title>
    <link>http://permalink.gmane.org/gmane.lisp.ccrma.general/4053</link>
    <description>&lt;pre&gt;I think in your example you need "sprout":

cm&amp;gt; (define counter 0)
counter
cm&amp;gt; (define (bump-counter) (process repeat 5 do (set! counter (+ counter 1))))
bump-counter
cm&amp;gt; (sprout (bump-counter))

cm&amp;gt; counter
5


In straight scheme there are several ways to do this:

(do ((i 0 (+ i 1))) ((= i 5)) (set! counter (+ counter 1)))

for example.
&lt;/pre&gt;</description>
    <dc:creator>Bill Schottstaedt</dc:creator>
    <dc:date>2013-04-25T20:47:13</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.ccrma.general/4052">
    <title>scheme, s7</title>
    <link>http://permalink.gmane.org/gmane.lisp.ccrma.general/4052</link>
    <description>&lt;pre&gt;Hi,
Having a devil of a time trying to figure out how to assign a variable and increment a counter in a loop or process.  Easy enough in c, but really struggling to do this in scheme.

(define counter 0)
(define (bump-counter)  (process repeat 5 do(set! counter (+ counter 1))))
(bump-counter)

Something like that would be what I'm after.  Tried using LET, also declaring LET or SET outside the process or a loop but still within the definition, and no joy there.
Any help for the parenthetically challenged greatly appreciated.
Regards,Jim Hearon       _______________________________________________
Cmdist mailing list
Cmdist-l0SEpsmuUtBegcJQxxnBRDe48wsgrGvP&amp;lt; at &amp;gt;public.gmane.org
http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist
&lt;/pre&gt;</description>
    <dc:creator>James Hearon</dc:creator>
    <dc:date>2013-04-25T20:03:27</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.ccrma.general/4051">
    <title>Snd 13.6</title>
    <link>http://permalink.gmane.org/gmane.lisp.ccrma.general/4051</link>
    <description>&lt;pre&gt;Snd 13.6

added environment-ref|set!
      char-position and string-position (moved from Snd to s7)
      make-formant-bank and formant-bank? (and changed formant-bank again)
      comb-bank, all-pass-bank, and filtered-comb-bank generators
      one-pole-all-pass generator moved to C
      envelope-interp, rxyk!cos, and rxyk!sin moved to C
      yet another version of oscil-bank

removed mus-file-prescaler and mus-prescaler  -- these no longer serve any purpose.

checked: gtk 3.7.14, 3.8.0|1, sbcl 1.1.6.

Thanks!: Michael Edwards, Mike Scholz
&lt;/pre&gt;</description>
    <dc:creator>Bill Schottstaedt</dc:creator>
    <dc:date>2013-04-22T15:28:39</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.ccrma.general/4050">
    <title>Re: Grace,s7, system</title>
    <link>http://permalink.gmane.org/gmane.lisp.ccrma.general/4050</link>
    <description>&lt;pre&gt;system returns an integer that in C can be decoded with the
macros in sys/waits.h, or something like that.  I think 65280
= #xff00 so that means the child process exited normally.
Just a quick guess after looking at /usr/include/bits/waitstatus.h.
Not sure this is helpful.
&lt;/pre&gt;</description>
    <dc:creator>Bill Schottstaedt</dc:creator>
    <dc:date>2013-04-05T18:41:18</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.ccrma.general/4049">
    <title>Grace,s7, system</title>
    <link>http://permalink.gmane.org/gmane.lisp.ccrma.general/4049</link>
    <description>&lt;pre&gt;Hi,
I'm wondering what "65280" means.

I'm trying to use the s7 "system" call from Grace,
ex.

(system "/home/Grace/test.sh")

It works fine on some things, such as if .sh contains:

#! /bin/sh
cd /opt/snd-13.5
./snd 808loop.wav

and returns 0, but on other items I just get "65280" returned in Grace.  I've checked file permissons, ownership, execution of .sh file etc.  Seems to have something to do with whether the program uses graphics or opens in a terminal.    The troublesome programs fire just fine if I directly run the .sh file from command line outside of Grace/s7.
       _______________________________________________
Cmdist mailing list
Cmdist-l0SEpsmuUtBegcJQxxnBRDe48wsgrGvP&amp;lt; at &amp;gt;public.gmane.org
http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist
&lt;/pre&gt;</description>
    <dc:creator>James Hearon</dc:creator>
    <dc:date>2013-04-05T16:30:24</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.ccrma.general/4048">
    <title>Grace, cs:event</title>
    <link>http://permalink.gmane.org/gmane.lisp.ccrma.general/4048</link>
    <description>&lt;pre&gt;cs:event (list)
  
    
  
  → void




Sends an event list to Csound. The first element in the list must be the event's type, either i or f. Similar to "cs:i" and "cs:f" in all other respects. 


Hi,I hope I'm on the right list for this query. I have below using scheme, and so far so good...
(cs:i 1 0 1 440 1000)
(cs:f 1 0 1024 10 1)
but stuck here..(cs:event (list (cs:i 1 1 1 880 1000)))
I haven't been able to discover what the interpreter needs to stop bonking at me, although it does seem to write it to the console when using Audio&amp;gt;Csound&amp;gt;Export Score in spite of the error shown.
... Error: #&amp;lt;unspecified&amp;gt; is not a Csound statement type

If some kind soul has an example, I would appreciate seeing how it's done.

Regards,



       _______________________________________________
Cmdist mailing list
Cmdist-l0SEpsmuUtBegcJQxxnBRDe48wsgrGvP&amp;lt; at &amp;gt;public.gmane.org
http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist
&lt;/pre&gt;</description>
    <dc:creator>James Hearon</dc:creator>
    <dc:date>2013-03-31T05:16:32</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.ccrma.general/4047">
    <title>Re: samples to speaker?</title>
    <link>http://permalink.gmane.org/gmane.lisp.ccrma.general/4047</link>
    <description>&lt;pre&gt;
If you send me the code, I might be able to see why it was glitchy.
&lt;/pre&gt;</description>
    <dc:creator>Bill Schottstaedt</dc:creator>
    <dc:date>2013-03-20T23:40:35</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.lisp.ccrma.general">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.lisp.ccrma.general</link>
  </textinput>
</rdf:RDF>
