cellstorm | 30 Jan 00:44 2015

cm: compiled on linux 64, no jack?


hello, 

I tried to compile cm with jack, but its controls do not show up in audio-preferences;
ubuntu 14.04 64; 

  wget http://sourceforge.net/projects/sdif/files/sdif/SDIF-3.11.4/SDIF-3.11.4-src.zip
  unzip SDIF-3.11.4-src.zip
  mv SDIF-3.11.4-src SDIF-3.11.4
  cd SDIF-3.11.4
  ./configure --prefix=`pwd` --enable-shared=no --enable-pthreads=no
  make
  make install

sudo apt-get install
libfreetype6-dev libx11-dev libxinerama-dev libxcursor-dev mesa-common-dev libasound2-dev freeglut3-dev
 libxcomposite-dev libsamplerate0-dev fomus

premake4 --with-sdif=../SDIF-3.11.4/ --with-fomus=/usr --with-oscpack --with-jack 

make

is there no way to make release? the .make files are set to debug automatically; I changed that to release,
and tried to add jack by hand, because it was not added automatically, by
adding -DJUCE_JACK=1 at  DEFINES   
 -ljack  at  LIBS
, but no avail.

what am I doing wrong?
(Continue reading)

Bill Schottstaedt | 24 Jan 22:57 2015
Picon

Snd 15.3

Snd 15.3

s7 procedure-documentation no longer refers to an optional string that happens
  to be the first thing in a procedure body, but to the value of a variable
  named 'documentation' in the procedure's environment.

procedure-arity is deprecated, s7_procedure_arity replaced by s7_arity.
  procedure-name is deprecated. data-format removed (see snd15.scm).

format has another control directive: ~N or ~n which gets a numeric argument
  from the argument list: (format #f "~nD" 20 123)

with-sound argument order changed slightly. It is now: output channels srate.
  Ideally, other Snd functions like new-sound would follow the same argument
  order -- let me know if this change would cause you problems.

float-vector-equal? -- relative difference of two float-vectors.

make-iterator, iterate, iterator? -- replace make-hash-table-iterator and 
  hash-table-iterator? These are generic functions to traverse sequences.

if (*s7* 'safety) > 1, optimization is turned off
(*s7* 'maximum-stack-size) is now (*s7* 'max-stack-size)
(*s7* 'print-length) replaces *vector-print-length*
(*s7* 'bignum-precision) replaces *bignum-precision*
(*s7* 'stacktrace-defaults) replaces *stacktrace*

checked: sbcl 1.2.7, gtk 3.15.4
René Bastian | 9 Jan 19:08 2015

cmn: glissando bug ?

Hello Bill,

It seems there is a bug in this code:

(c5 (rq 1.0) no-stem begin-glissando (begin-slur
	(slur-direction :down))) 
(f5 (rq 3.0) no-stem end-glissando begin-glissando) 
(e5 (rq 0.5) no-stem end-glissando begin-glissando)
(b5 (rq 0.5) no-stem end-glissando begin-glissando)
(a4 (rq 0.5) no-stem end-glissando begin-glissando)
(c5 (rq 0.5) no-stem end-glissando begin-glissando)
(f5 (rq 0.5) no-stem end-glissando begin-glissando)
(e5 (rq 0.5) no-stem end-glissando begin-glissando)
(b5 (rq 0.5) no-stem end-glissando begin-glissando)  
(a4 (rq 0.5) no-stem end-slur end-glissando)
(bar)
(line-break)

the glissando-line from f5 to e5 should be descending.

What is wrong?

Thanks, 
--

-- 
René Bastian
www.pythoneon.org

_______________________________________________
Cmdist mailing list
Cmdist <at> ccrma.stanford.edu
(Continue reading)

Bill Schottstaedt | 9 Jan 17:03 2015
Picon

Fw: Re: embedding s7 in a C++ application

From: etienne cella <etienne.p.cella@...>
To: Bill Schottstaedt <bil@...>
Sent: Thu, 8 Jan 2015 17:43:50 -0500
Subject: Re: embedding s7 in a C++ application

I was looking for a simple use of s7 to get started,
and thought about using it in Pure Data.
Pd's list based messaging makes Scheme integration fairly easy,
demo: https://vimeo.com/116267279
code: https://github.com/etienne-p/Pd_Scheme

Attachment: application/octet-stream, 1599 bytes
_______________________________________________
Cmdist mailing list
Cmdist@...
http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist
James Hearon | 29 Dec 04:42 2014
Picon

defvar global list

Hi,
Thank you folks for the hints.  I think I may have it working now using setf.

(defun random-element (list)
  (nth (random (length list)) list))

(defvar mylist '(0.5  100.0  200.25  4000.0 1.0  0.33 0.1 0.2 5000.0 2.0))

(defvar *test* '(nil))  ;global list

(loop
   for i from 0 to 9  by 1
        for xx in mylist collect (random-element mylist) into atest ;collect into local list
    finally  (setf *test* atest) ;setf local list to global one
     )

(loop
   for i from 0 to 9  by 1
     for xx in *test*  ;access global list
   do
     (format t " ~A" xx)
  )
_______________________________________________
Cmdist mailing list
Cmdist@...
http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist
James Hearon | 26 Dec 20:19 2014
Picon

defvar global list

Hi,

Working in CLM with a .clm file, getting confused with lisp, and I was hoping I could get some help from lisp experts here.

I'm confused why collecting into a global list is not available from the second loop, in ex. 1.  I'm wondering if I'm not understanding something about scope.  Should the loops from ex. 1 be wrapped with something else like a "let" statement?

I can access the global list by defining a function in ex. 2, but curious where I'm going wrong in ex. 1?

ex. 1

(defvar mylist '(0.5  100.0  200.25  4000.0  1.0  0.33))

(defvar *test* '(nil))

(loop
   for i from 0 to 10  by 1
   for xx in mylist collect (random-element mylist) into *test*
   finally (return *test*))
)

(loop
   for i from 0 to 10 by 1
   for yy in *test*  ;the randomized list above does not seem available as global here
   do
     (format t " ~A" yy)
 )

------------------
ex. 2

(defvar mylist '(0.5  100.0  200.25  4000.0  1.0  0.33))

(defvar *test* '(nil))

(defun myfunc (somelist)
(loop
   for i from 0 to 10  by 1
   for xx in somelist collect (random-element somelist) into *test*
   finally (return *test*))
)

(loop
   for i from 0 to 10 by 1
     for yy in (myfunc mylist)
   do
     (format t " ~A" yy)
 )
_______________________________________________
Cmdist mailing list
Cmdist@...
http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist
Bill Schottstaedt | 18 Dec 13:18 2014
Picon

Snd 15.2

Snd 15.2

Mike Scholz fixed bugs in clm and the NetBSD audio code, and updated many of the scripts.
Anders Vinjar added lispworks code for gnuplot in dlocsig.lisp.

all the motif stuff (xm.c, snd-motif.scm etc) has moved to the *motif* environment,
  OpenGL (gl.c, snd-gl.scm) to *gl*, and gtk (xg.c, snd-gtk.scm etc) to *gtk*.

mus-copy (or copy) copies a generator.
added snd15.scm (old vct names)

checked: gtk 3.15.2|3, FC 21, sbcl 1.2.6

Thanks!: Mike Scholz, Matti Koskinen, Kjetil Matheussen, Anders Vinjar, Tito Latini
Fernando Lopez-Lezcano | 17 Dec 07:49 2014
Picon

snd & inf-snd.el: multiple lines

Hi all,

Anyone working with the aforementioned combination? (snd as an emacs 
subprocess through if-snd.el). If I evaluate single lines all is well. 
If I highlight a region and try to get it evaluated in the snd listener 
through "Send Region" I get errors. Line breaks split the region in 
multiple subregions that of course don't make sense individually to the 
scheme interpreter.

Any way around this?
Thanks,
-- Fernando
Orm Finnendahl | 13 Dec 12:08 2014

deconvolution in snd

Hi,

 before doing it myself in a probably less than optimal and
computationally inefficient way:

Has anybody implemented functions to perform deconvolution in some
straightforward way (with given two files) in snd, similar to
"convolve-files" and would be willing to share them, or does somebody
have some insights about how to use snd's internal machinery for
implementing it efficiently?

The files are fairly big (200-300 MB).

--
Orm
Matti Koskinen | 10 Dec 00:56 2014
Picon
Picon

Re: algo comp on github


On 12/10/2014 12:50 AM, Torsten Anders wrote:
> Dear Matti,
>
> Thanks for sharing, but that link seemingly does not work.
>
> Best wishes,
> Torsten
>
> --
> Dr Torsten Anders
> Course Leader, Music Technology
> University of Bedfordshire
> Park Square, Room A315
> http://www.torsten-anders.de
>
>
>
> On 9 Dec 2014, at 21:15, Matti Koskinen <mjkoskin@...> wrote:
>> Don’t know if someone is interested, but the Grace-maxanneal -code is now on github
>> https://github.com/holgfreak
>>
>> Was a good way of learning git commands :-)
>>
>> -m

sorry, a typo

https://github.com/holgafreak

-----------------------A

-m

>> _______________________________________________
>> Cmdist mailing list
>> Cmdist@...
>> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist
>
Matti Koskinen | 9 Dec 22:15 2014
Picon
Picon

algo comp on github

Don’t know if someone is interested, but the Grace-maxanneal -code is now on github

Was a good way of learning git commands :-)

-m

_______________________________________________
Cmdist mailing list
Cmdist@...
http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist

Gmane