From j_hearon at hotmail.com Thu Jan 2 10:46:35 2014 From: j_hearon at hotmail.com (James Hearon) Date: Thu, 2 Jan 2014 18:46:35 +0000 Subject: [CM] Scheme S7 convert float to string In-Reply-To: References: Message-ID: 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 (open-output-file "myfloats.txt")) (define outstring "init") (define (myfloats total) (let ((test 0)) (process with mytable = (make-heap '(.5 1 2.5 3)) until (= test total) do (set! outstring (next mytable)) ;***stuck here with format conversion *** (set! outstring (string-append outstring (string #\newline))) (display outstring ouf1) (print (next mytable)) (set! test (+ test 1)) ))) (sprout (myfloats 10) ) (close-output-port ouf1) -------------- next part -------------- An HTML attachment was scrubbed... URL: From taube at illinois.edu Thu Jan 2 11:17:32 2014 From: taube at illinois.edu (Heinrich Taube) Date: Thu, 2 Jan 2014 13:17:32 -0600 Subject: [CM] cm beta5 Message-ID: <119F0AF8-89E1-400D-88C3-AFDCD6BB32C1@illinois.edu> Ive completed a beta5 of the cm 3.9.0 that i almost finished last fall. Im going to start teaching with this in the next few weeks so Ill only be adding bug fixes at this point. new things in this update: 1. builds in the latest s7 (3.3) and juce (3.0.0) 2. both scheme and sal versions of all examples and tutorials are available for the first time. 3. examples and tutorials checked to make sure they work 4. new app icon working on mac and window. I've left an 256x256 icon for linux in res/etc/cm.png but i have no idea how to get icons associated with apps on linux. prebuilt mac (include oscpack): http://camil.music.illinois.edu/software/grace/Grace-3.9.0-beta5-osx.zip prebuilt win (includes oscpack): http://camil.music.illinois.edu/software/grace/Grace-3.9.0-beta5-win32.zip sources (equivalent to svn revision 2111): http://camil.music.illinois.edu/software/grace/cm-3.9.0-beta5.zip From halimbeere at gmail.com Thu Jan 2 11:30:18 2014 From: halimbeere at gmail.com (Halim Beere) Date: Thu, 2 Jan 2014 13:30:18 -0600 Subject: [CM] Scheme S7 convert float to string In-Reply-To: References: Message-ID: I think you need to use (number->string . . . ) to make this work. On Thu, Jan 2, 2014 at 12:46 PM, James Hearon wrote: > 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 (open-output-file "myfloats.txt")) > (define outstring "init") > > (define (myfloats total) > (let ((test 0)) > (process with mytable = (make-heap '(.5 1 2.5 3)) > until (= test total) > do > (set! outstring (next mytable)) ;***stuck here with format conversion *** > (set! outstring (string-append outstring (string #\newline))) > (display outstring ouf1) > (print (next mytable)) > (set! test (+ test 1)) ))) > > (sprout (myfloats 10) ) > > (close-output-port ouf1) > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bil at ccrma.Stanford.EDU Thu Jan 2 11:36:03 2014 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 2 Jan 2014 11:36:03 -0800 Subject: [CM] Scheme S7 convert float to string In-Reply-To: References: Message-ID: <20140102193456.M1089@ccrma.Stanford.EDU> are you looking for (number->string val) or (format #f "~G" val)? From taube at illinois.edu Thu Jan 2 11:29:25 2014 From: taube at illinois.edu (Heinrich Taube) Date: Thu, 2 Jan 2014 13:29:25 -0600 Subject: [CM] Scheme S7 convert float to string In-Reply-To: References: Message-ID: <4F631ECC-D53C-4007-81CD-D5BF771F4CBF@illinois.edu> James, Im not exactly sure what you are trying to do, but you can use S7's object->string > (object->string 123.45) "123.45" S7 also has a version of common lisp's format() : > (format #f "~f" 123.456) "123.456000" On Jan 2, 2014, at 12:46 PM, James Hearon wrote: > 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 (open-output-file "myfloats.txt")) > (define outstring "init") > > (define (myfloats total) > (let ((test 0)) > (process with mytable = (make-heap '(.5 1 2.5 3)) > until (= test total) > do > (set! outstring (next mytable)) ;***stuck here with format conversion *** > (set! outstring (string-append outstring (string #\newline))) > (display outstring ouf1) > (print (next mytable)) > (set! test (+ test 1)) ))) > > (sprout (myfloats 10) ) > > (close-output-port ouf1) > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From j_hearon at hotmail.com Fri Jan 3 16:25:36 2014 From: j_hearon at hotmail.com (James Hearon) Date: Sat, 4 Jan 2014 00:25:36 +0000 Subject: [CM] S7, float to string conversion In-Reply-To: References: Message-ID: 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 "~G" 123) (format #f "~f" 123.456) > (define ouf1 (open-output-file "myfloats.txt")) > (define outstring "init") > > (define (myfloats total) > (let ((test 0)) > (process with mytable = (make-heap '(.5 1 2.5 3)) > until (= test total) > do > (set! outstring (next mytable)) ;***stuck here with format conversion *** > (set! outstring (string-append outstring (string #\newline))) > (display outstring ouf1) > (print (next mytable)) > (set! test (+ test 1)) > ))) > > (sprout (myfloats 10) ) > > (close-output-port ouf1) -------------- next part -------------- An HTML attachment was scrubbed... URL: From bil at ccrma.Stanford.EDU Sat Jan 4 09:39:07 2014 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Sat, 4 Jan 2014 09:39:07 -0800 Subject: [CM] Snd 14.3 Message-ID: <20140104173805.M48412@ccrma.Stanford.EDU> Snd 14.3 read-sample-with-direction make-float-vector mus-set-formant-frequency make-polywave additional args xcoeffs ycoeffs mus_file_read* changed and mus-sound-read mus-sound-preload checked: sbcl-1.1.14, FC 20 Thanks!: Mike Scholz, Dave Phillips. From j_hearon at hotmail.com Sat Jan 4 09:49:49 2014 From: j_hearon at hotmail.com (James Hearon) Date: Sat, 4 Jan 2014 17:49:49 +0000 Subject: [CM] Grace, beta 5, sndlib In-Reply-To: References: Message-ID: ==== 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 command line /lib64/libdl.so.2: could not read symbols: Invalid operation collect2: error: ld returned 1 exit status make[1]: *** [bin/s7] Error 1 make: *** [s7] Error 2 Hi, I tried the Grace beta 5, but having problem with linking in sndlib to complete the build. I'm on fedora20. It does build a libsndlib.a. Not sure what the error is saying. Is sndlib not looking in lib64 to get what it needs? I've tried several things from the command line such as: $ LIBS='/lib64/libdl.so.2' CFLAGS='-ldl -lpthread' ./premake4 --with-oscpack Beta4 build has been working fine on f20 after a few tweaks. Regards, Jim -------------- next part -------------- An HTML attachment was scrubbed... URL: From taube at illinois.edu Sat Jan 4 10:23:50 2014 From: taube at illinois.edu (Heinrich Taube) Date: Sat, 4 Jan 2014 12:23:50 -0600 Subject: [CM] Grace, beta 5, sndlib In-Reply-To: References: Message-ID: <91B71CD8-D002-43F1-8D80-5E82F2E593D1@illinois.edu> odd, it build fine in ubuntu and haven't changed a thing since last fall. it appears that on some pors sof linux you have to add dl: > On Jan 2, 2014, at 9:33 PM, Joel Matthys 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. if its only s7.make that needs it maybe ill disable that little app, its really only used for debugging . On 01/02/2014 01:17 PM, Heinrich Taube wrote: > Ive completed a beta5 of the cm 3.9.0 that i almost finished last fall. Im going to start teaching with this in the next few weeks so Ill only be adding bug fixes at this point. new things in this update: > > 1. builds in the latest s7 (3.3) and juce (3.0.0) > 2. both scheme and sal versions of all examples and tutorials are available for the first time. > 3. examples and tutorials checked to make sure they work > 4. new app icon working on mac and window. I've left an 256x256 icon for linux in res/etc/cm.png but i have no idea how to get icons associated with apps on linux. > > prebuilt mac (include oscpack): > http://camil.music.illinois.edu/software/grace/Grace-3.9.0-beta5-osx.zip > > prebuilt win (includes oscpack): > http://camil.music.illinois.edu/software/grace/Grace-3.9.0-beta5-win32.zip > > sources (equivalent to svn revision 2111): > http://camil.music.illinois.edu/software/grace/cm-3.9.0-beta5.zip > > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist On Jan 4, 2014, at 11:49 AM, James Hearon wrote: > ==== 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 command line > /lib64/libdl.so.2: could not read symbols: Invalid operation > collect2: error: ld returned 1 exit status > make[1]: *** [bin/s7] Error 1 > make: *** [s7] Error 2 > > Hi, > I tried the Grace beta 5, but having problem with linking in sndlib to complete the build. I'm on fedora20. It does build a libsndlib.a. Not sure what the error is saying. Is sndlib not looking in lib64 to get what it needs? > > I've tried several things from the command line such as: > $ LIBS='/lib64/libdl.so.2' CFLAGS='-ldl -lpthread' ./premake4 --with-oscpack > > Beta4 build has been working fine on f20 after a few tweaks. > > Regards, > Jim > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From j_hearon at hotmail.com Sun Jan 5 09:31:03 2014 From: j_hearon at hotmail.com (James Hearon) Date: Sun, 5 Jan 2014 17:31:03 +0000 Subject: [CM] Grace, beta 5, sndlib In-Reply-To: References: Message-ID: > > On Jan 2, 2014, at 9:33 PM, Joel Matthys 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: change premake4.lua, line 350 etc. to include "dl"... (thanks Bill) -- Linux configuration({"linux"}) links({"dl", "pthread", "rt", "X11","GL","GLU","Xinerama", "asound","freetype", "Xext"}) if _OPTIONS["with-fomus"] then links({"dl", "gsl", "gslcblas", "m"}) end then run configure using premake $ CFLAGS='-ldl -lpthread ' ./premake4 --with-oscpack then edit and change s7.make for config debug, release, and speed LIB options to (thanks Joel): LIBS += -ldl -lsndlib -lasound then run $ make ----- Also followed gnome instructions for adding icon to app on fedora with gnome: "Place the icon in /usr/share/icons/hicolor/48x48/apps/" Then after build is complete right click grace app in bin directory, select properties, then click on the icon image on properties page and associate it with cm.png. Regards, Jim -------------- next part -------------- An HTML attachment was scrubbed... URL: From dlphillips at woh.rr.com Sat Jan 11 15:50:14 2014 From: dlphillips at woh.rr.com (Dave Phillips) Date: Sat, 11 Jan 2014 18:50:14 -0500 Subject: [CM] tonight's SVN update Message-ID: <52D1D8B6.3040503@woh.rr.com> Greetings, Updated SVN code for CM/Grace 3.9.0, build was perfectly clean, no errors, with FOMUS and CLM support. All tests have been good except the gong examples in the SAL FM Composition code. The player zips through the WAV file with no sound, I didn't note an error message but I'll look closer during more tests. I haven't run any Scheme code yet. Audio/MIDI working well on KXStudio, Ubuntu 12.04 i686. Great work, compliments to Rick, Bill, and all associated devs. Back to the track, dp From taube at illinois.edu Sat Jan 11 17:00:46 2014 From: taube at illinois.edu (Heinrich Taube) Date: Sat, 11 Jan 2014 19:00:46 -0600 Subject: [CM] tonight's SVN update In-Reply-To: <52D1D8B6.3040503@woh.rr.com> References: <52D1D8B6.3040503@woh.rr.com> Message-ID: > Updated SVN code for CM/Grace 3.9.0, build was perfectly clean, no errors, with FOMUS and CLM support. hooray! was oscpack included? (in not then you may have to do a 'premake4 clean' before you do a premake4 --with-oscpack ?) I not sure whats up with the player yet -- it might be that on linux a .snd file is being written and juce player doesn't provide a reader for that format. for that reason i try to default to writing .wav files everywhere since all players handle it but i might have missed something ill take a look tomorrow, thanks for the testing! > The player zips through > the WAV file with no sound, I didn't note an error message but I'll look > closer during more tests. From taube at illinois.edu Sun Jan 12 08:38:20 2014 From: taube at illinois.edu (Heinrich Taube) Date: Sun, 12 Jan 2014 10:38:20 -0600 Subject: [CM] tonight's SVN update In-Reply-To: References: <52D1D8B6.3040503@woh.rr.com> Message-ID: > The player zips through > the WAV file with no sound, I didn't note an error message but I'll look > closer during more tests. not sure exactly which code you were testing, but there was a typo in the definition below (clm.sal) that had "egree:" instead of "degree:" which caused an error so the output file (test.wav) was empty. There was an error message but its sometimes hard to tell what console message belongs with what result. process gong(num, dur, freq, amp, loc, dist, rev) repeat num for frq = between(freq, freq * 3) wave( elapsed(#t), dur, frq, amp, ampenv: {0 0 1 1 10 .5 40 .2 100 0}, reverb: rev, degree: loc, dist: dist) end the typo is already fixed in svn (rev 2116) On Jan 11, 2014, at 7:00 PM, Heinrich Taube wrote: >> Updated SVN code for CM/Grace 3.9.0, build was perfectly clean, no errors, with FOMUS and CLM support. > > hooray! was oscpack included? (in not then you may have to do a 'premake4 clean' before you do a premake4 --with-oscpack ?) > > > I not sure whats up with the player yet -- it might be that on linux a .snd file is being written and juce player doesn't provide a reader for that format. for that reason i try to default to writing .wav files everywhere since all players handle it but i might have missed something > ill take a look tomorrow, thanks for the testing! > >> The player zips through >> the WAV file with no sound, I didn't note an error message but I'll look >> closer during more tests. > From dlphillips at woh.rr.com Sun Jan 12 19:08:03 2014 From: dlphillips at woh.rr.com (Dave Phillips) Date: Sun, 12 Jan 2014 22:08:03 -0500 Subject: [CM] tonight's SVN update In-Reply-To: References: <52D1D8B6.3040503@woh.rr.com> Message-ID: <52D35893.2090100@woh.rr.com> On 01/11/2014 08:00 PM, Heinrich Taube wrote: >> Updated SVN code for CM/Grace 3.9.0, build was perfectly clean, no errors, with FOMUS and CLM support. > hooray! was oscpack included? (in not then you may have to do a 'premake4 clean' before you do a premake4 --with-oscpack ?) > Sorry, oscpack wasn't included then. I retrieved the latest SVN code tonight fror a fresh build, with oscpack. Grace is working fine, but I'm getting an error from SuperCollider in the SAL OSC example : FAILURE IN SERVER: /Grace Command not found I think I've followed the example correctly. Any suggestions ? > I not sure whats up with the player yet -- it might be that on linux a .snd file is being written and juce player doesn't provide a reader for that format. for that reason i try to default to writing .wav files everywhere since all players handle it but i might have missed something > ill take a look tomorrow, thanks for the testing! > >> The player zips through >> the WAV file with no sound, I didn't note an error message but I'll look >> closer during more tests. > As noted in your later message, that problem is fixed now. Thanks again, Rick ! Best, dp From dlphillips at woh.rr.com Mon Jan 13 02:43:19 2014 From: dlphillips at woh.rr.com (Dave Phillips) Date: Mon, 13 Jan 2014 05:43:19 -0500 Subject: [CM] tonight's SVN update In-Reply-To: <52D35893.2090100@woh.rr.com> References: <52D1D8B6.3040503@woh.rr.com> <52D35893.2090100@woh.rr.com> Message-ID: <52D3C347.3020309@woh.rr.com> On 01/12/2014 10:08 PM, Dave Phillips wrote: > .... getting an error from SuperCollider in the SAL OSC example : > > FAILURE IN SERVER: /Grace Command not found > > I think I've followed the example correctly. Any suggestions ? I rebuilt Grace this morning. osc.sal now works, I tested every example with a local build of SuperCollider 3.7 alpha, got no errors. And the gongs are playing nicely. :) Best, dp -------------- next part -------------- A non-text attachment was scrubbed... Name: GRACE-01132014.png Type: image/png Size: 55551 bytes Desc: not available URL: From taube at illinois.edu Mon Jan 13 06:14:48 2014 From: taube at illinois.edu (Heinrich Taube) Date: Mon, 13 Jan 2014 08:14:48 -0600 Subject: [CM] tonight's SVN update In-Reply-To: <52D3C347.3020309@woh.rr.com> References: <52D1D8B6.3040503@woh.rr.com> <52D35893.2090100@woh.rr.com> <52D3C347.3020309@woh.rr.com> Message-ID: <86D55380-D535-4899-8AB5-7E4B968B2CD1@illinois.edu> thats great. thanks very much. the only thing i can think of re: the /Grace message is that the osc responder didn't get installed somehow in sc, so that error got triggered when you sent that osc message over from the grace app. On Jan 13, 2014, at 4:43 AM, Dave Phillips wrote: > On 01/12/2014 10:08 PM, Dave Phillips wrote: > >> .... getting an error from SuperCollider in the SAL OSC example : >> >> FAILURE IN SERVER: /Grace Command not found >> >> I think I've followed the example correctly. Any suggestions ? > > I rebuilt Grace this morning. osc.sal now works, I tested every example with a local build of SuperCollider 3.7 alpha, got no errors. > > And the gongs are playing nicely. :) > > Best, > > dp > > From mjkoskin at kolumbus.fi Mon Jan 13 12:13:13 2014 From: mjkoskin at kolumbus.fi (Matti Koskinen) Date: Mon, 13 Jan 2014 22:13:13 +0200 Subject: [CM] tonight's SVN update In-Reply-To: <86D55380-D535-4899-8AB5-7E4B968B2CD1@illinois.edu> References: <52D1D8B6.3040503@woh.rr.com> <52D35893.2090100@woh.rr.com> <52D3C347.3020309@woh.rr.com> <86D55380-D535-4899-8AB5-7E4B968B2CD1@illinois.edu> Message-ID: <52D448D9.20700@kolumbus.fi> On 01/13/2014 04:14 PM, Heinrich Taube wrote: > thats great. thanks very much. the only thing i can think of re: the /Grace message is that the osc responder didn't get installed somehow in sc, so that error got triggered when you sent that osc message over from the grace app. > hi all, I just checked out cm, but got stuck with this: nmusic-code/sndlib/premake4.lua:95: attempt to call field 'is64bit' (a nil value) Bill, Nando, my son is just now in Stanford, hope he gets some time to to visit CCRMA. I actually ordered him to visit! -m From taube at illinois.edu Mon Jan 13 12:42:28 2014 From: taube at illinois.edu (Heinrich Taube) Date: Mon, 13 Jan 2014 14:42:28 -0600 Subject: [CM] tonight's SVN update In-Reply-To: <52D448D9.20700@kolumbus.fi> References: <52D1D8B6.3040503@woh.rr.com> <52D35893.2090100@woh.rr.com> <52D3C347.3020309@woh.rr.com> <86D55380-D535-4899-8AB5-7E4B968B2CD1@illinois.edu> <52D448D9.20700@kolumbus.fi> Message-ID: <369C4DF8-1C55-463A-B00D-17279BB91589@illinois.edu> you will need to download one of the premake 4.4 beta executables to get that function i think On Jan 13, 2014, at 2:13 PM, Matti Koskinen wrote: > > On 01/13/2014 04:14 PM, Heinrich Taube wrote: >> thats great. thanks very much. the only thing i can think of re: the /Grace message is that the osc responder didn't get installed somehow in sc, so that error got triggered when you sent that osc message over from the grace app. >> > hi all, > > I just checked out cm, but got stuck with this: > nmusic-code/sndlib/premake4.lua:95: attempt to call field 'is64bit' (a > nil value) > > Bill, Nando, my son is just now in Stanford, hope he gets some time to > to visit CCRMA. I actually ordered him to visit! > > -m > > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From taube at illinois.edu Mon Jan 13 12:44:10 2014 From: taube at illinois.edu (Heinrich Taube) Date: Mon, 13 Jan 2014 14:44:10 -0600 Subject: [CM] tonight's SVN update In-Reply-To: <52D448D9.20700@kolumbus.fi> References: <52D1D8B6.3040503@woh.rr.com> <52D35893.2090100@woh.rr.com> <52D3C347.3020309@woh.rr.com> <86D55380-D535-4899-8AB5-7E4B968B2CD1@illinois.edu> <52D448D9.20700@kolumbus.fi> Message-ID: <992E6D73-2E05-4066-9774-F4FBE22F3FF1@illinois.edu> and congrats to your son! On Jan 13, 2014, at 2:13 PM, Matti Koskinen wrote: > > On 01/13/2014 04:14 PM, Heinrich Taube wrote: >> thats great. thanks very much. the only thing i can think of re: the /Grace message is that the osc responder didn't get installed somehow in sc, so that error got triggered when you sent that osc message over from the grace app. >> > hi all, > > I just checked out cm, but got stuck with this: > nmusic-code/sndlib/premake4.lua:95: attempt to call field 'is64bit' (a > nil value) > > Bill, Nando, my son is just now in Stanford, hope he gets some time to > to visit CCRMA. I actually ordered him to visit! > > -m > > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From j_hearon at hotmail.com Thu Jan 30 11:51:19 2014 From: j_hearon at hotmail.com (James Hearon) Date: Thu, 30 Jan 2014 19:51:19 +0000 Subject: [CM] snd In-Reply-To: References: Message-ID: 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 is for when right clicking on a selection? Thanks, Jim -------------- next part -------------- An HTML attachment was scrubbed... URL: From bil at ccrma.Stanford.EDU Thu Jan 30 14:23:11 2014 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 30 Jan 2014 14:23:11 -0800 Subject: [CM] snd In-Reply-To: References: Message-ID: <20140130222225.M1715@ccrma.Stanford.EDU> > 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. I see this behavior only in multichannel files using "united" channel graphs. There was a typo in the code that tracked which play marker was being clicked -- thanks very much for the bug report. I think the same change would fix the earlier Snd: /home/bil/cl/ diff snd-chn.c ~/dist/snd/snd-chn.c 5109c5109 < ncp->original_cursor = CURSOR(ncp); --- > cp->original_cursor = CURSOR(cp); > Also how would you go about normalizing in snd? > is that what the "-> 1.0" selection is for when right clicking on a selection? Yes, that is one way to do it. In the listener, you can use (scale-selection-to 1.0).