From bil at ccrma.Stanford.EDU Sat Jan 14 12:00:35 2017 From: bil at ccrma.Stanford.EDU (bil at ccrma.Stanford.EDU) Date: Sat, 14 Jan 2017 12:00:35 -0800 Subject: [CM] Snd 17.1 Message-ID: <13b8abe07fa937c0bff0dd1395b171ef@ccrma.stanford.edu> Snd 17.1: in s7: *rootlet-redefinition-hook* {apply_values} -> apply-values, {list} -> list-values, {append} -> append a case clause without a result returns the selector (*s7* 'autoloading) to turn the autoloader on and off sandbox in stuff.scm for protected evaluation in clm: clm.asd updated by Tito Latini. checked: gsl 2.2.1, gtk 3.89.2, sbcl 1.13.3, FreeBSD 11.0 Thanks!: Tito Latini, Kjetil Matheussen, Juan Cerillo, Mike Scholz. From k.s.matheussen at gmail.com Wed Jan 18 02:01:06 2017 From: k.s.matheussen at gmail.com (Kjetil Matheussen) Date: Wed, 18 Jan 2017 11:01:06 +0100 Subject: [CM] s7: How does the function 'copy' work? Message-ID: Hi, I need a 'sort' function, and wonder if I can implement it like this? (define (sort sequence less?) (sort! (copy sequence) less?)) I couldn't find documentation about the 'copy' function in the manual, but maybe it can be used as a copy-list function? -------------- next part -------------- An HTML attachment was scrubbed... URL: From bil at ccrma.Stanford.EDU Wed Jan 18 04:09:13 2017 From: bil at ccrma.Stanford.EDU (bil at ccrma.Stanford.EDU) Date: Wed, 18 Jan 2017 04:09:13 -0800 Subject: [CM] =?utf-8?q?s7=3A_How_does_the_function_=27copy=27_work=3F?= In-Reply-To: References: Message-ID: <41d3d2b8814fcfdebea9d4a8975e662f@ccrma.stanford.edu> yes, that should work. From k.s.matheussen at gmail.com Wed Jan 18 04:25:00 2017 From: k.s.matheussen at gmail.com (Kjetil Matheussen) Date: Wed, 18 Jan 2017 13:25:00 +0100 Subject: [CM] s7: How does the function 'copy' work? In-Reply-To: <41d3d2b8814fcfdebea9d4a8975e662f@ccrma.stanford.edu> References: <41d3d2b8814fcfdebea9d4a8975e662f@ccrma.stanford.edu> Message-ID: Thank you. Another question, does 'copy' do a deep copy or a shallow copy? On Wed, Jan 18, 2017 at 1:09 PM, wrote: > yes, that should work. > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bil at ccrma.Stanford.EDU Wed Jan 18 07:10:46 2017 From: bil at ccrma.Stanford.EDU (bil at ccrma.Stanford.EDU) Date: Wed, 18 Jan 2017 07:10:46 -0800 Subject: [CM] =?utf-8?q?s7=3A_How_does_the_function_=27copy=27_work=3F?= In-Reply-To: References: <41d3d2b8814fcfdebea9d4a8975e662f@ccrma.stanford.edu> Message-ID: It's a shallow copy. From k.s.matheussen at gmail.com Wed Jan 18 07:23:27 2017 From: k.s.matheussen at gmail.com (Kjetil Matheussen) Date: Wed, 18 Jan 2017 16:23:27 +0100 Subject: [CM] s7: How does the function 'copy' work? In-Reply-To: References: <41d3d2b8814fcfdebea9d4a8975e662f@ccrma.stanford.edu> Message-ID: Perfect. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bil at ccrma.Stanford.EDU Wed Jan 18 08:14:17 2017 From: bil at ccrma.Stanford.EDU (bil at ccrma.Stanford.EDU) Date: Wed, 18 Jan 2017 08:14:17 -0800 Subject: [CM] =?utf-8?q?s7=3A_How_does_the_function_=27copy=27_work=3F?= In-Reply-To: References: <41d3d2b8814fcfdebea9d4a8975e662f@ccrma.stanford.edu> Message-ID: <8bb277e94478f91cc10e6c61430e2783@ccrma.stanford.edu> I have added some verbiage to s7.html about copy (and reverse! since it was right there), and merged in a bugfix from Tito Latini for snd-mix.c (mixing multi-channel files). From cm at jrigg.co.uk Sun Jan 22 12:17:33 2017 From: cm at jrigg.co.uk (John Rigg) Date: Sun, 22 Jan 2017 20:17:33 +0000 Subject: [CM] Snd download link still 17.0 Message-ID: <20170122201733.GA18069@localhost.localdomain> Just noticed the download link for Snd source tarball on the CCRMA web page still points to 17.0. John From bil at ccrma.Stanford.EDU Sun Jan 22 14:01:03 2017 From: bil at ccrma.Stanford.EDU (bil at ccrma.Stanford.EDU) Date: Sun, 22 Jan 2017 14:01:03 -0800 Subject: [CM] Snd download link still 17.0 In-Reply-To: <20170122201733.GA18069@localhost.localdomain> References: <20170122201733.GA18069@localhost.localdomain> Message-ID: <1260f7b83fa56acf6f22ef6259c74604@ccrma.stanford.edu> Thanks! I just updated it to 17.1 -- could have sworn I did that earlier. From orm.finnendahl at selma.hfmdk-frankfurt.de Mon Jan 23 15:07:10 2017 From: orm.finnendahl at selma.hfmdk-frankfurt.de (Orm Finnendahl) Date: Tue, 24 Jan 2017 00:07:10 +0100 Subject: [CM] process bug in common music Message-ID: <20170123230710.GD17984@T460s-orm> Hi list, working with common music 2 it seems I stumbled across a bug in the process macro today. Trying the same with cm3 seems to indicate the bug hasn't been discovered yet (see below). I fixed it in the common lisp part of the cm2 source. It is related to wrong handling and positioning of the iteration clauses in the process macro expansion. In case you're interested contact me and I can provide information how to fix the bug (the fix should easily be adoptable to the current cm3). In case you want to see the differences I applied today, just checkout cm-incudine at github (userid: ormf). -- Orm this works: sprout (process for a in '(0 1 2) for b = a do (display (format "a: ~a, b: ~a~%" a b)))) -> a: 0, b: 0 a: 1, b: 1 a: 2, b: 2 This doesn't work as expected: (sprout (process for a in '(0 1 2) for b = a then (+ a 1) do (display (format "a: ~a, b: ~a~%" a b)))) -> a: 0, b: #f a: 1, b: 1 a: 2, b: 2 (sprout (process for a in '(0 1 2) for b = a then (+ b 1) do (display (format "a: ~a, b: ~a~%" a b)))) -> a: 0, b: #f -> Error: + argument 1, #f, is boolean but should be a number(+ b 1) ; b: #f From j_hearon at hotmail.com Thu Jan 26 08:26:28 2017 From: j_hearon at hotmail.com (James Hearon) Date: Thu, 26 Jan 2017 16:26:28 +0000 Subject: [CM] starting cm2 In-Reply-To: References: Message-ID: Hi, I'm having a devil of a time trying to start cm2 on f25, using SBCL and Quicklisp, and wondering if anyone might know where I'm going wrong. Quicklisp has the asdf libraries. CM2 top level dir shows a cm2.asd, so I'm confused what might be going wrong. >From SBCL, I get an .asd file error. > * (load "/opt/cm2/src/cm.lisp") debugger invoked on a SB-INT:SIMPLE-FILE-ERROR in thread #: Couldn't load #P"/opt/cm2/cm.asd": file does not exist. I downloaded the cm2 branch using svn, and have the following in my .sbclrc file for starting sbcl. ;;; The following lines added by ql:add-to-init-file: #-quicklisp (let ((quicklisp-init #P"/opt/quicklisp/setup.lisp")) (when (probe-file quicklisp-init) (load quicklisp-init))) (require "asdf") ;;; Load Common Music. (push "/opt/cm2/" asdf:*central-registry*) (asdf:load-system :cm2) This compiles and creates several cm2 .fasl files on startup of sbcl and puts them in the sbcl hidden .cache dir in /home. Thank you, Jim -------------- next part -------------- An HTML attachment was scrubbed... URL: