[CM] ring-modulate

2024-06-04 Thread James Hearon
Hi, I'm getting confused over ring-modulate ex. in manual vs. ring-modulate code in new-effects.scm. Manual: ring-modulate in1 in2; returns (* in1 in2) And new-effects.scm seems to show map-channel using frequency and radians: (rm-effect rm-frequency #f)) ;(list 0 0 1 (hz->radians

[CM] select color

2024-01-12 Thread James Hearon
...@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. select color (James Hearon) 2. Re: select color (b...@ccrma.stanford.edu) --

[CM] select color

2024-01-11 Thread James Hearon
Hi, I'm still trying to trouble shoot the buggered select color in Snd. Not having much luck. I reinstalled all dep libraries, went thru prefs, and snd prefs file, downloaded and reconfigured Snd several times. I also installed another motif app, Grace (not R. Taube's Grace) and the motif

[CM] edit selection color

2023-12-29 Thread James Hearon
Hi, This is a bit odd, but I'm posting in case someone might have a suggestion. I'm on fc39, Snd 23.9, using motif, no gl. I've recompiled Snd a few times recently trying to solve a wacked color problem with the edit selection color. When I select an area to edit, the color is yellow with a red

[CM] make-sampler vs. open

2023-12-08 Thread James Hearon
ot;Re: Contents of Cmdist digest..." Today's Topics: 1. make-sampler vs. open (James Hearon) -- Message: 1 Date: Thu, 7 Dec 2023 18:12:56 +0000 From: James Hearon To: "cmdist@ccrma.Stanford.EDU" Subject: [CM] m

[CM] make-sampler vs. open

2023-12-07 Thread James Hearon
Hi, I was trying to use make-sampler, but having a problem opening (read-sample) a non-bandlimited square wav effectively. Snd's Open menu function works fine, but the make-sampler approach gives a max'd out flat line which seems like it might be an aliasing problem? I tried low-pass filtering

[CM] cons value for float vector

2023-09-08 Thread James Hearon
ics: 1. cons value for float vector (James Hearon) -- Message: 1 Date: Thu, 7 Sep 2023 17:47:11 +0000 From: James Hearon To: "cmdist@ccrma.Stanford.EDU" Subject: [CM] cons value for float vector Message-ID:

[CM] cons value for float vector

2023-09-07 Thread James Hearon
Hi, I'm having a difficult time trying to create two columns of data (or three or four etc.) in a float vector. A list works fine, but the vector gives an error that the data is a pair but should be a real. I could use make-env for this probably, but seems like I should be able to get the

[CM] OT music

2023-06-26 Thread James Hearon
Hi Michael, re: code ex. There was no overarching algorithm or AI. (I wish there were...things could be easier). Just using Bill's great variety of insts and gens to create sounds derived from the manual, and then mixing them. Also using Michael Scholz's inf-snd.el and emacs as editor.

[CM] OT music

2023-06-20 Thread James Hearon
https://www.ed6673.com/music/ Regards, Jim ___ Cmdist mailing list Cmdist@ccrma.stanford.edu https://cm-mail.stanford.edu/mailman/listinfo/cmdist

[CM] OT music

2023-06-20 Thread James Hearon
Hi, I'm enjoying working with the instruments, synthesis gens, and making some of my own insts in Snd. I've posted a few pieces from the last couple of years made with Snd. Regards, Jim ___ Cmdist mailing list Cmdist@ccrma.stanford.edu

[CM] loading libc_s7.so

2023-01-11 Thread James Hearon
Ah yes. Adding (define stderr-buffered #t) in repl.scm, was what I was missing. I'll make a note this time so's not to forget. My searches couldn't seem to come up with that important bit of info for upgrades. Regards, Jim ___ Cmdist mailing list

[CM] loading libc_s7.so

2023-01-10 Thread James Hearon
Hi, I upgraded to f37, Snd23 but I've lost track of what I am supposed to do for the hung loading libc_s7.so problem. > ./snd loading libc_s7.so ... Could someone kindly remind me what makes this load again? Thank you, Jim ___ Cmdist mailing list

Re: [CM] Snd command line

2022-09-01 Thread James Hearon
Yay. (define stderr-buffered #t) at top of repl.com helps load the lib_s7.so. Thank you. It's been a while since I used Snd with no gui. Regards, Jim ___ Cmdist mailing list Cmdist@ccrma.stanford.edu

[CM] snd command line

2022-09-01 Thread James Hearon
Hi, I've upgraded to f36, snd 22.6 and tried configuring and running Snd with no gui. It writes libc_s7.c, and lib_s7.so, but doesn't load lib_s7.so. I recall some pipewire weirdness previously. I'm wondering what the status or workaround might be, if any at all? No harm. Still enjoying

[CM] make-bandpass

2022-07-01 Thread James Hearon
ass xcoeffs (b...@ccrma.stanford.edu) -- Message: 1 Date: Wed, 29 Jun 2022 12:04:42 -0700 From: b...@ccrma.stanford.edu To: James Hearon Cc: "cmdist@ccrma.Stanford.EDU" Subject: Re: [CM] make-bandpass xcoeffs Message-ID: <4bc1a174e5c876e81b11ac36a0886...@ccrma.stanfor

[CM] make-bandpass xcoeffs

2022-06-29 Thread James Hearon
Hi, It seems make-bandpass doesn't have the mus-xcoeffs feature as general make-filter does, but I was trying to get the numbers to do some comparisons all in one definstrument, define, or let. It seems calling the make-bandpass function as a generator and trying to place the output into a

[CM] out

2022-06-16 Thread James Hearon
Hi, I think I've had a basic misunderstanding re: re stereo and using out such as outa, outb, outc, outd. It seems to sum rather than provide discrete outs? I'm just checking I'm not going bonkers looking at the fft of the output signal. I know locsig works differently ex.1 results in 880

[CM] portamento

2022-05-11 Thread James Hearon
Hi, I'm still pondering how best to accomplish this. I tried a couple of exs below, one adding filters. I thought bandpass was best to try but couldn't get good high cutoff results with just one filter so I went to two overlapping bandpass filters. But I've buggered the freqs by an octave

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

2022-04-20 Thread James Hearon
tents of Cmdist digest..." Today's Topics: 1. portamento (James Hearon) 2. Re: portamento (b...@ccrma.stanford.edu) -- Message: 1 Date: Tue, 19 Apr 2022 18:02:57 +0000 From: James Hearon To: "cmdist@ccrma.Stanfor

[CM] portamento

2022-04-19 Thread James Hearon
Hi, I'm trying to come up with an approach to portamento note phrasing. Best I've been able to do is work with gliss. I'm wondering if this is on the right track for how this is usually handled? Regards, Jim (definstrument (myport start-time duration frequency start-freq end-freq (amp-env

[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] mus-chebyshev-u-sum

2021-11-05 Thread James Hearon
Hi, I'm trying and failing to get my head around mus-chebyshev sums. For predictability I was trying to achieve the square wave output but getting hung up. The manual says mus-chebyshev-tu-sum and friends perform the same function as partials->polynomial, but it takes a coeffs vector too, so

[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

[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

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] 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.

[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-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.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

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] 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

[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

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] 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)

[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

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] 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

[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] 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] 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] 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 ;

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] 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 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] 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

[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)

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] 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

[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] 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] 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] 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] 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] 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] 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] 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] 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] 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

[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] 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] 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)

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] 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] 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] 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] 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] 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] 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] 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] Scheme, outa and reverb

2015-04-29 Thread James Hearon
James Hearon

[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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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

  1   2   >