[CM] stuck on cm in emacs, w/ xp

2006-09-20 Thread James Hearon
Hi, Newbie trying to start cm in emacs under xp. Unsure about .el or .emacs file, and where it belongs. I'm using: Win XP, w/command-prompt lisp is clisp in lispbox-0.7 which includes emacs-21.3 slime-2005-12-27 Clisp-2.37 Have CM 2.9.1 and working cm.bat in CM run Lispbox.bat in

[CM] snd

2013-03-15 Thread James Hearon
Hi,I'm new to this...or rather returning after a long hiatus and trying it out again. I have clm-4, snd-13.4, sndlib, and s7 on fedora18. When I type snd my.wav all I get is snd I must need something else to see those lovely graphics shown in the manual? Regards,Jim

[CM] Grace,s7, system

2013-04-05 Thread James Hearon
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.

[CM] scheme, s7

2013-04-25 Thread James Hearon
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)

[CM] s7, simple listener

2013-05-15 Thread James Hearon
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

[CM] build clm-4

2013-05-21 Thread James Hearon
Hi, I'm trying to build clm-4 for lisp on fedora18, and not sure everything compiled. After compilation I tried: (compile-file v.ins) (load v) (with-sound () (fm-violin 0 1 440 .1)) But get: The function COMMON-LISP-USER::FM-VIOLIN is undefined. I'm wondering if I have it right and everything

[CM] build clm-4

2013-05-23 Thread James Hearon
The compilation looks ok. Id check if things happen in the right packages. Try evaluating: (package-name (symbol-package 'fm-violin)) and see if its the same as the package youre working in: (package-name *package*) -anders ---Hi, I getCOMMON-LISP-USER by evaluating the above

[CM] emacs, slime, clm

2013-07-01 Thread James Hearon
To: cmdist@ccrma.Stanford.EDU Message-ID: 871u7lglbj@notam02.no Content-Type: text/plain J == James Hearon writes: J (compile-file v.ins) works in slime-repl sbcl, and I get a v.fasl etc. J but J (load v) bumps me out to the debugger, and this is where I'm J

[CM] f19, slime

2013-07-10 Thread James Hearon
Hi,I'm trying a new install of f19, with Xcfe. Not having any luck getting emacs to compile slime. Wondering if anyone else is having a similar problem, and if you've found the solution? M - x slime [no match] in .emacs, I have: ;;slime(setq inferior-lisp-program /usr/bin/sbcl)(add-to-list

[CM] Grace, Alpha3

2013-07-14 Thread James Hearon
Hi, I'm trying to build it on f19, with ld stuck on finding libsndlib.a. It did build it in cm/sndlib as part of the process. Wondering if I need to add the path to it somewhere? config.status: creating unix-config.h === Making Sndlib g++ -c -DHAVE_CONFIG_H -I. -g -O2 -fPIC

[CM] cm-clm

2013-07-25 Thread James Hearon
Hi,I'm trying to find out about a cm-clm.lisp file, or similar which was mentioned in the clm manual. I had the impression then, that cm features could then be loaded and available from clm, emacs, lisp, slime etc. I don't see it around anyplace in the clm-4 build, so perhaps that's no longer

[CM] grace, clm, s7, s-rate

2013-08-03 Thread James Hearon
Hi, Having some difficulty setting sample rate for clm insts in Grace. Tried Menu/Audio/CLM Output Settings also Audio Settings. I'm using (load myinst.scm), then defining a process including (send myinst ...), and finally (sprout (myprocess) :srate 48000), but it just defaults to 44100.

[CM] Grace, clm, s7, srate

2013-08-03 Thread James Hearon
Hi, Using (set! *clm-srate* 48000), shows 48000 in the Grace console but when I sprout, the console shows Srate: 44100.0 and resulting .wav file has a 44.1KHz, 16bit header. Seems like :channels is working fine, however from sprout. As written earlier, (with-sound (:srate 48000), etc. works fine

[CM] Grace beta3

2013-08-06 Thread James Hearon
Hi, re: src: http://camil.music.illinois.edu/software/grace/cm-3.9.0-beta3.zip Tried premake4.4 on f19, and still get the build error. Building s7 (debug) Running pre-build commands res/bin/sndlib.sh === Configuring Sndlib premake4 --with-g++ /opt/cm/sndlib/premake4.lua:95:

[CM] Grace, Beta3

2013-08-07 Thread James Hearon
Hi, re: Grace, Beata3 Got round the premake4.4-beta4 issue premake4 --version premake4 (Premake Build Script Generator) 4.4-beta4 but still having trouble building it on f19 error: Linking sndlib ar -rcs lib/libsndlib.a obj/Debug/headers.o obj/Debug/audio.o obj/Debug/io.o obj/Debug/sound.o

[CM] Grace Beta4, with oscpack

2013-08-14 Thread James Hearon
Hi, Seemed to do o.k. with premake4 --with-oscpack but gets stuck on building debug vers of libsndlib on f19. Regards, Jim s7.c cc -MMD -MP -DWITH_AUDIO -DHAVE_SCHEME -DHAVE_PREMAKE -DHAVE_ALSA -DSIZEOF_VOID_P=4 -DHAVE_CONFIG_H=1 -DDEBUG -I. -g -o obj/Debug/s7.o -MF obj/Debug/s7.d -c s7.c

[CM] Grace, s7 linking on fedora

2013-08-15 Thread James Hearon
re: Grace, Beta4 on f19 s7.c cc -ldl -lpthread -MMD -MP -DHAVE_SCHEME=1 -Isrc -Isndlib -MMD -MP -DWITH_AUDIO -DHAVE_SCHEME -DHAVE_PREMAKE -DHAVE_ALSA -DSIZEOF_VOID_P=4 -DHAVE_CONFIG_H=1 -DDEBUG -I. -g -o obj/Debug/s7.o -MF obj/Debug/s7.d -c s7.c Linking sndlib ar -rcs lib/libsndlib.a

[CM] beta4 with oscpack

2013-08-17 Thread James Hearon
Hi, Nothing fancy, but am able to send/receive w/Grace beta4 OSCpack and pdextended ccrma build on f19. For pd used import mrpeach, packOSC and unpackOSC objs. This was just on the same machine using localhost, but will try later across IPs. Regards, Jim

[CM] Grace, Beta4, file open

2013-08-19 Thread James Hearon
Hi,I'm seeing a small issue with file open, or ctrl + O. After starting Grace, Beta4the file open command only gives a new, blank editor window, not the target file,such as an .scm file. But if I manage to open an .scm file, for ex., by opening say an .scm from the Help/Examples menu,then the

[CM] emacs, slime, sbcl, clm

2013-09-06 Thread James Hearon
Hi, I'm getting myself confused about how to evaluate a clm .lisp file in emacs. I tried evaluating the inst below but get a lisp error: (void-function with-sound). (definstrument examp1 (start-time duration frequency amplitude) (let* ((beg (floor (* start-time *srate*))) (end (+ beg

[CM] emacs, slime fancy commands, clm

2013-10-07 Thread James Hearon
in CLM for designing an instrument in the emacs editor? Regards, Jim 1. emacs, slime, sbcl, clm (James Hearon) 2. Re: emacs, slime, sbcl, clm (Bill Schottstaedt) -- Message: 1 Date: Fri, 6 Sep 2013 18:08:25 +

[CM] reverb, clm

2013-11-13 Thread James Hearon
Hi, I'm getting myself all confused about how to do reverb in clm, with emacs, slime. I tried to compile and load nrev.ins, then compile and load my simple-pvoc.ins for example, and guess I was dreaming there would be some fancy reverb channel mixing or convolution reverb taking place behind

[CM] clm, slime, reverb

2013-11-20 Thread James Hearon
Hi, For explanation or reverb. Thank you for that info. I'm still trying to understand what it means by example. I don't think I quite have it yet. My try below just seems to be increasing gain but not creating reverb. I also looked at locsig explanation in the clm manual, but that's a bit

[CM] clm, evelope with reverb

2013-12-11 Thread James Hearon
Hi, I'm getting better at using reverb but wrestling with trying to include amplitude envelopes in the instrument now. The reverb (locsig) is working for me, if I just use amplitude instead of the amplitude envelope on the output stream, but if I try to employ the amplitude envelope I loose

[CM] Scheme S7 convert float to string

2014-01-02 Thread James Hearon
Hi, I'm a bit stuck on finding info for scheme s7 format conversion from float to string for output to file. I've tried several things, mostly looking at lisp code, but cannot seem to come up with what it wants. Any help or hints would be appreciated. Thank you. (define ouf1

[CM] S7, float to string conversion

2014-01-03 Thread James Hearon
Hi, Yes. all of those will work to convert float to string for output to file. There is probably a better way of writing CM pattern float output to a file as strings than my example, but at least this gets me going again. Regards, Jim (number-string 123) (object-string 123.45) (format #f

[CM] Grace, beta 5, sndlib

2014-01-04 Thread James Hearon
Building s7 (debug) Running pre-build commands res/bin/sndlib.sh Linking s7 /usr/bin/ld: sndlib/lib/libsndlib.a(s7.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5' /usr/bin/ld: note: 'dlclose@@GLIBC_2.2.5' is defined in DSO /lib64/libdl.so.2 so try adding it to the linker

[CM] Grace, beta 5, sndlib

2014-01-05 Thread James Hearon
On Jan 2, 2014, at 9:33 PM, Joel Matthys jwmatt...@yahoo.com wrote: Thanks for the update! One bugfix: I had to add -ldl to LIBS in s7.make. Joel so you might try what Joel did and see if that builds s7. Hi, Yes, that seems to work. My changes to get it to build on f20 were:

[CM] snd

2014-01-30 Thread James Hearon
re: snd 14.3, fedora20, Motif Hi, I was trying to figure out how to play from the cursor (red triangle) with a tracking cursor. Mine seems to always start from the beginning of the file when I do ctrl-play. Also how would you go about normalizing in snd? is that what the - 1.0 selection

[CM] cm 3.9 kde desktop

2014-03-11 Thread James Hearon
Hi, I got a fedora build of cm 3.9, but am having a KDE issue since the fedora20 upgrade. Error: load file /home/fedora2/Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QDBusObjectPath) Object::connect: No such signal

[CM] slime printing

2014-04-23 Thread James Hearon
re: clm emacs-slime ...might be a bit OT I was hoping to get some advice on printing from emacs-slime. I'm trying to print output to a visible area of the emacs editor when the code is compiled and runs, such as in with-sound below. I'm using f20, sbcl, emacs-slime, and clm but having a

[CM] green, butter clm

2014-06-06 Thread James Hearon
Hi, For CL/CLM manual under other generators, I'm trying to understand the implications of green.cl and butterworth.cl. green.cl defines several special purpose noise generators. butterworth.cl has several Butterworth filters. (See analog-filter.scm in the Snd package for functions to design

[CM] cl/clm mutliple combs

2014-06-24 Thread James Hearon
Hi, I'm stuck on a bit of info from snd/clm manual re: summing combs. I was able to do it in snd/clm using comb-bank, but I'm stuck on cl/clm approach where you need to loop thru and sum the combs. Hoping I can get some help with my code, below. I may have made a mess of it, but can't seem to

[CM] type double-float

2014-07-10 Thread James Hearon
Hi, I'm trying to figure out how to solve a double-float undefined error for the mapcar statement in Fernando's moog.lisp instrument in sbcl, emacs, slime, clm. Should I try to define the double-float type in moog.lisp or is it something I need to be doing from sbcl, or clm? (defparameter

[CM] defvar global list

2014-12-26 Thread James Hearon
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.

[CM] gtk mapped without transient parent

2015-03-22 Thread James Hearon
Hi, On f21 I'm getting an error thru the Grace editor.Wondering if anyone else has this problem and might know the problem? I did grep a bit and GTK part seems throughout Sndlib in CM, but I can't be sure that's the issue. Save File: GtkDialog mapped without a transient parent...File not

[CM] analog-filter.scm

2015-02-28 Thread James Hearon
Date: Sat, 28 Feb 2015 11:51:43 -0800 From: Bill Schottstaedt b...@ccrma.stanford.edu Subject: Re: [CM] analog-filter.scm To: James Hearon j_hea...@hotmail.com, cmdist@ccrma.Stanford.EDU cmdist@ccrma.Stanford.EDU Message-ID: 20150228195009.m14...@ccrma.stanford.edu Content-Type

[CM] analog-filter.scm

2015-02-27 Thread James Hearon
Hi, Using Snd and getting unbound variable error on analog-filter.scm for line 309 gsl-roots. I configured Snd --with-gsl, and have gsl and gsl-devel on my machine. I also compiled a simple exampl.c in gsl using bessel functions and it compiles and runs o.k. I'm wondering what might be going

[CM] Scheme, Outa, and reverb

2015-04-28 Thread James Hearon
Hi, I'm getting myself confused about the following info below from the manual about outa and *reverb*. If I'm understanding correctly then, *reverb* is not a reverberator and you still have to supply one, such as jc-rev, which I think I did below using with-sound. But I'm stuck trying to

[CM] Scheme, outa and reverb

2015-04-29 Thread James Hearon
James Hearon

[CM] s7, cm_patterns

2015-07-02 Thread James Hearon
Hi, I'm finding myself s7 challenged, trying to do an example using CM_patterns.scm in Snd using the listener. Seems that Snd doesn't have process, sprout etc. which Grace allows for working with patterns, so trying to figure out how to set up a control loop in with-sound in Snd using the

[CM] dlocsig example

2015-12-15 Thread James Hearon
s Topics: 1. dlocsig example (James Hearon) 2. Re: dlocsig example (b...@ccrma.stanford.edu) -- Message: 1 Date: Mon, 14 Dec 2015 18:03:02 + From: James Hearon <j_hea...@hotmail.com> To: "cmdist@ccrma.Stanfo

[CM] dlocsig

2015-12-21 Thread James Hearon
Hi, Thanks for info on dlocsig.lisp. I managed to get the move-sound.ins working, and also the sinewave example. I just did not understand dlocsig.lisp needed to be compiled and loaded before using it. I thought it was loaded with all.lisp. Regards, Jim

[CM] Snd inf-snd.el

2016-03-11 Thread James Hearon
Hi, I finally got Snd working as an emacs subjob with help from Micahel Scholz. Some of it had to do with the way the .emacs file was being called, which meant the load-path variable was not being completed properly. It's neat to be able to load a .scm script, edit it, and hear and see the

[CM] inf-snd.el

2016-03-02 Thread James Hearon
Message: 2 Date: Tue, 01 Mar 2016 10:36:06 -0800 From: b...@ccrma.stanford.edu To: James Hearon <j_hea...@hotmail.com> Cc: "cmdist@ccrma.Stanford.EDU" <cmdist@ccrma.Stanford.EDU> Subject: Re: [CM] snd inf-snd.el Message-ID: <caf316ebccc321a198852dfd2cb3d...@ccrma.stanfor

[CM] snd inf-snd.el

2016-03-01 Thread James Hearon
Hi, I trying to get inf-snd.el going for more REPL with .scm files. I'm just trying to load , edit, and evaluate a .scm file, and couldn't seem to figure out how to do that using the snd listener. I have clm working with fedora, quicklisp, emacs, and slime, but not sure how to get inf-snd.el

[CM] s7 and c

2016-05-19 Thread James Hearon
re: gcc -o repel_test repel_test.c s7.o -Wl, -export-dynamic -lm -I. -ldl I think your problem is that you have a space after -Wl, -- it'a all one argument: -Wl,-export-dynamic --- Yes. Great. Thank you. I was stumped, but am now off and compiling. Regards, Jim

[CM] s7 with c

2016-05-18 Thread James Hearon
Hi, I'm stuck on figuring out compiling a simple s7 repel test in c. I'm on fedora 23. I've tried a few different things but not sure what /usr/bin/ld error is trying to tell me. gcc error: /usr/bin/ld: cannot find : No such file or directory //gcc -o repel_test repel_test.c s7.o -Wl,

[CM] scheme move-locsig

2016-05-05 Thread James Hearon
Hi, I couldn't come up with the magic to get a pan-env working across a heap of notes with move-locsig. But I made a solution below by just passing degree only to the inst and controlling degree over the total duration of the heap from with-sound. Not elegant, but it pans across the whole

[CM] Scheme, larger structures

2016-07-22 Thread James Hearon
Hi, I had written about a scheme method to do something similar to CLM's with-mix for larger compositional structures using multiple instruments and Bill had replied... "If you want to concatenate several with-sounds into one, just concatenate the instrument calls, with some variable holding

[CM] scheme, larger structures

2016-08-11 Thread James Hearon
Hi, I had written about a scheme method to do something similar to CLM's with-mix for larger compositional structures using multiple instruments and Bill had replied... "If you want to concatenate several with-sounds into one, just concatenate the instrument calls, with some variable holding

[CM] starting cm2

2017-01-26 Thread James Hearon
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

[CM] s7 wrap c func with scheme

2017-02-24 Thread James Hearon
Hi, I had a question about wrapping a c func with scheme, s7. I'm trying to understand how to wrap the declared function from the .h file with scheme in a .scm file (mywrapper.scm) so that it can be called from s7 and use the shared library. > (load mywrapper.scm) > (myfunction) > (exit) I

Re: [CM] s7, undefined reference errors

2016-09-20 Thread James Hearon
Hi, snd configure... ./configure --with-s7 --with-gsl --with-motif --with-gl --with-gmp --with-alsa CFLAGS=HAVE_COMPLEX_NUMBERS CFLAGS=HAVE_COMPLEX_TRIG CFLAGS="-I/usr/include/linux/param.h" Oops, I guess I did compile with gimp. I'm not sure why I did that. Must have been something I

[CM] s7, undefined reference errors

2016-09-19 Thread James Hearon
Hi, I was trying to get back to looking at s7 as interpreter but I'm failing to compile for some reason. I have s7.o, s7.h, and snd is working ok. But I'm getting undefined ref errors trying to compile below and a little stumped what might be going wrong? Seems like it's not finding

[CM] scheme, larger structures

2016-08-22 Thread James Hearon
anders wrote... You can take the body of each of your two with-sound calls and place within one single with-sound: (let ((var '()) (aaa (make-heap '(360 800.345 1200 600))) ;freq (bbb (make-cycle '(1 1 .75 .25 .20 .15 .10 .10 .10 .10))) ;dur (ccc (make-heap

[CM] numerics.scm

2016-12-01 Thread James Hearon
Hi, For numerics.scm, these seem useful. Most of them I can evaluate, but the four polynomials (xxx) I cannot seem to figure what it wants. Wondering if anyone might have success or ideas about those guys? Thank You, Jim (load "snd-16/numerics.scm") (factorial 6) -> 720 (binomial 4 2)

[CM] numerics

2016-12-05 Thread James Hearon
Hi, Strange about delayed email. Thank you for info on snd-test.scm re: legendre-polynomial. I see now, first argument is a vector, so all is working now in numerics.scm Regards, Jim ___ Cmdist mailing list Cmdist@ccrma.stanford.edu

[CM] s7 wrap c function with scheme

2017-03-01 Thread James Hearon
Hi, The wrapper example below works great. Seems like -DWITH_MAIN, and -DUSE_SND=0 adds some special help. Thanks so much for that info. I'm moving on also to look at cload.scm now, but confused about the s7 manual example compile lines which shows an "ex1.c". I wasn't clear about what is

[CM] sndplay, snd 17.6

2017-07-11 Thread James Hearon
Hi, I haven't been able to 'make' sndplay for a little while. Seems it's looking for sndlib or CLM headers. Wondering if it's something I'm doing different? Regards, Jim io.o: In function `mus_read_any_1': io.c:(.text+0xfde): undefined reference to `mus_copy_floats' io.c:(.text+0xffb):

[CM] make-pvocoder

2017-05-25 Thread James Hearon
Hi, I'm working thru snd make-pvocoder, clm make-phase-vocoder trying to find more info on the analyze, edit, and synthesize methods, such as the one below the manual which shows a lambda func for the synthesis or resynthesis method. Most of what I've been able to find is based on a gen from

[CM] generators

2017-12-11 Thread James Hearon
Hi, I've been using the generators in generators.scm for a while, and enjoy making sound with them, but for the life of me I cannot seem to understand how they work. I'm confused about the lambda part and the use of fm. What is fm doing? I'd be grateful if someone could explain that. Such

[CM] set! samples

2018-06-19 Thread James Hearon
Hi, I get a crash that I cannot seem to understand with the following code. In the do loop when I set the test to (= i 40400) I get a squarish-wave in the editor; but when I set it to 40500 or above I get an endless loop and a crash. I was trying to create a 2 sec. test.snd, then write the

[CM] set! samples

2018-06-20 Thread James Hearon
cmdist-ow...@ccrma.stanford.edu When replying, please edit your Subject line so it is more specific than "Re: Contents of Cmdist digest..." Today's Topics: 1. set! samples (James Hearon) 2. Re: set! samples (b...@ccrma.stanford.edu) ---

[CM] txt file I/O

2018-04-26 Thread James Hearon
Hi, I'm having trouble trying to figure out how to write samples as txt to a file. I have it working to the console, in emacs, but I can't seem to find the magic to save it to a file. Hoping I could get some help. Most of my efforts only result in saving .snd file to disk. I'm trying to

[CM] patterns snd-18

2018-01-17 Thread James Hearon
Hi, Congratulations on Snd vers. 18. I'm getting a load error on CM_patterns.scm, from emacs. (load "/opt/snd-18/CM_patterns.scm") >load: can't open "r7rs.scm" "/opt/snd-18/CM_patterns.scm"[11]: (require r7rs.scm) I've grepped around trying to see if I still have a snd-17 label stuck

[CM] map-channel with dsp

2018-02-09 Thread James Hearon
Hi, I'm really stuck on trying to use map-channel to replace a newly created snd file with a dsp modified version of it. I've been looking at snd-test.scm for examples but still don't have it right yet and not sure how to craft the let/map-channel/lambda to make it work. All I get is a flat

[CM] env->channel, and float-vector->channel

2018-09-07 Thread James Hearon
f Cmdist digest..." Today's Topics: 1. env->channel, and float-vector->channel (James Hearon) 2. Re: env->channel, and float-vector->channel (b...@ccrma.stanford.edu) -- Message: 1 Date: Thu, 6 Sep

[CM] env->channel, and float-vector->channel

2018-09-06 Thread James Hearon
Hi, I'm having some confusion about successive edits using env->channel vs. float-vector->channel. For example if I loop employing env-channel and a vector as an envelope, then I see the successive edits every 1k samples; but when I try to do that using float-vector->channel the spacing is

[CM] Snd Edit envelope

2018-12-27 Thread James Hearon
Hi, I haven't been able to view the waveform in Edit envelope for a while, and seems like I used to be able to see the waveform selection in the edit window. I can see the breakpoint handles, and those are applied to the sound okay, but I'm just guessing a bit as to where the breakpoints

Re: [CM] Cmdist Digest, Vol 133, Issue 2

2019-06-10 Thread James Hearon
lar-scanned.ins (b...@ccrma.stanford.edu) 2. Re: circular-scanned.ins (Juan I Reyes) -- Message: 1 Date: Fri, 07 Jun 2019 12:10:33 -0700 From: b...@ccrma.stanford.edu To: James Hearon Cc: "cmdist@ccrma.Stanford.

[CM] cm grace 3.10.3

2020-02-21 Thread James Hearon
Hi, I'm wondering about compiling cm, grace on fedora31. I'm having trouble getting thru the juce modules. make[1]: *** [Grace.make:209: obj/Grace/Debug/juce_audio_processors.o] Error 1 I've tried using 3.10.3 srcs for deprecated juce calls, but still not able to get thru the compile. Thank

Re: [CM] Cmdist Digest, Vol 141, Issue 2

2020-02-23 Thread James Hearon
...@ccrma.stanford.edu You can reach the person managing the list at cmdist-ow...@ccrma.stanford.edu When replying, please edit your Subject line so it is more specific than "Re: Contents of Cmdist digest..." Today's Topics: 1. cm grace 3.10.3 (Ja

[CM] snd 20.0

2020-01-08 Thread James Hearon
Hi, I'm getting a new error on CM_patterns.scm I haven't seen before. I upgraded to f31, snd20.0 recently. I could have missed something in all that and will double ck. >define-record-type: unbound variable "/opt/snd-20/CM_patterns.scm"[189]: (define-record-type)

[CM] mix-home, etc.

2020-09-11 Thread James Hearon
Hi, I'm getting hung up in mixes. Trying something like the manual example, below, but getting back an error that the argument is a pair, not a mix (object). Wondering we're I might be going wrong? Thank you, Jim - mix-home mix mix-home returns a list containing the

[CM] O.T. compositions

2020-08-31 Thread James Hearon
Hi, I'm wondering if there are any Schottstaedt compositions available someplace on the net for listening? Regards, Jim ___ Cmdist mailing list Cmdist@ccrma.stanford.edu https://cm-mail.stanford.edu/mailman/listinfo/cmdist

[CM] unbound variable with CM_Patterns.scm

2020-06-19 Thread James Hearon
Hi, I'm still having trouble with f32, and snd 20.4, s7 9.1, sndlib 24.7 open snd $ ./snd choose Show Listener >(load "/opt/snd-20/CM_patterns.scm") ;unquote: no argument, 'unquote ; (list-values 'begin (list-values... >(define aaa (make-cycle (list 1 2 3))) ;unbound variable make-cycle ;

[CM] snd 20.4, f32 segfault

2020-06-10 Thread James Hearon
Hi, I'm having a strange problem after upgrading to f32 from f31. I needed to rebuild snd because of a libgsl issue. ./snd: error while loading shared libraries: libgsl.so.23: cannot open shared object file: No such file or directory Trying to rebuild with fresh srcs. ./configure --with-s7

Re: [CM] Cmdist Digest, Vol 145, Issue 5

2020-06-11 Thread James Hearon
ERNEL, si_addr=NULL} --- +++ killed by SIGSEGV (core dumped) +++ Segmentation fault (core dumped) - snd_prefs_s7 ; Snd 17.0 (6-Dec-16) options saved Sat 17-Dec-2016 09:36 HST (set! (default-output-chans) 2) (set! (default-output-srate) 48000) (set! (default-output-hea

[CM] snd21.4

2021-06-07 Thread James Hearon
Hi, I'm having trouble identifying which package is the notcurses-core for f34. Which one was that? I seem to only come up with the bigger one. Thank you, Jim Snd 21.4: nrepl: notcurses 2.1.6 or later is required now (notcurses got split into 2 libraries, notcurses-core and

[CM] make-pulsed-env

2021-06-23 Thread James Hearon
Hi, I was trying to figure out how to use an env on the freq parameter of make-pulsed-env (make-pulsed-env envelope duration frequency) but it wants a real, not a pair. I thought I'd look-see the code for make-pulsed-env, but I can't seem to locate it. Wondering if there's a way to go about

Re: [CM] Cmdist Digest, Vol 157, Issue 4

2021-06-24 Thread James Hearon
hen replying, please edit your Subject line so it is more specific than "Re: Contents of Cmdist digest..." Today's Topics: 1. make-pulsed-env (James Hearon) 2. Re: make-pulsed-env (b...@ccrma.stanford.edu) -- Message

[CM] repeating envs

2021-05-11 Thread James Hearon
Hi, The lambda function, from the manual, for repeating an env seems like a useful thing, but I cannot seem to find the magic to make it repeat. I'm wondering how you would use it for the polyshape gen fm parameter? Or is that not how it's supposed to work? Regards, Jim (define (strum e)

Re: [CM] Cmdist Digest, Vol 156, Issue 4

2021-05-12 Thread James Hearon
ot;Re: Contents of Cmdist digest..." Today's Topics: 1. repeating envs (James Hearon) 2. Re: repeating envs (b...@ccrma.stanford.edu) -- Message: 1 Date: Tue, 11 May 2021 17:46:52 +0000 From: James Hearon T

[CM] loading libc_s7.so

2021-07-04 Thread James Hearon
Hi, I don't receive an error message. I just run > ./snd then the cursor just hangs on loading libc_s7.so and doesn't progress to <1> I tried different configurations for building: These work okay and load libc_s7.so: $ ./configure --with-s7 --without-audio --without-gui $ ./configure --with-s7

[CM] loading libc_s7.c

2021-07-07 Thread James Hearon
Hi, Thank you for the information. The ./snd -noinit option seems to work best, so far for command-line approach. My normal approach is to use snd thru emacs and I've not had the libc_s7 loading problem there. So no worries, I can be patient until this gets sorted out. Regards, Jim

[CM] loading libc_s7.so

2021-07-03 Thread James Hearon
Hi, I've been having a problem for a few builds with a non-gui build failing to load libc_s7.so. When I run ./snd it writes libc_s7.so, but sticks on loading libc_s7.so. Seems to work okay for gui build, --with-s7, --with-motif. I don't do any make install. Just make, then ./snd. >ls -ld

[CM] make-polyshape

2021-02-07 Thread James Hearon
Hi, re: make-polyshape Very cool. At least three ways to get the coeffs parameter working. I don't why I couldn't figure that out earlier. Thanks JIm (with-sound () (let ((gen (make-polyshape 400.0 :coeffs (float-vector -1.0 -5.0 18.0 8.0 -48.0 0.0 32.0)))) (do ((i 0 (+ i 1)))

[CM] configure

2021-03-20 Thread James Hearon
Hi, Thanks for Snd21.2. For configure I've included: CFLAGS="-I/usr/include/linux/param.h" But I don't see param.h in configure or Readme.snd any longer. Is it still needed/useful? Just seems to define HZ based on system clock, I think. Regards, Jim

[CM] dynamic variables

2021-03-02 Thread James Hearon
Hi, I have been bashing on a problem trying to figure out the best way to create and use dynamic variables in scheme, such as reg0, reg1, reg2, etc. and stumbling a bit. Wondering if there's a somewhat standard approach to doing that? For ex. if I create a variable, say inside a do-loop, and

Re: [CM] Cmdist Digest, Vol 154, Issue 3

2021-03-05 Thread James Hearon
est..." Today's Topics: 1. Re: dynamic variables (b...@ccrma.stanford.edu) -- Message: 1 Date: Tue, 02 Mar 2021 12:10:45 -0800 From: b...@ccrma.stanford.edu To: James Hearon Cc: "cmdist@ccrma.Stanford.EDU&quo

[CM] polyshape

2021-02-05 Thread James Hearon
Hi, I'm getting confused on make-polyshape and partials->polynomial. re: sndclm manual partials->polynomial takes a list or float-vector of partial numbers and amplitudes and returns the Chebyshev polynomial coefficients that produce that spectrum. These coefficients can be passed to

[CM] make-polyshape

2021-02-06 Thread James Hearon
Hi, I think I figured that out by locating an ex. in test.scm. (partials->polynomial '(1 1 3 2 6 1)) ;(-1.0 -5.0 18.0 8.0 -48.0 0.0 32.0) instead of using the resulting eval of (partials->polynomial) as input to coeffs: (set! gen1 (make-polyshape 440.0 :coeffs '(-1.0 -5.0 18.0 8.0 -48.0 0.0

[CM] OT a few pieces

2021-09-08 Thread James Hearon
Hi, I have so enjoyed working with Snd to create instruments, and sounds. I've found it very flexible and useful. Also have enjoyed utilizing R. Taube's patterns too. Posting a link to some older pieces I did using snd as an ex. of creative work using Snd. I believe these were from 2019.

Re: [CM] Cmdist Digest, Vol 161, Issue 2

2021-10-03 Thread James Hearon
anford.edu) -- Message: 1 Date: Fri, 01 Oct 2021 13:01:13 -0700 From: b...@ccrma.stanford.edu To: James Hearon Cc: "cmdist@ccrma.Stanford.EDU" Subject: Re: [CM] polyoid-partial-amps-and-phases gen Message-ID: Content-Type: text/plain; charset=US-ASCII; format=flowed Thank

[CM] polyoid-partial-amps-and-phases gen

2021-10-01 Thread James Hearon
Hi, I was looking at "other generators" in generators.scm, and became confused a bit by the example: (with-sound (:clipped #f :channels 2) (let* ((samps 44100) (n 10) (gen (make-noid 1.0 n 'min-peak)) (gen2 (make-oscil n ((polyoid-partial-amps-and-phases gen) (- (length

[CM] mus-chebyshev-u-sum

2021-11-18 Thread James Hearon
re: mus-chebyshev-u-sum takes a list of partial (harmonic) amplitudes: (with-sound (:srate 48000 :channels 1 :play #t) (let* ((dur 1.0) (samps (seconds->samples dur)) (coeffs (float-vector 0 1 0 1/3 0 1/5 0 1/7 0 1/9)) (incr (hz->radians 200.0))) (do ((i 0 (+ i

[CM] poly questions

2021-10-27 Thread James Hearon
"Re: Contents of Cmdist digest..." Today's Topics: 1. poly questions (James Hearon) -- Message: 1 Date: Tue, 26 Oct 2021 17:40:43 +0000 From: James Hearon To: "cmdist@ccrma.Stanford.EDU" Subject: [CM]

[CM] poly questions

2021-10-26 Thread James Hearon
Hi, Trying to get an understanding of all the interesting aspects of polywave in snd, and chebyshev polynomials, coefficients etc. I was trying to get a squarish wave from the coefficients but failing. Also tried partials->polynomial, and normalize-partials with same result. Wondering what

[CM] poly questions

2021-10-28 Thread James Hearon
Hi, I think I'm understanding better now. In order to generate and utilize the correct Chebyshev coefficients with make-polyshape, one needs to specify the kind or type using partials->polynomial to first generate the coefficients. (partials->polynomial (float-vector 1 1 3 1/3 5 1/5 7 1/7 9

  1   2   >